#portal-update-notice {
  position:fixed; z-index:1400; right:24px; bottom:24px; width:400px; max-width:calc(100vw - 32px);
  box-sizing:border-box; padding:22px; border:1px solid #e0e3ed; border-radius:18px;
  background:#fff; color:#182230; box-shadow:0 12px 48px rgb(24 34 48 / 14%),0 2px 8px rgb(24 34 48 / 4%);
  font:14px/1.6 "Microsoft YaHei","PingFang SC",system-ui,sans-serif; text-align:left;
}
#portal-update-notice[hidden] { display:none !important; }
#portal-update-notice .portal-update-heading { display:flex; align-items:flex-start; gap:14px; }
#portal-update-notice .portal-update-icon { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:13px; color:#4f46e5; background:#eef2ff; }
#portal-update-notice svg { display:block; width:23px; height:23px; }
#portal-update-notice strong { display:block; font-size:17px; line-height:1.45; font-weight:700; color:#182230; }
#portal-update-notice p { margin:5px 0 0; font:inherit; color:#667085; }
#portal-update-notice .portal-update-hint { margin:16px 0; padding:10px 12px; background:#f7f8fb; border-radius:9px; font-size:13px; }
#portal-update-notice .portal-update-error { color:#b42318; margin:0 0 12px; }
#portal-update-notice .portal-update-actions { display:flex; justify-content:flex-end; gap:10px; }
#portal-update-notice button { display:inline-flex; align-items:center; justify-content:center; width:auto; min-height:40px; margin:0; padding:9px 17px; border:1px solid #e4e7ec; border-radius:10px; background:#fff; color:#475467; font:inherit; font-weight:500; line-height:1.4; box-shadow:none; cursor:pointer; transform:none; }
#portal-update-notice button:hover { background:#f6f7fb; }
#portal-update-notice button[data-update-refresh] { background:#4f46e5; border-color:#4f46e5; color:#fff; }
#portal-update-notice button[data-update-refresh]:hover { background:#4338ca; }
#portal-update-notice button:focus-visible { outline:3px solid #a5b4fc; outline-offset:3px; }
#portal-update-notice button:disabled { opacity:.65; cursor:wait; }
@media(max-width:600px) {
  #portal-update-notice { right:16px; bottom:max(16px,env(safe-area-inset-bottom)); padding:18px; }
  #portal-update-notice .portal-update-actions button { flex:1; }
}
