/* =====================================================
   PROFILE PAGE
   ===================================================== */

/* --- Level accent colors ---------------------------- */

.profile-hero--level-1  { --lvl-accent: #b86b25; --lvl-glow: rgba(184,107,37,0.18); }
.profile-hero--level-2  { --lvl-accent: #94a3b8; --lvl-glow: rgba(148,163,184,0.14); }
.profile-hero--level-3  { --lvl-accent: #eab308; --lvl-glow: rgba(234,179,8,0.18); }
.profile-hero--level-4  { --lvl-accent: #cbd5e1; --lvl-glow: rgba(203,213,225,0.12); }
.profile-hero--level-5  { --lvl-accent: #10b981; --lvl-glow: rgba(16,185,129,0.18); }
.profile-hero--level-6  { --lvl-accent: #dc2626; --lvl-glow: rgba(220,38,38,0.2); }
.profile-hero--level-7  { --lvl-accent: #a7f3d0; --lvl-glow: rgba(167,243,208,0.15); }
.profile-hero--level-8  { --lvl-accent: #3b82f6; --lvl-glow: rgba(59,130,246,0.22); }
.profile-hero--level-9  { --lvl-accent: #a855f7; --lvl-glow: rgba(168,85,247,0.22); }
.profile-hero--level-10 { --lvl-accent: #e879f9; --lvl-glow: rgba(232,121,249,0.22); }

/* --- Hero / Header ---------------------------------- */

.profile-hero {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-top: 3px solid var(--lvl-accent, var(--primary));
    border-radius: var(--radius);
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: 0 0 40px var(--lvl-glow, transparent), var(--shadow-glass);
}

.profile-hero__inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px;
}

.profile-hero__avatar {
    position: relative;
    flex-shrink: 0;
}

.profile-hero__avatar::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--lvl-glow, transparent) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.profile-hero__avatar > * {
    position: relative;
    z-index: 1;
}

.profile-hero__avatar a {
    text-decoration: none;
    display: block;
}


.profile-hero__info {
    flex: 1;
    min-width: 0;
}

.profile-hero__top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.profile-hero__name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-hero__username {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-hero__banned {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-hero__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.profile-hero__role {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.profile-hero__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* --- Stats Bar ------------------------------------- */

.profile-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin-top: 24px;
    border-top: 1px solid var(--border);
}

.profile-stat {
    background: transparent;
    padding: 16px 20px;
    text-decoration: none;
    border-right: 1px solid var(--border);
    transition: background 0.15s ease;
    display: block;
}

.profile-stat:last-child {
    border-right: none;
}

a.profile-stat:hover {
    background: rgba(255, 255, 255, 0.04);
}

.profile-stat__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.profile-stat__value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.profile-stat__value--green { color: var(--secondary); }
.profile-stat__value--blue  { color: var(--primary); }

.profile-stat__sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* --- Tabs ------------------------------------------ */

.profile-tabs {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.profile-tab {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 4px 4px 0 0;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.profile-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.profile-tab--active,
.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

/* --- Flash / Message ------------------------------- */

.profile-flash {
    padding: 14px 18px;
    margin-bottom: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--primary);
    color: white;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

/* --- Achievement Grid ------------------------------ */

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.achievement-card {
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.achievement-card--earned,
.achievement-card.earned {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.08);
}

.achievement-card--highlight {
    border-color: rgba(234, 179, 8, 0.7) !important;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.25) !important;
}

.achievement-card__icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.25);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.achievement-card__icon-wrap svg {
    width: 24px;
    height: 24px;
}

.achievement-card--earned .achievement-card__icon-wrap,
.achievement-card.earned .achievement-card__icon-wrap {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

/* ── Achievement gradient presets ──────────────────────────────────────────
   Applied as .achievement-card--gradient-{name} on the card element.
   Overrides the default blue for earned card border, glow, icon, and progress bar.
   The generic .ach-gradient--{name} class applies to any standalone icon element
   (mini-profile, profile hero, showcase picker, settings preview).
   ────────────────────────────────────────────────────────────────────────── */

/* blue (default — already covered above, listed for completeness) */
.achievement-card--gradient-blue.achievement-card--earned { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 0 18px rgba(59, 130, 246, 0.08); }
.achievement-card--gradient-blue.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #3b82f6, #06b6d4); box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4); }
.achievement-card--gradient-blue .achievement-progress__fill { background: linear-gradient(90deg, #3b82f6, #06b6d4); }

/* purple */
.achievement-card--gradient-purple.achievement-card--earned { border-color: rgba(139, 92, 246, 0.35); box-shadow: 0 0 18px rgba(139, 92, 246, 0.1); }
.achievement-card--gradient-purple.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #8b5cf6, #a855f7); box-shadow: 0 4px 14px rgba(139, 92, 246, 0.45); }
.achievement-card--gradient-purple .achievement-progress__fill { background: linear-gradient(90deg, #8b5cf6, #a855f7); }

/* pink */
.achievement-card--gradient-pink.achievement-card--earned { border-color: rgba(236, 72, 153, 0.35); box-shadow: 0 0 18px rgba(236, 72, 153, 0.1); }
.achievement-card--gradient-pink.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #ec4899, #f472b6); box-shadow: 0 4px 14px rgba(236, 72, 153, 0.45); }
.achievement-card--gradient-pink .achievement-progress__fill { background: linear-gradient(90deg, #ec4899, #f472b6); }

/* rose */
.achievement-card--gradient-rose.achievement-card--earned { border-color: rgba(244, 63, 94, 0.35); box-shadow: 0 0 18px rgba(244, 63, 94, 0.1); }
.achievement-card--gradient-rose.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #f43f5e, #fb7185); box-shadow: 0 4px 14px rgba(244, 63, 94, 0.45); }
.achievement-card--gradient-rose .achievement-progress__fill { background: linear-gradient(90deg, #f43f5e, #fb7185); }

/* red */
.achievement-card--gradient-red.achievement-card--earned { border-color: rgba(239, 68, 68, 0.35); box-shadow: 0 0 18px rgba(239, 68, 68, 0.1); }
.achievement-card--gradient-red.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #ef4444, #f97316); box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45); }
.achievement-card--gradient-red .achievement-progress__fill { background: linear-gradient(90deg, #ef4444, #f97316); }

/* orange */
.achievement-card--gradient-orange.achievement-card--earned { border-color: rgba(249, 115, 22, 0.35); box-shadow: 0 0 18px rgba(249, 115, 22, 0.1); }
.achievement-card--gradient-orange.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #f97316, #fbbf24); box-shadow: 0 4px 14px rgba(249, 115, 22, 0.45); }
.achievement-card--gradient-orange .achievement-progress__fill { background: linear-gradient(90deg, #f97316, #fbbf24); }

/* gold */
.achievement-card--gradient-gold.achievement-card--earned { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 18px rgba(245, 158, 11, 0.12); }
.achievement-card--gradient-gold.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #f59e0b, #fde047); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5); }
.achievement-card--gradient-gold .achievement-progress__fill { background: linear-gradient(90deg, #f59e0b, #fde047); }

/* green */
.achievement-card--gradient-green.achievement-card--earned { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 0 18px rgba(16, 185, 129, 0.1); }
.achievement-card--gradient-green.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }
.achievement-card--gradient-green .achievement-progress__fill { background: linear-gradient(90deg, #10b981, #34d399); }

/* teal */
.achievement-card--gradient-teal.achievement-card--earned { border-color: rgba(13, 148, 136, 0.35); box-shadow: 0 0 18px rgba(13, 148, 136, 0.1); }
.achievement-card--gradient-teal.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #0d9488, #2dd4bf); box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4); }
.achievement-card--gradient-teal .achievement-progress__fill { background: linear-gradient(90deg, #0d9488, #2dd4bf); }

/* indigo */
.achievement-card--gradient-indigo.achievement-card--earned { border-color: rgba(99, 102, 241, 0.35); box-shadow: 0 0 18px rgba(99, 102, 241, 0.1); }
.achievement-card--gradient-indigo.achievement-card--earned .achievement-card__icon-wrap { background: linear-gradient(135deg, #6366f1, #818cf8); box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4); }
.achievement-card--gradient-indigo .achievement-progress__fill { background: linear-gradient(90deg, #6366f1, #818cf8); }


.achievement-card__body {
    flex: 1;
    min-width: 0;
}

.achievement-card__name {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 3px;
    line-height: 1.2;
}

.achievement-card--earned .achievement-card__name,
.achievement-card.earned .achievement-card__name {
    color: #fff;
}

.achievement-card:not(.achievement-card--earned):not(.earned) .achievement-card__name {
    color: rgba(255, 255, 255, 0.45);
}

.achievement-card__desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 8px;
    line-height: 1.4;
}

.achievement-progress {
    margin-top: 6px;
}

.achievement-progress__track {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.achievement-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.achievement-progress__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.achievement-card__earned-on,
.achievement-earned-on {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    color: var(--secondary);
    margin-top: 4px;
}

.achievement-card__earned-on svg,
.achievement-earned-on svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-hero__stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 520px) {
    .profile-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .profile-hero__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }

    .profile-hero__top-row {
        flex-direction: column;
        align-items: center;
    }

    .profile-hero__name-row {
        justify-content: center;
    }

    .profile-hero__meta {
        justify-content: center;
    }

    .profile-hero__actions {
        justify-content: center;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-hero__username {
        font-size: 1.5rem;
    }

    .profile-tabs {
        overflow-x: auto;
        gap: 0;
    }

    .profile-tab {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    .profile-stat__value {
        font-size: 1.3rem;
    }
}

/* =====================================================
   FEATURED ACHIEVEMENT — Profile Hero
   ===================================================== */

.profile-featured-ach {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    min-width: 200px;
}

.profile-featured-ach--editable:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.15);
    background: rgba(59, 130, 246, 0.12);
}

/* Profile featured achievement — per-gradient container tints */
.profile-featured-ach.ach-featured--purple  { background: rgba(139, 92,  246, 0.08); border-color: rgba(139, 92,  246, 0.25); }
.profile-featured-ach.ach-featured--pink    { background: rgba(236, 72,  153, 0.08); border-color: rgba(236, 72,  153, 0.25); }
.profile-featured-ach.ach-featured--rose    { background: rgba(244, 63,  94,  0.08); border-color: rgba(244, 63,  94,  0.25); }
.profile-featured-ach.ach-featured--red     { background: rgba(239, 68,  68,  0.08); border-color: rgba(239, 68,  68,  0.25); }
.profile-featured-ach.ach-featured--orange  { background: rgba(249, 115, 22,  0.08); border-color: rgba(249, 115, 22,  0.25); }
.profile-featured-ach.ach-featured--gold    { background: rgba(245, 158, 11,  0.08); border-color: rgba(245, 158, 11,  0.25); }
.profile-featured-ach.ach-featured--green   { background: rgba(16,  185, 129, 0.08); border-color: rgba(16,  185, 129, 0.25); }
.profile-featured-ach.ach-featured--teal    { background: rgba(13,  148, 136, 0.08); border-color: rgba(13,  148, 136, 0.25); }
.profile-featured-ach.ach-featured--indigo  { background: rgba(99,  102, 241, 0.08); border-color: rgba(99,  102, 241, 0.25); }

.profile-featured-ach--editable.ach-featured--purple:hover  { border-color: rgba(139, 92,  246, 0.5); box-shadow: 0 0 16px rgba(139, 92,  246, 0.15); background: rgba(139, 92,  246, 0.12); }
.profile-featured-ach--editable.ach-featured--pink:hover    { border-color: rgba(236, 72,  153, 0.5); box-shadow: 0 0 16px rgba(236, 72,  153, 0.15); background: rgba(236, 72,  153, 0.12); }
.profile-featured-ach--editable.ach-featured--rose:hover    { border-color: rgba(244, 63,  94,  0.5); box-shadow: 0 0 16px rgba(244, 63,  94,  0.15); background: rgba(244, 63,  94,  0.12); }
.profile-featured-ach--editable.ach-featured--red:hover     { border-color: rgba(239, 68,  68,  0.5); box-shadow: 0 0 16px rgba(239, 68,  68,  0.15); background: rgba(239, 68,  68,  0.12); }
.profile-featured-ach--editable.ach-featured--orange:hover  { border-color: rgba(249, 115, 22,  0.5); box-shadow: 0 0 16px rgba(249, 115, 22,  0.15); background: rgba(249, 115, 22,  0.12); }
.profile-featured-ach--editable.ach-featured--gold:hover    { border-color: rgba(245, 158, 11,  0.5); box-shadow: 0 0 16px rgba(245, 158, 11,  0.15); background: rgba(245, 158, 11,  0.12); }
.profile-featured-ach--editable.ach-featured--green:hover   { border-color: rgba(16,  185, 129, 0.5); box-shadow: 0 0 16px rgba(16,  185, 129, 0.15); background: rgba(16,  185, 129, 0.12); }
.profile-featured-ach--editable.ach-featured--teal:hover    { border-color: rgba(13,  148, 136, 0.5); box-shadow: 0 0 16px rgba(13,  148, 136, 0.15); background: rgba(13,  148, 136, 0.12); }
.profile-featured-ach--editable.ach-featured--indigo:hover  { border-color: rgba(99,  102, 241, 0.5); box-shadow: 0 0 16px rgba(99,  102, 241, 0.15); background: rgba(99,  102, 241, 0.12); }

.profile-featured-ach--empty {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.profile-featured-ach--empty:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.06);
}

.profile-featured-ach__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.profile-featured-ach__icon--empty {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    box-shadow: none;
}

.profile-featured-ach__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.profile-featured-ach__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-featured-ach__desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.profile-featured-ach__edit {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.2s;
}

.profile-featured-ach--editable:hover .profile-featured-ach__edit {
    opacity: 1;
}

/* =====================================================
   SHOWCASE — Settings Achievement Picker
   ===================================================== */

.featured-ach-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
}

.featured-ach-preview__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.35);
}

.featured-ach-preview__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.featured-ach-preview__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.featured-ach-preview__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.showcase-ach-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
    position: relative;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.showcase-ach-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.06);
}

.showcase-ach-card--active {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.showcase-ach-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.showcase-ach-card__name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.showcase-ach-card__check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
}

@media (max-width: 680px) {
    .profile-featured-ach {
        min-width: auto;
    }

    .profile-featured-ach__desc {
        max-width: 140px;
    }

    .showcase-ach-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
