.gp-legal-dialog{width:min(760px,calc(100% - 28px));max-height:85vh;max-height:85svh;padding:0;border:1px solid #607181;border-radius:16px;background:#1b2732;color:#e7edf4;box-shadow:0 25px 90px #0009;overflow:hidden}.gp-legal-dialog::backdrop{background:#050b13cc;backdrop-filter:blur(5px)}.gp-legal-dialog header{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #ffffff1c}.gp-legal-dialog h2{margin:0;font-size:22px;line-height:1.3;flex:1;color:#f1c483}.gp-legal-close{border:0;background:#ffffff0d;color:#fff;border-radius:8px;font-size:27px;line-height:1;width:38px;height:38px;cursor:pointer}.gp-legal-content{padding:24px;overflow:auto;max-height:calc(85vh - 95px);max-height:calc(85svh - 95px);font-size:14px;line-height:1.8;overflow-wrap:anywhere;box-sizing:border-box}.gp-legal-content a{color:#efbd76;text-decoration:underline}.gp-legal-content table{display:block;overflow:auto;max-width:100%}.gp-legal-content button{display:block;margin-top:15px;padding:10px 18px;border:0;border-radius:8px;background:#efbd76;color:#221b13}.gp-legal-dialog :focus-visible{outline:2px solid #efbd76;outline-offset:3px}.gp-card .hp-social-consent{display:flex!important;gap:10px;align-items:flex-start;font-size:12px;line-height:1.65;margin:14px 0!important}.gp-card .hp-social-consent input{flex:none;width:16px;height:16px;margin-top:3px}.gp-card .hp-social-consent a{color:#efbd76}.gp-card .tg-consent{display:none!important}.gp-card .hp-social-button{height:auto!important;min-height:80px!important}

/* Explicit open/closed states override theme resets for the native dialog element. */
html.gp-legal-open{overflow:hidden!important}
body .gp-legal-dialog:not([open]){display:none!important;visibility:hidden!important;pointer-events:none!important}
body .gp-legal-dialog[open]{display:flex!important;flex-direction:column!important;position:fixed!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;inset-block-start:50%!important;inset-inline-start:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:min(760px,calc(100vw - 28px))!important;height:auto!important;max-height:85vh!important;max-height:85dvh!important;box-sizing:border-box!important;visibility:visible!important;opacity:1;pointer-events:auto!important;animation:none!important;transition:none!important}
body .gp-legal-dialog>header{position:static!important;display:flex!important;flex:0 0 auto!important;width:auto!important;height:auto!important;margin:0!important;transform:none!important;background:transparent!important}
body .gp-legal-dialog .gp-legal-content{flex:1 1 auto;min-height:0;overscroll-behavior:contain;max-height:calc(85vh - 95px);max-height:calc(85dvh - 95px)}
body .gp-legal-dialog .gp-legal-close{position:static!important;display:grid!important;place-items:center!important;flex:0 0 38px!important;margin:0!important;padding:0!important;min-width:38px!important;min-height:38px!important;pointer-events:auto!important;opacity:1!important;transform:none!important}
@media(max-width:480px){body .gp-legal-dialog>header{padding:16px!important}.gp-legal-dialog h2{font-size:18px}.gp-legal-content{padding:16px}}

body .gp-legal-dialog[open][data-motion=entering]{animation:gp-document-in .26s ease-out both!important}
body .gp-legal-dialog[open][data-motion=closing]{animation:gp-document-out .18s ease-in both!important}
body .gp-legal-dialog[open][data-motion=entering]::backdrop{animation:gp-document-in .26s ease-out both}
body .gp-legal-dialog[open][data-motion=closing]::backdrop{animation:gp-document-out .18s ease-in both}
.gp-legal-dialog[data-motion=entering] .gp-legal-content{animation:gp-document-content .32s cubic-bezier(.2,.7,.3,1) both}
@keyframes gp-document-in{from{opacity:0}to{opacity:1}}
@keyframes gp-document-out{from{opacity:1}to{opacity:0}}
@keyframes gp-document-content{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){body .gp-legal-dialog[open][data-motion],body .gp-legal-dialog[open][data-motion]::backdrop,.gp-legal-dialog .gp-legal-content{animation:none!important}}
