.rsc-consent-root {
--rsc-ink: #1d1d1f;
--rsc-muted: #6e6e73;
--rsc-paper: rgba(250, 250, 248, .94);
--rsc-hair: rgba(0, 0, 0, .11);
--rsc-radius: 24px;
--rsc-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
position: relative;
z-index: 99999;
font-family: var(--rsc-font);
}
body.rsc-consent-open { overflow: hidden; }
.rsc-consent-root [hidden] { display: none !important; }
.rsc-consent-banner {
position: fixed;
right: clamp(16px, 3vw, 42px);
bottom: clamp(16px, 3vw, 36px);
left: clamp(16px, 3vw, 42px);
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
gap: 32px;
max-width: 1060px;
margin: 0 auto;
padding: clamp(22px, 3vw, 32px);
border: 1px solid var(--rsc-hair);
border-radius: var(--rsc-radius);
background: var(--rsc-paper);
box-shadow: 0 24px 80px rgba(0, 0, 0, .16);
backdrop-filter: blur(22px) saturate(120%);
-webkit-backdrop-filter: blur(22px) saturate(120%);
animation: rscConsentIn .55s cubic-bezier(.22, .61, .2, 1) both;
}
.rsc-consent-copy { max-width: 650px; }
.rsc-consent-kicker {
margin: 0 0 8px;
color: #8b806f;
font-size: 11px;
font-weight: 700;
letter-spacing: .13em;
text-transform: uppercase;
}
.rsc-consent-banner h2,
.rsc-consent-modal h2 {
margin: 0 0 10px;
color: var(--rsc-ink);
font-size: clamp(24px, 3vw, 34px);
font-weight: 600;
letter-spacing: -.035em;
line-height: 1.05;
}
.rsc-consent-banner p,
.rsc-consent-modal p {
margin: 0;
color: var(--rsc-muted);
font-size: 14px;
line-height: 1.55;
}
.rsc-consent-links { display: flex; gap: 16px; margin-top: 14px !important; }
.rsc-consent-links a,
.rsc-consent-detail a { color: var(--rsc-ink); text-underline-offset: 3px; }
.rsc-consent-actions,
.rsc-consent-modal-actions {
display: grid;
grid-template-columns: repeat(2, minmax(150px, 1fr));
gap: 10px;
}
.rsc-consent-button {
min-height: 46px;
padding: 11px 18px;
border: 1px solid rgba(29, 29, 31, .28);
border-radius: 999px;
background: transparent;
color: var(--rsc-ink);
font: 600 13px/1.2 var(--rsc-font);
letter-spacing: -.005em;
cursor: pointer;
transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.rsc-consent-button:hover { transform: translateY(-1px); border-color: var(--rsc-ink); background: var(--rsc-ink); color: #fff; }
.rsc-consent-button:focus-visible,
.rsc-consent-close:focus-visible,
.rsc-switch input:focus-visible + span { outline: 3px solid rgba(44, 98, 185, .35); outline-offset: 3px; }
.rsc-consent-modal-wrap { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 18px; }
.rsc-consent-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rsc-consent-modal {
position: relative;
width: min(650px, 100%);
max-height: min(800px, calc(100vh - 36px));
overflow: auto;
padding: clamp(26px, 4vw, 42px);
border: 1px solid var(--rsc-hair);
border-radius: 30px;
background: #fafaf8;
box-shadow: 0 28px 100px rgba(0, 0, 0, .28);
animation: rscModalIn .38s cubic-bezier(.22, .61, .2, 1) both;
}
.rsc-consent-close {
position: absolute;
top: 18px;
right: 18px;
width: 38px;
height: 38px;
border: 1px solid var(--rsc-hair);
border-radius: 50%;
background: rgba(255, 255, 255, .75);
color: var(--rsc-ink);
font-size: 25px;
line-height: 1;
cursor: pointer;
}
.rsc-consent-category {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 24px;
margin-top: 18px;
padding: 20px 0;
border-top: 1px solid var(--rsc-hair);
}
.rsc-consent-category strong,
.rsc-consent-category span { display: block; }
.rsc-consent-category strong { color: var(--rsc-ink); font-size: 15px; }
.rsc-consent-category > div > span,
.rsc-consent-category > span > span { margin-top: 5px; color: var(--rsc-muted); font-size: 13px; line-height: 1.5; }
.rsc-consent-category.is-clickable { cursor: pointer; }
.rsc-consent-fixed { color: var(--rsc-muted); font-size: 12px; white-space: nowrap; }
.rsc-consent-modal-actions { margin-top: 26px; }
.rsc-consent-detail { margin-top: 18px !important; text-align: center; }
.rsc-switch { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; }
.rsc-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rsc-switch input + span {
position: relative;
display: block;
width: 48px;
height: 28px;
border: 1px solid rgba(0, 0, 0, .16);
border-radius: 999px;
background: #d8d8d5;
transition: background .25s ease, border-color .25s ease;
}
.rsc-switch input + span::after {
content: "";
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #fff;
box-shadow: 0 2px 7px rgba(0, 0, 0, .2);
transition: transform .25s cubic-bezier(.22, .61, .2, 1);
}
.rsc-switch input:checked + span { border-color: #4c5344; background: #4c5344; }
.rsc-switch input:checked + span::after { transform: translateX(20px); }
.rsc-noscript-privacy {
position: fixed;
right: 16px;
bottom: 16px;
left: 16px;
z-index: 99999;
max-width: 900px;
margin: auto;
padding: 14px 18px;
border: 1px solid rgba(0, 0, 0, .12);
border-radius: 14px;
background: #fff;
color: #3a3a3c;
font: 13px/1.5 var(--rsc-font);
box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}
@keyframes rscConsentIn { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes rscModalIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
.rsc-consent-banner { grid-template-columns: 1fr; align-items: stretch; gap: 20px; max-height: calc(100vh - 32px); overflow: auto; }
.rsc-consent-actions,
.rsc-consent-modal-actions { grid-template-columns: 1fr; }
.rsc-consent-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.rsc-consent-banner,
.rsc-consent-modal { animation: none; }
.rsc-consent-button,
.rsc-switch input + span,
.rsc-switch input + span::after { transition: none; }
}