#payne-cookie-banner,
#payne-cookie-settings {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    background: #1a2332;
    z-index: 10000;
}

#payne-cookie-banner[hidden],
#payne-cookie-settings[hidden] {
    display: none !important;
}

#payne-cookie-banner {
    position: fixed;
    inset: auto 0 0;
    padding: 22px max(20px, calc((100vw - 1160px) / 2));
    border-top: 2px solid #4ecdc4;
    box-shadow: 0 -6px 24px #0004;
    display: flex;
    align-items: center;
    gap: 28px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}

#payne-cookie-banner .payne-cookie-copy {
    flex: 1;
    min-width: 0;
}

#payne-cookie-banner h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.3;
    color: #fff;
    text-align: left;
}

#payne-cookie-banner p {
    margin: 0 0 8px;
    color: #e5eaf0;
    font-size: 15px;
    line-height: 1.5;
}

#payne-cookie-banner summary,
#payne-cookie-banner a {
    color: #72e0d8;
    cursor: pointer;
    text-decoration: underline;
}

#payne-cookie-banner details p {
    margin-top: 10px;
}

#payne-cookie-banner .payne-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#payne-cookie-banner button {
    appearance: none;
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    border: 2px solid #4ecdc4;
    border-radius: 6px;
    background: #4ecdc4;
    color: #10222c;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

#payne-cookie-banner button:hover {
    background: #72e0d8;
    border-color: #72e0d8;
}

#payne-cookie-settings {
    position: fixed;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border: 1px solid #4ecdc4;
    border-radius: 6px;
    cursor: pointer;
}

#payne-cookie-banner button:focus-visible,
#payne-cookie-banner summary:focus-visible,
#payne-cookie-banner a:focus-visible,
#payne-cookie-settings:focus-visible {
    outline: 3px solid #ffca62;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    #payne-cookie-banner {
        display: block;
        padding: 18px 16px;
    }
    #payne-cookie-banner .payne-cookie-actions {
        margin-top: 14px;
    }
    #payne-cookie-settings {
        bottom: 86px;
    }
}
