.amcns-cookie-notice {
    position: fixed;
    left: 20px;
    z-index: 2147483000;
    display: none;
    box-sizing: border-box;
    width: min(400px, calc(100vw - 40px));
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
    font-family: inherit;
}

.amcns-cookie-notice,
.amcns-cookie-notice * {
    box-sizing: border-box;
}

.amcns-cookie-notice.is-amcns-visible {
    display: block;
}

.amcns-cookie-notice.is-amcns-bottom {
    bottom: 20px;
}

.amcns-cookie-notice.is-amcns-top {
    top: 20px;
}

.amcns-cookie-notice.is-amcns-light {
    color: #2f3542;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
}

.amcns-cookie-notice.is-amcns-dark {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(18, 25, 38, 0.96);
}

.amcns-cookie-notice__inner {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
}

.amcns-cookie-notice__text {
    min-width: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.amcns-cookie-notice__link {
    display: inline;
    color: #0969da;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.amcns-cookie-notice__link:hover {
    color: #0759ba;
}

.amcns-cookie-notice__links {
    display: inline;
}

.amcns-cookie-notice__button {
    width: 100%;
    min-height: 36px;
    padding: 10px 18px;
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    background: #1f73e8;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.amcns-cookie-notice__button:hover {
    background: #1768d8;
    transform: none;
}

.amcns-cookie-notice__button:focus-visible {
    outline: 3px solid rgba(31, 115, 232, 0.28);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .amcns-cookie-notice {
        left: 10px;
        width: calc(100vw - 20px);
        padding: 14px;
        border-radius: 8px;
    }

    .amcns-cookie-notice.is-amcns-bottom {
        bottom: 10px;
    }

    .amcns-cookie-notice.is-amcns-top {
        top: 10px;
    }

    .amcns-cookie-notice__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .amcns-cookie-notice__button {
        width: 100%;
    }
}
