/* Shared notice bar, announcement labels and clearer existing footer captions. */
body { --urgent-bar-height:0px; }
body.has-urgent-notice { padding-top:var(--urgent-bar-height) !important; }
body.has-urgent-notice #nav { top:var(--urgent-bar-height) !important; }
body.has-urgent-notice #mobileMenu { top:var(--urgent-bar-height) !important; height:calc(100dvh - var(--urgent-bar-height)) !important; }
body.has-urgent-notice #mmOverlay { top:var(--urgent-bar-height) !important; }
.urgent-notice { position:fixed; z-index:10020; top:0; left:0; right:0; min-height:36px; background:#fff3d9; color:#76510e; border-bottom:1px solid #ebd7a4; font:13px/1.6 "PingFang SC","Microsoft YaHei",system-ui,sans-serif; }
.urgent-notice-inner { max-width:1240px; margin:auto; display:flex; align-items:center; gap:18px; min-height:36px; padding:4px 24px; }
.urgent-notice-text { flex:1; min-width:0; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; color:inherit; text-decoration:none; }
.urgent-notice button { flex:none; display:grid; place-items:center; width:28px; height:28px; padding:0; border:0; border-radius:4px; background:transparent; color:inherit; cursor:pointer; font:20px/1 system-ui; }
.urgent-notice :is(a,button):focus-visible { outline:2px solid #76510e; outline-offset:2px; }
.footer .qr-item span { font-size:14px !important; line-height:1.65 !important; color:rgba(255,255,255,.76) !important; letter-spacing:0 !important; white-space:nowrap; }
.footer .qr-row { gap:16px; }
.notice-type { display:inline-block; width:fit-content; flex:none; padding:3px 9px; border-radius:4px; font-size:12px; line-height:1.6; white-space:nowrap; background:#edf1f6; color:#52627a; }
.notice-type--1 { background:#eaf1fe; color:#225eb9; }
.notice-type--2 { background:#fff3db; color:#8b5b0a; }
.notice-type--3 { background:#f0eafa; color:#7050a2; }
.notice-type--4 { background:#e9f4ed; color:#34714e; }
.notice-type--5 { background:#fbecee; color:#a0424c; }
@media (prefers-color-scheme:dark) {
 .urgent-notice { background:#332a19; color:#e5c887; border-color:#514225; }
 .notice-type { background:#24334d; color:#b8c4d8; }
 .notice-type--1 { background:#1b2d4f; color:#9bbfff; }
 .notice-type--2 { background:#3d311d; color:#ebcc88; }
 .notice-type--3 { background:#302640; color:#c8b0ed; }
 .notice-type--4 { background:#20372a; color:#9bc9ad; }
 .notice-type--5 { background:#3d252c; color:#e9a5af; }
}
@media (max-width:600px) { .urgent-notice-inner { padding-inline:16px; gap:10px; } .footer .qr-row { gap:10px; flex-wrap:wrap; } .footer .qr-item span { font-size:13px !important; } }
