/* 仅控制公告命名空间，不改变 Halo 主题的其他按钮、标题或正文。 */
#wang-update-notice{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:0;width:min(580px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);border:1px solid #d4dfef;border-radius:16px;background:#fff;color:#4d6077;font-family:"Microsoft YaHei","PingFang SC",sans-serif;text-align:left;overflow:hidden;box-shadow:0 24px 80px #122b4f40;z-index:2147483001}
#wang-update-notice *,#wang-update-notice *::before,#wang-update-notice *::after{box-sizing:border-box}
#wang-update-notice::backdrop{background:#152536a8;backdrop-filter:blur(4px)}
#wang-update-notice .wn-frame{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);position:relative}
#wang-update-notice .wn-close{position:absolute;right:12px;top:12px;width:36px;height:36px;min-height:36px;padding:8px;border:0;border-radius:50%;background:#f0f4fa;color:#627991;display:grid;place-items:center;cursor:pointer;box-shadow:none;line-height:20px}
#wang-update-notice svg{display:block}#wang-update-notice .wn-close svg,#wang-update-notice .wn-brand svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}
#wang-update-notice .wn-header{padding:28px 32px 16px;flex-shrink:0;background:#fff;border:0}
#wang-update-notice .wn-brand{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;line-height:20px;color:#637790;margin:0 40px 24px 0}
#wang-update-notice .wn-hero{display:flex;justify-content:space-between;align-items:center;gap:16px}
#wang-update-notice .wn-tag{display:inline-block;font-size:12px;line-height:16px;color:#3869b3;background:#edf3fe;border:0;border-radius:4px;padding:4px 8px;margin:0 0 12px}
#wang-update-notice #wn-title{font-size:30px;line-height:36px;font-weight:600;color:#172f50;margin:0;padding:0;letter-spacing:0;text-wrap:balance;background:none;border:0}
#wang-update-notice h2::before,#wang-update-notice h2::after{display:none!important;content:none!important}
#wang-update-notice .wn-board{width:88px;height:88px;flex-shrink:0}
#wang-update-notice .wn-body{padding:0 32px 8px;overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:16px;line-height:24px;overflow-wrap:anywhere;scrollbar-width:thin}
#wang-update-notice .wn-body p{margin:0 0 16px;font-size:inherit;line-height:inherit;color:inherit}
#wang-update-notice .wn-body>p:first-child{color:#637790;font-size:14px;line-height:20px;margin-bottom:24px}
#wang-update-notice .wn-body ul,#wang-update-notice .wn-body ol{margin:0;padding:0 0 0 20px;list-style:disc}
#wang-update-notice .wn-body ol{list-style:decimal}
#wang-update-notice .wn-body li{font-size:inherit;line-height:inherit;margin:0 0 16px;padding-left:4px}
#wang-update-notice .wn-body li::marker{color:#3978ce}
#wang-update-notice .wn-body li p{margin:0}
#wang-update-notice .wn-body a{color:#2863c6;text-decoration:underline}
#wang-update-notice .wn-body img{display:block;max-width:100%;height:auto;border-radius:8px;margin:16px auto}
#wang-update-notice .wn-body h2,#wang-update-notice .wn-body h3,#wang-update-notice .wn-body h4{font-size:20px;line-height:28px;color:#172f50;margin:16px 0 12px;font-weight:600;border:0;padding:0}
#wang-update-notice .wn-body blockquote{margin:16px 0;padding:12px;background:#edf3fe;border:1px solid #d4dfef;border-radius:6px}
#wang-update-notice .wn-footer{flex-shrink:0;padding:16px 32px 24px;background:#fff;border:0}
#wang-update-notice .wn-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:12px}
#wang-update-notice .wn-actions button,#wang-update-notice .wn-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;height:auto;padding:8px 12px;font-family:inherit;font-size:16px;line-height:24px;font-weight:600;text-align:center;text-decoration:none;border:1px solid #dbe5f2;border-radius:6px;background:#fff;color:#4d6077;cursor:pointer;box-shadow:none;margin:0}
#wang-update-notice .wn-actions .wn-primary{background:#2863c6;color:#fff;border-color:#2863c6}
#wang-update-notice .wn-hint{font-size:12px;font-weight:400;line-height:16px;color:#7d8b9b;text-align:center;margin:12px 0 0}
#wang-update-notice button:focus-visible,#wang-update-notice a:focus-visible{outline:3px solid #4e91ec;outline-offset:3px}
#wang-update-notice button:hover{background:#e9f0fb}#wang-update-notice .wn-actions .wn-primary:hover{background:#1f53ae}
.wn-shade{position:fixed;inset:0;background:#152536a8;z-index:2147483000}
#wang-update-notice.wn-fallback{top:50%;left:50%;right:auto;bottom:auto;margin:0;transform:translate(-50%,-50%)}
@media(max-width:480px){#wang-update-notice{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px)}#wang-update-notice .wn-frame{max-height:calc(100dvh - 24px)}#wang-update-notice .wn-header{padding:24px 24px 16px}#wang-update-notice .wn-brand{margin-bottom:16px}#wang-update-notice #wn-title{font-size:24px;line-height:32px}#wang-update-notice .wn-board{width:64px;height:64px}#wang-update-notice .wn-body{font-size:14px;line-height:20px;padding-inline:24px}#wang-update-notice .wn-body li{margin-bottom:12px}#wang-update-notice .wn-footer{padding:12px 24px 20px}}
@media(prefers-reduced-motion:reduce){#wang-update-notice *{scroll-behavior:auto!important}}
