/* apt — music page (leopardotted 风格复刻) */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; }

body {
  background-color: #ffb5c8; /* 纯色兜底 */
  background-image: url("img/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: scroll;
  overflow-y: hidden;
  font-family: "Times New Roman", Times, serif;
}

/* 隐藏所有滚动条 */
html, body, .favalbums { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.favalbums::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- 左上角文字 ---------- */
.text {
  font-family: "Pacifico", "Segoe Script", "Ink Free", "Brush Script MT", cursive;
  display: flex;
  flex-direction: column;
  font-size: 46px;
  line-height: 1.25;
  color: #d6336c;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 15px;
  top: 5px;
  z-index: 5;
}

a {
  display: block;
  color: black;
  font-size: 23px;
  margin-left: -2px;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover { color: rgb(251, 96, 163); }

/* ---------- 左侧立绘 ---------- */
.doll {
  height: 780px;
  width: auto;
  position: absolute;
  left: 0;
  top: -20px;
  pointer-events: none;
}

/* ---------- 右侧粉色滚动容器 ---------- */
.favalbums {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 420px;
  width: 986px;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  border-left: #FEE2E2 3px solid;
  background-color: #FEE2E2;
}

.imgrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

img { width: 100%; height: 100%; }

.imgntext {
  width: 123px;
  height: 123px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #FEE2E2;
}

/* 悬停浮出的黑色说明层 */
.imgwrap {
  margin-top: -123px;
  width: 123px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.72);
  color: #fff;
  opacity: 0;
  font-size: 13px;
  font-family: monospace;
  transition: opacity 0.2s;
}
.imgwrap:hover { opacity: 1; }

/* 右上角提示 */
.tip {
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 20;
  font-family: "幼圆", "YouYuan", "华康方圆体W7", "Comic Sans MS", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #d6336c;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}
