/* Public consent UI owns its styles independently of the page's cached Vite entry. */
.ds-cookie-banner, .ds-cookie-banner *, .ds-popup, .ds-popup * { box-sizing: border-box; }
.ds-cookie-banner, .ds-popup { font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; }
.ds-cookie-banner[hidden], .ds-cookie-banner:not([open]), .ds-cookie-settings[hidden], .ds-popup[hidden] { display: none !important; }
dialog.ds-cookie-banner {
    position: fixed; inset: 0; z-index: 10000; margin: auto;
    width: min(520px, calc(100% - 32px)); max-width: 520px;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
    padding: 30px; overflow: auto; overscroll-behavior: contain;
    border: 1px solid rgba(255, 20, 147, .28); border-radius: 24px;
    background: linear-gradient(145deg, rgba(30, 29, 35, .98), rgba(12, 12, 16, .98));
    color: #faf7fa; box-shadow: 0 24px 100px rgba(0, 0, 0, .65), 0 0 40px rgba(255, 20, 147, .07);
    backdrop-filter: blur(24px); text-align: left; line-height: 1.55;
}
dialog.ds-cookie-banner[open] { animation: ds-consent-enter .2s ease-out; }
dialog.ds-cookie-banner:focus { outline: none; }
dialog.ds-cookie-banner::backdrop { background: rgba(0, 0, 0, .76); backdrop-filter: blur(5px); }
.ds-cookie-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.ds-cookie-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border: 1px solid rgba(255, 20, 147, .3); border-radius: 14px; background: rgba(255, 20, 147, .09); color: #ff69b9; }
.ds-cookie-icon svg { display: block; width: 26px; height: 26px; }
.ds-cookie-eyebrow { color: #d8cbd4; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.ds-cookie-banner h2 { margin: 0 0 13px; font-size: clamp(22px, 5.5vw, 27px); font-weight: 700; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.ds-cookie-banner p { margin: 0; color: #d3ccd4; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.ds-cookie-banner a { color: #ff8ac9; text-decoration: underline; text-underline-offset: 3px; }
.ds-cookie-policy { display: inline-block; margin-top: 10px; font-size: 13px; }
.ds-cookie-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 23px; }
.ds-cookie-actions button {
    appearance: none; display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px; margin: 0; padding: 12px 16px;
    border: 1px solid #706471; border-radius: 12px; background: #28242c;
    color: #fff; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.4;
    white-space: normal; overflow-wrap: anywhere; cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.ds-cookie-actions .ds-cookie-accept { border-color: #ff1493; background: #ff1493; color: #18000d; }
.ds-cookie-actions .ds-cookie-accept:hover { background: #ff51ae; border-color: #ff51ae; }
.ds-cookie-actions .ds-cookie-reject:hover { background: #3b333f; border-color: #a598a6; }
.ds-cookie-actions .ds-cookie-settings-trigger { background: transparent; border-color: #5a4e5c; color: #eedee9; }
.ds-cookie-actions .ds-cookie-settings-trigger:hover { background: #28242c; }
.ds-cookie-banner :focus-visible, .ds-popup :focus-visible { outline: 3px solid #ff8ac9; outline-offset: 3px; }
.ds-cookie-settings { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #423544; }
.ds-cookie-category { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px; border: 1px solid #423544; border-radius: 12px; background: rgba(255,255,255,.025); color: #fff; }
.ds-cookie-category input { appearance: auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #ff1493; }
.ds-cookie-category strong { font-size: 14px; font-weight: 700; }
.ds-cookie-category small { display: block; margin-top: 5px; color: #c5bcc9; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.ds-cookie-settings .ds-cookie-actions { margin-top: 0; }
.ds-cookie-link { display: inline-block; margin-top: 12px; border: 0; padding: 0; background: none; color: #ff91bd; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ds-popup { position: fixed; z-index: 9000; inset: 0; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.ds-popup-dialog { position: relative; width: min(720px, 100%); max-height: min(92vh, 900px); overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #0b0b0d; color: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.ds-popup-image { display: block; width: 100%; max-height: min(58vh, 550px); object-fit: cover; background: #17131d; }
.ds-popup-close { position: sticky; z-index: 1; float: right; top: 12px; width: 42px; height: 42px; margin: 12px 12px -54px 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.75); color: #fff; font: 28px/1 sans-serif; cursor: pointer; }
.ds-popup-content { clear: both; padding: 24px clamp(18px, 5vw, 38px) 30px; text-align: center; }
.ds-popup-content h2 { margin: 0 0 10px; font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.2; }
.ds-popup-content p { max-width: 55ch; margin: 0 auto 20px; color: #d1cbd4; line-height: 1.65; white-space: pre-line; }
.ds-popup-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 12px; background: #ff2e7a; color: #fff !important; font-weight: 800; }
@keyframes ds-consent-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
    dialog.ds-cookie-banner { width: calc(100% - 28px); max-height: calc(100dvh - 28px); padding: 23px 20px; border-radius: 22px; }
    .ds-cookie-heading { margin-bottom: 16px; }
    .ds-cookie-actions { margin-top: 20px; }
    .ds-popup { padding: 12px; } .ds-popup-dialog { max-height: 94dvh; border-radius: 18px; }
    .ds-popup-image { max-height: 53dvh; object-fit: contain; }
    .ds-popup-close { position: absolute; top: 10px; right: 10px; float: none; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    dialog.ds-cookie-banner[open] { animation: none; }
    .ds-cookie-actions button { transition: none; }
    .ds-cookie-banner, .ds-popup { scroll-behavior: auto; }
}
