.admin-panel {
  display: grid;
  gap: var(--space-4);
}

.claim-link {
  color: var(--color-primary);
  text-decoration: none;
  word-break: break-all;
}

.info-card,
.hero-card,
.error-copy {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
}

.info-card p {
  margin: 10px 0 0;
  color: var(--text-primary);
}

.info-card h3 {
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
}

.hero-card {
  display: grid;
  gap: var(--space-4);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
}

.hero-copy {
  display: grid;
  gap: 6px;
}

.hero-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 30px;
  line-height: 1.1;
}

.hero-copy p,
.hero-inline span,
.hero-link-row span {
  color: var(--text-secondary);
}

.hero-eyebrow {
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}

.hero-metric {
  padding: 14px var(--space-4);
  border-radius: 18px;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.82);
}

.hero-metric span {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.hero-metric strong {
  color: var(--text-primary);
  font-size: var(--text-lg);
  line-height: 1.3;
  word-break: break-word;
}

.hero-metric--blue {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08);
}
.hero-metric--green {
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.08);
}
.hero-metric--amber {
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.08);
}
.hero-metric--slate {
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.08);
}

.hero-inline,
.hero-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.error-copy {
  color: var(--color-danger);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.section-copy {
  margin: 0 0 var(--space-3);
  color: var(--text-secondary);
}

.auto-delivery-tag-line {
  display: flex;
  align-items: center;
}

.auto-delivery-note {
  margin-top: 14px;
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid var(--border-default);
}

.auto-delivery-note p {
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
}

.auto-delivery-note p:last-child {
  margin-bottom: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: var(--space-3) 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-default);
}

.data-table th {
  width: 160px;
  color: var(--text-secondary);
}

.status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.redeem-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  margin-bottom: 14px;
}

.redeem-summary-card,
.redeem-attempt-card {
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: rgba(248, 250, 252, 0.92);
}

.redeem-summary-card span,
.redeem-attempt-grid span {
  display: block;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  margin-bottom: 6px;
}

.redeem-summary-card strong,
.redeem-attempt-grid strong {
  color: var(--text-primary);
}

.redeem-attempts {
  display: grid;
  gap: var(--space-3);
}

.redeem-attempt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.redeem-outcome {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.redeem-attempt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.redeem-attempt-copy {
  margin: var(--space-3) 0 0;
  color: var(--text-primary);
  line-height: 1.6;
}

.table-empty {
  text-align: center;
  color: var(--text-secondary);
}

.binding-primary {
  margin-top: 4px;
  color: var(--color-success);
  font-size: var(--text-xs);
  font-weight: 600;
}

.binding-meta {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.manual-grid {
  display: grid;
  gap: 14px;
}

.field-block {
  display: grid;
  gap: var(--space-2);
  color: var(--text-primary);
  font-weight: 600;
}

.manual-hint {
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.manual-summary {
  margin-top: var(--space-4);
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.9);
}

.manual-summary p {
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
}

.manual-summary p:last-child {
  margin-bottom: 0;
}

.flow-card {
  display: grid;
  gap: var(--space-4);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

.flow-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.flow-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kuaishou-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.flow-block {
  padding: var(--space-4);
  border-radius: 18px;
  border: 1px solid var(--border-default);
  background: rgba(248, 250, 252, 0.9);
}

.flow-block--spotlight {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.95)),
    rgba(248, 250, 252, 0.9);
}

.flow-block h4 {
  margin: 0;
  color: var(--text-primary);
}

.flow-block p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flow-meta-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.flow-meta-list div {
  display: grid;
  gap: 4px;
}

.flow-meta-list span {
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.flow-meta-list strong {
  color: var(--text-primary);
  word-break: break-all;
}

.flow-meta-list--dense {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.flow-meta-list--two-column {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.spotlight-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: flex-start;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-copy {
  margin: var(--space-2) 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flow-collapse {
  display: grid;
  gap: var(--space-3);
}

.checklist-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.checklist-item {
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-default);
}

.checklist-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.checklist-item-head span {
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.checklist-item strong {
  color: var(--text-primary);
  line-height: 1.5;
}

.role-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.role-hero div {
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-default);
}

.role-hero span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.role-hero strong {
  color: var(--text-primary);
  font-size: var(--text-lg);
  line-height: 1.35;
  word-break: break-word;
}

.role-warning {
  margin: 14px 0 0;
  padding: var(--space-3) 14px;
  border-radius: 14px;
  background: var(--color-warning-light);
  color: #b54708;
}

.event-copy {
  color: var(--text-primary);
}

.event-time {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: var(--text-xs);
}

.screenshot-link {
  display: inline-block;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  text-decoration: none;
}

.screenshot-empty {
  margin: 0 0 var(--space-3);
  color: var(--text-secondary);
}

.screenshot-preview {
  display: block;
  width: min(100%, 720px);
  border-radius: 18px;
  border: 1px solid var(--border-default);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
  .hero-inline,
  .hero-link-row,
  .flow-card-head,
  .flow-head-actions,
  .spotlight-head,
  .spotlight-actions,
  .checklist-item-head {
    display: grid;
  }
}
