#deava-update-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dbe3ef;border-radius:20px;padding:28px;color:#172b45;background:#fff;box-shadow:0 24px 90px #0d244b38;font:15px/1.55 system-ui,sans-serif}
#deava-update-dialog::backdrop{background:#10274370;backdrop-filter:blur(3px)}
#deava-update-dialog .deava-update-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#eaf2ff;color:#245bb8;font-size:29px}
#deava-update-dialog .deava-update-brand{color:#697a94;font-size:11px;font-weight:700;letter-spacing:.18em;margin:18px 0 4px}
#deava-update-dialog h2{font-size:23px;line-height:1.25;margin:0 0 14px}
#deava-update-dialog [data-update-copy]{color:#516079;margin:0}
#deava-update-dialog [data-update-message]{color:#854909;font-size:14px;margin:12px 0}
#deava-update-dialog [data-update-review]{font-size:13px;color:#43536c;display:flex;align-items:flex-start;gap:8px;margin:12px 0}
#deava-update-dialog [data-update-review][hidden]{display:none}
#deava-update-dialog [data-update-review] input{width:18px;height:18px;flex:none;margin-top:3px}
#deava-update-dialog .deava-update-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}
#deava-update-dialog button{font:inherit;font-weight:600;border-radius:10px;min-height:44px;padding:10px 15px;border:1px solid #d6dfeb;background:#f7f9fc;color:#243a57;cursor:pointer;white-space:normal}
#deava-update-dialog [data-update-apply]{background:#245bb8;color:white;border-color:#245bb8}
#deava-update-dialog button:disabled{opacity:.55;cursor:wait}
#deava-update-dialog button:focus-visible,#deava-update-badge:focus-visible{outline:3px solid #76a9fa;outline-offset:3px}
#deava-update-badge{position:fixed;z-index:2147483000;right:20px;bottom:max(20px,env(safe-area-inset-bottom));max-width:calc(100vw - 40px);border:1px solid #c4d7f5;border-radius:12px;background:#edf4ff;color:#194582;box-shadow:0 5px 25px #12386b22;padding:11px 16px;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
#deava-update-badge[hidden]{display:none}
@media(max-width:480px){#deava-update-dialog{padding:22px}#deava-update-dialog .deava-update-actions{flex-direction:column-reverse}#deava-update-dialog button{width:100%}#deava-update-badge{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}}

/* Status stays in the header flow; it cannot cover a working action. */
#deava-update-badge.release-status-inline{position:static;inset:auto;flex:1 0 100%;width:auto;max-width:100%;min-height:36px;padding:6px 10px;font-size:12px;box-shadow:none;z-index:auto}

/* Compact availability; explanatory notes appear only after the page is ready. */
#deava-update-badge.release-status-inline{flex:0 1 auto;min-height:32px;width:auto;max-width:100%;padding:4px 9px}
#deava-release-notes{box-sizing:border-box;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid #cbd9e7;border-radius:12px;background:#fff;color:#243c55;font:14px/1.5 system-ui,sans-serif}
#deava-release-notes::backdrop{background:#10274355}.release-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.release-notes-heading h2{margin:0;font-size:20px}.release-notes-heading>button{min-width:36px;min-height:36px;font-size:22px}.release-notes-item{padding:16px 0;border-bottom:1px solid #dce5ee}.release-notes-item:last-child{border-bottom:0;padding-bottom:40px}.release-notes-item h3{margin:5px 0;font-size:16px}.release-notes-item small{color:#60768b}.release-notes-item p{margin:8px 0;white-space:pre-line}.release-notes-item>button,[data-release-history]{min-height:36px;padding:6px 12px;border:1px solid #b9cddd;border-radius:7px;background:#edf5fc;color:#1c567f;font:inherit;white-space:normal}.release-notes-item>button:disabled{background:#f4f7fa;color:#64798d}#deava-release-notes [data-notes-error]{color:#8a382d}.ui-settings-content>[data-release-history]{justify-self:start}
@media(max-width:480px){#deava-release-notes{padding:14px}.release-notes-item h3{font-size:15px}}

/* An explicit read action must receive the pointer before a resize edge. */
#deava-release-notes .release-notes-item>button{position:relative;z-index:31}
