/* PC 开奖历史 · 黑金异形列表 */
.pc-history-page {
  --h-bg: #080808;
  --h-card: #141414;
  --h-gold: #d4af37;
  --h-gold-light: #f5d76e;
  --h-text: #f5efe4;
  --h-muted: #8d877e;
  --h-line: rgba(255, 255, 255, 0.08);
}

body.pc-app.pc-history-page {
  background: var(--h-bg);
  color: var(--h-text);
}

.pc-history-page .pc-main {
  background: var(--h-bg);
}

.pc-history-page .pc-content {
  padding-top: 18px;
  padding-bottom: 28px;
}

.pc-history-page .pc-page-header {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--h-line);
}

.pc-history-page .pc-page-title { color: var(--h-text); }
.pc-history-page .pc-page-sub { color: var(--h-muted); }

/* 顶部横幅 */
.pc-hist-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 20px 22px;
  border-radius: 20px 20px 20px 6px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(155deg, #1c1816 0%, #121212 48%, #101010 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.pc-hist-hero-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px 16px 16px 4px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--h-gold-light);
  font-size: 28px;
}

.pc-hist-hero-copy {
  min-width: 0;
  flex: 1;
}

.pc-hist-hero-copy h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--h-text);
}

.pc-hist-hero-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--h-muted);
  line-height: 1.5;
}

.pc-hist-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
}

.pc-hist-hero-stats em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-size: 12px;
  color: #c9a962;
}

/* 年份筛选 */
.pc-history-page .pc-hist-filter {
  margin-bottom: 16px;
}

.pc-history-page .pc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.pc-history-page .pc-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 12px 12px 12px 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  color: #cfc8bc;
  background: var(--h-card);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: all 0.15s;
}

.pc-history-page .pc-filter-chip:hover {
  color: var(--h-gold-light);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.06);
}

.pc-history-page .pc-filter-chip.is-active {
  color: #1a1200;
  background: linear-gradient(135deg, #f5d76e, #d4af37);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

/* 列表面板 */
.pc-history-page .pc-hist-panel {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.pc-history-page .pc-hist-panel .pc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 12px;
  background: transparent;
  border-bottom: 0;
}

.pc-history-page .pc-hist-panel .pc-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--h-text);
}

.pc-history-page .pc-hist-hint {
  font-size: 12px;
  color: var(--h-muted);
}

.pc-history-page .pc-hist-shell {
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(155deg, #1c1816 0%, #121212 48%, #101010 100%);
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.pc-history-page .pc-hist-table-head {
  display: grid;
  grid-template-columns: 200px 1fr 80px;
  gap: 8px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--h-muted);
  border-bottom: 1px solid var(--h-line);
  background: rgba(0, 0, 0, 0.2);
}

.pc-history-page .pc-hist-table-head span:last-child {
  text-align: right;
}

.pc-history-page .pc-hist-scroll {
  max-height: 520px;
  overflow-y: auto;
}

.pc-history-page .pc-table-scroll.pc-hist-scroll.is-auto-scroll {
  overflow-y: hidden;
  scrollbar-width: none;
}

.pc-history-page .pc-table-scroll.pc-hist-scroll.is-auto-scroll::-webkit-scrollbar {
  display: none;
}

.pc-history-page .pc-hist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}

.pc-history-page .pc-hist-row {
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--h-line);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.pc-history-page .pc-hist-row:hover {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.04);
  transform: translateX(2px);
}

.pc-history-page .pc-hist-row:last-child {
  border-bottom: 1px solid var(--h-line);
}

.pc-history-page .pc-hist-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pc-history-page .pc-hist-expect {
  font-size: 14px;
  font-weight: 800;
  color: var(--h-gold-light);
}

.pc-history-page .pc-hist-time {
  font-size: 11px;
  color: var(--h-muted);
}

.pc-history-page .pc-hist-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 56px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px 10px 10px 2px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--h-gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.pc-history-page .pc-hist-live:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.5);
}

.pc-history-page .pc-hist-balls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px;
}

.pc-history-page .pc-hist-plus {
  align-self: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--h-gold);
  margin: 0 2px;
}

.pc-history-page .pc-hist-ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pc-history-page .pc-hist-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.pc-history-page .pc-hist-ball.is-red .pc-hist-num { background: #d32f2f; }
.pc-history-page .pc-hist-ball.is-blue .pc-hist-num { background: #1e88e5; }
.pc-history-page .pc-hist-ball.is-green .pc-hist-num { background: #43a047; }

.pc-history-page .pc-hist-zodiac {
  font-size: 10px;
  color: var(--h-muted);
  line-height: 1;
}

.pc-history-page .pc-empty {
  padding: 56px 20px;
  color: var(--h-muted);
}

.pc-history-page .pc-empty i {
  color: rgba(212, 175, 55, 0.35);
}

@media (max-width: 960px) {
  .pc-hist-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pc-history-page .pc-hist-table-head {
    grid-template-columns: 1fr 72px;
  }

  .pc-history-page .pc-hist-table-head span:nth-child(2) {
    display: none;
  }

  .pc-history-page .pc-hist-scroll {
    max-height: 420px;
  }
}
