/* ===== 基础重置 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", system-ui, -apple-system, sans-serif;
  background-color: #4008cd;
  background-image: url(./images/footer.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

/* ===== 顶部 banner 与内容容器 ===== */
.banner img {
  display: block;
  width: 100%;
  height: auto;
}

.w1200 {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.head img {
  display: block;
  width: 100%;
  max-width: 630px;
  height: auto;
  margin: 0 auto;
}

/* ===== 间距 ===== */
.blank0 { height: 0; }
.blank10 { height: 10px; }
.blank15 { height: 15px; }
.blank30 { height: 30px; }
.blank35 { height: 35px; }
.blank70 { height: 70px; }
.blank90 { height: 90px; }

/* ===== 歌曲双栏 ===== */
.song-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.oneLeft {
  flex: 0 0 528px;
  width: 528px;
  min-width: 0;
}

.oneRight {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 3px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.twoLeft {
  flex: 1 1 auto;
  min-width: 0;
}

.twoRight {
  flex: 0 0 528px;
  width: 528px;
  min-width: 0;
  margin-left: 3px;
}

/* ===== 视频 ===== */
.video {
  width: 100%;
  max-width: 528px;
  height: 309px;
  background: url(./images/video.png) center / 100% 100% no-repeat;
}

.video video {
  display: block;
  width: calc(100% - 28px);
  height: auto;
  margin: 10px 14px 4px;
  background: #000;
}

/* ===== 下载链接 ===== */
.downloadFont {
  height: 36px;
  color: #fff;
  font-size: 18px;
  line-height: 36px;
}

.downloadFont a {
  float: right;
  color: #fff;
}

.downloadFontOt {
  height: 36px;
  text-align: center;
  line-height: 36px;
}

.downloadFontOt a {
  color: #fff;
  font-size: 18px;
  line-height: 36px;
}

.downloadFont a:hover,
.downloadFontOt a:hover {
  color: #fd00e6;
  text-decoration: underline;
}

/* ===== 简谱 ===== */
.yuepu {
  display: block;
  width: 387px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ===== 歌词 ===== */
.twoLeft .header,
.oneRight .header {
  height: 32px;
  margin-bottom: 0;
  color: #fff;
  font-size: 30px;
  font-style: italic;
  line-height: 32px;
  text-align: center;
}

.twoLeft p,
.oneRight p {
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

.rvScroll1 {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding-right: 6px;
  overflow-y: auto;
  border-right: 3px solid #703ff2;
}

.rvScroll1::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.rvScroll1::-webkit-scrollbar-track {
  border-radius: 10px;
}

.rvScroll1::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #a283ea;
}

/* ===== 版权 ===== */
.banquan {
  margin: 65px 0 30px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

/* ===== 平板：左右两栏改为上下排列 ===== */
@media screen and (max-width: 991px) {
  .song-row {
    flex-direction: column;
  }

  .oneLeft,
  .oneRight,
  .twoLeft,
  .twoRight {
    flex: 0 0 auto;
    width: 100%;
    margin-left: 0;
  }

  .oneLeft,
  .twoRight {
    max-width: 528px;
    margin-right: auto;
    margin-left: auto;
  }

  .oneRight,
  .twoRight {
    margin-top: 40px;
  }

  .oneRight {
    align-self: auto;
  }

  .rvScroll1 {
    height: auto;
    padding-right: 0;
    overflow: visible;
    border-right: 0;
  }
}

/* ===== 手机 ===== */
@media screen and (max-width: 768px) {
  .w1200 {
    padding: 0 12px;
  }

  .blank70 { height: 40px; }
  .blank90 { height: 50px; }
  .blank35 { height: 24px; }

  .oneLeft,
  .oneRight,
  .twoLeft,
  .twoRight {
    width: 100%;
    max-width: 100%;
  }

  .video {
    width: 100%;
    max-width: 100%;
    height: auto;
    background: none;
  }

  .video video {
    width: 100%;
    margin: 0;
  }

  .twoLeft .header,
  .oneRight .header {
    height: auto;
    font-size: 24px;
    line-height: 1.4;
  }

  .twoLeft p,
  .oneRight p {
    font-size: 15px;
    line-height: 24px;
  }

  .downloadFont {
    height: 34px;
    font-size: 16px;
    line-height: 34px;
  }

  .downloadFontOt {
    height: 34px;
    line-height: 34px;
  }

  .downloadFontOt a {
    font-size: 16px;
    line-height: 34px;
  }

  .yuepu {
    width: 100%;
    max-width: 387px;
  }

  .oneRight,
  .twoRight {
    margin-top: 30px;
  }

  .banquan {
    margin: 40px 0 20px;
  }
}
