.xycookies-bar {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 96px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    font-size: 16px;
    line-height: 1.45;
}

.xycookies-bar[hidden] {
    display: none;
}

.xycookies-content {
    min-width: 0;
}

.xycookies-bar a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xycookies-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
}

.xycookies-checkbox-input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
}

.xycookies-accept {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.xycookies-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.xycookies-reject {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.xycookies-status {
    margin: 0;
}

.xycookies-accept:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.xycookies-launcher {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 100000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
    cursor: pointer;
}

.xycookies-launcher svg {
    width: 24px;
    height: 24px;
    display: block;
}

@media (max-width: 640px) {
    .xycookies-bar {
        right: 12px;
        bottom: 84px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .xycookies-accept {
        width: 100%;
    }

    .xycookies-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .xycookies-reject {
        width: 100%;
    }

    .xycookies-launcher {
        left: 12px;
        bottom: 12px;
    }
}
