/* 服务公告条（service-notice.js）。bar：官网顶部通栏；card：控制台内容区与登录卡片顶部。 */
.th-notice{--th-bg:#eef4ff;--th-line:#d3e1fb;--th-ink:#15304f;--th-soft:#47607e;--th-tag:#205ede;
  background:var(--th-bg);color:var(--th-ink);font:13px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;box-sizing:border-box}
.th-notice[data-mode="upgrading"]{--th-bg:#fff6e5;--th-line:#f1d7a3;--th-ink:#4f3600;--th-soft:#7a5a1c;--th-tag:#b86e00}
.th-notice[data-mode="recovered"]{--th-bg:#eaf7ef;--th-line:#c2e5cf;--th-ink:#123d24;--th-soft:#3d6a4f;--th-tag:#1d8048}
.th-notice--bar{border-bottom:1px solid var(--th-line);position:relative;z-index:30}
.th-notice--bar .th-notice-row{max-width:1200px;margin:0 auto;padding:7px 20px}
.th-notice--card{border:1px solid var(--th-line);border-radius:10px;margin:0 auto 16px;max-width:1440px;width:100%}
.th-notice--card .th-notice-row{padding:9px 12px 9px 14px}
#loginShell .th-notice--card{margin:0 0 18px}
.th-notice--card .th-notice-text{flex-direction:column;gap:0}
.th-notice--card .th-notice-text b,.th-notice--card .th-notice-text span{white-space:normal}
.th-notice--card .th-notice-row{align-items:flex-start}
.th-notice-row{display:flex;align-items:center;gap:10px;min-height:24px}
.th-notice-tag{flex:none;display:inline-flex;align-items:center;gap:5px;background:var(--th-tag);color:#fff;border-radius:999px;padding:1px 9px;font-size:12px;font-weight:600;letter-spacing:.02em}
.th-notice-tag i{width:6px;height:6px;border-radius:50%;background:#fff;animation:th-notice-pulse 1.4s ease-in-out infinite}
.th-notice-text{flex:1;min-width:0;margin:0;display:flex;gap:8px;align-items:baseline;overflow:hidden}
.th-notice-text b{flex:none;font-weight:650;white-space:nowrap}
.th-notice-text span{min-width:0;color:var(--th-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.th-notice-more,.th-notice-close{flex:none;font:inherit;color:var(--th-ink);background:transparent;border:1px solid var(--th-line);border-radius:6px;cursor:pointer;padding:1px 10px;min-height:26px}
.th-notice-more:hover,.th-notice-close:hover{background:#ffffff99}
.th-notice-close{border-color:transparent;font-size:17px;line-height:1;padding:0 6px;color:var(--th-soft)}
.th-notice :focus-visible{outline:2px solid var(--th-tag);outline-offset:2px}
.th-notice-detail{padding:2px 14px 12px;color:var(--th-soft);max-width:1200px;margin:0 auto;box-sizing:border-box}
.th-notice--bar .th-notice-detail{padding:0 20px 12px}
.th-notice-detail p{margin:4px 0}
.th-notice-detail dl{margin:8px 0 4px;display:grid;gap:4px}
.th-notice-detail dl div{display:flex;gap:10px}
.th-notice-detail dt{flex:none;min-width:8em;color:var(--th-ink);font-weight:600}
.th-notice-detail dd{margin:0}
.th-notice-time{font-size:12px}
@keyframes th-notice-pulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.th-notice-tag i{animation:none}}
@media (max-width:720px){
  .th-notice-row{align-items:flex-start;flex-wrap:wrap;gap:6px 8px}
  .th-notice--bar .th-notice-row{padding:7px 14px}
  .th-notice-text{flex-basis:calc(100% - 40px);order:2;flex-direction:column;gap:0}
  .th-notice-text b,.th-notice-text span{white-space:normal}
  .th-notice-tag{order:1}
  .th-notice-close{order:1;margin-left:auto}
  .th-notice-more{order:3}
  .th-notice-detail dl div{flex-direction:column;gap:0}
}
