@import url("library.css?v=20260908-1");
.history-pc {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.history-nav {
  display: none;
}
.history-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.history-head-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.history-clear-btn {
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 24px;
  background: #222;
  color: #999;
  border: 1px solid #333;
  cursor: pointer;
}
.history-empty[hidden] {
  display: none;
}
.history-pagination {
  align-self: center;
  width: 100%;
}
@media (max-width: 767px) {
  .history-pc,
  .history-main {
    gap: 16px;
  }
  .history-clear-btn {
    font-size: 12px;
  }
}
.history-confirm-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 24px;
  box-sizing: border-box;
}

.history-confirm-mask.is-open {
  display: flex;
}

.history-confirm-mask[hidden] {
  display: none !important;
}

.history-confirm-card {
  width: 420px;
  max-width: 100%;
  padding: 32px 28px 28px;
  position: relative;
  background: #0d0d0d;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46);
  border-radius: 20px;
  border: 1px solid #414141;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}

.history-confirm-close {
  width: 28px;
  height: 28px;
  right: 14px;
  top: 14px;
  position: absolute;
  overflow: hidden;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.history-confirm-close-ring {
  width: 26px;
  height: 26px;
  left: 1px;
  top: 1px;
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-sizing: border-box;
}

.history-confirm-close-x {
  width: 8px;
  height: 8px;
  left: 10px;
  top: 10px;
  position: absolute;
  box-sizing: border-box;
}

.history-confirm-close-x::before,
.history-confirm-close-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: #c5c0d0;
  border-radius: 1px;
}

.history-confirm-close-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.history-confirm-close-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.history-confirm-title {
  margin-top: 4px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 700;
  line-height: 28px;
}

.history-confirm-desc {
  text-align: center;
  color: #b2abc4;
  font-size: 14px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 400;
  line-height: 20px;
}

.history-confirm-actions {
  width: 100%;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-confirm-btn {
  flex: 1 1 0;
  height: 44px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.history-confirm-btn--cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #c5c0d0;
}

.history-confirm-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.history-confirm-btn--ok {
  background: #ff5000;
  color: #fff;
}

.history-confirm-btn--ok:hover {
  background: #ff6b28;
}
