

#zibll-system-notice-modal .modal-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#zibll-system-notice-modal .modal-body {
  padding: 0 !important;
}

#zibll-system-notice-modal .modal-body > .close {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -48px;
  left: 50%;
  float: none;
  z-index: 20;
  margin: 0;
  padding: 0;
  color: #fff;
  opacity: .8;
  font-size: 24px;
  line-height: 1;
  transform: translateX(-50%);
}

#zibll-system-notice-modal .tcfrq {
  font-family: 'zibll-system-notice-moe', sans-serif;
}

#zibll-system-notice-modal .tcfrq {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fdf0f2;
  border-radius: 20px;
  box-shadow: 0 16px 32px -10px rgba(0, 20, 30, .1),
              0 6px 16px -4px rgba(0, 0, 0, .03);
  padding: 8px;
  transition: all .2s ease;
  border: 1px solid #000;
  animation: zibll-notice-bounce-in-down .9s cubic-bezier(.23, 1, .32, 1) both;
  transform-origin: center top;
  margin: 20px auto 0;
}

/* 从上往下弹入 */
@keyframes zibll-notice-bounce-in-down {
  0% {
    opacity: 0;
    transform: translateY(-600px) scale(.9);
  }
  50% {
    opacity: .9;
    transform: translateY(10px) scale(1.02);
  }
  75% {
    opacity: 1;
    transform: translateY(-4px) scale(.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#zibll-system-notice-modal .nr {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  width: 100%;
  height: auto;
  padding: 10px;
  background: #f8faff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  letter-spacing: 2px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, .04),
              inset 0 2px 4px rgba(0, 0, 0, .02),
              inset 0 -2px 2px rgba(255, 255, 255, .8);
  background: linear-gradient(145deg, #f4f9ff, #f0f5fc);
  border-color: #d9e2ec;
  transition: box-shadow .2s ease, border-color .2s ease;
}

#zibll-system-notice-modal .button-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 8px;
  width: 100%;
  height: auto;
  justify-content: flex-start;
  align-items: stretch;
  border-radius: 10px;
}

#zibll-system-notice-modal .button-row .btn-image {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 2 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

#zibll-system-notice-modal .button-row.button-count-1 .btn-image {
  flex: 0 0 calc((100% - 16px) / 3);
  max-width: calc((100% - 16px) / 3);
}

#zibll-system-notice-modal .button-row .btn-image:active {
  transform: scale(.94) translateY(1px);
  filter: brightness(.9);
  transition: transform .05s ease, filter .05s ease;
}

#zibll-system-notice-modal .button-row .btn-image span {
  position: absolute;
  color: #fff;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  letter-spacing: .1em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

#zibll-system-notice-modal .zga-decoration-top-left:after {
  content: "hi";
  position: absolute;
  top: -12px;
  right: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ff5577;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

#zibll-system-notice-modal .zga-decoration-top-left {
  position: absolute;
  z-index: 3;
  top: -46px;
  left: -30px;
  width: 80px;
  height: 80px;
  pointer-events: none;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

#zibll-system-notice-modal .top-right {
  position: absolute;
  z-index: 3;
  top: -55px;
  right: -30px;
  width: 80px;
  height: 80px;
  pointer-events: none;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  transform: rotate(10deg);
}

@media (max-width: 400px) {
  #zibll-system-notice-modal .button-row {
    gap: 6px;
    padding: 4px;
  }

  #zibll-system-notice-modal .button-row.button-count-1 .btn-image {
    flex: 0 0 calc((100% - 12px) / 3);
    max-width: calc((100% - 12px) / 3);
  }

  #zibll-system-notice-modal .button-row .btn-image span {
    font-size: 10px;
  }

  #zibll-system-notice-modal .nr {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, .04),
                inset 0 1px 3px rgba(0, 0, 0, .02),
                inset 0 -1px 2px rgba(255, 255, 255, .8);
  }

  #zibll-system-notice-modal .tcfrq {
    margin-top: 20px;
  }

  /* 移动端装饰图缩小 */
  #zibll-system-notice-modal .zga-decoration-top-left {
    width: 48px;
    height: 48px;
    top: -25px;
    left: -18px;
  }

  #zibll-system-notice-modal .top-right {
    width: 48px;
    height: 48px;
    top: -29px;
    right: -18px;
    transform: rotate(10deg);
  }

  /* 移动端从上往下弹入 */
  @keyframes zibll-notice-bounce-in-down {
    0% {
      opacity: 0;
      transform: translateY(-400px) scale(.92);
    }
    50% {
      opacity: .9;
      transform: translateY(8px) scale(1.02);
    }
    75% {
      opacity: 1;
      transform: translateY(-3px) scale(.99);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}