@import url('../partials/layout/css/header.css');
@import url('../partials/layout/css/bottom-bar.css');
@import url('../partials/search/css/init-hot.css');

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
  font-family: 'Pretendard', sans-serif;
}

#search-app {
  padding: 80px 1rem 100px;
  min-height: 100vh;
  box-sizing: border-box;
}

.search-section {
  width: 100%;
}

#search-input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 20px;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.group-box {
  display: inline-block;
  padding: 6px 12px;
  background: #f4f4f4;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border: 1px solid #ccc;
}

.group-channel-wrapper {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  display: none;
}

.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.channel-card {
  width: 80px;
  text-align: center;
  text-decoration: none;
  color: #000;
}

.channel-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 6px;
}

.channel-name {
  font-size: 0.85rem;
  line-height: 1.2;
}

.song-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.song-card {
  display: flex;
  gap: 10px;
  text-decoration: none;
  
  border-radius: 10px;
  padding: 8px;
  
  color: #000;
}

.song-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.song-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.song-title {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.song-meta {
  font-size: 0.85rem;
  color: #666;
}