@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-400.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-500.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-600.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-700.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-800.ttf") format("truetype");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/space-grotesk-500.ttf") format("truetype");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/space-grotesk-600.ttf") format("truetype");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-700.ttf") format("truetype");
}

:root {
  font-family: Manrope, Arial, sans-serif;
  color: #18181b;
  background: #fafafa;
  --pink: #f032e6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  background: #09090b;
  color: white;
  border-bottom: 1px solid #27272a;
}
header .inner {
  max-width: 1280px;
  margin: auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 140px;
  height: 60px;
  object-fit: contain;
}
header strong {
  font-size: 15px;
}
header small {
  display: block;
  color: #a1a1aa;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
header button {
  margin-left: auto;
  background: transparent;
  border: 1px solid #52525b;
  border-radius: 8px;
  color: white;
  padding: 9px 16px;
}
.hero {
  background: #09090b;
  color: white;
}
.hero .inner {
  max-width: 1280px;
  margin: auto;
  padding: 48px 32px 52px;
}
.eyebrow {
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}
h1 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.12;
  margin: 16px 0;
}
h1 span {
  color: var(--pink);
}
.hero p:last-child {
  color: #a1a1aa;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 30px 32px;
}
.toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 20px;
}
label {
  font-size: 12px;
  font-weight: 700;
}
input,
select {
  width: 100%;
  display: block;
  background: #fafafa;
  border: 1px solid #d4d4d8;
  border-radius: 7px;
  padding: 12px;
  margin-top: 8px;
  font: inherit;
  font-size: 12px;
  color: #3f3f46;
}
.results {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 16px;
  font-size: 12px;
  color: #71717a;
}
.results strong {
  color: #27272a;
}
#grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.card {
  text-align: left;
  padding: 0;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #c026b5;
}
.thumb {
  position: relative;
  height: 168px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #18181b;
}
.tag {
  position: absolute;
  left: 16px;
  top: 14px;
  color: #a1a1aa;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 5px;
}
.wave i {
  width: 4px;
  border-radius: 3px;
  background: var(--pink);
  opacity: 0.8;
}
.play {
  position: absolute;
  bottom: 14px;
  right: 14px;
  border: 1px solid #52525b;
  border-radius: 50%;
  color: white;
  font-size: 9px;
  padding: 8px;
}
.card-text {
  padding: 18px;
}
.card-text small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #71717a;
}
.card-text strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  margin-top: 7px;
}
.card-text p {
  font-size: 10px;
  color: #71717a;
  line-height: 1.8;
  margin-bottom: 0;
}
.card-text p .card-action {
  display: block;
  color: #3f3f46;
}
footer {
  border-top: 1px solid #e4e4e7;
  font-size: 11px;
  color: #71717a;
  margin-top: 30px;
  padding-top: 20px;
  line-height: 1.8;
}
.note {
  font-size: 11px;
  color: #71717a;
  margin-bottom: 18px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #c026b5;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  #grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .toolbar label:first-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 480px) {
  .brand img {
    width: 110px;
    height: 48px;
  }
  header .inner {
    gap: 12px;
  }
  header strong {
    font-size: 12px;
  }
  header small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  header button {
    padding: 8px 10px;
    white-space: nowrap;
  }
  main {
    padding: 24px 18px;
  }
  header .inner,
  .hero .inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  #grid {
    gap: 12px;
  }
  .card-text {
    padding: 12px;
  }
  .thumb {
    height: 140px;
  }
  .wave {
    gap: 3px;
  }
  .results {
    flex-wrap: wrap;
    gap: 8px;
  }
}

[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
main {
  min-height: 40vh;
}
.intro {
  margin-bottom: 0;
}
#status:empty {
  display: none;
}
#status {
  color: #9d174d;
  line-height: 1.6;
}
#login p {
  font-size: 13px;
  color: #71717a;
}
button,
.primary {
  border-radius: 8px;
}
.primary {
  display: inline-block;
  background: #18181b;
  color: white;
  border: 1px solid #18181b;
  padding: 11px 16px;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.primary:hover {
  background: #3f3f46;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb:has(img) {
  background: repeating-conic-gradient(#e4e4e7 0% 25%, #fafafa 0% 50%) 50% /
    22px 22px;
}
.symbol {
  font-size: 30px;
  color: #d4d4d8;
}
.wave i:nth-child(1),
.wave i:nth-child(13) {
  height: 8px;
}
.wave i:nth-child(2),
.wave i:nth-child(12) {
  height: 14px;
}
.wave i:nth-child(3),
.wave i:nth-child(11) {
  height: 24px;
}
.wave i:nth-child(4),
.wave i:nth-child(10) {
  height: 38px;
}
.wave i:nth-child(5),
.wave i:nth-child(9) {
  height: 20px;
}
.wave i:nth-child(6) {
  height: 48px;
}
.wave i:nth-child(7) {
  height: 62px;
}
.wave i:nth-child(8) {
  height: 34px;
}
.card-text strong {
  overflow-wrap: anywhere;
}
.card-text p {
  margin-top: 10px;
}
.card-text .card-action {
  display: block;
  color: #3f3f46;
}
#empty {
  padding: 24px 0;
  color: #71717a;
}
dialog {
  width: min(860px, 94vw);
  max-height: 90dvh;
  padding: 28px;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  background: white;
  color: #18181b;
}
dialog::backdrop {
  background: #09090bbf;
}
.close {
  float: right;
  border: 1px solid #d4d4d8;
  padding: 3px 12px;
  font-size: 22px;
  background: white;
  color: #18181b;
}
h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: -0.03em;
  margin-top: 0;
  padding-right: 40px;
  overflow-wrap: anywhere;
}
.preview {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  background: #18181b;
  border-radius: 8px;
}
audio.preview {
  height: 54px;
  background: #f4f4f5;
}
.file {
  border-top: 1px solid #e4e4e7;
  padding: 18px 0;
  overflow-wrap: anywhere;
}
.file a {
  margin-top: 12px;
}
.file small {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: #52525b;
}
.file button {
  margin: 12px 12px 0 0;
  padding: 8px 12px;
  border: 1px solid #d4d4d8;
  background: #fafafa;
}
dl {
  font-size: 13px;
  line-height: 1.7;
}
dt {
  font-weight: 700;
  text-transform: capitalize;
}
dd {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 2px solid #c026b5;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  dialog {
    padding: 20px;
  }
  .card-text strong {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
