/* ============================================================
 * 问合盘 · match.html
 * 禅意风格 · 跟「问全盘」一致 · 暗藏蓝 + 金 + 米白
 * v=20260626a
 * ============================================================ */

/* ---- 页面骨架 ---- */
.match-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  font-family: 'Noto Serif SC', 'PingFang SC', serif;
  color: #1A1A2E;
}

/* ---- 封面区 ---- */
.match-cover {
  text-align: center;
  padding: 32px 0 56px;
}
.match-cover-eyebrow {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  letter-spacing: 4px;
  color: #C89B40;
  font-weight: 700;
  margin-bottom: 12px;
}
.match-cover-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 12px;
  color: #1A1A2E;
  margin: 0 0 18px;
  text-indent: 12px;
}
.match-cover-sub {
  font-size: 13.5px;
  color: #6B7280;
  letter-spacing: 2px;
  margin: 0;
  line-height: 2.2;
}
.match-cover-sub em {
  font-style: normal;
  color: #C89B40;
  font-weight: 600;
  letter-spacing: 2.5px;
  margin: 0 2px;
}

/* ---- 双卡 ＋ ✕ ---- */
.match-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 32px;
}
.match-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(26,26,46,0.10);
  border-radius: 18px;
  padding: 28px 20px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
  font-family: inherit;
  color: inherit;
  outline: none;
}
.match-card:hover {
  border-color: #C89B40;
  box-shadow: 0 12px 32px rgba(200,155,64,0.12);
  transform: translateY(-2px);
}
.match-card-tag {
  position: absolute;
  top: 14px; left: 16px;
  font-size: 11px;
  color: #C89B40;
  letter-spacing: 2px;
  font-weight: 700;
  opacity: 0.75;
}
.match-card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 空状态 */
.match-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9CA3AF;
}
.match-card-empty-icon {
  width: 36px; height: 36px;
  border: 1.5px dashed rgba(26,26,46,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #C89B40;
  margin-bottom: 4px;
}
.match-card-empty-text {
  font-size: 13.5px;
  letter-spacing: 1.5px;
}

/* 命主已选状态 */
.match-card-filled {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.match-card-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A2E;
  margin-bottom: 4px;
}
.match-card-bazi {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6B7280;
  line-height: 1.7;
}
.match-card-bazi span {
  display: inline-block;
  margin: 0 2px;
}
.match-card-meta {
  font-size: 10.5px;
  color: #9CA3AF;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* 右侧输入卡 */
.match-card-other {
  cursor: default;
}
.match-card-input {
  width: 90%;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A2E;
  padding: 6px 0 10px;
  border-bottom: 1px solid rgba(26,26,46,0.12);
  outline: none;
  transition: border-color 0.18s;
}
.match-card-input:focus {
  border-bottom-color: #C89B40;
}
.match-card-input::placeholder {
  color: rgba(156,163,175,0.6);
  font-weight: 500;
  letter-spacing: 1px;
}
.match-card-pick-profile {
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(26,26,46,0.10);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  color: #6B7280;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s;
  font-family: inherit;
}
.match-card-pick-profile:hover {
  border-color: #C89B40;
  color: #C89B40;
}

/* ✕ 道家符号 */
.match-x {
  color: #C89B40;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* ---- 类型提示 ---- */
.match-hint {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  letter-spacing: 2px;
  margin: 0 0 36px;
  line-height: 2.1;
}
.match-hint em {
  font-style: normal;
  color: #C89B40;
  font-weight: 600;
  margin: 0 4px;
}

/* ---- 触发按钮 ---- */
.match-go-wrap {
  text-align: center;
  margin-bottom: 56px;
}
.match-go {
  font-family: 'Noto Serif SC', serif;
  background: #1A1A2E;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 6px;
  cursor: pointer;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-indent: 6px;
  box-shadow: 0 8px 24px rgba(26,26,46,0.18);
}
.match-go:hover:not(:disabled) {
  background: #C89B40;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(200,155,64,0.32);
}
.match-go:disabled {
  background: #C5BFB0;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}
.match-go .pp-cost-tag {
  background: rgba(255,255,255,0.18);
  color: #fff;
  letter-spacing: 0;
  text-indent: 0;
}
.match-go-hint {
  margin-top: 14px;
  font-size: 12px;
  color: #9CA3AF;
  letter-spacing: 1.5px;
}

/* ---- 结果区 ---- */
.match-result {
  background: #fff;
  border: 1px solid rgba(26,26,46,0.08);
  border-radius: 20px;
  padding: 40px 32px;
  margin-bottom: 48px;
  box-shadow: 0 12px 40px rgba(26,26,46,0.06);
  animation: matchSlideIn 0.4s ease-out;
}
@keyframes matchSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.match-result-inner { max-width: 720px; margin: 0 auto; }

/* 头部双方 */
.match-result-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  font-family: 'Noto Serif SC', serif;
}
.match-result-head-me,
.match-result-head-other {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A2E;
  padding: 6px 14px;
  background: rgba(200,155,64,0.08);
  border-radius: 6px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-result-head-x {
  color: #C89B40;
  font-size: 16px;
  opacity: 0.7;
}

/* 分数环 */
.match-score-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.match-score-ring {
  position: relative;
  display: inline-block;
}
.match-score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.match-score-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 56px;
  font-weight: 800;
  color: #1A1A2E;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.match-score-label {
  font-size: 12px;
  color: #C89B40;
  letter-spacing: 4px;
  margin-top: 6px;
  font-weight: 600;
}
.match-verdict {
  margin-top: 14px;
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #C89B40;
  text-indent: 4px;
}

/* 五行对位 */
.match-wuxing {
  background: linear-gradient(180deg, #FAFCFE 0%, #F1F3F8 100%);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.match-wuxing-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.match-wuxing-side { text-align: center; }
.match-wuxing-label {
  font-size: 11px;
  color: #9CA3AF;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.match-wuxing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.match-wuxing-tag {
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 1.5px;
}
.match-wuxing-tag.is-mu  { background: rgba(76,175,80,0.12); color: #4A8E49; }
.match-wuxing-tag.is-huo { background: rgba(244,67,54,0.12); color: #D04231; }
.match-wuxing-tag.is-tu  { background: rgba(160,97,46,0.14); color: #A0612E; }   /* 土 → 赭石褐 */
.match-wuxing-tag.is-jin { background: rgba(212,160,23,0.14); color: #D4A017; }   /* 金 → 亮金 */
.match-wuxing-tag.is-shui{ background: rgba(22,97,171,0.12); color: #1661AB; }
.match-wuxing-arrow {
  color: #C89B40;
  font-size: 18px;
  opacity: 0.65;
}

/* LLM 解读区 */
.match-narrative {
  font-family: 'Noto Serif SC', serif;
  font-size: 15.5px;
  line-height: 2;
  color: #1A1A2E;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  min-height: 120px;
}
.match-narrative h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #C89B40;
  margin: 24px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #C89B40;
}
.match-narrative p {
  margin: 0 0 14px;
}
.match-narrative strong {
  color: #1A1A2E;
  font-weight: 700;
}
.match-narrative blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  background: rgba(200,155,64,0.06);
  border-left: 3px solid #C89B40;
  border-radius: 0 6px 6px 0;
  color: #6B7280;
  font-size: 14.5px;
}
.match-narrative-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9CA3AF;
  font-size: 13.5px;
  letter-spacing: 1.5px;
}
.match-narrative-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #C89B40;
  animation: matchDotPulse 1.2s ease-in-out infinite;
}
@keyframes matchDotPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- 失败提示 + 重试按钮 ---- */
.match-narrative-err {
  padding: 20px 22px;
  background: rgba(216, 116, 116, 0.06);
  border-left: 3px solid #D87474;
  border-radius: 10px;
}
.match-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1A1714;
  color: #FFF8EB;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: inherit;
}
.match-retry-btn:hover {
  background: #C89B40;
  transform: translateY(-1px);
}
.match-retry-btn:active { transform: translateY(0); }

/* 操作 */
.match-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px dashed rgba(26,26,46,0.08);
}
.match-action {
  background: transparent;
  border: 1px solid rgba(26,26,46,0.12);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  color: #6B7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
  font-family: inherit;
}
.match-action:hover {
  border-color: #C89B40;
  color: #C89B40;
}

/* ---- 历史记录 ---- */
.match-history {
  margin-top: 56px;
}
.match-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.match-history-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #1A1A2E;
  margin: 0;
}
.match-history-clear {
  background: transparent;
  border: 0;
  color: #9CA3AF;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 4px 8px;
  font-family: inherit;
}
.match-history-clear:hover { color: #D87474; }
.match-history-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.match-history-item {
  background: #fff;
  border: 1px solid rgba(26,26,46,0.06);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.18s;
}
.match-history-item:hover {
  border-color: #C89B40;
  box-shadow: 0 8px 20px rgba(200,155,64,0.10);
  transform: translateY(-2px);
}
.match-history-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1A1A2E;
  margin-bottom: 8px;
  font-weight: 600;
}
.match-history-item-x {
  color: #C89B40;
  opacity: 0.6;
  font-size: 11px;
}
.match-history-item-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.match-history-item-score-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 22px;
  font-weight: 800;
  color: #C89B40;
  letter-spacing: 1px;
}
.match-history-item-score-verdict {
  font-size: 12px;
  color: #6B7280;
  letter-spacing: 1.5px;
}
.match-history-item-time {
  font-size: 10.5px;
  color: #9CA3AF;
  letter-spacing: 1px;
  margin-top: 6px;
}
.match-history-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: #9CA3AF;
  letter-spacing: 1.5px;
  padding: 32px 0;
}

/* ---- 命主选择弹窗（简易）---- */
.match-pp-wrap {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-pp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,17,21,0.55);
  backdrop-filter: blur(4px);
}
.match-pp-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: min(440px, 92vw);
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
}
.match-pp-modal h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  letter-spacing: 3px;
  margin: 0 0 16px;
  color: #1A1A2E;
  text-align: center;
}
.match-pp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.match-pp-item {
  background: #FAFCFE;
  border: 1px solid rgba(26,26,46,0.06);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.match-pp-item:hover {
  border-color: #C89B40;
  background: #fff;
}
.match-pp-item.is-current {
  border-color: #C89B40;
  background: rgba(200,155,64,0.04);
}
.match-pp-item-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A2E;
  letter-spacing: 1.5px;
}
.match-pp-item-bazi {
  font-size: 11.5px;
  color: #6B7280;
  letter-spacing: 1.5px;
  margin-top: 4px;
}
.match-pp-add {
  margin-top: 12px;
  background: transparent;
  border: 1.5px dashed rgba(26,26,46,0.18);
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  font-size: 13px;
  color: #6B7280;
  letter-spacing: 1.5px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.match-pp-add:hover {
  border-color: #C89B40;
  color: #C89B40;
}

/* ---- 响应式 ---- */
@media (max-width: 720px) {
  .match-page { padding: 28px 16px 60px; }
  .match-cover { padding: 16px 0 36px; }
  .match-cover-title { font-size: 30px; letter-spacing: 8px; }
  .match-cover-sub { font-size: 12.5px; letter-spacing: 2px; }
  .match-pair { grid-template-columns: 1fr; gap: 12px; }
  .match-x { transform: rotate(90deg); padding: 4px 0; }
  .match-card { min-height: 132px; padding: 22px 16px; }
  .match-hint { font-size: 12px; letter-spacing: 1.5px; }
  .match-go { padding: 14px 32px; font-size: 14.5px; letter-spacing: 4px; }
  .match-result { padding: 28px 18px; }
  .match-score-num { font-size: 44px; }
  .match-verdict { font-size: 17px; letter-spacing: 3px; }
  .match-narrative { font-size: 14.5px; line-height: 1.95; }
  .match-history-list { grid-template-columns: 1fr; }
}

/* ---- 暗色 ---- */
[data-theme="dark"] .match-page { color: #EDE8DC; }
[data-theme="dark"] .match-cover-title { color: #EDE8DC; }
[data-theme="dark"] .match-cover-sub { color: #8E8676; }
[data-theme="dark"] .match-card {
  background: #1A1D24;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .match-card:hover {
  border-color: #C89B40;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
[data-theme="dark"] .match-card-name { color: #EDE8DC; }
[data-theme="dark"] .match-card-bazi { color: #B5AFA0; }
[data-theme="dark"] .match-card-input { color: #EDE8DC; border-bottom-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .match-card-empty { color: #6E6759; }
[data-theme="dark"] .match-card-empty-icon { border-color: rgba(255,255,255,0.15); }
[data-theme="dark"] .match-card-pick-profile { border-color: rgba(255,255,255,0.1); color: #8E8676; }
[data-theme="dark"] .match-hint { color: #8E8676; }
[data-theme="dark"] .match-go { background: #C89B40; color: #1A1A2E; }
[data-theme="dark"] .match-go:hover:not(:disabled) { background: #E0B560; }
[data-theme="dark"] .match-go-hint { color: #6E6759; }
[data-theme="dark"] .match-result {
  background: #1A1D24;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
[data-theme="dark"] .match-result-head-me,
[data-theme="dark"] .match-result-head-other { background: rgba(200,155,64,0.12); color: #EDE8DC; }
[data-theme="dark"] .match-score-num { color: #EDE8DC; }
[data-theme="dark"] .match-wuxing { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .match-narrative { color: #C5BFB0; }
[data-theme="dark"] .match-narrative strong { color: #EDE8DC; }
[data-theme="dark"] .match-action { border-color: rgba(255,255,255,0.1); color: #8E8676; }
[data-theme="dark"] .match-history-title { color: #EDE8DC; }
[data-theme="dark"] .match-history-item {
  background: #1A1D24;
  border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .match-history-item-head { color: #EDE8DC; }
[data-theme="dark"] .match-pp-modal { background: #1A1D24; }
[data-theme="dark"] .match-pp-modal h4 { color: #EDE8DC; }
[data-theme="dark"] .match-pp-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .match-pp-item-name { color: #EDE8DC; }
[data-theme="dark"] .match-pp-item-bazi { color: #8E8676; }
[data-theme="dark"] .match-pp-add { color: #8E8676; border-color: rgba(255,255,255,0.12); }

/* === picker 每行带工具按钮 === */
.match-pp-item-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.match-pp-item-row .match-pp-item {
  flex: 1;
  min-width: 0;
}
.match-pp-item-row.is-current .match-pp-item {
  border-color: #C89B40;
  background: rgba(200,155,64,0.04);
}
.match-pp-item-tools {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.match-pp-item-edit,
.match-pp-item-del {
  width: 32px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFCFE;
  border: 1px solid rgba(26,26,46,0.06);
  border-radius: 8px;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  padding: 0;
  font-family: inherit;
}
.match-pp-item-edit:hover {
  border-color: #1661AB;
  color: #1661AB;
  background: rgba(22,97,171,0.04);
}
.match-pp-item-del:hover {
  border-color: #D87474;
  color: #D87474;
  background: rgba(216,116,116,0.06);
}
[data-theme="dark"] .match-pp-item-edit,
[data-theme="dark"] .match-pp-item-del {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
  color: #8E8676;
}

/* 真太阳时修正小提示 */
.match-card-solar {
  margin-top: 6px;
  font-size: 10.5px;
  color: #C89B40;
  letter-spacing: 1px;
  opacity: 0.85;
}
[data-theme="dark"] .match-card-solar { color: #d4a957; }

/* === 分享图预览弹窗 === */
.match-share-mask {
  position: fixed; inset: 0;
  background: rgba(26,26,46,0.78);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: matchShareFade 0.22s ease;
}
@keyframes matchShareFade { from { opacity: 0; } to { opacity: 1; } }
.match-share-modal {
  position: relative;
  background: transparent;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.match-share-close {
  position: absolute;
  top: -12px; right: -12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 0;
  font-size: 22px;
  color: #1A1A2E;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.match-share-tip {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-align: center;
}
.match-share-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: block;
}
.match-share-actions {
  display: flex;
  gap: 12px;
}
.match-share-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #C89B40;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 13.5px;
  transition: all 0.18s;
}
.match-share-dl:hover { background: #d4a957; transform: translateY(-1px); }

/* === 历史卡片单独删除按钮 === */
.match-history-item { position: relative; }
.match-history-item-del {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border: 0;
  background: transparent;
  color: #C5BFB0;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.18s;
  padding: 0;
}
.match-history-item:hover .match-history-item-del { opacity: 1; }
.match-history-item-del:hover {
  background: rgba(216,116,116,0.10);
  color: #D87474;
  transform: scale(1.1);
}
/* 移动端长按交互不灵敏，所以触屏总显示 */
@media (hover: none) {
  .match-history-item-del { opacity: 0.5; }
}
[data-theme="dark"] .match-history-item-del { color: #6E6759; }

/* ============================================================
 * 推演动画 v2 · 旋转环 + 分数渐入
 * ============================================================ */

/* —— 旋转模式：让 SVG 整体旋转，给一种"算盘在转"的感觉 —— */
.match-score-ring.is-spinning svg {
  animation: match-arc-spin 1.4s linear infinite;
}
.match-score-ring.is-spinning .match-score-num {
  /* 数字 "--" 微微呼吸提示在推演 */
  animation: match-num-pulse 1.6s ease-in-out infinite;
  color: #B5AB99;
}
[data-theme="dark"] .match-score-ring.is-spinning .match-score-num {
  color: #6E6759;
}

/* —— verdict 推演中态：金色脉动 —— */
.match-verdict.is-pending {
  color: #C89B40;
  letter-spacing: 4px;
  font-weight: 500;
  animation: match-verdict-pulse 1.8s ease-in-out infinite;
}

@keyframes match-arc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes match-num-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50%      { opacity: 0.85; transform: scale(1.00); }
}
@keyframes match-verdict-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1.0; }
}
