/* Independent of Tailwind and third-party scripts, including on local/auth pages. */
.privacy-banner[hidden], .privacy-banner [hidden], .privacy-storage-warning[hidden] { display: none !important; }
.privacy-banner {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1000;
    left: 24px;
    bottom: 24px;
    width: min(520px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: hidden;
    overscroll-behavior: contain;
    padding: 24px;
    border: 1px solid #dbe2ea;
    border-radius: 20px;
    background: #fff;
    color: #475569;
    box-shadow: 0 12px 48px #0f172a24;
    font: 14px/1.55 system-ui, sans-serif;
    box-sizing: border-box;
    text-align: left;
}
.privacy-banner * { box-sizing: border-box; }
.privacy-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.privacy-banner-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.privacy-banner h2 { margin: 0; color: #0f172a; font-size: 21px; line-height: 1.3; font-weight: 700; }
.privacy-banner p { margin: 12px 0; }
.privacy-banner button { font: inherit; cursor: pointer; }
.privacy-banner .privacy-close { flex: none; padding: 0; width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f1f5f9; color: #475569; font-size: 24px; line-height: 1; }
.privacy-banner .privacy-policy-link { display: inline-block; padding: 0; border: 0; background: transparent; color: #0369a1; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.privacy-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e2e8f0; }
.privacy-option strong { display: block; color: #0f172a; font-size: 14px; font-weight: 650; }
.privacy-option small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; }
.privacy-option input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #0369a1; cursor: pointer; }
.privacy-required { flex: none; color: #475569; font-size: 11px; }
.privacy-google-note, .privacy-feedback { font-size: 12px; }
.privacy-feedback { color: #92400e; }
.privacy-actions { display: grid; flex-shrink: 0; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.privacy-actions button { min-height: 44px; padding: 10px 14px; border: 1px solid #2563eb; border-radius: 10px; color: #1d4ed8; background: #fff; font-weight: 600; }
.privacy-actions button:hover { background: #eff6ff; }
.privacy-actions .privacy-customize, .privacy-actions .privacy-save { grid-column: 1 / -1; }
.privacy-actions .privacy-accept, .privacy-actions .privacy-save { border-color: #2563eb; background: #2563eb; color: #fff; }
.privacy-actions .privacy-accept:hover, .privacy-actions .privacy-save:hover { background: #1d4ed8; }
.privacy-actions .privacy-customize { justify-self: center; min-height: 32px; padding: 2px 8px; border: 0; border-radius: 4px; background: transparent; color: #475569; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.privacy-actions .privacy-customize:hover { color: #1d4ed8; }
.privacy-banner .privacy-retention { flex-shrink: 0; margin-bottom: 0; color: #64748b; font-size: 11px; }
.privacy-banner :focus-visible { outline: 2px solid #0284c7; outline-offset: 3px; }
.privacy-storage-warning { position: fixed; z-index: 1001; left: 24px; bottom: 24px; max-width: 480px; margin: 0; padding: 16px; border: 1px solid #fcd34d; border-radius: 12px; background: #fffbeb; color: #92400e; font: 13px/1.5 system-ui, sans-serif; }
@media (max-width: 639px) {
    .privacy-banner { left: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); max-height: calc(100vh - 100px - env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px)); padding: 18px; border-radius: 16px; }
    .privacy-banner h2 { font-size: 19px; }
    .privacy-storage-warning { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
