*,
*::before,
*::after { box-sizing: border-box; }

/* PC 金币明细：两年半 49256:14312 */
.coin-records-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #010406;
  color: rgba(255, 255, 255, .9);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.desktop-coin-records {
  width: min(1200px, calc(100% - 48px));
  min-height: 804px;
  margin: 0 auto;
  padding: 24px 0;
  flex: 1 0 auto;
}

.desktop-coin-records__breadcrumb {
  display: flex;
  width: 100%;
  height: 48px;
  padding: 0 10px;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 24px;
}
.desktop-coin-records__breadcrumb a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  align-items: center;
  justify-content: center;
}
.desktop-coin-records__breadcrumb img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.desktop-coin-records__breadcrumb strong { font-weight: 600; }
.desktop-coin-records__breadcrumb span {
  color: rgba(255, 255, 255, .35);
  font-size: 16px;
  line-height: 22px;
}

.desktop-coin-records__panel {
  margin-top: 18px;
  padding: 24px 24px 36px;
  border-radius: 12px;
  background: #0e1012;
}

.desktop-coin-records__tabs {
  display: flex;
  height: 40px;
  align-items: flex-start;
  gap: 12px;
}

.desktop-coin-records__tabs a {
  display: flex;
  height: 40px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
}

.coin-records-page .desktop-coin-records__tabs a.site-header__desktop-nav-item:hover,
.coin-records-page .desktop-coin-records__tabs a.site-header__desktop-nav-item:focus-visible,
.coin-records-page .desktop-coin-records__tabs a.site-header__desktop-nav-item.is-active {
  color: rgba(255, 255, 255, .9);
}

.desktop-coin-records__tabs a.is-active {
  font-weight: 600;
}

.coin-records-page .desktop-coin-records__tabs .site-header__desktop-nav-item.is-active::before {
  content: none;
}

/* 选中条对齐顶栏 34×2 #FF5412（覆盖 haose-curve） */
.coin-records-page .desktop-coin-records__tabs .site-header__desktop-nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 2px;
  transform: translateX(-50%);
  background: #ff5412;
}

/* 全部 / 收入 / 支出：稿 49256:14482 分段条，选中注册色 #FF5412 */
.desktop-coin-records__filters {
  display: inline-flex;
  height: 36px;
  margin-top: 24px;
  padding: 2px;
  align-items: center;
  border-radius: 40px;
  background: #363636;
}
.desktop-coin-records__filters button {
  min-width: 58px;
  height: 32px;
  padding: 0 17px;
  overflow: hidden;
  border: 0;
  border-radius: 40px;
  background: transparent;
  color: #989898;
  cursor: pointer;
  font: 500 12px/18px "PingFang SC", "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}
.desktop-coin-records__filters button.is-active {
  background: #ff5412;
  color: #292929;
}
.desktop-coin-records__filters button:focus-visible {
  outline: 2px solid rgba(255, 84, 18, .68);
  outline-offset: 3px;
}

.desktop-coin-records__table-head,
.desktop-coin-records__list article {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 18px;
  align-items: center;
}
.desktop-coin-records__table-head {
  height: 42px;
  margin-top: 32px;
}
.desktop-coin-records__table-head span {
  display: flex;
  height: 42px;
  padding: 11px 27px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  color: #efefef;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.desktop-coin-records__list {
  margin-top: 12px;
}
.desktop-coin-records__list:has(article) {
  border-top: 0.5px solid rgba(255, 255, 255, .05);
}
.desktop-coin-records__list article {
  position: relative;
  min-height: 56px;
  border-bottom: 0.5px solid rgba(255, 255, 255, .05);
}
.desktop-coin-records__list article span,
.desktop-coin-records__list article time {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desktop-coin-records__list article :is(.is-income, .is-expense) {
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.desktop-coin-records__list article .is-income {
  background-image: linear-gradient(135deg, #35debc, #22bb9c);
}
.desktop-coin-records__list article .is-expense {
  background-image: linear-gradient(to top left, #ff4d4d, #ff6e6e);
}
.desktop-coin-records__state {
  display: flex;
  min-height: 240px;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .45);
  font-size: 16px;
  line-height: 22px;
  text-align: center;
}
.desktop-coin-records__more {
  display: block;
  min-width: 112px;
  height: 36px;
  margin: 18px auto 0;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
}
.desktop-coin-records__more[hidden] { display: none; }
.desktop-coin-records__more:disabled { opacity: .55; cursor: wait; }
