.ach_widget {
    background: var(--cvet-vnutri-bloka);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--vtorostepennyy-cvet-bloka);
}

.ach_stats {
    display: flex;
    justify-content: space-around;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--vtorostepennyy-cvet-bloka);
    color: var(--vtorostepennyy-tekst);
    font-size: 14px;
}

.ach_completed { color: #4caf50; }
.ach_progress { color: var(--orange); }

.ach_icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ach_icon {
    width: 56px;
    height: 56px;
    background: var(--bloki);
    border-radius: 12px;
    border: 2px solid var(--vtorostepennyy-cvet-bloka);
    opacity: 0.45;
    transition: all 0.3s ease;
    position: relative;
    cursor: help;
}

.ach_icon.completed {
    opacity: 1;
    border-color: var(--yellow);
    box-shadow: 0 0 12px rgba(255, 192, 27, 0.25);
}

.ach_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    filter: grayscale(0.5);
}

.ach_icon.completed img { filter: grayscale(0); }

.ach_tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--background);
    color: var(--glavnyy-tekst);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    border: 1px solid var(--orange);
    box-shadow: var(--box-shadow);
    display: none;
    z-index: 1000;
    pointer-events: none;
    text-align: center;
    min-width: 180px;
    white-space: normal;
}

.ach_tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--orange);
}

.ach_icon:hover .ach_tooltip { display: block; }

.ach_loading, .ach_error {
    text-align: center;
    padding: 20px;
    color: var(--vtorostepennyy-tekst);
}

.ach_error { color: #f44336; }

@media (max-width: 768px) {
    .ach_icon { width: 48px; height: 48px; }
    .ach_tooltip { min-width: 140px; font-size: 11px; }
}