/* 全站更新提示弹窗（2026-11-08）—— 绿白配色，居中卡片 */
.cn-mask {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(13, 54, 35, .45);
  -webkit-animation: cnFade .18s ease-out both;
  animation: cnFade .18s ease-out both;
}
@-webkit-keyframes cnFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cnFade { from { opacity: 0; } to { opacity: 1; } }

.cn-card {
  position: relative;
  width: 100%;
  max-width: 330px;
  box-sizing: border-box;
  padding: 20px 18px 16px;
  background: #fff;
  border: 1px solid #d9ecdf;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(9, 46, 28, .22), 0 2px 6px rgba(9, 46, 28, .08);
  text-align: center;
  font-family: inherit;
  -webkit-animation: cnIn .22s cubic-bezier(.2, .8, .3, 1) both;
  animation: cnIn .22s cubic-bezier(.2, .8, .3, 1) both;
}
@-webkit-keyframes cnIn {
  from { opacity: 0; -webkit-transform: translateY(10px) scale(.965); }
  to { opacity: 1; -webkit-transform: none; }
}
@keyframes cnIn {
  from { opacity: 0; transform: translateY(10px) scale(.965); }
  to { opacity: 1; transform: none; }
}

.cn-ico {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf9f0;
  color: #16a34a;
}
.cn-ico svg { width: 23px; height: 23px; display: block; }

.cn-title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  color: #14532d;
  letter-spacing: .2px;
}

.cn-desc {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4a6b58;
}

.cn-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  text-align: left;
  background: #f6fcf8;
  border: 1px solid #e2f3e9;
  border-radius: 11px;
  padding: 10px 12px;
}
.cn-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.62;
  color: #2f5240;
}
.cn-list li + li { margin-top: 5px; }
.cn-list li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
}

.cn-ok {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: .3px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .16s ease, transform .1s ease;
}
.cn-ok:hover { background: #149544; }
.cn-ok:active { background: #11803a; transform: scale(.985); }
.cn-ok[disabled] { background: #8fceaa; cursor: default; }

.cn-tip {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #8aa79a;
}

@media (max-width: 360px) {
  .cn-card { padding: 18px 15px 14px; }
  .cn-title { font-size: 16px; }
  .cn-list li, .cn-desc { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cn-mask, .cn-card { -webkit-animation: none; animation: none; }
}
