.result-tools__export {
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-tools__notification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #cfd6e2;
    border-radius: 6px;
    color: #3f4b5d;
    font: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.result-tools__notification:hover,
.result-tools__notification:focus-visible {
    border-color: #a91f2a;
    color: #a91f2a;
    outline: none;
}

.result-tools__notification.is-enabled {
    border-color: #16844f;
    color: #116d41;
    background: #eaf8f1;
}

.result-tools__notification.is-denied {
    color: #8b3340;
    background: #fff4f5;
}

.result-tools__notification:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.result-tools__notification svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lottery-toast-region {
    position: fixed;
    z-index: 1000;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: min(350px, calc(100vw - 28px));
    pointer-events: none;
}

.lottery-toast {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-left: 4px solid #315496;
    border-radius: 8px;
    color: #1c2738;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 31, 48, .2);
    animation: lottery-toast-in .22s ease-out;
}

.lottery-toast strong {
    color: #233a67;
    font-size: 14px;
}

.lottery-toast span {
    font-size: 13px;
}

.lottery-toast.is-success {
    border-left-color: #16844f;
}

.lottery-toast.is-error {
    border-left-color: #b52332;
}

.lottery-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

@keyframes lottery-toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

@media (max-width: 640px) {
    .result-tools__export-toggle {
        flex: 1 1 auto;
        width: auto;
    }

    .result-tools__notification {
        flex: 0 0 auto;
    }

    .lottery-toast-region {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 390px) {
    .result-tools__notification span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
