.mp-consent { --mp-consent-accent: #4338ca; --mp-consent-soft: #eef2ff; --mp-consent-text: #334155; color: hsl(var(--foreground)); font: inherit; text-align: start; }
.dark .mp-consent { --mp-consent-accent: #c7d2fe; --mp-consent-soft: #252342; --mp-consent-text: #cbd5e1; }
.mp-consent [hidden], .mp-consent-dialog:not([open]) { display: none !important; }
.mp-consent a { color: var(--mp-consent-accent); text-decoration: underline; text-underline-offset: 3px; }
.mp-consent button { font: inherit; cursor: pointer; }
.mp-consent a:focus-visible, .mp-consent button:focus-visible, .mp-consent summary:focus-visible { outline: 3px solid var(--mp-consent-accent); outline-offset: 4px; }
.mp-consent-footer { padding: 16px 24px; border-top: 1px solid hsl(var(--border)); background: hsl(var(--card)); text-align: center; }
.mp-consent-inventory { max-width: 800px; margin: 24px auto; padding: 24px; scroll-margin-top: 110px; }
.mp-consent-inventory summary { min-height: 44px; color: hsl(var(--foreground)); font-size: 16px; font-weight: 600; cursor: pointer; }
.mp-consent-link { min-height: 44px; padding: 10px 12px; border: 0; background: transparent; color: var(--mp-consent-accent); font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.mp-consent-banner { position: fixed; inset-inline: 20px; bottom: 20px; z-index: 200; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; max-height: calc(100dvh - 40px); overflow-y: auto; margin-inline: auto; padding: 24px; border: 1px solid hsl(var(--border)); border-radius: 20px; background: hsl(var(--card)); box-shadow: 0 16px 60px rgb(0 0 0 / .22); }
.mp-consent-banner-copy { max-width: 660px; }
.mp-consent h2 { margin: 0; color: hsl(var(--foreground)); font-size: 18px; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; }
.mp-consent p { margin: 10px 0 0; color: var(--mp-consent-text); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.mp-consent-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex: 0 1 340px; }
.mp-consent-primary, .mp-consent-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 12px 16px; border: 1px solid var(--mp-consent-accent); border-radius: 11px; font-size: 13px !important; line-height: 1.5; font-weight: 600 !important; text-align: center; }
.mp-consent-primary { background: #4338ca; color: #fff; }
.dark .mp-consent-primary { border-color: #a5b4fc; }
.mp-consent .mp-consent-secondary { background: var(--mp-consent-soft); color: var(--mp-consent-accent); text-decoration: none; }
.mp-consent-primary:hover { background: #3730a3; }
.mp-consent-secondary:hover { border-color: currentColor; }
.mp-consent-dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow-y: auto; padding: clamp(20px, 4vw, 32px); border: 1px solid hsl(var(--border)); border-radius: 22px; background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: 0 24px 80px rgb(0 0 0 / .3); overscroll-behavior: contain; }
.mp-consent-dialog::backdrop { background: rgb(15 23 42 / .65); }
.mp-consent-dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.mp-consent-close { flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid hsl(var(--border)); border-radius: 9px; background: hsl(var(--background)); color: hsl(var(--foreground)); font-size: 12px !important; }
.mp-consent-category { margin-top: 20px; padding-top: 20px; border-top: 1px solid hsl(var(--border)); }
.mp-consent-category label { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: hsl(var(--foreground)); font-size: 14px; font-weight: 600; }
.mp-consent-category small { display: block; margin-top: 4px; color: var(--mp-consent-text); font-size: 12px; font-weight: 400; }
.mp-consent-category input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #4338ca; }
.mp-consent-dialog > .mp-consent-primary { width: 100%; margin-top: 20px; }
.mp-consent-dialog-actions { display: grid; gap: 10px; margin-top: 20px; }
.mp-consent-dialog-actions > button { width: 100%; }
.mp-consent input:focus-visible { outline: 3px solid var(--mp-consent-accent); outline-offset: 4px; }
.mp-consent input:disabled { opacity: .6; }
.mp-consent .mp-consent-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) { .mp-consent-banner { inset-inline: 12px; bottom: 12px; max-height: calc(100dvh - 24px); padding: 20px; flex-direction: column; align-items: stretch; gap: 16px; } .mp-consent-actions { flex-basis: auto; } }
@media (forced-colors: active) { .mp-consent-primary, .mp-consent-secondary, .mp-consent-dialog { border: 1px solid ButtonText; } }
