/* 神云盾 · 首页顶部公告条（配套 announcement-bar.js） */
#sy-ann-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(100deg, #0f172a 0%, #12303a 56%, #0f766e 100%);
  border-bottom: 1px solid rgba(20, 184, 166, .45);
  box-shadow: 0 8px 26px -16px rgba(15, 23, 42, .75);
  color: #e6f2f0;
  font-size: 14px;
  line-height: 1.65;
  animation: syAnnIn .34s ease both;
}
#sy-ann-bar * { box-sizing: border-box; }
@keyframes syAnnIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.sy-ann-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 46px 12px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.sy-ann-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.sy-ann-badge {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: 6px;
  background: #14b8a6;
  color: #062a26;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.sy-ann-text { margin: 0; color: #dbe9e7; font-size: 13.5px; }
.sy-ann-text b { color: #5eead4; font-weight: 600; }

.sy-ann-group { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.sy-ann-qr {
  width: 84px;
  height: 84px;
  padding: 3px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, .35);
  cursor: zoom-in;
  display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sy-ann-qr:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #5eead4, 0 10px 22px -12px #000; }
.sy-ann-meta { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.sy-ann-label { font-size: 12px; color: #93bab5; letter-spacing: .05em; }
.sy-ann-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid rgba(94, 234, 212, .45);
  background: rgba(20, 184, 166, .12);
  color: #ccfbf1;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: background .18s ease;
}
.sy-ann-copy:hover { background: rgba(20, 184, 166, .26); }
.sy-ann-copy em { font-style: normal; font-size: 11.5px; color: #5eead4; }

.sy-ann-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #a8bfbc;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.sy-ann-close:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.sy-ann-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 10, 20, .84);
  cursor: zoom-out;
  animation: syAnnFade .18s ease both;
}
@keyframes syAnnFade { from { opacity: 0; } to { opacity: 1; } }
.sy-ann-mask img {
  max-width: min(92vw, 440px);
  max-height: 76vh;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .8);
}
.sy-ann-mask p { margin: 14px 0 0; color: #cbd5e1; font-size: 13px; }

@media (max-width: 860px) {
  .sy-ann-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 13px 40px 15px 15px;
  }
  .sy-ann-text { font-size: 13px; }
  .sy-ann-group { justify-content: flex-start; gap: 13px; }
  .sy-ann-qr { width: 96px; height: 96px; padding: 4px; }
  .sy-ann-meta { gap: 6px; }
}
