.rrc-ann-lock {
  overflow: hidden !important;
}

.rrc-ann-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 20, 24, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.rrc-ann-mask.is-open {
  display: flex;
}

.rrc-ann-mask.is-visible {
  opacity: 1;
}

.rrc-ann-card {
  position: relative;
  width: 440px;
  max-width: 100%;
  width: min(440px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.24s ease;
  overflow: hidden;
}

.rrc-ann-mask.is-visible .rrc-ann-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.rrc-ann-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(20, 24, 33, 0.06);
  color: #5b6272;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.rrc-ann-close:hover {
  background: rgba(20, 24, 33, 0.12);
}

.rrc-ann-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 26px 10px;
  padding-right: 48px;
}

.rrc-ann-badge {
  flex: none;
  padding: 2px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff8a2b, #ff6a00);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.rrc-ann-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  color: #141821;
  font-weight: 700;
}

.rrc-ann-body {
  padding: 4px 26px 18px;
  overflow-y: auto;
}

.rrc-ann-image {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 8px 0 12px;
}

.rrc-ann-imglink {
  display: block;
  margin: 8px 0 12px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.rrc-ann-imglink[hidden] {
  display: none !important;
}

.rrc-ann-imglink .rrc-ann-image {
  margin: 0;
  transition: transform 0.3s ease;
}

.rrc-ann-imglink:hover .rrc-ann-image {
  transform: scale(1.02);
}

.rrc-ann-detail {
  display: inline-block;
  margin-top: 12px;
  color: #ff6a00;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rrc-ann-detail:hover {
  text-decoration: underline;
}

.rrc-ann-detail[hidden] {
  display: none !important;
}

.rrc-ann-text {
  font-size: 14px;
  line-height: 1.8;
  color: #4c5364;
  white-space: pre-wrap;
  word-break: break-word;
}

.rrc-ann-foot {
  padding: 0 26px 22px;
}

.rrc-ann-ok {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a2b, #ff6a00);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.28);
}

.rrc-ann-ok:hover {
  filter: brightness(1.04);
}

@media (max-width: 640px) {
  .rrc-ann-mask {
    padding: 16px;
    align-items: center;
  }
  .rrc-ann-card {
    width: 100%;
    border-radius: 16px;
  }
  .rrc-ann-head {
    padding: 20px 18px 8px;
    padding-right: 44px;
  }
  .rrc-ann-title {
    font-size: 17px;
  }
  .rrc-ann-body {
    padding: 2px 18px 14px;
  }
  .rrc-ann-foot {
    padding: 0 18px 18px;
  }
  .rrc-ann-image {
    max-height: 46vh;
  }
}
