/**
 * 文件职责：次卡卡片样式。
 */
.page-marketing-punch-card {
  .mpc-card {
    display: flex;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mpc-border);
    border-radius: 12px;
    box-shadow: var(--mpc-shadow-sm);
    transition: box-shadow var(--mpc-transition);
  }

  .mpc-card:hover {
    box-shadow: var(--mpc-shadow-md);
  }

  .mpc-card-off {
    opacity: 0.58;
  }

  .mpc-card-cover {
    flex-shrink: 0;
    width: 148px;
    min-height: 188px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #334155);
  }

  .mpc-card-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mpc-card-cover-fallback {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
  }

  .mpc-card-cover-icon {
    width: 64px;
    height: 64px;
    opacity: 0.28;
  }

  .mpc-card-cover-count {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
  }

  .mpc-card-cover-count small {
    margin-left: 2px;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
  }

  .mpc-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 16px 13px;
  }

  .mpc-card-name-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .mpc-card-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 600;
    color: var(--mpc-text);
    white-space: nowrap;
  }

  .mpc-scope-tag {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 999px;
  }

  .mpc-scope-tag.is-blue {
    color: #1677ff;
    background: #e6f4ff;
  }

  .mpc-scope-tag.is-green {
    color: #16a34a;
    background: #dcfce7;
  }

  .mpc-scope-tag.is-purple {
    color: #7c3aed;
    background: #f3e8ff;
  }

  .mpc-scope-tag.is-orange {
    color: #d97706;
    background: #fef3c7;
  }

  .mpc-card-price-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-top: 6px;
  }

  .mpc-card-price-now {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #ef4444;
  }

  .mpc-card-price-origin {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
  }

  .mpc-card-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }

  .mpc-card-info-tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    font-size: 11px;
    color: #4b5563;
    background: #f5f5f5;
    border-radius: 5px;
  }

  .mpc-card-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: #9ca3af;
  }

  .mpc-card-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
  }

  .mpc-status-tag {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    margin-left: auto;
    font-size: 11px;
    border-radius: 999px;
  }

  .mpc-status-tag.is-green {
    color: #166534;
    background: #dcfce7;
  }

  .mpc-status-tag.is-gray {
    color: #475569;
    background: #e2e8f0;
  }
}
