@font-face {
  font-family: Inter;
  src: url(../font/Inter.ttf);
}

* {
  box-sizing: border-box;
}

body {
  padding: 8px;
  background: #f9f9f9;
  font-family: Inter;
}

input,
select {
  padding: 4px;
  margin: 5px;
  border: 1.6px solid #ccc;
  outline-color: #000;
  border-radius: 4px;
  font-family: Inter;
  font-weight: 400;
  width: 155px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

button {
  background-color: #000;
  border: none;
  color: #fff;
  border-radius: 2px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: Inter;
}

button img {
  display: block;
}

.song-list {
  margin-top: 20px;
}

.album {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.album img.cover {
  width: 120px;
  height: auto;
  margin-right: 15px;
  border-radius: 6px;
}

.album-info {
  flex: 1;
}

.song {
  margin-left: 5px;
  padding: 4px 0;
}

.song-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
}

.song-title {
  display: inline-block;
  word-break: break-word;
  font-weight: 400;
}

.singer span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-left: 25px;
  font-weight: 400;
  font-style: italic;
}

.song-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pagination {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#jumpPage {
  width: 60px;
}

#pageInfo {
  font-weight: bold;
}

.loader {
  width: 30px;
  height: 30px;
  border: 5px solid #ccc;
  border-top: 5px solid #272727;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 60px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 600px) {
  input {
    width: 100%;
  }
  
  input,
  select {
    padding: 6px;
    margin: 5px;
    border: 2px solid #ccc;
    outline-color: #000;
    border-radius: 4px;
    font-family: Inter;
    font-weight: 400;
  }
  
  button {
    background-color: #000;
    border: none;
    color: #fff;
    border-radius: 2px;
    padding: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: Inter;
  }
  
  .filter-grid>div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .filter-grid>div>select,
  .filter-grid>div>button {
    flex: 0 0 calc(50% - 5px);
    box-sizing: border-box;
  }
  
  .filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .filter-grid input,
  .filter-grid select,
  .filter-grid button {
    flex: 1 1 48%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
  }
}

.site-title {
  border-bottom: 1px solid #e8e8e8;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  padding: 8px;
  margin: 0px 0px 8px 0px;
}

.site-title img {
  width: 30px;
}

.site-title img,
span {
  vertical-align: middle;
}