.block-hit-toast-wrap {
    position: fixed;
    top: 78px;
    right: 18px;
    z-index: 2000;
    pointer-events: none;
}

.block-hit-toast {
    width: 320px;
    max-width: calc(100vw - 24px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(9, 36, 44, 0.96), rgba(5, 24, 30, 0.98));
    border: 1px solid rgba(0, 255, 213, 0.60);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.32),
        0 0 18px rgba(0, 255, 213, 0.14);
    color: #dffef8;
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    pointer-events: auto;
    overflow: hidden;
}

.block-hit-toast::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(0, 255, 213, 0.10), transparent 30%);
}

.block-hit-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: blockToastPulse 1.1s ease-in-out 2;
}

.block-hit-toast-icon {
    flex: 0 0 auto;
    font-size: 1.15rem;
    line-height: 1;
    margin-top: 2px;
}

.block-hit-toast-content {
    min-width: 0;
    flex: 1;
}

.block-hit-toast-title {
    color: #00ffd4;
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.block-hit-toast-line {
    color: #dffef8;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.block-hit-toast-line span {
    color: #ffffff;
}

.block-hit-toast-close {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cffff5;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.block-hit-toast-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

@keyframes blockToastPulse {
    0%, 100% {
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.32),
            0 0 18px rgba(0, 255, 213, 0.14);
    }
    50% {
        box-shadow:
            0 14px 30px rgba(0, 0, 0, 0.36),
            0 0 28px rgba(0, 255, 213, 0.24);
    }
}

@media (max-width: 767px) {
    .block-hit-toast-wrap {
        top: 72px;
        right: 10px;
        left: 10px;
    }

    .block-hit-toast {
        width: 100%;
        max-width: none;
        padding: 12px 14px;
    }

    .block-hit-toast-title {
        font-size: 0.9rem;
    }

    .block-hit-toast-line {
        font-size: 0.84rem;
    }
}