#landing-cookie-popover {
    position: fixed;
    z-index: 50;
    inset-inline-end: 16px;
    inset-block-end: 16px;
    box-sizing: border-box;
    width: min(336px, calc(100% - 32px));
    padding: 15px;
    border: 1px solid #e5e5e7;
    border-radius: 16px;
    background: #fff;
    color: #1b1c20;
    box-shadow: 0 8px 26px rgb(21 23 30 / 9%), 0 1px 3px rgb(21 23 30 / 5%);
    font: 400 13px/1.5 Inter, ui-sans-serif, system-ui, sans-serif;
    color-scheme: light;
}

#landing-cookie-popover [hidden] {
    display: none;
}

#landing-cookie-popover p {
    margin: 0;
    color: #63656a;
    font-size: 12px;
    line-height: 1.55;
}

#landing-cookie-popover a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#landing-cookie-popover h2 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

#landing-cookie-popover .landing-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-block-start: 12px;
}

#landing-cookie-popover button {
    min-block-size: 34px;
    padding: 6px 11px;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    background: #fff;
    color: #1b1c20;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

#landing-cookie-popover button:hover {
    background: #f8f8f9;
}

#landing-cookie-popover .landing-cookie-primary {
    background: #f2f2f3;
}

#landing-cookie-popover .landing-cookie-primary:hover {
    background: #e9e9eb;
}

#landing-cookie-popover .landing-cookie-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-block-size: 34px;
    gap: 8px;
    border-block-end: 1px solid #e5e5e7;
}

#landing-cookie-popover .landing-cookie-preference span + span {
    color: #63656a;
    font-size: 12px;
}

#landing-cookie-popover input {
    margin: 0 1px;
    inline-size: 16px;
    block-size: 16px;
    accent-color: #ee9347;
    cursor: pointer;
}

#landing-cookie-popover [data-cookie-error] {
    margin-block-start: 6px;
}

.landing-cookie-footer-link {
    display: block;
    margin: 12px auto 0;
    font: inherit;
    font-size: 13px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

@media (pointer: coarse) {
    #landing-cookie-popover button,
    #landing-cookie-popover label {
        min-block-size: 44px;
    }
}
