:root {
  /* 本色：宣纸底、墨色字、金线、朱砂。其余一律沿用原样式 */
  --gold: #A87C2C;
  --gold-l: #7A5817;
  --gold-d: #5E3F0D;
  --gold-hi: #C9A24A;
  --on-gold: #FFFFFF;
  --bg: #F6F1E6;
  --bg2: #FBF8F1;
  --panel: rgba(251, 248, 241, .92);
  --line: rgba(58, 45, 30, .13);
  --txt: #1E1A14;
  --muted: #8B7B64;
  --cinnabar: #9C3B2E;
  --gold-line: rgba(168, 124, 44, .38);
  --gold-soft: rgba(168, 124, 44, .10);
  --scroll: rgba(168, 124, 44, .30);
  --menu-bg: #FBF8F1;
  --warn: #9C3B2E;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--txt);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1000px 520px at 50% -12%, #FDFAF3 0%, transparent 60%),
    linear-gradient(180deg, #FAF5EA, #F2EADA 60%);
  min-height: 100vh;
}
a { color: var(--gold-l); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶栏 ---------- */
header {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0 22px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo {
  width: 54px; height: 54px; border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: 0 6px 24px rgba(168, 124, 44, .28);
}
.brand .logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand h1 { margin: 0; font-size: 20px; letter-spacing: 2px; font-weight: 600; }
.brand p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }

.live {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: 2px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #B9A98C; }
.live.on { color: var(--cinnabar); border-color: rgba(156, 59, 46, .3); }
.live.on .dot { background: var(--cinnabar); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(156, 59, 46, .5) } 50% { opacity: .45; box-shadow: 0 0 0 6px rgba(156, 59, 46, 0) } }
.console-link { font-size: 12px; color: var(--muted); }

/* ---------- 播放器 ---------- */
.hero {
  display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 34px; margin-bottom: 22px;
}
.disc {
  width: 180px; height: 180px; border-radius: 50%; position: relative; cursor: pointer;
  background: conic-gradient(from 0deg, #E8DABB, #F4EBD8, #E8DABB);
  box-shadow: 0 18px 50px rgba(90, 64, 20, .22), inset 0 0 0 1px rgba(168, 124, 44, .28);
  display: grid; place-items: center; transition: transform .25s;
}
.disc:hover { transform: scale(1.03); }
.disc img { width: 176px; height: 176px; border-radius: 50%; object-fit: cover; }
.disc .ring { position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(168, 124, 44, .25); }
.disc.spin { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.disc .play {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-d));
  color: var(--on-gold); display: grid; place-items: center; font-size: 22px;
  text-shadow: 0 1px 1px rgba(74, 48, 8, .42);
  box-shadow: 0 8px 24px rgba(90, 64, 20, .28); pointer-events: none;
}
.disc .play::after { content: "▶"; margin-left: 3px; }
.disc.playing .play::after { content: "❚❚"; margin: 0; font-size: 16px; letter-spacing: 1px; }

.now .lbl { font-size: 11px; letter-spacing: 3px; color: var(--muted); }
.now .prog { font-size: 30px; font-weight: 700; margin: 8px 0 4px; line-height: 1.25; }
.now .file { font-size: 13px; color: var(--muted); }
.now .bar { height: 6px; background: rgba(58, 45, 30, .08); border-radius: 99px; overflow: hidden; margin: 16px 0 6px; }
.now .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-d), var(--gold-hi)); transition: width 1s linear; }
.now .times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.now .row { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.vol { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.vol input { width: 110px; accent-color: var(--gold); }
.meta { font-size: 12px; color: var(--muted); }

/* ---------- 卡片 ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.card h2 { margin: 0 0 14px; font-size: 15px; letter-spacing: 2px; color: var(--gold); font-weight: 600; }

.sch { list-style: none; padding: 0; margin: 0; }
.sch li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed rgba(58, 45, 30, .10);
}
.sch li:last-child { border-bottom: none; }
.sch .t { font-variant-numeric: tabular-nums; color: var(--gold); font-size: 15px; width: 58px; flex: none; }
.sch .n { flex: 1; font-size: 14px; }
.sch .r { font-size: 11px; color: var(--muted); }
.sch li.on { background: rgba(168, 124, 44, .10); border-radius: 8px; padding-left: 10px; padding-right: 10px; margin: 0 -10px; border-bottom-color: transparent; }
.sch li.on .n { color: var(--gold-l); font-weight: 600; }
.sch li.on .t { color: var(--gold-l); }
.empty { color: var(--muted); font-size: 13px; }

.urlbox { display: flex; gap: 8px; align-items: center; background: rgba(58, 45, 30, .05); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 12px; }
.urlbox input { flex: 1; background: none; border: none; color: var(--gold-l); font-size: 13px; outline: none; }
.btn {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-d));
  border: none; color: var(--on-gold); font-weight: 700; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;
  text-shadow: 0 1px 1px rgba(74, 48, 8, .42);
}
.btn.ghost { background: none; border: 1px solid var(--line); color: var(--txt); font-weight: 500; }
.tips { font-size: 12px; color: var(--muted); line-height: 2; margin: 0; padding-left: 18px; }

footer { text-align: center; padding: 34px 20px 44px; color: var(--muted); font-size: 12px; line-height: 2.2; }
footer .slogan { color: var(--gold); font-size: 14px; letter-spacing: 1px; }

audio { display: none; }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px 20px; }
  .now .row { justify-content: center; }
  .now .times { justify-content: center; gap: 20px; }
  .grid { grid-template-columns: 1fr; }
  header { flex-wrap: wrap; }
}
