* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #0f1115;
  color: #e6e6e6;
}

.amw-wrap {
  max-width: 1000px;
  margin: 32px auto;
  padding: 0 16px;
}

.amw-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.amw-title {
  font-size: 22px;
  margin: 0;
}

.amw-note {
  margin: 0;
  color: #9aa3b2;
  font-size: 13px;
}

.amw-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.amw-input {
  background: #161a22;
  color: #e6e6e6;
  border: 1px solid #232838;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  min-width: 240px;
}

.amw-input--cc {
  width: 90px;
  text-transform: uppercase;
  min-width: 90px;
}

.amw-btn {
  cursor: pointer;
  background: #8fbc8f;
  color: #0b0f14;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
}

.amw-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.amw-pill {
  font-size: 12px;
  color: #93a4bd;
  border: 1px solid #243047;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.amw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.amw-card {
  background: #161a22;
  border: 1px solid #232838;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.amw-art {
  position: relative;
  width: 100%;
}

.amw-art img {
  width: 100%;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.amw-meta {
  padding: 12px 12px 4px;
}

.amw-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}

.amw-artist {
  color: #9aa3b2;
  font-size: 13px;
  margin: 2px 0 0;
}

.amw-controls-row {
  padding: 8px 12px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.amw-apple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
}

.amw-apple svg {
  width: 16px;
  height: 16px;
}

.amw-footer {
  opacity: 0.7;
  font-size: 12px;
  margin-top: 18px;
}

/* Empty / state */
.amw-state {
  border: 1px dashed #2a3146;
  color: #93a4bd;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
}