/** 模板2 官方公告：仿 49888k 浮层，仅作用 .t2-notice，不引 layui、无全屏遮罩 */
.t2-notice[hidden] {
  display: none !important;
}

.t2-notice {
  position: fixed;
  z-index: 9000;
  top: 25%;
  left: 50%;
  box-sizing: border-box;
  width: min(90vw, 675px);
  max-height: 70vh;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  font: 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
  color: #333;
}

.t2-notice__title {
  padding: 0 16px;
  height: 42px;
  line-height: 42px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  background: #f8f8f8;
  user-select: none;
}

.t2-notice__body {
  max-height: calc(70vh - 42px - 52px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.t2-notice__headline {
  margin: 15px 12px 0;
  color: #f00;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.t2-notice__content {
  padding: 16px 20px 20px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
}

.t2-notice__content p {
  margin: 0 0 6px;
}

.t2-notice__content p:last-child {
  margin-bottom: 0;
}

.t2-notice__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.t2-notice__close::before,
.t2-notice__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background: #999;
  border-radius: 1px;
}

.t2-notice__close::before {
  transform: rotate(45deg);
}

.t2-notice__close::after {
  transform: rotate(-45deg);
}

.t2-notice__close:hover::before,
.t2-notice__close:hover::after {
  background: #333;
}

.t2-notice__foot {
  padding: 10px 16px 14px;
  text-align: center;
  border-top: 1px solid #eee;
  background: #f8f8f8;
}

.t2-notice__btn {
  display: inline-block;
  min-width: 96px;
  padding: 0 18px;
  height: 34px;
  line-height: 34px;
  border: 1px solid #1e9fff;
  border-radius: 4px;
  background: #1e9fff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.t2-notice__btn:hover {
  background: #178fe8;
  border-color: #178fe8;
}

.t2-notice__c-blue {
  color: #00f;
}

.t2-notice__c-red {
  color: #f00;
}

@media (min-width: 480px) {
  .t2-notice__content {
    padding: 20px 40px 24px;
    font-size: 19px;
  }
}