.add-page {
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 15%, rgba(232, 228, 219, 0.16), transparent 28rem),
    #fdfcfb;
}

.add-page .listing-topbar {
  height: 60px;
}

.add-page .listing-monogram {
  width: 39px;
  height: 39px;
  font-size: var(--fs-3xl);
  line-height: 38px;
}

.add-page .listing-monogram span:last-child {
  top: 6px;
  left: 18px;
  font-size: var(--fs-2xl);
}

.add-page .listing-brand {
  margin-left: 7px;
}

.add-page .listing-brand-divider {
  height: 34px;
  margin: 0 11px 0 7px;
}

.add-page .listing-brand-copy strong {
  font-size: var(--fs-lg);
}

.add-page .listing-brand-copy small {
  margin-top: 2px;
  font-size: var(--fs-tagline);
}

.add-page .listing-nav {
  gap: 50px;
}

.add-page .listing-nav a {
  gap: 2px;
  font-size: var(--fs-xs);
}

.add-page .listing-nav svg {
  width: 20px;
  height: 20px;
}

.add-page .top-add-button {
  min-width: 140px;
  height: 36px;
  font-size: var(--fs-sm);
}

.add-page .listing-actions {
  gap: 15px;
  margin-right: 3px;
}

.add-page .round-button {
  width: 42px;
  height: 42px;
}

.add-main {
  min-height: calc(100dvh - 60px);
  padding-bottom: 10px;
}

.add-shell {
  width: min(968px, calc(100% - 56px));
  margin-inline: auto;
}

.add-intro {
  height: 97px;
  padding: 13px 11px 0;
}

.add-intro h1 {
  margin: 0;
  color: var(--listing-ink);
  font-family: var(--listing-sans);
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.add-intro p {
  margin: -1px 0 0;
  color: #3e4b5d;
  font-family: var(--listing-sans);
  font-size: var(--fs-lg);
  line-height: 1.35;
}

.asset-picker {
  position: relative;
}

.asset-grid {
  position: relative;
  width: 971px;
  height: 768px;
}

.asset-card {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: block;
  width: var(--w);
  height: var(--h);
  overflow: hidden;
  border-radius: 9px;
  cursor: pointer;
  transition:
    filter var(--listing-ease),
    box-shadow var(--listing-ease),
    transform var(--listing-ease);
}

.asset-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.asset-card:hover {
  z-index: 1;
  box-shadow: 0 10px 24px rgba(16, 32, 57, 0.1);
  filter: contrast(1.02);
  transform: translateY(-2px);
}

.asset-card:active {
  transform: translateY(0);
}

.asset-card:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(16, 32, 57, 0.32);
  outline-offset: 2px;
}

@media (max-width: 1000px) {
  .add-main {
    padding-bottom: 28px;
  }

  .add-shell {
    width: calc(100% - 32px);
  }

  .add-intro {
    height: auto;
    padding: 28px 8px 22px;
  }

  .add-intro h1 {
    font-size: clamp(36px, 6vw, 48px);
  }

  .add-intro p {
    max-width: 620px;
    margin-top: 5px;
    font-size: var(--fs-lg);
  }

  .asset-grid {
    position: static;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .asset-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-width: 0;
  }

  .asset-card img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 759px) {
  .add-page .listing-topbar {
    height: 64px;
  }

  .add-page .top-add-button {
    min-width: 42px;
    width: 42px;
    height: 42px;
    font-size: 0;
  }

  .add-page .round-button {
    width: 42px;
    height: 42px;
  }

  .add-intro {
    padding: 25px 4px 20px;
  }

  .add-intro h1 {
    font-size: var(--fs-4xl);
  }

  .add-intro p {
    font-size: var(--fs-md);
  }

  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 460px) {
  .add-page .listing-brand-copy,
  .add-page .listing-brand-divider {
    display: none;
  }

  .add-intro h1 {
    font-size: var(--fs-3xl);
  }

  .add-intro p {
    max-width: 330px;
    font-size: var(--fs-md);
  }

  .asset-grid {
    gap: 8px;
  }

  .asset-card {
    border-radius: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .add-page *,
  .add-page *::before,
  .add-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
