.ym-redeem-admin { padding-bottom: 24px; }
.ym-redeem-card { padding: clamp(16px, 3vw, 24px); }
.ym-redeem-card h2, .ym-redeem-list h2 { font-size: 17px; font-weight: 650; color: var(--ym-ink); }
.ym-redeem-form {
  display: grid;
  grid-template-columns: minmax(138px, 1fr) minmax(80px, .52fr) minmax(138px, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
}
.ym-redeem-list { margin-top: 20px; }
.ym-redeem-list-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ym-line);
  padding: 14px clamp(16px, 3vw, 24px);
}
.ym-redeem-toolbar, .ym-redeem-filter, .ym-redeem-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ym-redeem-filter input { width: min(206px, 100%); }
.ym-redeem-filter select { width: auto; }
.ym-redeem-list .tbl td { white-space: nowrap; }
.ym-redeem-list small { display: block; margin-top: 3px; color: var(--ym-muted); }
.ym-redeem-code {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--ym-line);
  border-radius: 6px;
  background: var(--ym-canvas);
  color: var(--ym-body);
  font-size: 12px;
}
.ym-redeem-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 62px;
  padding: 10px clamp(16px, 3vw, 24px);
  border-top: 1px solid var(--ym-line);
  color: var(--ym-muted);
  font-size: 13px;
}
.ym-redeem-page { margin-inline: 8px; font-variant-numeric: tabular-nums; }
.ym-redeem-message { padding: 32px 20px; color: var(--ym-muted); text-align: center; }
.ym-redeem-form + .ym-redeem-error { margin-top: 12px; }
.ym-redeem-error { color: #a92820; }
.ym-redeem-batch {
  min-height: 112px;
  resize: vertical;
  color: var(--ym-ink);
  font-family: var(--ym-code);
  overflow-wrap: normal;
  white-space: pre;
}
@media (max-width: 720px) {
  .ym-redeem-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ym-redeem-form .btn { min-height: 42px; }
  .ym-redeem-toolbar { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto auto; }
  .ym-redeem-filter { display: contents; }
  .ym-redeem-filter input { grid-column: 1 / -1; width: 100%; }
  .ym-redeem-filter select { width: 100%; }
}
