/* Shared foundation for the current record cover and pixel rooms. */
:root {
color-scheme: dark;
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.66);
  --panel: rgba(10, 8, 12, 0.72);
  --line: rgba(255, 255, 255, 0.22);
  --rose: #f1aaa5;
  --cyan: #86d9ff;
}

@font-face {
font-family: "Zpix";
  src: url("./assets/fonts/zpix.woff2") format("woff2");
  font-display: swap;
}

* {
box-sizing: border-box;
}

html,
body {
min-width: 320px;
  min-height: 100%;
  overscroll-behavior-y: none;
}

body {
margin: 0;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Segoe UI",
    sans-serif;
  background: #090a10;
  color: var(--text);
  overflow-x: hidden;
}

button,
audio {
font: inherit;
}

.home {
position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 222, 224, 0.2), transparent 28rem),
    linear-gradient(110deg, rgba(99, 178, 221, 0.22), rgba(229, 121, 138, 0.2)),
    url("./assets/cover-first-frame.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-video {
position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.home::before {
content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 12rem, rgba(7, 8, 12, 0.16) 27rem),
    linear-gradient(180deg, rgba(8, 9, 13, 0.12), rgba(8, 9, 13, 0.52));
}

.scanlines {
position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 1px,
    rgba(0, 0, 0, 0.04) 2px,
    rgba(0, 0, 0, 0.04) 4px
  );
  mix-blend-mode: soft-light;
  opacity: 0.74;
}

.profile {
position: relative;
  width: min(94vw, 860px);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateY(-8vh);
}

.music-card {
position: relative;
  z-index: 2;
  width: min(88vw, 600px);
  min-height: 0;
  margin-top: 56px;
  display: grid;
  justify-items: center;
  scroll-margin-block: 22vh;
}

.home-title {
position: relative;
  z-index: 1;
  margin: 18px 0 -20px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(2px, 0.5vw, 6px);
  color: rgba(238, 246, 255, 0.94);
  font-family:
    "Zpix",
    "Microsoft YaHei UI",
    sans-serif;
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-indent: 0;
  text-shadow: none;
  user-select: none;
  transition:
    transform 240ms ease,
    filter 240ms ease;
}

.home-title::before {
content: "";
  position: absolute;
  left: 6px;
  right: -8px;
  bottom: -8px;
  height: 8px;
  background: #050713;
  opacity: 0.62;
  transform: skewX(-10deg);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.home-title:hover {
transform: translateY(-2px);
  filter: contrast(1.04);
  animation: titleMenuHover 1.6s steps(2, end) infinite;
}

.home-title:hover::before {
opacity: 0.72;
  transform: translate(2px, 2px) skewX(-10deg);
}

.float-field,
.float-field span {
position: absolute;
  pointer-events: none;
}

.float-field {
inset: 0;
  overflow: hidden;
}

.float-field span {
top: var(--top);
  left: var(--left);
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 18%, rgba(134, 217, 255, 0.3) 19% 42%, transparent 68%),
    linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.7) 47% 53%, transparent 54% 100%),
    linear-gradient(45deg, transparent 0 46%, rgba(255, 255, 255, 0.5) 47% 53%, transparent 54% 100%);
  filter: drop-shadow(0 0 11px rgba(134, 217, 255, 0.74));
  opacity: 0.34;
  animation: floatParticle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.float-field span:nth-child(1) {
--top: 11%;
  --left: 14%;
  --size: 22px;
  --duration: 8s;
  --delay: 0.2s;
}

.float-field span:nth-child(2) {
--top: 19%;
  --left: 78%;
  --size: 30px;
  --duration: 10s;
  --delay: 1.6s;
}

.float-field span:nth-child(3) {
--top: 55%;
  --left: 18%;
  --size: 15px;
  --duration: 9s;
  --delay: 3s;
}

.float-field span:nth-child(4) {
--top: 66%;
  --left: 84%;
  --size: 18px;
  --duration: 11s;
  --delay: 4.4s;
}

.float-field span:nth-child(5) {
--top: 81%;
  --left: 34%;
  --size: 26px;
  --duration: 12s;
  --delay: 2.2s;
}

.float-field span:nth-child(6) {
--top: 38%;
  --left: 63%;
  --size: 12px;
  --duration: 8.5s;
  --delay: 5.5s;
}

@keyframes floatParticle {
0% {
    opacity: 0.18;
    transform: translate3d(0, 0, 0) scale(0.86) rotate(0deg);
  }
  45% {
    opacity: 0.68;
    transform: translate3d(26px, -34px, 0) scale(1.08) rotate(80deg);
  }
  100% {
    opacity: 0.2;
    transform: translate3d(-18px, -68px, 0) scale(0.92) rotate(160deg);
  }
}

@keyframes titleMenuHover {
0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(-3px);
  }
}

.aplayer {
position: relative;
  width: min(100%, 580px);
  min-height: 104px;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  overflow: visible;
}

.aplayer .aplayer-body,
.aplayer .aplayer-list,
.aplayer .aplayer-list ol,
.aplayer .aplayer-list ol li {
background: rgba(18, 18, 18, 0.96);
}

.aplayer .aplayer-body {
height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.92);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
  backdrop-filter: blur(14px);
}

.aplayer .aplayer-pic {
width: 104px;
  height: 104px;
  background-color: #acd4f7;
  border-radius: 16px 0 0 16px;
}

.aplayer .aplayer-pic .aplayer-button {
border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.16);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.24);
}

.aplayer .aplayer-info {
margin-left: 104px;
  padding: 19px 22px 0 22px;
  border-bottom: 0;
  overflow: visible;
}

.aplayer.aplayer-withlrc .aplayer-info {
height: 104px;
}

.aplayer .aplayer-info .aplayer-music {
height: 32px;
  margin: 0 0 18px;
  text-align: center;
}

.aplayer .aplayer-info .aplayer-music .aplayer-title {
font-size: 18px;
  font-weight: 800;
}

.aplayer .aplayer-info .aplayer-music .aplayer-author {
font-size: 17px;
  font-weight: 700;
}

.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author,
.aplayer .aplayer-list ol li .aplayer-list-title,
.aplayer .aplayer-list ol li .aplayer-list-author {
color: rgba(255, 255, 255, 0.9);
}

.aplayer .aplayer-info .aplayer-controller .aplayer-time,
.aplayer .aplayer-list ol li {
color: rgba(255, 255, 255, 0.62);
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {
background: rgba(255, 255, 255, 0.16);
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
background: rgba(255, 255, 255, 0.28);
}

.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played,
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
background: var(--rose);
}

.aplayer .aplayer-volume-bar-wrap,
.aplayer .aplayer-volume-bar {
cursor: ns-resize;
  touch-action: none;
  user-select: none;
}

.aplayer .aplayer-list ol li:hover,
.aplayer .aplayer-list ol li.aplayer-list-light {
background: rgba(255, 255, 255, 0.08);
}

.aplayer .aplayer-list {
margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.aplayer .aplayer-lrc {
position: absolute;
  left: 50%;
  top: calc(100% + 20px);
  width: min(88vw, 680px);
  height: 128px;
  margin: 0;
  padding: 0 10px;
  transform: translateX(-50%);
  background: transparent;
  pointer-events: none;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.32),
    0 2px 16px rgba(0, 0, 0, 0.55);
}

.aplayer .aplayer-lrc::before,
.aplayer .aplayer-lrc::after {
display: none;
}

.aplayer .aplayer-lrc p {
color: rgba(255, 255, 255, 0.72);
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.3),
    0 2px 16px rgba(0, 0, 0, 0.6);
}

.aplayer .aplayer-lrc p.aplayer-lrc-current {
color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 680px) {
.profile {
transform: translateY(-8vh);
}

.music-card {
width: min(92vw, 390px);
    min-height: 72px;
    margin-top: 42px;
}

.aplayer {
min-height: 92px;
}

.aplayer .aplayer-body {
height: 96px;
    border-radius: 14px;
    overflow: visible;
}

.aplayer .aplayer-pic {
width: 96px;
    height: 96px;
    border-radius: 14px 0 0 14px;
}

.aplayer .aplayer-info {
margin-left: 96px;
    height: 96px;
    padding: 14px 12px 0;
}

.aplayer.aplayer-withlrc .aplayer-info {
height: 96px;
}

.aplayer .aplayer-info .aplayer-music {
height: 28px;
    margin-bottom: 12px;
}

.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author {
font-size: 14px;
}

.aplayer .aplayer-info .aplayer-controller .aplayer-time {
font-size: 12px;
}

.aplayer .aplayer-lrc {
top: calc(100% + 14px);
    height: 96px;
}

.home-title {
margin: 14px 0 -14px;
    gap: 4px;
    font-size: clamp(34px, 12vw, 50px);
}
}

[data-admin-link][hidden] {
display: none !important;
}

:focus-within {
opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

