.google-consent[hidden], .google-consent-footer button[hidden] { display: none; }
.google-consent {
    position: fixed;
    z-index: 1000;
    inset-inline-start: max(16px, env(safe-area-inset-left));
    inset-block-end: max(16px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    width: min(520px, calc(100% - 32px));
    padding: 18px;
    border: 1px solid #dce1ed;
    border-radius: 12px;
    background: #fff;
    color: #222638;
    box-shadow: 0 8px 28px #22263826;
    font: 1rem/1.45 system-ui, sans-serif;
}
.google-consent h2 { margin: 0 0 6px; color: #151568; font-size: 1.18rem; }
.google-consent p { margin: 0 0 12px; font-size: .94rem; }
.google-consent a { color: #252575; text-decoration: underline; }
.google-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.google-consent-actions button {
    flex: 1 1 180px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid #45457c;
    border-radius: 8px;
    color: #151568;
    background: #fff;
    font: 600 .95rem/1.2 system-ui, sans-serif;
    cursor: pointer;
}
.google-consent-actions button:hover { background: #f0eff8; }
.google-consent-footer { padding: 4px 20px; background: #f6f6fa; }
.google-consent-footer button {
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #252575;
    font: 500 .9rem system-ui, sans-serif;
    text-decoration: underline;
    cursor: pointer;
}
.google-consent :focus-visible, .google-consent-footer :focus-visible { outline: 2px solid #4541a4; outline-offset: 2px; }
