/* ============================================================
   base.css — 布局骨架 / 通用组件（与皮肤无关）
   皮肤变量由 theme-yao.css / theme-dj.css 提供
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}

body.is-switching { opacity: .55; }
body { transition: background-color .5s ease, color .5s ease, opacity .18s ease; }

/* 主题切换时让卡面平滑过渡 */
.album, .stat, .ct-card, .gal-item, .single, .profile-card,
.portrait-frame, .switch-bar, .sec-alt, .site-foot, .eyebrow, .plat {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease,
              background-color .5s ease, background .5s ease, color .5s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }

/* ---------- 装饰层 ---------- */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.fx-grid, .fx-scan, .fx-glow, .fx-paper, .fx-seal { position: absolute; opacity: 0; transition: opacity .6s ease; }

.fx-grid {
  inset: -10%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.fx-scan {
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
}
.fx-glow { width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); }
.fx-glow-a { top: -14vw; left: -10vw; background: var(--glow-a); }
.fx-glow-b { bottom: -16vw; right: -12vw; background: var(--glow-b); }
.fx-paper { inset: 0; background-image: var(--paper-tex); }
.fx-seal {
  right: 4vw; top: 22vh;
  font-size: 13px; letter-spacing: .55em;
  color: var(--seal-ink); opacity: 0;
  writing-mode: vertical-rl;
}

main, .site-nav, .site-foot { position: relative; z-index: 1; }

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background .5s ease, border-color .5s ease;
}
.nav-inner {
  width: min(1200px, 94vw); margin-inline: auto;
  height: 68px; display: flex; align-items: center; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  background: var(--accent-grad); color: var(--on-accent);
  box-shadow: var(--mark-shadow);
  letter-spacing: -.03em;
}
.brand-mark.sm { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.brand-text i { font-style: normal; font-size: 11px; color: var(--text-dim); letter-spacing: .16em; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 7px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text-dim);
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--chip-bg); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.nav-tools { display: flex; align-items: center; gap: 10px; }

.seg {
  display: flex; padding: 3px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--chip-bg);
}
.seg-btn {
  padding: 5px 13px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .04em; color: var(--text-dim);
  transition: all .25s;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-on { background: var(--accent-grad); color: var(--on-accent); font-weight: 600; box-shadow: var(--btn-shadow); }

.nav-burger { display: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); }
.nav-burger span { display: block; width: 16px; height: 2px; margin: 3px auto; background: var(--text); border-radius: 2px; }

.nav-progress { height: 2px; width: 0; background: var(--accent-grad); transition: width .1s linear; }

/* ---------- HERO ---------- */
.hero { padding: 132px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center; padding-bottom: 64px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--chip-bg);
  font-size: 12.5px; letter-spacing: .12em; color: var(--text-dim);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-name { margin: 22px 0 0; font-family: var(--font-display); line-height: .96; }
.hero-name .ln1 { display: block; font-size: clamp(2.6rem, 6.2vw, 5.1rem); font-weight: 900; letter-spacing: .02em; }
.hero-name .ln2 {
  display: block; margin-top: .16em;
  font-size: clamp(1.5rem, 3.4vw, 2.7rem); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-role { margin-top: 18px; font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--text-dim); letter-spacing: .05em; }

.hero-quote { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; max-width: 30em; }
.hero-quote .q-mark { font-family: var(--font-display); font-size: 2.6rem; line-height: .8; color: var(--accent); opacity: .55; }
.hero-quote p { font-size: .97rem; color: var(--text-dim); font-style: italic; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 28px; }
.meta-item { display: flex; flex-direction: column; }
.meta-item em {
  font-style: normal; font-size: 11px; letter-spacing: .18em;
  color: var(--text-dim); text-transform: uppercase;
}
.meta-item b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-grad); color: var(--on-accent); box-shadow: var(--btn-shadow); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--chip-bg); }

/* HERO 视觉 */
.hero-visual { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.portrait { position: relative; width: 100%; max-width: 340px; aspect-ratio: 7 / 12; margin-inline: auto; }
.portrait-frame {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--card-shadow);
}
.portrait-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
}
.portrait-ring {
  position: absolute; inset: -14px; z-index: 2; border-radius: inherit;
  border: 1px solid var(--accent); opacity: .28;
  animation: spin 26s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.portrait-art { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; }
.portrait-art .kanji {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.4rem, 8vw, 5.4rem); line-height: 1.02; text-align: center;
  letter-spacing: .06em; opacity: .1; position: absolute;
}
.eq { display: flex; align-items: flex-end; gap: 5px; height: 46%; }
.eq i {
  display: block; width: 8px; border-radius: 4px;
  background: var(--accent-grad); opacity: .85;
  animation: eq 1.25s ease-in-out infinite alternate;
}
.eq i:nth-child(1)  { height: 32%; animation-delay: -.10s }
.eq i:nth-child(2)  { height: 66%; animation-delay: -.22s }
.eq i:nth-child(3)  { height: 44%; animation-delay: -.34s }
.eq i:nth-child(4)  { height: 88%; animation-delay: -.46s }
.eq i:nth-child(5)  { height: 58%; animation-delay: -.58s }
.eq i:nth-child(6)  { height: 96%; animation-delay: -.70s }
.eq i:nth-child(7)  { height: 50%; animation-delay: -.82s }
.eq i:nth-child(8)  { height: 78%; animation-delay: -.94s }
.eq i:nth-child(9)  { height: 40%; animation-delay: -1.06s }
.eq i:nth-child(10) { height: 70%; animation-delay: -1.18s }
.eq i:nth-child(11) { height: 54%; animation-delay: -1.30s }
.eq i:nth-child(12) { height: 90%; animation-delay: -1.42s }
@keyframes eq { from { transform: scaleY(.32); } to { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }

.portrait-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; font-size: 11.5px; letter-spacing: .16em;
  background: var(--tag-bg); border-top: 1px solid var(--border);
  color: var(--text-dim);
}
.portrait-tag b { font-family: var(--font-display); color: var(--text); letter-spacing: .1em; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-chips li {
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px;
  border: 1px solid var(--border); background: var(--chip-bg); color: var(--text-dim);
  transition: all .25s;
}
.hero-chips li:hover { color: var(--on-accent); background: var(--accent-grad); border-color: transparent; }

/* ---------- 模板切换条 ---------- */
.switch-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.switch-inner {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 22px 0;
}
.switch-inner > p { font-size: 13px; color: var(--text-dim); letter-spacing: .05em; margin-right: auto; }
.switch-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.sw-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  transition: all .3s;
}
.sw-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.sw-card.is-on { border-color: var(--accent); background: var(--chip-bg); box-shadow: var(--btn-shadow); }
.sw-ico {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 17px;
  background: var(--accent-grad); color: var(--on-accent); flex-shrink: 0;
}
.sw-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.35; }
.sw-txt b { font-size: 14px; font-weight: 700; }
.sw-txt i { font-style: normal; font-size: 11.5px; color: var(--text-dim); }

/* ---------- 区块通用 ---------- */
.sec { padding: 96px 0; }
.sec-alt { background: var(--surface-2); border-block: 1px solid var(--border); }

.sec-head { margin-bottom: 52px; max-width: 46em; }
.sec-no {
  display: inline-block; font-family: var(--font-mono, var(--font-display));
  font-size: 12px; letter-spacing: .3em; color: var(--accent); margin-bottom: 12px;
}
.sec-head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.25; letter-spacing: .01em;
}
.sec-head h2::after {
  content: ""; display: block; width: 58px; height: 3px; margin-top: 18px;
  border-radius: 3px; background: var(--accent-grad);
}
.sec-head p { margin-top: 16px; color: var(--text-dim); font-size: .97rem; }

.sub-h {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
  margin: 46px 0 20px; padding-left: 14px;
  border-left: 3px solid var(--accent); letter-spacing: .04em;
}
.sub-h:first-of-type { margin-top: 0; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
.about-text p { color: var(--text-dim); margin-bottom: 18px; }
.about-text .lead {
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.85;
  color: var(--text); font-weight: 500;
}

.genres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.genres span {
  padding: 6px 14px; border-radius: 6px; font-size: 12.5px; letter-spacing: .06em;
  border: 1px solid var(--border); background: var(--chip-bg); color: var(--text-dim);
}

.profile-card {
  border: 1px solid var(--border); background: var(--surface);
  padding: 26px; box-shadow: var(--card-shadow);
}
.pc-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.pc-badge {
  font-size: 11px; letter-spacing: .18em; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.pc-year { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; opacity: .28; }
.pc-list { margin-top: 6px; }
.pc-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--border-soft); }
.pc-list div:last-child { border-bottom: 0; }
.pc-list dt { font-size: 12.5px; color: var(--text-dim); letter-spacing: .1em; flex-shrink: 0; }
.pc-list dd { font-size: 13.5px; font-weight: 600; text-align: right; }

/* ---------- 时间线 ---------- */
.tl { position: relative; padding-left: 34px; }
.tl::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2, var(--accent)), transparent);
  opacity: .45;
}
.tl li { position: relative; padding: 0 0 34px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ""; position: absolute; left: -34px; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-year {
  display: inline-block; font-family: var(--font-mono, var(--font-display));
  font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent);
  margin-bottom: 6px;
}
.tl-body { font-size: .96rem; color: var(--text-dim); }
.tl-title { display: block; font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }

/* ---------- 音乐：专辑 ---------- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.album {
  border: 1px solid var(--border); background: var(--surface);
  padding: 22px; box-shadow: var(--card-shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.album:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--card-shadow-hi); }
.album-cover {
  aspect-ratio: 1; margin-bottom: 18px; display: grid; place-items: center;
  border: 1px solid var(--border-soft); background: var(--cover-bg);
  position: relative; overflow: hidden;
}
.album-cover .eq { height: 44%; }
.album-cover::after {
  content: attr(data-txt);
  position: absolute; bottom: 10px; left: 12px; right: 12px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
  letter-spacing: .02em; opacity: .16;
}
.album h4 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.45; }
.album .album-meta { margin-top: 8px; font-size: 12.5px; color: var(--text-dim); display: flex; gap: 10px; flex-wrap: wrap; }
.album .album-meta b { color: var(--accent); font-weight: 600; }

/* ---------- 音乐：单曲 ---------- */
.single-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.single {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border: 1px solid var(--border); background: var(--surface);
  transition: all .28s;
}
.single:hover { border-color: var(--accent); background: var(--chip-bg); transform: translateX(4px); }
.single-no {
  font-family: var(--font-mono, var(--font-display)); font-size: 12px;
  color: var(--accent); width: 26px; flex-shrink: 0; opacity: .8;
}
.single-name { flex: 1; font-size: 14.5px; font-weight: 600; }
.single-wave { display: flex; align-items: flex-end; gap: 3px; height: 16px; opacity: .5; }
.single-wave i { width: 2px; background: var(--accent); border-radius: 2px; }
.single:hover .single-wave { opacity: 1; }
.single:hover .single-wave i { animation: eq .9s ease-in-out infinite alternate; }
.single-wave i { transform-origin: bottom; }
.single-wave i:nth-child(1) { height: 40%; animation-delay: -.1s }
.single-wave i:nth-child(2) { height: 90%; animation-delay: -.2s }
.single-wave i:nth-child(3) { height: 60%; animation-delay: -.3s }
.single-wave i:nth-child(4) { height: 100%; animation-delay: -.4s }
.single-wave i:nth-child(5) { height: 50%; animation-delay: -.5s }

/* ---------- 平台 ---------- */
.plat-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.plat {
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  transition: all .28s;
}
.plat:hover { color: var(--on-accent); background: var(--accent-grad); border-color: transparent; transform: translateY(-2px); box-shadow: var(--btn-shadow); }

/* ---------- 数据 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.stat {
  padding: 30px 24px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--card-shadow); transition: transform .3s, border-color .3s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--accent); }
.stat-num {
  font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.01em;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.stat-desc { margin-top: 6px; font-size: 12px; color: var(--text-dim); }

/* ---------- 图集 ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.gal-item {
  aspect-ratio: 4 / 5; border: 1px solid var(--border); background: var(--cover-bg);
  display: grid; place-items: center; gap: 10px;
  box-shadow: var(--card-shadow); transition: transform .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.gal-item:hover { transform: translateY(-5px) scale(1.012); border-color: var(--accent); }
.gal-ico { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; opacity: .2; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: 12.5px; background: var(--tag-bg); border-top: 1px solid var(--border); color: var(--text-dim); }

/* ---------- 联系 ---------- */
.ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ct-card {
  padding: 30px 26px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--card-shadow); transition: transform .3s, border-color .3s;
}
.ct-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.ct-label { font-size: 11.5px; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.ct-card b { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.ct-card p { margin-top: 10px; font-size: 13.5px; color: var(--text-dim); }
.ct-note { margin-top: 32px; font-size: 12.5px; color: var(--text-dim); opacity: .8; }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--border); background: var(--surface-2); padding: 42px 0 30px; }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-l { display: flex; align-items: center; gap: 14px; }
.foot-l b { display: block; font-family: var(--font-display); font-size: 15px; }
.foot-l i { font-style: normal; font-size: 12px; color: var(--text-dim); }
.foot-r { font-size: 12.5px; color: var(--text-dim); display: flex; gap: 10px; align-items: center; }
.foot-r a { color: var(--accent); border-bottom: 1px dashed var(--accent); }
.foot-copy {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-dim);
}
.foot-tpl em { font-style: normal; opacity: .7; }
.foot-tpl b { color: var(--accent); }

/* ---------- 平台作品库 ---------- */
.ptabs { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.ptab {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); cursor: pointer; text-align: left;
  transition: transform .25s, border-color .25s, box-shadow .25s, background .25s;
}
.ptab:hover { transform: translateY(-2px); border-color: var(--accent); }
.ptab.is-on { border-color: var(--accent); background: var(--chip-bg); box-shadow: var(--btn-shadow); }
.ptab-ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 18px; color: #fff;
}
.ptab-ico.wy { background: var(--brand-wy); }
.ptab-ico.qs { background: var(--brand-qs); color: #0A1020; }
.ptab-txt { display: flex; flex-direction: column; line-height: 1.3; }
.ptab-txt b { font-size: 14px; font-weight: 700; }
.ptab-txt i { font-style: normal; font-size: 11px; color: var(--text-dim); }
.ptab-num {
  margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--border-soft);
  font-family: var(--font-mono, var(--font-display)); font-size: 12px; color: var(--text-dim);
}
.ptab-num i { font-style: normal; opacity: .45; margin: 0 2px; }

.ppanel { animation: panelIn .4s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ppanel[hidden] { display: none; }

.pnl-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--border);
}
.pnl-count b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.pnl-count em { font-style: normal; font-size: 13px; color: var(--text-dim); margin-left: 6px; }
.pnl-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--accent); padding-bottom: 2px;
  border-bottom: 1px dashed var(--accent);
}
.pnl-link i { font-style: normal; transition: transform .25s; }
.pnl-link:hover i { transform: translateX(4px); }

.wy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.wy-card {
  border: 1px solid var(--border); background: var(--surface); padding: 14px;
  border-radius: var(--radius); transition: transform .28s, border-color .28s, box-shadow .28s;
}
.wy-card:hover { transform: translateY(-3px); border-color: var(--brand-wy); }
.wy-card.is-hidden { display: none; }
.wy-date { font-family: var(--font-mono, var(--font-display)); font-size: 11px; color: var(--text-dim); letter-spacing: .04em; }
.wy-name { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.wy-en { margin-top: 3px; font-size: 11.5px; color: var(--text-dim); }

.pnl-more { text-align: center; margin-top: 18px; }
.more-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 26px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  transition: all .25s;
}
.more-btn:hover { border-color: var(--accent); color: var(--accent); }
.more-ico {
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s;
}
.more-btn.is-open .more-ico { transform: rotate(225deg) translate(-1px, -1px); }

.wy-songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.wy-song {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 15px; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); transition: border-color .28s, background .28s;
}
.wy-song:hover { border-color: var(--accent); background: var(--chip-bg); }
.wy-song b { font-size: 13.5px; font-weight: 600; }
.wy-song span { font-size: 11.5px; color: var(--text-dim); margin-left: auto; text-align: right; }

.qs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.qs-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 17px 18px; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius); transition: transform .28s, border-color .28s, box-shadow .28s;
}
.qs-item:hover { transform: translateY(-3px); border-color: var(--brand-qs-mid); }
.qs-year { font-family: var(--font-mono, var(--font-display)); font-size: 12px; color: var(--brand-qs-mid); flex-shrink: 0; padding-top: 3px; }
.qs-body { flex: 1; min-width: 0; }
.qs-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.qs-tag { margin-top: 5px; font-size: 12px; color: var(--text-dim); }
.qs-hot {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; vertical-align: middle;
  background: var(--brand-qs); color: #0A1020;
}

.sub-count {
  font-style: normal; font-weight: 400; font-size: 12px; margin-left: 8px;
  font-family: var(--font-mono, var(--font-display)); color: var(--accent); opacity: .75;
}

.pnl-note {
  margin-top: 26px; padding-left: 14px; border-left: 2px solid var(--border);
  font-size: 12px; line-height: 1.75; color: var(--text-dim); opacity: .9;
}

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 108px; }
  .portrait { max-width: 320px; }
}
@media (max-width: 1000px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 14px 5vw 22px;
    background: var(--nav-bg-solid); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    transform: translateY(-130%); transition: transform .35s ease;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-burger { display: block; }
  .seg-theme { display: none; }
}
@media (max-width: 860px) {
  .brand-text i { display: none; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 38px; }
}
@media (max-width: 520px) {
  .hero-meta { gap: 14px 22px; }
  .switch-inner > p { margin-right: 0; }
  .foot-copy { flex-direction: column; gap: 8px; }
}

/* ---------- 后台入口（页脚） ---------- */
.foot-tpl { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-admin {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border: 1px solid var(--border);
  border-radius: 999px; font-size: 11px; letter-spacing: .06em;
  color: var(--text-dim); background: var(--chip-bg);
  text-decoration: none; transition: color .2s, border-color .2s, background .2s;
}
.foot-admin::before { content: '⚙'; font-size: 11px; line-height: 1; }
.foot-admin:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- 图集支持真实图片 ---------- */
.gal-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
