* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1000px;
  color: #222;
  background: #fff;
  font-family: "Microsoft YaHei", "微软雅黑", SimSun, sans-serif;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }
.wrap { width: 1000px; margin: 0 auto; }

.topbar { height: 80px; background: #0062ff; position: relative; z-index: 5; }
.topbar-inner { height: 80px; display: flex; align-items: center; }
.logo img { height: 38px; width: 149px; }
.search {
  margin-left: 28px;
  width: 280px; height: 32px; border-radius: 31px;
  background: rgba(255,255,255,.3);
  display: flex; align-items: center; padding: 0 14px; gap: 8px; color: #fff;
}
.search svg { width: 15px; height: 15px; flex: none; }
.search input {
  flex: 1; border: 0; outline: none; background: transparent; color: #fff;
  font-size: 14px; font-family: inherit;
}
.search input::placeholder { color: rgba(255,255,255,.85); }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 18px; color: #fff; font-size: 14px; }
.top-links a:hover { opacity: .85; }
.top-links .split { width: 1px; height: 14px; background: rgba(255,255,255,.5); }

.hero { position: relative; height: 500px; background: #111; }
.mainnav { position: absolute; left: 0; right: 0; top: 0; z-index: 4; height: 60px; }
.mainnav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.28));
}
.mainnav ul {
  position: relative; height: 60px; margin: 0; padding: 0;
  display: flex; list-style: none;
}
.mainnav li { flex: 1; display: flex; align-items: center; justify-content: center; }
.mainnav a, .mainnav button {
  border: 0; background: transparent; color: #222; font-size: 16px; padding: 6px 10px;
}
.mainnav a:hover, .mainnav button:hover { color: #0062ff; }
.mainnav a.current {
  background: #0062ff; color: #fff; border-radius: 17px; padding: 7px 28px;
}
.mainnav a.current:hover { color: #fff; }
.more { position: relative; }
.more .menu {
  display: none; position: absolute; top: 52px; left: 50%; transform: translateX(-50%);
  width: 120px; margin: 0; padding: 8px 0; list-style: none;
  background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 6;
}
.more:hover .menu, .more:focus-within .menu { display: block; }
.more .menu a { display: block; text-align: center; padding: 8px 0; font-size: 14px; }

.slides, .slide { height: 500px; }
.slide {
  display: none; background: #0b1b4a center / cover no-repeat;
}
.slide.on { display: block; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.28); color: #fff; font-size: 36px; line-height: 1;
}
.arrow:hover { background: rgba(0,0,0,.45); }
.arrow.prev { left: max(16px, calc(50% - 560px)); }
.arrow.next { right: max(16px, calc(50% - 560px)); }
.dots {
  position: absolute; right: calc(50% - 480px); bottom: 78px; z-index: 4;
  display: flex; gap: 8px;
}
.dots button {
  width: 8px; height: 8px; border: 0; border-radius: 8px; padding: 0; background: rgba(255,255,255,.7);
}
.dots button.on { width: 20px; background: #fff; }

.dlbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 60px;
  background: rgba(255,255,255,.5); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.dl {
  width: 260px; height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: rgba(15,27,46,.8); font-size: 18px;
}
.dl svg { width: 22px; height: 22px; }
.dl:hover { color: #0062ff; }
.vline { width: 1px; height: 18px; background: rgba(0,0,0,.18); }
.pc-dl { position: relative; }
.pc-pop {
  display: none; position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%);
  width: 160px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px 0; text-align: center;
}
.pc-dl:hover .pc-pop { display: block; }
.pc-pop a { display: block; padding: 8px 0; color: #858585; font-size: 14px; }
.pc-pop a:hover { color: #0062ff; }

.content { padding: 28px 0 10px; }
.content > section { margin-bottom: 18px; }
.sec-hd { height: 50px; display: flex; align-items: center; gap: 18px; }
.sec-hd h3 { margin: 0; font-size: 26px; font-weight: 500; }
.more-link { margin-left: auto; color: #999; font-size: 14px; }
.more-link:hover, .tabs button:hover { color: #0062ff; }
.tabs { display: flex; gap: 16px; }
.tabs button { border: 0; background: none; padding: 0; color: #666; font-size: 14px; }
.tabs button.on { color: #0062ff; }
.pager { margin-left: auto; color: #999; font-size: 14px; }

.row-top { display: grid; grid-template-columns: 640px 320px; gap: 40px; }
.playlists { display: grid; grid-template-columns: 320px 290px; gap: 30px; }
.pl-grid { display: grid; grid-template-columns: 130px 130px; gap: 16px 30px; }
.cover { display: block; position: relative; border-radius: 4px; overflow: hidden; background: #eee; }
.pl.big .cover { height: 320px; }
.pl-grid .cover { height: 130px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
}
.count {
  position: absolute; left: 8px; bottom: 8px; z-index: 1; color: #fff; font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.pl-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 8px; line-height: 20px; height: 40px; color: #222;
}
.pl-name:hover { color: #0062ff; }

.ranks { display: flex; flex-direction: column; gap: 16px; }
.rank {
  height: 110px; border-radius: 4px; background: rgba(177,179,185,.08);
  display: flex; overflow: hidden;
}
.rank:hover { background: rgba(177,179,185,.16); }
.rank img { width: 110px; height: 110px; object-fit: cover; flex: none; }
.rank ol {
  margin: 0; padding: 14px 12px 0 28px; min-width: 0; flex: 1;
  color: #555; font-size: 12px; line-height: 26px;
}
.rank li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.row-mid { display: grid; grid-template-columns: 660px 320px; gap: 20px; }
.song-list { display: grid; grid-template-columns: 1fr 1fr; }
.song {
  height: 62px; display: flex; align-items: center; gap: 10px; min-width: 0; border-radius: 4px;
}
.song:hover { background: #f7f7f7; }
.song img { width: 62px; height: 62px; border-radius: 4px; object-fit: cover; flex: none; }
.song span { min-width: 0; }
.song strong, .book strong, .mv strong {
  display: block; font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.song em, .book em, .mv em {
  display: block; margin-top: 4px; font-style: normal; color: #999; font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.song:hover strong, .book:hover strong, .mv:hover strong, .channels a:hover b, .singer:hover span { color: #0062ff; }

.mv-pic { display: block; position: relative; border-radius: 4px; overflow: hidden; background: #eee; }
.mv.big .mv-pic { height: 180px; }
.mv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mv-row .mv-pic { height: 84px; }
.mv-pic img { width: 100%; height: 100%; object-fit: cover; }
.mv-pic::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border-radius: 50%; background: rgba(0,0,0,.38); z-index: 1;
}
.mv-pic::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; z-index: 1;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff;
}
.mv strong { margin-top: 6px; }
.mv em { margin-top: 2px; }

.book-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.book { height: 62px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.book img { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; flex: none; }
.book .meta { min-width: 0; flex: 1; }
.book .plays { color: #999; font-size: 12px; flex: none; }

.channels { display: grid; grid-template-columns: repeat(6, 150px); justify-content: space-between; }
.channels img { width: 150px; height: 150px; object-fit: cover; border-radius: 4px; }
.channels b {
  display: block; margin-top: 8px; font-weight: 400; line-height: 20px; height: 40px;
}

.singers { display: flex; justify-content: space-between; }
.singer { width: 140px; text-align: center; }
.singer img { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; }
.singer span { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px 4px; }
.chips a {
  width: calc((100% - 24px) / 7); height: 50px; border-radius: 4px;
  background: rgba(177,179,185,.1); display: grid; place-items: center; text-align: center;
  padding: 0 8px; font-size: 12px; line-height: 16px;
}
.chips a:hover { color: #0062ff; background: rgba(0,98,255,.08); }

.footer { background: #2c323b; color: #b1b3b9; padding: 36px 0 28px; text-align: center; }
.products { list-style: none; display: flex; justify-content: center; gap: 36px; margin: 0 0 28px; padding: 0; }
.products a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #b1b3b9; }
.products i {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; font-style: normal; font-size: 16px;
}
.products a:hover { color: #fff; }
.flinks, .fnote, .fcopy { margin: 10px 0; font-size: 12px; line-height: 1.8; }
.flinks a, .fnote a { color: #b1b3b9; margin: 0 8px; }
.flinks a:hover, .fnote a:hover { color: #fff; }
.fnote span { margin: 0 8px; }

.float {
  position: fixed; right: 12px; top: 42%; z-index: 20; width: 70px; background: #fff;
  border-radius: 4px; box-shadow: 0 2px 16px rgba(0,0,0,.1); overflow: hidden;
}
.float a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 4px; font-size: 12px; color: #666; border-bottom: 1px solid #f2f2f2;
}
.float a:last-child { border-bottom: 0; }
.float svg { width: 20px; height: 20px; }
.float a:hover { color: #0062ff; }
.mac-card {
  position: fixed; left: 18px; bottom: 18px; z-index: 20;
  width: 327px; height: 65px; background: #f0f0f0; border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
}
.mac-card img { width: 36px; height: 36px; }
.mac-card div { flex: 1; }
.mac-card strong, .mac-card span { display: block; }
.mac-card strong { font-size: 13px; }
.mac-card span { font-size: 12px; color: #888; }
.mac-card a { color: #0062ff; font-size: 13px; }
.mac-card .go { background: #0062ff; color: #fff; border-radius: 14px; padding: 4px 12px; }
.mac-card button { border: 0; background: transparent; font-size: 18px; color: #999; }
@media (max-width: 1180px) { .float { display: none; } }
