/* Keep the text opaque while only the card background is translucent. */
.of-consent { --of-consent-bg: var(--paper, #fffdf8); --of-consent-ink: var(--ink, #072a5a); --of-consent-line: var(--line, #d4d6cd); color: var(--of-consent-ink); font: inherit; }
.of-consent [hidden] { display: none !important; }
.of-consent__panel { position: fixed; z-index: 10001; bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px)); left: 1rem; right: 1rem; margin: auto; width: min(35rem, calc(100vw - 2rem)); max-height: calc(100dvh - 5rem - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 1.1rem; background: var(--of-consent-bg); background: color-mix(in srgb, var(--of-consent-bg) 96%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--of-consent-ink); border: 1px solid var(--of-consent-line); border-radius: .85rem; box-shadow: 0 .3rem 1.2rem rgb(7 42 90 / 12%); font-size: .875rem; line-height: 1.45; }
.of-consent__panel h2 { margin: 0 0 .6rem; color: inherit; font: inherit; font-size: 1.1875rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.of-consent__panel p { margin: 0 0 .65rem; }
.of-consent__panel--modal { top: 50%; bottom: auto; transform: translateY(-50%); outline: 100vmax solid rgb(0 0 0 / 28%); }
.of-consent__details { margin-top: .2rem; font-size: .8125rem; }
.of-consent__details summary { min-height: 44px; align-content: center; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.of-consent__details[open] summary { margin-bottom: .3rem; }
.of-consent__choices { display: grid; gap: .7rem; margin: .75rem 0 .2rem; }
.of-consent__choice { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; min-height: 44px; }
.of-consent__choice input { width: 1.15rem; height: 1.15rem; flex: 0 0 1.15rem; margin: .2rem 0 0; accent-color: var(--of-consent-ink); }
.of-consent__choice strong, .of-consent__choice small { display: block; }
.of-consent__choice small { font-size: .8125rem; line-height: 1.45; margin-top: .15rem; }
.of-consent__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; margin-top: .75rem; }
.of-consent__button { appearance: none; min-width: 0; min-height: 44px; padding: .6rem .4rem; background: var(--of-consent-bg); color: var(--of-consent-ink); border: 1px solid currentColor; border-radius: .45rem; font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
.of-consent__button:hover { background: #eae7de; background: color-mix(in srgb, var(--of-consent-bg) 92%, var(--of-consent-ink)); }
.of-consent__button:disabled { color: #67736c; cursor: default; border-color: var(--of-consent-line); }
.of-consent__secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; margin-top: 0; }
.of-consent__secondary a, .of-consent__text-button { min-height: 44px; display: inline-flex; align-items: center; font: inherit; font-size: .8125rem; color: inherit; text-decoration: underline; text-underline-offset: 3px; background: transparent; border: 0; padding: 0; cursor: pointer; }
.of-consent__panel .of-consent__status { font-size: .75rem; margin: .1rem 0 0; }
.of-consent__reopen { position: fixed; z-index: 10000; bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); left: .6rem; min-height: 44px; padding: .4rem .7rem; font: inherit; font-size: .75rem; color: var(--of-consent-ink); background: var(--of-consent-bg); border: 1px solid var(--of-consent-line); border-radius: .4rem; cursor: pointer; }
.of-consent button:focus-visible, .of-consent input:focus-visible, .of-consent a:focus-visible, .of-consent summary:focus-visible { outline: 3px solid #9b7417; outline-offset: 3px; }
@media (max-width: 480px) { .of-consent__panel { left: .65rem; right: .65rem; width: calc(100vw - 1.3rem); padding: 1rem; } }
@media (prefers-reduced-transparency: reduce) { .of-consent__panel { background: var(--of-consent-bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .of-consent * { scroll-behavior: auto; } }
