.site-main .bar-width-92 {
  --w: 92%;
}

.site-main .bar-width-78 {
  --w: 78%;
}

.site-main .bar-width-64 {
  --w: 64%;
}

.history-notice {
  position: fixed;
  top: 92px;
  right: max(24px, calc((100vw - 1200px) / 2));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 15px 20px;
  border: 1px solid rgba(31, 94, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(18, 40, 92, 0.16);
  color: #4a5568;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.history-notice::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(31, 94, 255, 0.24);
  border-left: 1px solid rgba(31, 94, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  transform: rotate(45deg);
}

.history-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.history-notice a {
  position: relative;
  z-index: 1;
  color: #1f5eff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.history-notice span {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .history-notice {
    top: 96px;
    right: 12px;
    max-width: calc(100vw - 24px);
    padding: 12px 16px;
    font-size: 14px;
  }
}
