﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body {
  background: #0f0f10;
  color: #fff;
}

/* 开机动画 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070709;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-text {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  animation: fadeInOut 1.2s infinite alternate;
}
@keyframes fadeInOut {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* 极简封面 */
.banner {
  width: 100%;
  height: 220px;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner-content h1 {
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.banner-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.player-box {
  background: #1a1a1d;
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.player-box h3 {
  margin-bottom: 12px;
  font-weight: 400;
  color: #eee;
}
.player-box audio {
  width: 100%;
}

.card {
  background: #1a1a1d;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}
.card h2 {
  margin-bottom: 16px;
  font-size: 20px;
  color: #ffcc00;
  font-weight: 500;
}

.list .item {
  padding: 14px;
  background: #242429;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.list .item:hover {
  background: #2d2d35;
}

/* 后台 */
.admin-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #ff4444;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.admin-panel {
  position: fixed;
  right: 20px;
  bottom: 70px;
  background: #1a1a1d;
  padding: 16px;
  border-radius: 10px;
  width: 320px;
  display: none;
}
.admin-panel input,
.admin-panel textarea,
.admin-panel button {
  width: 100%;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 6px;
  border: none;
}
.admin-panel button {
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
