/* ColeMo 站点公告弹窗 */
#colemo-ann-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(103, 232, 249, .1), transparent 65%),
    rgba(4, 8, 17, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
#colemo-ann-mask.show {
  opacity: 1;
  visibility: visible;
}
#colemo-ann-mask .ann-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: min(82vh, 650px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(133, 224, 255, .28);
  border-radius: 24px;
  background:
    radial-gradient(110% 60% at 100% 0%, rgba(103, 232, 249, .17) 0%, transparent 58%),
    radial-gradient(80% 45% at 0% 100%, rgba(251, 211, 141, .08) 0%, transparent 62%),
    linear-gradient(160deg, #121e33 0%, #0a1120 74%, #080d19 100%);
  box-shadow:
    0 30px 90px -30px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 255, 255, .03) inset,
    0 0 46px -18px rgba(103, 232, 249, .34);
  color: #eaf6ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  transform: translateY(18px) scale(.975);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2, .8, .25, 1), opacity .24s ease;
}
#colemo-ann-mask.show .ann-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#colemo-ann-mask .ann-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -92px;
  top: -112px;
  border: 1px solid rgba(103, 232, 249, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(103, 232, 249, .035), 0 0 0 54px rgba(103, 232, 249, .018);
  pointer-events: none;
}
#colemo-ann-mask .ann-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .65;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 10%, rgba(103,232,249,.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 88% 52%, rgba(255,255,255,.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 8% 74%, rgba(251,211,141,.55) 0 1px, transparent 1.6px);
}
#colemo-ann-mask .ann-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 19px 21px 0;
}
#colemo-ann-mask .ann-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #93edff;
  text-transform: uppercase;
}
#colemo-ann-mask .ann-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 9px rgba(103, 232, 249, .95);
  animation: ann-pulse 1.8s ease-in-out infinite;
}
#colemo-ann-mask .ann-head-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 232, 249, .35), transparent);
}
#colemo-ann-mask .ann-title {
  position: relative;
  z-index: 1;
  margin: 10px 21px 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .2px;
  color: #f3fbff;
  word-break: break-word;
}
#colemo-ann-mask .ann-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  margin: 12px 21px 0;
  padding-right: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #b8c9dc;
  font-size: 13.5px;
  line-height: 1.78;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, .3) transparent;
}
#colemo-ann-mask .ann-content::-webkit-scrollbar { width: 4px; }
#colemo-ann-mask .ann-content::-webkit-scrollbar-thumb {
  background: rgba(103, 232, 249, .28);
  border-radius: 99px;
}
#colemo-ann-mask .ann-foot {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  padding: 18px 21px max(18px, env(safe-area-inset-bottom));
}
#colemo-ann-mask .ann-btn {
  flex: 1;
  min-height: 43px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .045);
  color: #c9d8e9;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
#colemo-ann-mask .ann-btn:active { transform: scale(.985); }
#colemo-ann-mask .ann-btn:hover { background: rgba(255, 255, 255, .08); }
#colemo-ann-mask .ann-btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #8ff2ff 0%, #4fd5ef 50%, #32bcd9 100%);
  color: #032631;
  box-shadow: 0 8px 26px -10px rgba(103, 232, 249, .8);
}
#colemo-ann-mask .ann-btn.primary:hover { background: linear-gradient(135deg, #a4f6ff 0%, #5fe0f7 50%, #43c8e2 100%); }
#colemo-ann-mask .ann-btn:focus-visible { outline: 2px solid #93edff; outline-offset: 3px; }
@keyframes ann-pulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}
@media (max-width: 380px) {
  #colemo-ann-mask { padding-left: 12px; padding-right: 12px; }
  #colemo-ann-mask .ann-title { font-size: 19px; }
  #colemo-ann-mask .ann-foot { padding-left: 17px; padding-right: 17px; }
}
