.gift-claim-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .gift-claim-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.gift-claim-icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.gift-claim-tip {
  display: flex;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: var(--muted);
  padding: 0.875rem;
  color: var(--foreground);
}

.gift-claim-tip-icon {
  flex: 0 0 auto;
  margin-top: 0.125rem;
  color: var(--primary);
}

.gift-history-list > * + * {
  border-top: 1px solid var(--border);
}

.gift-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.gift-history-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--muted);
  color: var(--success);
}

.gift-history-amount {
  flex: 0 0 auto;
  border-radius: 9999px;
  background: var(--muted);
  padding: 0.375rem 0.75rem;
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 700;
}

.gift-history-empty {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 0.875rem;
  background: var(--muted);
  padding: 2rem 1.25rem;
  text-align: center;
}

.gift-history-empty-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--background);
  color: var(--muted-foreground);
}

@media (max-width: 420px) {
  .gift-history-row {
    gap: 0.5rem;
  }

  .gift-history-amount {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
  }
}
