/* ========================================
   全局变量 & 重置
======================================== */
:root {
  /* 暗色科技 · 流光霓虹 */
  --color-bg: #070a14;
  --color-bg-2: #0b1022;
  --color-surface: #0f1526;
  --color-surface-2: #161d33;
  --color-border: rgba(130,150,210,.14);
  --color-border-strong: rgba(130,150,210,.30);
  --color-text: #e7ecf9;
  --color-text-2: #9aa6c6;
  --color-text-3: #6a7594;
  --color-accent: #2ee6a8;
  --color-accent-light: rgba(46,230,168,.14);
  --color-accent-hover: #62ffc6;
  --color-tag-bg: rgba(46,230,168,.10);
  --color-tag-text: #86f2cf;
  /* 霓虹色板 */
  --neon-cyan: #22d3ee;
  --neon-purple: #a855f7;
  --neon-blue: #4f7cff;
  --neon-pink: #ff5c8a;
  --neon-green: #2ee6a8;
  --glow-accent: 0 0 20px rgba(46,230,168,.45);
  --glow-cyan: 0 0 22px rgba(34,211,238,.5);
  --glow-purple: 0 0 22px rgba(168,85,247,.5);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.45);
  --shadow-md: 0 10px 34px rgba(0,0,0,.55);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.62);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Source Code Pro', monospace;
  --container: 1140px;
  --header-h: 92px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* 全站流光极光 + 科技网格底纹（固定层，随内容滚动保持沉浸） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46rem 46rem at 12% -8%, rgba(46,230,168,.16), transparent 60%),
    radial-gradient(42rem 42rem at 92% 4%, rgba(79,124,255,.16), transparent 60%),
    radial-gradient(50rem 50rem at 78% 96%, rgba(168,85,247,.14), transparent 62%),
    radial-gradient(40rem 40rem at 4% 88%, rgba(34,211,238,.12), transparent 60%);
  background-color: var(--color-bg);
  animation: auroraShift 22s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(130,150,210,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,150,210,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 40%, transparent 92%);
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 40%, transparent 92%);
}
@keyframes auroraShift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; filter: hue-rotate(0deg); }
  100% { background-position: 8% 6%, -6% 4%, 4% -6%, -4% -4%; filter: hue-rotate(18deg); }
}
/* 鼠标光晕跟随层 */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(46,230,168,.10), rgba(79,124,255,.06) 42%, transparent 68%);
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity .3s;
  will-change: transform;
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration: none;
}

/* AI 友好：文章卡片（首页/列表/相关/置顶）使用真实 <a> 链接，去除默认锚点样式 */
a.post-card, a.featured-post, a.related-post, a.list-item {
  text-decoration: none;
  color: inherit;
}
a.featured-post { display: block; }

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========================================
   容器
======================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 22, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(46,230,168,.10), 0 8px 30px rgba(0,0,0,.35);
  padding: 10px 0 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--color-text);
  transition: opacity .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover { opacity: .75; }
.logo-icon {
  color: var(--color-accent);
  font-size: 1.4rem;
  line-height: 1;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 6px 0 12px;
  border-top: 1px solid rgba(46,230,168,.08);
}
.main-nav a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--color-text-2);
  transition: all .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.mobile-nav.open {
  max-height: 500px;
}
.mobile-nav a {
  padding: 14px 24px;
  font-size: 1rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ========================================
   Main & Footer
======================================== */
.main-content {
  flex: 1;
}

.main-content { position: relative; z-index: 1; }
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(11,16,34,.6);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -1px 0 rgba(46,230,168,.10);
  padding: 32px 0;
  text-align: center;
  color: var(--color-text-3);
  font-size: .9rem;
}
.site-footer p { margin: 4px 0; }
.beian-line { font-size: .82rem; line-height: 1.8; }
.beian-line a {
  color: var(--color-accent, #2ee6a8);
  text-decoration: none;
  border-bottom: 1px dashed rgba(46,230,168,.5);
}
.beian-line a:hover { opacity: .8; }

/* ========================================
   通用组件 — Tag
======================================== */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background .2s;
}
.tag:hover {
  background: rgba(255,255,255,.3);
}

.tag-sm {
  background: var(--color-tag-bg);
  border-color: transparent;
  color: var(--color-tag-text);
  font-size: .75rem;
}
.tag-sm:hover {
  background: #bbf7d0;
}

.tag-outline {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.tag-outline:hover {
  background: var(--color-accent-light);
}

/* ========================================
   首页 Hero
======================================== */
.hero {
  padding: 40px 0 0;
}

.featured-post {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform .3s, box-shadow .3s;
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

.featured-img {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.8) 0%,
    rgba(0,0,0,.4) 50%,
    rgba(0,0,0,.1) 100%
  );
}

.featured-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
}

.featured-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 10px;
  line-height: 1.3;
  letter-spacing: -.3px;
}

.featured-summary {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.post-date {
  font-size: .82rem;
  color: var(--color-text-3);
}

/* ========================================
   文章列表 Grid
======================================== */
.posts-section {
  padding: 56px 0 80px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* Post Card */
.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 10px 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-summary {
  font-size: .875rem;
  color: var(--color-text-2);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.read-more {
  font-size: .82rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* ========================================
   文章详情页
======================================== */
.post-hero {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,.1) 100%
  );
}

.post-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.post-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 10px;
  line-height: 1.25;
  letter-spacing: -.5px;
  max-width: 800px;
}

.post-date-hero {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

/* 文章布局 */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding: 48px 0 40px;
  align-items: start;
}

.post-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid var(--color-accent-light);
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-bio {
  font-size: .85rem;
  color: var(--color-text-2);
  line-height: 1.5;
}

.sidebar-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.related-post {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  transition: opacity .2s;
}
.related-post:last-child { border-bottom: none; }
.related-post:hover { opacity: .7; }
.related-post span {
  font-size: .85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.back-link {
  padding-bottom: 48px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--color-text-2);
  transition: all .2s;
}
.btn-back:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

/* ========================================
   Markdown 正文样式
======================================== */
.markdown-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  min-width: 0;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: .8em;
  color: var(--color-text);
}

.markdown-body h1 { font-size: 1.8rem; border-bottom: 2px solid var(--color-border); padding-bottom: .4em; }
.markdown-body h2 { font-size: 1.4rem; border-bottom: 1px solid var(--color-border); padding-bottom: .3em; }
.markdown-body h3 { font-size: 1.15rem; }
.markdown-body h4 { font-size: 1rem; }

.markdown-body p {
  margin-bottom: 1.2em;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 1.8em;
  margin-bottom: 1.2em;
}

.markdown-body li {
  margin-bottom: .4em;
}

.markdown-body li > ul,
.markdown-body li > ol {
  margin-top: .4em;
  margin-bottom: .4em;
}

.markdown-body blockquote {
  margin: 1.5em 0;
  padding: 16px 20px 16px 20px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-2);
}
.markdown-body blockquote p { margin-bottom: 0; }

.markdown-body code {
  font-family: var(--font-mono);
  font-size: .875em;
  background: rgba(130,150,210,.14);
  padding: 2px 6px;
  border-radius: 4px;
  color: #ff8ac0;
}

.markdown-body pre {
  background: #1e1e2e !important;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}
.markdown-body pre code {
  background: none;
  padding: 0;
  color: #cdd6f4;
  font-size: .875rem;
  line-height: 1.7;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: .9rem;
}
.markdown-body th {
  background: var(--color-accent-light);
  color: var(--color-accent-hover);
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--color-border-strong);
}
.markdown-body td {
  padding: 10px 16px;
  border: 1px solid var(--color-border);
}
.markdown-body tr:nth-child(even) td {
  background: rgba(130,150,210,.06);
}

.markdown-body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 1.5em 0;
  box-shadow: var(--shadow-md);
}

.markdown-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.markdown-body a:hover {
  color: var(--color-accent-hover);
}

.markdown-body hr {
  border: none;
  border-top: 2px solid var(--color-border);
  margin: 2.5em 0;
}

.markdown-body strong { color: var(--color-text); }

/* ========================================
   标签页
======================================== */
.tags-page {
  padding: 48px 0 80px;
}

.page-header {
  margin-bottom: 40px;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.5px;
}

.page-subtitle {
  margin-top: 8px;
  color: var(--color-text-3);
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.tag-cloud-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  color: var(--color-text-2);
  background: var(--color-bg);
}
.tag-cloud-item small {
  background: var(--color-border);
  color: var(--color-text-3);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: .75rem;
}
.tag-cloud-item:hover,
.tag-cloud-item.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}
.tag-cloud-item.active small {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.tags-result-header {
  font-size: .9rem;
  color: var(--color-text-3);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* 文章列表（标签页） */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-item {
  display: flex;
  gap: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  padding-right: 20px;
}
.list-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.list-item-img {
  width: 140px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.list-item-body {
  padding: 18px 0;
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 8px 0 8px;
  line-height: 1.35;
}

.list-item-summary {
  font-size: .875rem;
  color: var(--color-text-2);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   关于页
======================================== */
.about-page {
  padding: 64px 0 80px;
}

.about-card {
  text-align: center;
  padding: 48px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.about-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 4px solid var(--color-accent-light);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, .1);
}

.about-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}

.about-tagline {
  color: var(--color-text-2);
  max-width: 500px;
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.about-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--color-text-2);
  transition: all .2s;
}
.social-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.about-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}

/* ========================================
   通用
======================================== */
.not-found {
  padding: 80px 0;
  text-align: center;
  color: var(--color-text-3);
  font-size: 1.1rem;
}

/* ========================================
   动画
======================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero,
.posts-section,
.post-detail,
.tags-page,
.about-page {
  animation: fadeIn .35s ease both;
}

/* ========================================
   响应式
======================================== */
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .post-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-card {
    flex: 1;
    min-width: 220px;
  }
  .post-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .header-search { display: none; }
  .mobile-search { display: flex; }
  .song-hero { flex-direction: column; align-items: center; text-align: center; }
  .song-hero-cover { width: 180px; height: 180px; }
  .song-detail-title { font-size: 1.4rem; }
  .song-roles ul { justify-content: center; }
  .lyric-box { max-height: 320px; }
  .film-hero { flex-direction: column; }
  .film-hero-img { width: 100%; height: 260px; }
  .search-item { flex-direction: column; }
  .search-thumb { width: 100%; height: 160px; }

  .featured-img { height: 340px; }
  .featured-title { font-size: 1.5rem; }
  .featured-info { padding: 24px; }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-hero { height: 300px; }
  .post-hero-content { height: 300px; }
  .post-title { font-size: 1.4rem; }

  .list-item-img { width: 100px; }

  .about-content {
    padding: 24px;
  }
  .about-card {
    padding: 32px 24px;
  }

  .tag-cloud {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .featured-img { height: 280px; }
  .featured-title { font-size: 1.3rem; }
  .featured-summary { display: none; }
  .post-sidebar { flex-direction: column; }
}

/* ========================================
   个人网站新模块（相册 / 歌曲 / MV）
======================================== */
.module-page { padding: 40px 0 60px; }
.module-page .page-header { margin-bottom: 28px; }
.module-page .page-title { font-size: 1.8rem; font-weight: 700; margin: 0 0 6px; }
.module-page .page-subtitle { color: #888; margin: 0; }
.loading-tip, .empty-tip, .error-tip { color: #999; padding: 30px 0; text-align: center; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.album-card { border-radius: 12px; overflow: hidden; background: var(--color-surface); box-shadow: 0 4px 16px rgba(0,0,0,.08); transition: transform .2s; }
.album-card:hover { transform: translateY(-4px); }
.album-img { height: 180px; background-size: cover; background-position: center; background-color: #eee; }
.album-body { padding: 14px 16px; }
.album-title { font-size: 1.05rem; margin: 0 0 6px; }
.album-desc { color: #777; font-size: .9rem; margin: 0; line-height: 1.5; }
.album-card { cursor: pointer; }
.album-count { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 12px; }
.album-img { position: relative; }

/* 相册详情 */
.gallery-detail .gallery-hero { display: flex; gap: 24px; align-items: center; margin: 16px 0 24px; }
.gallery-hero-img { width: 220px; height: 220px; border-radius: 14px; background-size: cover; background-position: center; background-color: #eee; flex-shrink: 0; }
.gallery-hero-info { min-width: 0; }
.gallery-detail-title { font-size: 1.8rem; margin: 0 0 10px; }
.gallery-desc { color: #555; line-height: 1.7; margin: 0 0 8px; }
.gallery-stat { color: #999; font-size: .9rem; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-photo { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; cursor: zoom-in; background: var(--color-surface-2); transition: transform .18s, box-shadow .18s; }
.gallery-photo:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; z-index: 9999; cursor: zoom-out; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

@media (max-width: 768px) {
  .gallery-detail .gallery-hero { flex-direction: column; align-items: center; text-align: center; }
  .gallery-hero-img { width: 180px; height: 180px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .gallery-photo { height: 130px; }
}

.song-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.song-card { display: flex; gap: 14px; padding: 14px; border-radius: 12px; background: var(--color-surface); box-shadow: 0 4px 16px rgba(0,0,0,.08); align-items: center; }
.song-cover { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--color-surface-2); flex-shrink: 0; }
.song-body { flex: 1; min-width: 0; }
.song-title { font-size: 1rem; margin: 0 0 4px; }
.song-artist { color: #888; font-size: .85rem; margin: 0 0 8px; }
.song-audio { width: 100%; height: 36px; }
.song-card { cursor: pointer; transition: transform .18s, box-shadow .18s; }
.song-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.song-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* 歌曲详情 */
.song-detail { padding: 24px 0 60px; }
.song-hero { display: flex; gap: 24px; align-items: flex-start; margin-top: 12px; }
.song-hero-cover { width: 220px; height: 220px; border-radius: 16px; background-size: cover; background-position: center; background-color: #eee; flex-shrink: 0; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.song-hero-info { flex: 1; min-width: 0; }
.song-detail-title { font-size: 1.8rem; margin: 0 0 6px; }
.song-detail-artist { color: #555; font-size: 1.05rem; margin: 0 0 6px; }
.song-detail-album { color: #888; font-size: .9rem; margin: 0 0 14px; }
.song-detail-album span { color: #222; }
.song-detail-audio { width: 100%; max-width: 520px; margin: 8px 0 16px; }
.song-roles { margin: 10px 0 14px; }
.song-roles h3 { font-size: 1rem; margin: 0 0 8px; }
.song-roles ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.song-roles li { display: flex; align-items: center; gap: 8px; background: var(--color-tag-bg); border-radius: 20px; padding: 4px 14px; }
.song-roles .role-name { font-weight: 600; color: #222; }
.song-roles .role-tag { font-size: .78rem; color: var(--color-tag-text); }
.song-desc { color: #555; line-height: 1.7; margin: 12px 0; }
.song-lyric-wrap { margin-top: 36px; }
.lyric-title { font-size: 1.1rem; margin: 0 0 12px; }
.lyric-box { max-height: 420px; overflow-y: auto; padding: 8px 4px; line-height: 2.2; scroll-behavior: smooth; }
.lyric-box.plain { max-height: none; }
.lyric-line { margin: 0; padding: 2px 10px; color: #aaa; font-size: .98rem; border-radius: 8px; transition: color .25s, font-size .25s, background .25s, transform .25s; }
.lyric-line.active { color: var(--color-accent); font-size: 1.12rem; font-weight: 700; background: rgba(22,101,52,.07); }
.lyric-empty { color: #999; }

.mv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.mv-card { border-radius: 12px; overflow: hidden; background: var(--color-surface); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.mv-video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.mv-body { padding: 12px 14px; }
.mv-title { font-size: 1rem; margin: 0 0 4px; }
.mv-artist { color: #888; font-size: .85rem; margin: 0; }

/* ===== 付费文章（授权码阅读） ===== */
.premium-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.premium-card { border-radius: 12px; overflow: hidden; background: var(--color-surface); box-shadow: 0 4px 16px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.premium-img { height: 160px; background-size: cover; background-position: center; background-color: #eee; }
.premium-body { padding: 16px 18px; flex: 1; }
.premium-title { font-size: 1.15rem; margin: 0 0 10px; }
.premium-excerpt { color: #777; font-size: .92rem; line-height: 1.6; margin: 0 0 16px; max-height: 4.8em; overflow: hidden; position: relative; }
.premium-excerpt::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.6em; background: linear-gradient(transparent, var(--color-surface)); }
.premium-unlocked-tag { display: inline-block; font-size: .78rem; color: #0f6e56; background: #e1f5ee; padding: 2px 10px; border-radius: 10px; margin-bottom: 10px; }
.premium-content { font-size: .95rem; line-height: 1.7; color: #333; }
.premium-content pre { background: #0d1117; color: #cdd6f4; padding: 14px; border-radius: 8px; overflow: auto; }
.premium-content code { font-family: ui-monospace, Menlo, monospace; font-size: .88rem; }
.premium-btn { display: inline-block; background: #185fa5; color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-size: .9rem; cursor: pointer; transition: background .2s; }
.premium-btn:hover { background: #0c447c; }

.premium-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.premium-modal { background: var(--color-surface); border-radius: 14px; padding: 24px; width: 100%; max-width: 420px; position: relative; box-shadow: 0 12px 40px rgba(0,0,0,.25); max-height: 90vh; overflow: auto; }
.premium-modal-close { position: absolute; top: 12px; right: 14px; border: none; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #999; }
.premium-modal-title { font-size: 1.2rem; margin: 0 0 14px; padding-right: 24px; }
.premium-qr { display: block; width: 180px; height: 180px; object-fit: contain; margin: 0 auto 14px; border: 1px solid #eee; border-radius: 8px; }
.premium-modal-tip { color: #777; font-size: .88rem; line-height: 1.6; text-align: center; margin: 0 0 16px; }
.premium-code-row { display: flex; gap: 10px; }
.premium-code-input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: .95rem; letter-spacing: 1px; outline: none; }
.premium-code-input:focus { border-color: #185fa5; }
.premium-msg { color: #d85a30; font-size: .85rem; margin: 10px 0 0; min-height: 1.2em; text-align: center; }

/* ========================================
   创作者模块（剧本 / 作品集 / 关于Tab）
======================================== */
.filter-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-select { padding: 8px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: .9rem; background: var(--color-surface); color: var(--color-text); }

/* 剧本库 */
.script-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.script-card { border-radius: 12px; overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.script-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.script-img { height: 170px; background-size: cover; background-position: center; background-color: #eee; }
.script-body { padding: 14px 16px; }
.script-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.script-genre { font-size: .78rem; color: var(--color-tag-text); background: var(--color-tag-bg); padding: 2px 10px; border-radius: 20px; }
.script-lock { font-size: .78rem; color: #993556; background: #fbeaf0; padding: 2px 10px; border-radius: 20px; }
.script-title { font-size: 1.1rem; margin: 0 0 6px; }
.script-logline { color: #777; font-size: .88rem; line-height: 1.5; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.script-status { font-size: .75rem; padding: 2px 10px; border-radius: 10px; }
.script-draft { color: #5b6b61; background: #eef3ef; }
.script-completed { color: #854f0b; background: #faeeda; }
.script-produced { color: #0f6e56; background: #e1f5ee; }

/* 剧本详情 */
.script-detail { padding: 24px 0 60px; }
.script-hero { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; }
.script-hero-img { width: 180px; height: 180px; border-radius: 14px; background-size: cover; background-position: center; background-color: #eee; flex-shrink: 0; }
.script-hero-info { flex: 1; }
.script-detail-title { font-size: 1.8rem; margin: 10px 0 8px; }
.script-detail-logline { color: #555; font-size: 1rem; line-height: 1.6; margin: 0; }
.script-characters { margin-bottom: 28px; }
.script-characters h3 { font-size: 1.1rem; margin-bottom: 14px; }
.char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.char-card { border: 1px solid var(--color-border); border-radius: 10px; padding: 12px 14px; background: var(--color-surface); }
.char-name { font-weight: 700; font-size: .95rem; }
.char-age { color: var(--color-text-3); font-size: .8rem; margin: 2px 0 6px; }
.char-desc { color: #666; font-size: .85rem; line-height: 1.5; }
.script-content { max-width: 720px; font-size: 1rem; line-height: 1.9; color: var(--color-text); margin: 0 auto; }
.script-content p { margin: 0; }
.script-blank { height: .9em; }
.script-scene { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--color-border); padding-bottom: 4px; margin-top: 1.4em !important; }
.script-char { text-align: center; font-weight: 600; margin-top: .8em !important; text-transform: uppercase; }
.script-dialog { padding-left: 2.2em; }
.script-trans { text-align: right; color: var(--color-text-3); font-style: italic; }
.script-pdf { margin-top: 24px; }

/* 作品集 */
.creation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.creation-card { border-radius: 12px; overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.creation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.creation-img { height: 180px; background-size: cover; background-position: center; background-color: #eee; }
.creation-body { padding: 14px 16px; }
.creation-meta { display: flex; gap: 8px; margin-bottom: 8px; }
.creation-cat { font-size: .78rem; color: var(--color-tag-text); background: var(--color-tag-bg); padding: 2px 10px; border-radius: 20px; }
.creation-year { font-size: .78rem; color: var(--color-text-3); }
.creation-title { font-size: 1.1rem; margin: 0 0 6px; }
.creation-tagline { color: #777; font-size: .88rem; line-height: 1.5; margin: 0; }
.creation-detail { padding: 24px 0 60px; }
.creation-hero { display: flex; gap: 24px; align-items: center; margin-bottom: 28px; }
.creation-hero-img { width: 200px; height: 200px; border-radius: 14px; background-size: cover; background-position: center; background-color: #eee; flex-shrink: 0; }
.creation-hero-info { flex: 1; }
.creation-detail-title { font-size: 1.8rem; margin: 10px 0 8px; }
.creation-detail-tagline { color: #555; font-size: 1rem; line-height: 1.6; margin: 0 0 16px; }
.creation-buy { display: inline-block; background: var(--color-accent); color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-size: .92rem; cursor: pointer; }
.creation-buy:hover { background: var(--color-accent-hover); }
.creation-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 28px; }
.creation-gallery-img { width: 100%; border-radius: 10px; background: var(--color-surface-2); }
.creation-story { max-width: 760px; margin-bottom: 24px; }
.creation-specs { max-width: 760px; }
.creation-specs h3 { font-size: 1.1rem; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border: 1px solid var(--color-border); padding: 10px 14px; text-align: left; font-size: .9rem; }
.spec-table th { background: var(--color-accent-light); color: var(--color-accent-hover); font-weight: 600; width: 30%; }

/* 关于我（多身份 Tab） */
.about-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.about-tab { padding: 8px 18px; border: 1.5px solid var(--color-border); border-radius: 20px; font-size: .9rem; cursor: pointer; transition: all .2s; color: var(--color-text-2); background: var(--color-bg); }
.about-tab:hover, .about-tab.active { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-accent-light); }
.about-identity { text-align: center; }
.about-role-tag { display: inline-block; font-size: .85rem; color: var(--color-accent); background: var(--color-accent-light); padding: 3px 14px; border-radius: 20px; margin-bottom: 16px; }
.about-highlights { margin-top: 24px; text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
.about-highlights h4 { font-size: .95rem; color: var(--color-text-3); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.highlight-link { display: block; padding: 8px 0; color: var(--color-accent); text-decoration: none; border-bottom: 1px solid var(--color-border); }
.highlight-link:hover { color: var(--color-accent-hover); }

/* 头部搜索框 */
.header-search { display: flex; align-items: center; gap: 6px; }
.search-input { width: 200px; padding: 7px 12px; border: 1px solid var(--color-border); border-radius: 20px; font-size: .88rem; background: var(--color-surface); color: var(--color-text); outline: none; transition: width .2s, border-color .2s; }
.search-input:focus { width: 260px; border-color: var(--color-accent); }
.search-btn { border: none; background: transparent; cursor: pointer; font-size: 1rem; padding: 4px 6px; border-radius: 50%; color: var(--color-text-2); }
.search-btn:hover { background: var(--color-accent-light); color: var(--color-accent); }
.mobile-search { display: none; padding: 10px 20px; border-top: 1px solid var(--color-border); gap: 6px; }
.mobile-search .search-input { flex: 1; width: auto; }
.mobile-search .search-input:focus { width: auto; }

/* 影视作品集 */
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.film-card { border-radius: 12px; overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.film-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.film-img { position: relative; height: 320px; background-size: cover; background-position: center top; background-color: #eee; }
.film-role { position: absolute; left: 10px; bottom: 10px; font-size: .74rem; color: #fff; background: rgba(37,99,235,.92); padding: 3px 10px; border-radius: 20px; }
.film-body { padding: 14px 16px; }
.film-meta { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.film-cat { font-size: .78rem; color: var(--color-tag-text); background: var(--color-tag-bg); padding: 2px 10px; border-radius: 20px; }
.film-year { font-size: .78rem; color: var(--color-text-3); }
.film-title { font-size: 1.1rem; margin: 0 0 6px; }
.film-summary { color: #777; font-size: .86rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.film-detail { padding: 24px 0 60px; }
.film-hero { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.film-hero-img { width: 220px; height: 320px; border-radius: 14px; background-size: cover; background-position: center top; background-color: #eee; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.film-hero-info { flex: 1; }
.film-detail-title { font-size: 1.8rem; margin: 8px 0 6px; }
.film-platforms { color: #555; font-size: .95rem; margin: 0 0 12px; }
.film-summary-block { max-width: 800px; margin-bottom: 28px; line-height: 1.8; }
.film-videos { margin-bottom: 24px; }
.film-videos h3, .film-credits h3, .film-gallery-title { font-size: 1.1rem; margin-bottom: 12px; }
.film-video-link { display: inline-block; margin: 0 12px 10px 0; background: var(--color-accent); color: #fff; border-radius: 8px; padding: 8px 16px; text-decoration: none; font-size: .9rem; }
.film-video-link:hover { background: var(--color-accent-hover); }
.film-credits { margin-bottom: 28px; }
.film-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 28px; }
.film-gallery-img { width: 100%; border-radius: 10px; background: var(--color-surface-2); }
.film-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.film-tag { font-size: .8rem; color: var(--color-tag-text); background: var(--color-tag-bg); padding: 3px 12px; border-radius: 20px; }

/* 标签筛选 chips（列表页） */
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.tag-chip { font-size: .82rem; color: var(--color-text-3); background: var(--color-tag-bg); border: 1px solid transparent; padding: 5px 14px; border-radius: 20px; cursor: pointer; transition: all .18s; user-select: none; }
.tag-chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.tag-chip.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* 详情页可点击标签 */
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.detail-tag { font-size: .82rem; color: var(--color-accent); background: var(--color-tag-bg); border: 1px solid var(--color-border); padding: 4px 14px; border-radius: 20px; cursor: pointer; transition: all .18s; }
.detail-tag:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* 歌曲卡片标签 */
.song-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* 搜索结果页 */
.search-bar { display: flex; gap: 10px; margin: 8px 0 24px; max-width: 560px; }
.search-bar .search-input { flex: 1; width: auto; border-radius: 8px; padding: 10px 14px; }
.search-bar .search-input:focus { width: auto; }
.search-bar .search-btn { border: none; background: var(--color-accent); color: #fff; border-radius: 8px; padding: 0 20px; cursor: pointer; font-size: .92rem; }
.search-bar .search-btn:hover { background: var(--color-accent-hover); }
.search-count { color: var(--color-text-3); font-size: .9rem; margin-bottom: 16px; }
.search-group { margin-bottom: 30px; }
.search-group-title { font-size: 1.05rem; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--color-accent); }
.search-list { display: flex; flex-direction: column; gap: 12px; }
.search-item { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.search-item:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.search-thumb { width: 88px; height: 88px; border-radius: 10px; background-size: cover; background-position: center; background-color: #eee; flex-shrink: 0; }
.search-item-body { flex: 1; min-width: 0; }
.search-item-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 4px; color: var(--color-text); }
.search-item-sub { font-size: .82rem; color: var(--color-text-3); margin-bottom: 6px; }
.search-item-desc { color: #777; font-size: .86rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 打印（导出剧本 PDF） */
@media print {
  .site-header, .mobile-nav, .footer, .back-link, .script-pdf, .about-tabs { display: none !important; }
  .script-content { max-width: 100%; }
  body { background: #fff !important; color: #000 !important; }
  body::before, body::after, #cursor-glow { display: none !important; }
  .markdown-body, .script-content, .as-analysis { color: #000 !important; }
}

/* ===== 建站服务：导航高亮 ===== */
.nav-services { color: var(--color-accent) !important; font-weight: 600; }

/* ===== 首页：新门户样式（设计感升级） ===== */
.home-loading { display: flex; justify-content: center; align-items: center; min-height: 60vh; }
.spinner { width: 38px; height: 38px; border: 3px solid var(--color-border); border-top-color: var(--color-accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero-new { position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(120% 120% at 50% -10%, #0d1330 0%, #080b18 55%, #060812 100%); }
/* 流动极光光束 */
.hero-bg { position: absolute; inset: -20%; z-index: 0; opacity: .9; background:
    radial-gradient(38% 44% at 22% 26%, rgba(46,230,168,.30), transparent 60%),
    radial-gradient(40% 46% at 82% 22%, rgba(79,124,255,.30), transparent 62%),
    radial-gradient(46% 52% at 68% 92%, rgba(168,85,247,.26), transparent 64%),
    radial-gradient(36% 40% at 8% 88%, rgba(34,211,238,.24), transparent 60%);
  filter: blur(14px);
  animation: heroFlow 16s ease-in-out infinite alternate; }
/* 科技网格 + 顶部光束 */
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image:
    linear-gradient(rgba(130,150,210,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,150,210,.07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%); }
@keyframes heroFlow {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.03); }
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 80px 0 88px; }
.hero-kicker { display: inline-block; font-size: .82rem; letter-spacing: 1.5px; color: var(--neon-green); background: rgba(46,230,168,.08); border: 1px solid rgba(46,230,168,.30); padding: 6px 16px; border-radius: 999px; margin-bottom: 22px; box-shadow: 0 0 18px rgba(46,230,168,.18) inset; animation: rise .6s ease both; }
.hero-title { font-size: 3.1rem; line-height: 1.14; font-weight: 800; letter-spacing: -1px; margin: 0 0 18px; text-shadow: 0 2px 30px rgba(0,0,0,.5); animation: rise .6s .06s ease both; }
.hero-hl { background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan) 45%, var(--neon-blue) 75%, var(--neon-purple)); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(46,230,168,.45)); animation: neonPan 6s linear infinite; }
@keyframes neonPan { to { background-position: 220% center; } }
.hero-desc { font-size: 1.06rem; line-height: 1.8; color: rgba(226,232,246,.80); max-width: 480px; margin: 0 0 26px; animation: rise .6s .12s ease both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: rise .6s .18s ease both; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; animation: rise .6s .24s ease both; }
.hstat { display: flex; flex-direction: column; }
.hstat b { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1.1; text-shadow: var(--glow-accent); }
.hstat span { font-size: .82rem; color: rgba(226,232,246,.6); margin-top: 4px; }
.hero-visual { position: relative; height: 320px; animation: rise .6s .2s ease both; }
.hero-avatar { position: absolute; inset: 24px; border-radius: 28px; background-size: cover; background-position: center; border: 1px solid rgba(46,230,168,.4); box-shadow: 0 0 0 1px rgba(79,124,255,.25), 0 20px 60px rgba(0,0,0,.6), 0 0 60px rgba(46,230,168,.18); }
.hero-avatar::after { content: ''; position: absolute; inset: -1px; border-radius: 28px; padding: 1px; background: linear-gradient(135deg, var(--neon-green), transparent 40%, var(--neon-purple)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
.hero-chip { position: absolute; background: rgba(14,20,38,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #eaf1ff; font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(46,230,168,.28); box-shadow: 0 6px 24px rgba(0,0,0,.4), 0 0 16px rgba(46,230,168,.15); animation: floaty 4s ease-in-out infinite; }
.chip-1 { top: 6px; left: -6px; }
.chip-2 { top: 36%; right: -14px; animation-delay: .6s; border-color: rgba(79,124,255,.35); }
.chip-3 { bottom: 12%; left: -10px; animation-delay: 1.2s; border-color: rgba(168,85,247,.35); }
.chip-4 { bottom: 0; right: 6px; animation-delay: 1.8s; border-color: rgba(34,211,238,.35); }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(226,232,246,.7); font-size: .82rem; text-decoration: none; z-index: 2; animation: floaty 2s ease-in-out infinite; }
.hero-scroll:hover { color: var(--neon-green); }

/* 通用区块头 */
.section-head { text-align: center; margin-bottom: 30px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; margin-bottom: 24px; }
.section-title { font-size: 1.7rem; font-weight: 800; letter-spacing: -.4px; color: var(--color-text); margin: 0; }
.section-sub { color: var(--color-text-3); font-size: .96rem; margin: 8px 0 0; }
.btn-text { background: none; border: none; color: var(--color-accent); font-size: .92rem; font-weight: 600; cursor: pointer; padding: 4px 0; }
.btn-text:hover { text-decoration: underline; }

/* 探索模块导航 */
.explore-section { padding: 64px 0 20px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.explore-card { display: flex; flex-direction: column; gap: 6px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px 18px; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.explore-card:hover { transform: translateY(-5px); border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.explore-icon { font-size: 1.7rem; }
.explore-label { font-size: 1.08rem; font-weight: 700; color: var(--color-text); }
.explore-sub { font-size: .82rem; color: var(--color-text-3); }

/* 精选案例 */
.module-showcase { padding: 48px 0; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.showcase-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.showcase-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.showcase-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.showcase-year { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .76rem; padding: 3px 10px; border-radius: 999px; }
.showcase-body { padding: 16px 18px 20px; }
.showcase-cat { font-size: .78rem; color: var(--color-accent); font-weight: 600; }
.showcase-title { font-size: 1.12rem; margin: 6px 0 6px; color: var(--color-text); }
.showcase-tagline { font-size: .88rem; color: var(--color-text-3); line-height: 1.6; margin: 0; }

/* 占位（空库优雅降级） */
.placeholder-card { text-align: center; padding: 40px 20px; background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: var(--radius-lg); color: var(--color-text-3); }
.placeholder-card p { margin: 0 0 10px; }

/* 最近文章 */
.posts-section { padding: 48px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* 创作日常 */
.daily-section { padding: 48px 0; background: linear-gradient(180deg, rgba(15,21,38,0) 0%, rgba(15,21,38,.55) 100%); }
.daily-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.daily-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.daily-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.daily-img { height: 130px; background-size: cover; background-position: center; }
.daily-body { padding: 12px 14px 16px; }
.daily-kind { font-size: .76rem; color: var(--color-accent); font-weight: 600; }
.daily-title { font-size: .98rem; margin: 4px 0 4px; color: var(--color-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-sub { font-size: .8rem; color: var(--color-text-3); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 建站服务 CTA */
.services-cta { padding: 60px 0; }
.services-cta-inner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: linear-gradient(120deg, #0c1330, #10203a 55%, #1a1436); border: 1px solid rgba(46,230,168,.22); color: #fff; border-radius: var(--radius-lg); padding: 40px 44px; box-shadow: var(--shadow-lg), 0 0 60px rgba(46,230,168,.12) inset; }
.services-cta-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(79,124,255,.28), transparent 55%), radial-gradient(60% 120% at 0% 100%, rgba(46,230,168,.22), transparent 55%); pointer-events: none; }
.services-cta-inner > * { position: relative; z-index: 1; }
.scta-title { font-size: 1.7rem; margin: 0 0 10px; }
.scta-desc { font-size: .98rem; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0; max-width: 560px; }
.scta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost.light:hover { background: rgba(255,255,255,.14); }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 240px; max-width: 360px; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .daily-grid { grid-template-columns: repeat(3, 1fr); }
  .services-cta-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2.1rem; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .explore-grid, .showcase-grid, .post-grid, .daily-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ===== 通用按钮 ===== */
.btn-primary, .btn-ghost { position: relative; font-size: .95rem; padding: 11px 24px; border-radius: 10px; cursor: pointer; border: 1.5px solid transparent; transition: all .2s; font-family: inherit; font-weight: 600; overflow: hidden; }
.btn-primary { background: linear-gradient(120deg, var(--neon-green), var(--neon-cyan)); color: #04120c; border-color: transparent; box-shadow: 0 6px 22px rgba(46,230,168,.28), var(--glow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(46,230,168,.42), 0 0 26px rgba(34,211,238,.4); }
/* 掠光扫过 */
.btn-primary::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: rgba(46,230,168,.04); color: var(--color-accent); border-color: rgba(46,230,168,.45); }
.btn-ghost:hover { background: rgba(46,230,168,.12); border-color: var(--color-accent); box-shadow: var(--glow-accent); transform: translateY(-2px); }
.home-services .btn-primary { background: var(--color-surface); color: var(--color-accent); border-color: #fff; }
.home-services .btn-primary:hover { background: #f0f0f0; }
.home-services .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.home-services .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== 建站服务落地页 ===== */
.services-page { padding-bottom: 40px; }
.services-hero { text-align: center; padding: 40px 0 30px; }
.services-title { font-size: 2rem; margin: 0 0 14px; color: var(--color-text); }
.services-lead { font-size: 1.02rem; line-height: 1.8; color: var(--color-text-3); max-width: 720px; margin: 0 auto 24px; }
.services-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.services-block { margin: 38px 0; }
.services-h2 { font-size: 1.35rem; margin: 0 0 18px; padding-left: 12px; border-left: 4px solid var(--color-accent); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 20px; transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.service-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--color-text); }
.service-card p { margin: 0; color: var(--color-text-3); font-size: .92rem; line-height: 1.6; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 18px 14px; text-align: center; }
.process-step { font-weight: 600; color: var(--color-accent); margin-bottom: 8px; font-size: 1rem; }
.process-card p { margin: 0; color: var(--color-text-3); font-size: .86rem; line-height: 1.5; }
.why-list { margin: 0; padding-left: 20px; color: var(--color-text-3); line-height: 2; }
.why-list li { margin-bottom: 4px; }
.services-contact { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 28px; text-align: center; }
.services-contact p { color: var(--color-text-3); line-height: 1.7; margin: 6px 0; }
.services-contact a { color: var(--color-accent); }
.contact-lines { display: inline-flex; gap: 28px; margin: 14px 0; flex-wrap: wrap; justify-content: center; }
.contact-line { display: flex; flex-direction: column; gap: 4px; }
.contact-k { font-size: .8rem; color: var(--color-text-3); }
.contact-v { font-size: 1.1rem; font-weight: 600; color: var(--color-text); }
.contact-note { font-size: .8rem; color: #aaa; }

/* ===== 案例详情：成果指标 + 客户评价 ===== */
.creation-metrics { margin: 26px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.stat-cell { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 18px; text-align: center; }
.stat-v { font-size: 1.5rem; font-weight: 700; color: var(--color-accent); line-height: 1.2; }
.stat-k { font-size: .85rem; color: var(--color-text-3); margin-top: 6px; }
.creation-review { margin: 26px 0; background: var(--color-surface-2); border-left: 4px solid var(--color-accent); border-radius: 0 12px 12px 0; padding: 20px 24px; }
.review-quote { margin: 0; font-size: 1.05rem; line-height: 1.8; color: var(--color-text); font-style: italic; }
.review-by { margin-top: 10px; font-size: .9rem; color: var(--color-text-3); }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .home-services-title { font-size: 1.5rem; }
}

/* ===== 咨询表单（建站服务落地页）===== */
.consult-form { max-width: 560px; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; }
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color .2s;
  font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--color-accent); }
textarea.form-input { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consult-result { min-height: 20px; font-size: .92rem; }
.consult-result.ok { color: #2e9e5b; }
.consult-result.err { color: #d9534f; }

/* ===== 联系方式展示 ===== */
.contact-lines { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.contact-line { display: flex; gap: 14px; align-items: center; }
.contact-k { display: inline-block; min-width: 48px; color: var(--color-text-3); font-size: .9rem; }
.contact-v { font-weight: 600; color: var(--color-text); }
.contact-note { font-size: .85rem; color: var(--color-text-3); margin: 6px 0; }

/* ===== 关于我 - 建站服务商身份 ===== */
.about-service .svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 22px 0; }
.svc-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 16px 18px; text-align: left; }
.svc-card h4 { margin: 0 0 6px; font-size: 1.02rem; color: var(--color-accent); }
.svc-card p { margin: 0; font-size: .9rem; color: var(--color-text-3); line-height: 1.6; }
.svc-stack { font-size: .95rem; color: var(--color-text); margin: 12px 0; line-height: 1.7; }
.svc-cta { margin-top: 18px; }

@media (max-width: 768px) {
  .about-service .svc-grid { grid-template-columns: 1fr; }
}

/* ===== 歌曲风格提示词库 ===== */
.as-toolbar { margin: 8px 0 26px; display: flex; flex-direction: column; gap: 14px; }
.as-search { display: flex; gap: 10px; max-width: 520px; }
.as-search .search-input { flex: 1; }
.as-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.as-filter-label { font-size: .82rem; color: var(--color-text-3); margin-right: 4px; }
.chip {
  font-size: .82rem; color: var(--color-text-3);
  background: var(--color-tag-bg, #f3f6f2);
  border: 1px solid transparent; padding: 5px 14px; border-radius: 20px;
  cursor: pointer; transition: all .18s; user-select: none;
}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.chip.active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.chip.clear { background: transparent; border: 1px solid var(--color-border); color: #d9534f; }

.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.as-card {
  background: var(--color-surface, #fff); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 14px); padding: 18px 20px; cursor: pointer;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.as-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.08); border-color: var(--color-accent); }
.as-card-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.as-name { margin: 0; font-size: 1.18rem; font-weight: 700; color: var(--color-text); }
.as-type {
  font-size: .72rem; color: var(--color-accent); background: var(--color-tag-bg, #f3f6f2);
  border-radius: 20px; padding: 2px 10px; white-space: nowrap;
}
.as-type.big { font-size: .85rem; padding: 4px 14px; }
.as-meta { font-size: .85rem; color: var(--color-text-3); margin-top: 6px; }
.as-works { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.as-work {
  font-size: .8rem; color: var(--color-text); background: var(--color-tag-bg, #f3f6f2);
  border-radius: 8px; padding: 3px 10px;
}
.as-more { font-size: .8rem; color: var(--color-text-3); align-self: center; }

/* 详情页 */
.as-detail-page .back-link { margin-bottom: 18px; }
.as-detail-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.as-detail-name { margin: 0; font-size: 2rem; font-weight: 800; color: var(--color-text); }
.as-block { margin-top: 30px; }
.as-block-title { font-size: 1.15rem; font-weight: 700; color: var(--color-text); margin: 0 0 12px; }
.as-hint { font-size: .8rem; font-weight: 400; color: var(--color-text-3); }
.as-songlist { margin: 0; padding-left: 22px; columns: 2; column-gap: 30px; }
.as-songlist li { line-height: 1.9; color: var(--color-text); }
.as-analysis { line-height: 1.9; color: var(--color-text); white-space: pre-wrap; font-size: 1rem; }
.prompt-box {
  position: relative; background: #0f1c17; border: 1px solid #1f3329; border-radius: 14px;
  padding: 20px 22px 60px;
}
.prompt-text {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: .95rem; line-height: 1.75; color: #d6f5e3;
}
.copy-btn {
  position: absolute; right: 16px; bottom: 14px;
  background: var(--color-accent); color: #fff; border: none; border-radius: 8px;
  padding: 8px 18px; font-size: .9rem; cursor: pointer; transition: opacity .18s;
}
.copy-btn:hover { opacity: .88; }
.as-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* 可点击的代表作列表（点击 → 单曲风格分析页） */
.as-songlist-link {
  list-style: none; padding-left: 0; columns: 2; column-gap: 16px;
}
.as-song-item {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 10px; padding: 12px 16px;
  background: #0f1c17; border: 1px solid #1f3329; border-radius: 12px;
  cursor: pointer; transition: border-color .18s, transform .18s, background .18s;
}
.as-song-item:hover {
  border-color: var(--color-accent); background: #12241c; transform: translateX(2px);
}
.as-song-name { color: var(--color-text); font-weight: 600; }
.as-song-go { color: var(--color-accent); font-size: .82rem; white-space: nowrap; opacity: .85; }

/* 单曲页 AI 生成 loading */
.song-loading { text-align: center; padding: 60px 20px; }
.song-loading .loading-tip { margin: 18px 0 6px; color: var(--color-text); font-size: 1.05rem; }
.loading-spinner {
  width: 42px; height: 42px; margin: 0 auto; border-radius: 50%;
  border: 3px solid #1f3329; border-top-color: var(--color-accent);
  animation: songspin .8s linear infinite;
}
@keyframes songspin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .as-songlist { columns: 1; }
  .as-songlist-link { columns: 1; }
  .as-detail-name { font-size: 1.6rem; }
}

/* ============================================================
   暗色科技 · 流光霓虹 —— 全局动效与霓虹修饰
   ============================================================ */

/* 区块标题：霓虹装饰竖条 + 微光 */
.section-title { position: relative; }
.section-head:not(.row) .section-title { display: inline-block; }
.section-head.row .section-title { padding-left: 14px; }
.section-head.row .section-title::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 4px;
  border-radius: 4px; background: linear-gradient(var(--neon-green), var(--neon-blue));
  box-shadow: var(--glow-accent);
}

/* 滚动入场 —— IntersectionObserver 加 .in class 触发 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

/* 3D 倾斜容器（JS 写入 --rx/--ry/--tz） */
.tilt { transform-style: preserve-3d; transition: transform .18s ease; }
.tilt.tilting { transition: transform .05s linear; }

/* 磁吸按钮：位移由 JS 控制，这里只给平滑回弹 */
.btn-primary, .btn-ghost, .explore-card { will-change: transform; }

/* 卡片通用霓虹 hover 辉光（覆盖各模块卡片 hover 阴影，统一质感） */
.explore-card, .showcase-card, .daily-card, .post-card,
.album-card, .song-card, .mv-card, .script-card, .creation-card,
.film-card, .premium-card, .as-card, .service-card, .search-item {
  position: relative;
}
.explore-card:hover, .showcase-card:hover, .daily-card:hover, .post-card:hover,
.album-card:hover, .song-card:hover, .mv-card:hover, .script-card:hover,
.creation-card:hover, .film-card:hover, .premium-card:hover, .as-card:hover,
.service-card:hover, .search-item:hover {
  border-color: rgba(46,230,168,.5) !important;
  box-shadow: 0 16px 44px rgba(0,0,0,.5), 0 0 26px rgba(46,230,168,.16) !important;
}

/* 探索卡：顶部霓虹描边光条渐显 */
.explore-card { overflow: hidden; }
.explore-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan), var(--neon-purple));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.explore-card:hover::before { transform: scaleX(1); }
.explore-card:hover .explore-icon { filter: drop-shadow(0 0 10px rgba(46,230,168,.6)); transition: filter .25s; }

/* showcase 图片微缩放 */
.showcase-card .showcase-img, .daily-card .daily-img { transition: transform .4s ease; }
.showcase-card:hover .showcase-img, .daily-card:hover .daily-img { transform: scale(1.06); }

/* 标签 / chip 霓虹化 */
.tag, .tag-sm { background: var(--color-tag-bg); color: var(--color-tag-text); border: 1px solid rgba(46,230,168,.22); }
.chip.active { color: #04120c !important; box-shadow: var(--glow-accent); }
.tag-chip.active { color: #04120c !important; }

/* 输入框暗色 */
.search-input, input[type="search"], input[type="text"], textarea {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.search-input::placeholder, input::placeholder { color: var(--color-text-3); }
.search-input:focus, input:focus, textarea:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(46,230,168,.14); outline: none; }

/* nav active 霓虹 */
.main-nav a:hover, .main-nav a.active { color: var(--color-accent); background: rgba(46,230,168,.10); box-shadow: 0 0 14px rgba(46,230,168,.12) inset; }

/* 减弱动效（无障碍 / 省电） */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .hero-bg, .hero-hl, .btn-primary::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt { transform: none !important; }
  #cursor-glow { display: none; }
  * { scroll-behavior: auto; }
}

/* 触摸设备：关闭鼠标光晕与倾斜（避免误触抖动） */
@media (hover: none) {
  #cursor-glow { display: none; }
}

/* ============ 风格词库详情页 · 创意改版 ============ */
.as-hero {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(120deg, rgba(34,197,94,.10), rgba(34,211,238,.08) 60%, transparent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 14px);
  padding: 26px 28px; margin-top: 6px;
}
.as-hero-avatar {
  flex: 0 0 auto; width: 76px; height: 76px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--color-accent, #18a058), #22d3ee);
  box-shadow: 0 8px 22px rgba(24,160,88,.25);
}
.as-hero-info { min-width: 0; }
.as-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.as-cat-badge {
  font-size: .82rem; color: #b06bff; background: rgba(168,85,247,.12);
  border-radius: 20px; padding: 4px 14px; white-space: nowrap;
}
.as-meta-inline { font-size: .85rem; color: var(--color-text-3); }

.as-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.as-stat {
  background: var(--color-surface, #fff); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 14px); padding: 16px 14px; text-align: center;
}
.as-stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--color-text); }
.as-stat span { font-size: .8rem; color: var(--color-text-3); }

.as-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.as-song-card {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #0f1c17; border: 1px solid #1f3329; border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .18s, transform .18s, background .18s;
}
.as-song-card.link { cursor: pointer; }
.as-song-card.link:hover { border-color: var(--color-accent); background: #12241c; transform: translateY(-2px); }
.as-song-idx { font-size: .8rem; color: #5f8f74; font-variant-numeric: tabular-nums; }
.as-song-name { color: var(--color-text, #e8f5ee); font-weight: 600; flex: 1 1 auto; min-width: 0; }
.as-song-go { color: var(--color-accent); font-size: .82rem; white-space: nowrap; opacity: .85; }
.as-works-tip { margin: 14px 0 0; font-size: .82rem; color: var(--color-text-3); }

.as-prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.as-prompt-card { display: flex; flex-direction: column; }
.as-prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.as-prompt-tool { font-size: .95rem; font-weight: 700; color: var(--color-text); }
.as-prompt-tools { font-size: .76rem; color: var(--color-text-3); }
.as-cta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;
  margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: linear-gradient(120deg, rgba(34,197,94,.10), rgba(34,211,238,.08));
  border: 1px dashed var(--color-border);
}
.as-cta-title { font-weight: 700; color: var(--color-text); }
.as-cta-steps { font-size: .85rem; color: var(--color-text-3); }

@media (max-width: 768px) {
  .as-hero { flex-direction: column; text-align: center; }
  .as-hero-meta { justify-content: center; }
  .as-stats { grid-template-columns: repeat(2, 1fr); }
  .as-prompt-grid { grid-template-columns: 1fr; }
}

/* 创作故事 / 完整歌词 */
.as-story {
  font-size: .96rem; line-height: 1.85; color: var(--color-text-2);
  background: var(--color-bg-soft, rgba(127,127,127,.04));
  border: 1px solid var(--color-border);
  border-radius: 12px; padding: 16px 20px;
}
.lyrics-lrc {
  background: var(--color-bg-soft, rgba(127,127,127,.04));
  border: 1px solid var(--color-border);
  border-radius: 12px; padding: 18px 22px;
  line-height: 1.9; color: var(--color-text);
  max-height: 60vh; overflow: auto;
}
.lyrics-lrc .lrc-sec {
  display: inline-block; margin: 14px 0 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary, #646cff);
  background: rgba(100,108,255,.10);
  padding: 2px 10px; border-radius: 999px;
}
.lyrics-lrc .lrc-line { margin: 2px 0; }
.lyrics-lrc .lrc-gap { height: 6px; }
