#usp-banner, #usp-preferences, #usp-reopen, .usp-embed-notice {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #333;
    box-sizing: border-box;
    text-align: left;
}
#usp-banner[hidden], #usp-reopen[hidden] { display: none !important; }
#usp-banner *, #usp-preferences * { box-sizing: border-box; letter-spacing: 0; }
#usp-banner {
    position: fixed;
    z-index: 100001;
    inset: auto 16px 16px;
    max-height: 80vh;
    max-height: 80dvh;
    overflow: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 26px;
    border: 1px solid #b99a5d;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 24px #0002;
}
#usp-banner h2, #usp-preferences h2 {
    font: 600 19px/1.3 Arial, sans-serif;
    color: #333;
    text-transform: none;
    margin: 0 0 10px;
}
#usp-banner p, #usp-preferences p { font: inherit; margin: 0 0 10px; }
#usp-banner a, #usp-preferences a { color: #73561f; text-decoration: underline; }
.usp-banner-copy { flex: 1; min-width: 0; }
.usp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#usp-banner button, #usp-preferences button, .usp-embed-notice button, button.usp-open-preferences {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 16px;
    margin: 0;
    border: 1px solid #b99a5d;
    border-radius: 4px;
    background: #fff;
    color: #4b3b20;
    font: 600 14px/1.4 Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}
#usp-banner [data-usp-choice], #usp-preferences [data-usp-choice] { background: #f6f3ec; }
#usp-banner button:hover, #usp-preferences button:hover { background: #eee8da; }
#usp-banner button:focus-visible, #usp-preferences button:focus-visible, #usp-reopen:focus-visible {
    outline: 3px solid #386f55;
    outline-offset: 3px;
}
#usp-reopen {
    position: fixed;
    z-index: 99999;
    left: 10px;
    bottom: 10px;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid #b99a5d;
    border-radius: 4px;
    background: #fff;
    font: 13px/1.4 Arial, sans-serif;
    box-shadow: 0 2px 8px #0001;
}
#usp-preferences {
    width: min(600px, calc(100% - 24px));
    max-width: 600px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 24px;
    border: 1px solid #b99a5d;
    border-radius: 6px;
    background: #fff;
    overflow: auto;
}
#usp-preferences::backdrop { background: #0008; }
.usp-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
#usp-preferences #usp-close { flex: 0 0 44px; width: 44px; padding: 0; font-size: 25px; }
.usp-category { padding: 16px 0; border-top: 1px solid #e5e2dc; }
#usp-preferences .usp-category label { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; margin-bottom: 8px; }
#usp-preferences input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; position: static; opacity: 1; width: 21px; height: 21px; flex: 0 0 21px; margin: 0; accent-color: #73561f; }
#usp-preferences .usp-small { font-size: 12px; color: #666; margin-top: 14px; }
.usp-embed-notice { padding: 16px; border: 1px solid #ddd; background: #f8f8f8; }
.usp-noscript { padding: 12px; font-size: 13px; }
@media (max-width: 900px) { #usp-banner { flex-direction: column; align-items: stretch; gap: 12px; } }
@media (max-width: 600px) {
    #usp-banner { inset: auto 8px 8px; padding: 16px; }
    #usp-banner .usp-actions, #usp-preferences .usp-actions { display: grid; grid-template-columns: 1fr; }
    #usp-preferences { padding: 18px; }
    #usp-banner h2, #usp-preferences h2 { font-size: 18px; }
}
