.dbe-cookie[hidden]{display:none!important}
.dbe-cookie{position:fixed;z-index:99998;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(920px,calc(100% - 24px));box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:#fff;color:#252638;border:1px solid #e1dcf2;border-radius:18px;box-shadow:0 8px 36px #25263826;font:inherit}
.dbe-cookie p{margin:4px 0 0;font-size:14px;line-height:1.5}.dbe-cookie a{color:#542ac4;text-decoration:underline}.dbe-cookie-actions{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}
.dbe-cookie button,.dbe-zoom button{cursor:pointer;font:inherit;line-height:1.3;border:1px solid #5f3bd4;border-radius:999px;padding:8px 13px;color:#3d278a;background:#fff}
.dbe-cookie button[data-dbe-choice=yes]{color:#fff;background:#5831cf}
.dbe-cookie-settings{margin:10px 20px 14px;color:#542ac4;background:transparent;border:0;text-decoration:underline;cursor:pointer;font:inherit;font-size:13px}
.dbe-cookie-settings-fixed{position:fixed;bottom:0;right:0;z-index:99990;background:#fff;border-radius:8px;padding:6px 10px}
.dbe-zoom-trigger{cursor:zoom-in}.dbe-zoom{padding:0;margin:auto;width:min(94vw,1500px);max-width:none;border:0;border-radius:14px;background:#212131;color:#fff;overflow:hidden}.dbe-zoom[open]{display:flex;flex-direction:column}.dbe-zoom::backdrop{background:#10101cdb}
.dbe-zoom-bar{padding:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.dbe-zoom-bar output{min-width:3.5em;text-align:center}.dbe-zoom-bar button:disabled{opacity:.45;cursor:default}
.dbe-zoom-view{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:12px;box-sizing:border-box}.dbe-zoom-view img{display:block;max-width:none!important;height:auto!important;margin-inline:auto}
@media(max-width:660px){.dbe-cookie{align-items:stretch;flex-direction:column;gap:10px;padding:13px 15px}.dbe-cookie-actions{justify-content:flex-start}}

.dbe-zoom-view img{cursor:zoom-in}.dbe-zoom-view img.dbe-zoomed{cursor:zoom-out}

/* Size the frame explicitly to avoid stretching between the top and bottom insets. */
dialog.dbe-zoom[open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;box-sizing:border-box;width:var(--dbe-frame-width,min(720px,calc(100vw - 24px)));min-height:0;height:var(--dbe-frame-height,auto)!important;max-width:calc(100vw - 24px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);border-radius:16px;background:#f8f7ff;color:#27263b;box-shadow:0 18px 60px #10101c59}
.dbe-zoom::backdrop{background:#151526ba}
.dbe-zoom-bar{flex:none;padding:8px 10px;gap:6px;background:#f0ecff}
.dbe-zoom-bar button{min-height:36px;padding:6px 11px;border-color:#d7cdf6;color:#452a91;background:#fff;font-size:14px;box-shadow:none}
.dbe-zoom-bar button[data-step],.dbe-zoom-bar button[data-close]{min-width:36px;padding-inline:7px}
.dbe-zoom-bar output{min-width:3em;font-size:13px;font-variant-numeric:tabular-nums}
.dbe-zoom-view{flex:0 1 auto;min-height:0;height:var(--dbe-view-height,auto);padding:8px}
.dbe-zoom-view img{margin:0 auto;border-radius:9px}
@media(max-width:660px){dialog.dbe-zoom[open]{border-radius:13px}}
