#ds-return-shell {
  --brand: #30efa1;
  --brand-subtle: #7defc2;
  --accent-border: rgba(92, 131, 114, 0.35);
}

#ds-return-shell {
  --return-shell-padding-top-visible: 10px;
  --return-shell-padding-bottom-visible: 10px;
  padding: 10px 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--accent-border);
  background: linear-gradient(180deg, rgba(4, 15, 10, 0.96), rgba(7, 16, 12, 0.98));
}

#ds-return-shell.return-reveal-ready {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  opacity: 0;
}

#ds-return-shell.return-visible {
  max-height: var(--return-shell-height, 220px);
  padding-top: var(--return-shell-padding-top-visible);
  padding-bottom: var(--return-shell-padding-bottom-visible);
  border-bottom-color: var(--accent-border);
  opacity: 1;
  transition:
    max-height 1s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 1s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    border-bottom-color 0.3s ease;
}

.ds-return-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 11px 16px;
  border-left: 8.5px solid var(--brand);
  border-radius: 0;
  background:
    radial-gradient(circle at top left, #1c1c1c 0%, #1c1c1c00 100%),
    radial-gradient(ellipse farthest-corner at 50% 100%, #001f12 0%, #000000 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.ds-return-copy {
  flex: 1;
  min-width: 0;
}

.ds-return-title {
  margin: 0 0 4px;
  color: #f3fff8;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ds-return-subtitle {
  margin: 0;
  color: var(--brand-subtle);
  font-size: 13px;
  line-height: 1.3;
}

.ds-return-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 24px;
}

.ds-return-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 4px;
  color: #000;
  background: radial-gradient(ellipse at center bottom, #00ffa4 0%, #00c983 100%);
  font-family: "transducer", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.ds-return-primary:hover {
  background: radial-gradient(ellipse at center bottom, #42ffbd 0%, #00d98f 100%);
}

.ds-return-secondary {
  color: #5affbd;
  font-family: "transducer", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.ds-return-secondary:hover {
  color: #e6fff5;
}

@media (max-width: 768px) {

  .ds-return-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }
}

@media (max-width: 768px) {

  .ds-return-actions {
    flex-direction: column;
    min-width: 0;
  }
}

@media (max-width: 768px) {

  .ds-return-primary {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .ds-return-secondary {
    text-align: center;
  }
}

@media (max-width: 400px) {
  .ds-return-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
}

.ds-return-shell:not([hidden]) {
  margin-top: 53px;
}