/* ============================================================
   念比安 AI 音乐工作室 · 深色星空主题
   ============================================================ */

:root {
  /* 背景 */
  --bg-deep: #0A0B1A;
  --bg-mid: #11132a;
  --bg-card: #1a1d2e;
  --bg-card-2: #252640;
  --bg-soft: #1e2138;
  --bg-elev: #20243d;

  /* 强调色 */
  --primary: #E91E63;       /* 粉 */
  --primary-hover: #ff4081;
  --secondary: #4a9eff;     /* 蓝 */
  --secondary-2: #2196F3;
  --accent: #B833FF;        /* 紫 */
  --accent-2: #8E24AA;
  --cyan: #00BCD4;
  --gold: #ffd700;

  /* 文本 */
  --text-1: #ffffff;
  --text-2: #c7c9d9;
  --text-3: #8b8fa3;
  --text-4: #5a5e75;

  /* 边框 */
  --border: #2a2d3e;
  --border-soft: #222540;
  --border-strong: #3a3d52;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow-pink: 0 0 32px rgba(233, 30, 99, 0.35);
  --shadow-glow-blue: 0 0 32px rgba(74, 158, 255, 0.35);
  --shadow-glow-purple: 0 0 32px rgba(184, 51, 255, 0.35);

  /* 圆角 */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* 过渡 */
  --transition-fast: all 0.18s ease-out;
  --transition-normal: all 0.28s ease-out;
  --transition-slow: all 0.45s ease-out;

  /* 状态色 */
  --danger: #f53f3f;
  --success: #00b42a;
  --warning: #ff7d00;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-deep);
  color: var(--text-1);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 80px; /* 为底部播放器留空间 */
}

/* ============================================================
   星空背景层
   ============================================================ */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top, rgba(184, 51, 255, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(74, 158, 255, 0.08), transparent 60%),
    var(--bg-deep);
}
.stars-layer {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #ffffff55, transparent),
    radial-gradient(1px 1px at 40px 70px, #00BCD499, transparent),
    radial-gradient(1px 1px at 90px 40px, #ffffff88, transparent),
    radial-gradient(1px 1px at 130px 80px, #B833FF88, transparent),
    radial-gradient(2px 2px at 160px 120px, #ffffff66, transparent),
    radial-gradient(1px 1px at 200px 50px, #4a9effaa, transparent),
    radial-gradient(1px 1px at 230px 100px, #ffffff77, transparent);
  background-repeat: repeat;
  background-size: 250px 150px;
  animation: starsDrift 120s linear infinite;
  opacity: 0.8;
}
.stars-layer.layer-2 {
  background-size: 350px 200px;
  animation-duration: 180s;
  animation-direction: reverse;
  opacity: 0.5;
}
.stars-layer.layer-3 {
  background-size: 500px 300px;
  animation-duration: 260s;
  opacity: 0.3;
}
@keyframes starsDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-250px, -150px, 0); }
}

/* ============================================================
   全局动画
   ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 24px rgba(233, 30, 99, 0.35); }
  50% { box-shadow: 0 0 48px rgba(233, 30, 99, 0.6); }
}

@keyframes trackIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ============================================================
   加载遮罩
   ============================================================ */
.load-mask {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease-out;
}
.load-mask.hide {
  opacity: 0;
  pointer-events: none;
}
.load-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(233, 30, 99, 0.18);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 32px rgba(233, 30, 99, 0.45);
}

/* ============================================================
   通用按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn.big { padding: 12px 28px; font-size: 15px; }
.btn.small { padding: 6px 12px; font-size: 12px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 30, 99, 0.4);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 24px rgba(233, 30, 99, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(74, 158, 255, 0.08);
  border: 1px solid rgba(74, 158, 255, 0.45);
  color: var(--secondary);
}
.btn-outline:hover {
  background: rgba(74, 158, 255, 0.15);
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-blue);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-1);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   顶部导航
   ============================================================ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 100;
  background: rgba(10, 11, 26, 0.72);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-normal);
}
.nav-bar.scrolled {
  background: rgba(10, 11, 26, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-1);
}
.brand-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 12px rgba(233, 30, 99, 0.6));
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff 20%, var(--primary) 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-name em {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  margin-left: 4px;
  -webkit-text-fill-color: var(--text-3);
}
.nav-menu {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}
.nav-link:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: var(--primary);
  background: rgba(233, 30, 99, 0.1);
}
.nav-cta {
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-inner { justify-content: space-between; padding: 0 20px; }
}

/* ============================================================
   主页容器
   ============================================================ */
.page {
  position: relative;
  z-index: 1;
  animation: pageFadeIn 0.5s ease-out;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 32px 20px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 30% 40%, rgba(233, 30, 99, 0.28), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(184, 51, 255, 0.22), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(74, 158, 255, 0.15), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: pulse 6s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}
.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 10%, var(--primary) 50%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(233, 30, 99, 0.25));
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-1);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
}
/* 紧凑版 Hero:让输入区紧贴下方成为视觉焦点 */
.hero-compact {
  min-height: auto;
  padding: 80px 32px 24px;
  text-align: center;
}
.hero-compact .hero-content {
  max-width: 760px;
  margin: 0 auto;
}
.hero-compact .hero-title {
  font-size: clamp(36px, 5.4vw, 60px);
  margin-bottom: 10px;
}
.hero-compact .hero-subtitle {
  margin-bottom: 0;
  font-size: 16px;
}

/* ============================================================
   通用 section
   ============================================================ */
.section {
  position: relative;
  padding: 96px 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-alt {
  max-width: none;
  background:
    linear-gradient(180deg, transparent, rgba(184, 51, 255, 0.04) 30%, transparent),
    var(--bg-mid);
}
.section-alt > * {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 0;
  background: linear-gradient(135deg, #fff 20%, var(--secondary) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 720px) {
  .section { padding: 64px 20px; }
  .section-title { font-size: 26px; }
}

/* ============================================================
   作品展示
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tag {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--text-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-tag:hover {
  background: rgba(184, 51, 255, 0.1);
  border-color: rgba(184, 51, 255, 0.4);
  color: var(--text-1);
}
.filter-tag.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(184, 51, 255, 0.4);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-normal);
  animation: trackIn 0.4s ease-out backwards;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(233, 30, 99, 0.3);
}
.work-cover {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-mid));
}
.work-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.work-cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.work-cover .play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(10, 11, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.24s;
}
.work-card:hover .play-overlay { opacity: 1; }
.play-overlay .play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: var(--shadow-glow-pink);
  transform: scale(0.8);
  transition: transform 0.24s;
}
.work-card:hover .play-btn { transform: scale(1); }
.work-body {
  padding: 16px 18px 18px;
}
.work-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(233, 30, 99, 0.15);
  border: 1px solid rgba(233, 30, 99, 0.35);
  border-radius: 12px;
  color: var(--primary);
  font-size: 11px;
  margin-bottom: 8px;
}
.work-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}
.work-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 36px;
}
.work-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}
.work-duration {
  font-size: 11px;
  color: var(--text-4);
  font-family: Menlo, monospace;
}
.work-actions {
  display: flex;
  gap: 6px;
}
.work-actions .icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  font-size: 12px;
  transition: var(--transition-fast);
}
.work-actions .icon-btn:hover {
  background: rgba(233, 30, 99, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}
@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   关于我们 + 统计
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text .section-title {
  text-align: left;
  margin-bottom: 20px;
  font-size: 32px;
}
.about-para {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 14px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition-normal);
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-blue);
}
.stat-num {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-num span {
  font-size: 22px;
  -webkit-text-fill-color: var(--secondary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   AI 创作优势
   ============================================================ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.adv-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 26px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(184, 51, 255, 0.15));
  margin-bottom: 18px;
  animation: float 4s ease-in-out infinite;
}
.adv-card:nth-child(2) .adv-icon {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(0, 188, 212, 0.15));
}
.adv-card:nth-child(3) .adv-icon {
  background: linear-gradient(135deg, rgba(184, 51, 255, 0.15), rgba(233, 30, 99, 0.15));
}
.adv-card:nth-child(4) .adv-icon {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(74, 158, 255, 0.15));
}
.adv-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .adv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BGM 创作工作台
   ============================================================ */
.studio-panel {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(26, 29, 46, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--border);
}
.step:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(233, 30, 99, 0.4);
}
.step-head h3 {
  font-size: 16px;
  color: var(--text-1);
  font-weight: 600;
}
.step-head .hint {
  font-size: 12px;
  color: var(--text-3);
  margin-left: auto;
}

label {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
label.block {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.grid5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) { .grid5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid5 { grid-template-columns: 1fr; } }

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid4 { grid-template-columns: 1fr; } }

/* 分类模式切换标签 */
.class-mode-tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(10, 11, 26, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.class-mode-tab {
  padding: 5px 14px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}
.class-mode-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.class-mode-tab:hover:not(.active) {
  color: var(--text-2);
  background: rgba(255,255,255,0.05);
}

/* 参考游戏搜索 */
.game-search-row {
  position: relative;
}
.game-search-row label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}
.game-search-row input {
  margin-top: 4px;
  width: 100%;
}
.game-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.game-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition-fast);
}
.game-search-item:last-child { border-bottom: none; }
.game-search-item:hover,
.game-search-item.active {
  background: rgba(233, 30, 99, 0.12);
}
.game-search-item .gs-name {
  color: var(--text-1);
  font-size: 13px;
  font-weight: 500;
}
.game-search-item .gs-name small {
  color: var(--text-4);
  font-weight: 400;
  margin-left: 6px;
}
.game-search-item .gs-path {
  color: var(--text-4);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}
.game-search-empty {
  padding: 12px;
  color: var(--text-4);
  font-size: 12px;
  text-align: center;
}

select,
input[type=text],
textarea {
  width: 100%;
  background: rgba(10, 11, 26, 0.5);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  transition: var(--transition-fast);
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 64px;
}
select:hover, input[type=text]:hover, textarea:hover { border-color: var(--border-strong); }
select:focus, input[type=text]:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}
select option { background: var(--bg-card); color: var(--text-1); }

.metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  align-items: center;
  font-size: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.3);
  border-radius: 14px;
  padding: 3px 10px;
  color: var(--secondary);
  font-size: 11px;
}
.tag {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
  margin-left: auto;
}

.genRow {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 12px;
  flex-wrap: wrap;
}
.genRow .grow { flex: 1; min-width: 200px; }
.genRow label.inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--text-2);
}

.status {
  margin-top: 14px;
  font-size: 13px;
  min-height: 20px;
  color: var(--text-3);
}
.status.err { color: var(--danger); }
.status.ok { color: var(--success); }

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.results .placeholder {
  text-align: center;
  padding: 32px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-3);
  background: rgba(10, 11, 26, 0.4);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
}
.track {
  background: rgba(10, 11, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: var(--transition-fast);
  animation: trackIn 0.3s ease-out;
}
.track:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(233, 30, 99, 0.3);
}
.track .t-title {
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-1);
}
.track .t-title .dur {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 400;
  font-family: Menlo, monospace;
}
.track audio {
  display: block;
  width: 100%;
  margin-top: 4px;
  height: 40px;
}
.track .t-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.track .t-actions .btn { padding: 6px 14px; font-size: 12px; }
.track .t-actions .dl-group { display: flex; gap: 0; }
.track .t-actions .dl-fmt {
  padding: 6px 8px;
  font-size: 12px;
  min-height: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.track .t-actions .dl-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
/* results 区按钮:去掉全局 .btn::after 的光扫动画,避免多按钮 hover 时"高光乱飘" */
.track .btn::after { content: none; }

/* 我的生成历史(折叠 list) */
.my-tracks-details {
  margin-top: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(10, 11, 26, 0.3);
  padding: 12px 16px;
}
.my-tracks-details > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.my-tracks-details > summary::-webkit-details-marker { display: none; }
.my-tracks-details > summary::before {
  content: '▶';
  font-size: 10px;
  color: var(--text-3);
  transition: transform .2s;
}
.my-tracks-details[open] > summary::before { transform: rotate(90deg); }
.my-tracks-count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
}
.my-tracks-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}
.my-track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  background: rgba(10, 11, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.my-track-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  flex-shrink: 0;
}
.my-track-title { font-size: 13px; color: var(--text-1); font-weight: 500; }
.my-track-time { font-size: 11px; color: var(--text-3); }
.my-track-dur { font-size: 11px; color: var(--text-4); font-family: Menlo, monospace; }
.my-track-row audio {
  flex: 1;
  height: 36px;
  min-width: 0;
}

/* 拖拽 GDD 文本文档到 briefInput 时的高亮反馈 */
.studio-panel .step-primary .gdd-area #briefInput.drag-over {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.18);
  background: rgba(74, 158, 255, 0.05);
}

/* 结果列表（累积） */
.result-batch {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: rgba(26, 29, 46, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: batchIn 0.32s ease-out;
}
.result-batch.is-cover { border-left: 3px solid var(--primary); }
.result-batch.is-gen   { border-left: 3px solid var(--secondary); }
.result-batch.failed   { opacity: .7; border-left-color: #d33; }
.result-batch.done     { border-left-color: #3ddc97; }
.batch-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  flex-wrap: wrap;
}
.batch-kind {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(233, 30, 99, 0.14);
  color: var(--primary);
}
.result-batch.is-gen .batch-kind {
  background: rgba(0, 212, 255, 0.14);
  color: var(--secondary);
}
.batch-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-1);
}
.batch-status {
  font-size: 11px;
  color: var(--text-3);
  font-family: Menlo, monospace;
}
.batch-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
  font-family: Menlo, monospace;
}
.batch-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@keyframes batchIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 作品卡片"生成同款"按钮 */
.cover-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2, #ad1457));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}
.cover-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.45);
}
.cover-btn:active { transform: translateY(0); }
.cover-btn .ui-icon { width: 14px; height: 14px; }

/* 作品展示分页 */
.pager {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pager:empty { display: none; }
.pager-info {
  font-size: 12px;
  color: var(--text-3);
  font-family: Menlo, monospace;
}
.pager-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.pager-btns .pg-btn,
.pager-btns .pg-num {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(10, 11, 26, 0.4);
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}
.pager-btns .pg-num { padding: 0; }
.pager-btns .pg-btn:hover:not(:disabled),
.pager-btns .pg-num:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(233, 30, 99, 0.1);
}
.pager-btns .pg-num.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2, #ad1457));
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}
.pager-btns .pg-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* 数据库视图折叠 */
.db-views {
  max-width: 1100px;
  margin: 40px auto 0;
  background: rgba(26, 29, 46, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}
.db-views summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 500;
  user-select: none;
  padding: 4px 0;
}
.db-views[open] summary { margin-bottom: 16px; }
.db-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.db-tab {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-2);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
}
.db-tab:hover { color: var(--text-1); border-color: var(--secondary); }
.db-tab.active {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
  border-color: transparent;
  color: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition-fast);
}
.info-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow-purple);
  transform: translateY(-2px);
}
.info-card .ic-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  gap: 8px;
}
.info-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  flex: 1;
}
.info-card .ic-id {
  font-size: 11px;
  color: var(--cyan);
  font-family: Menlo, Monaco, monospace;
  background: rgba(0, 188, 212, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}
.info-card p {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin-top: 4px;
}
.info-card .ic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.info-card .ic-meta .chip {
  background: rgba(184, 51, 255, 0.1);
  border-color: rgba(184, 51, 255, 0.3);
  color: var(--accent);
}
.chapter-group {
  grid-column: 1 / -1;
  margin-top: 12px;
}
.chapter-group:first-child { margin-top: 0; }
.chapter-group-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chapter-group-title .count {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 400;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ============================================================
   乐器选择
   ============================================================ */
.inst-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--secondary);
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.inst-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  background: rgba(10, 11, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.inst-tab {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}
.inst-tab:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.05);
}
.inst-tab.active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 2px 12px rgba(184, 51, 255, 0.35);
}
.inst-panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}
.inst-panel::-webkit-scrollbar { width: 6px; }
.inst-panel::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.inst-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  background: rgba(26, 29, 46, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
  text-align: center;
}
.inst-chip:hover {
  border-color: var(--secondary);
  background: rgba(74, 158, 255, 0.08);
  transform: translateY(-1px);
}
.inst-chip.selected {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.18), rgba(184, 51, 255, 0.18));
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(233, 30, 99, 0.4);
}
.inst-chip .ic-zh {
  font-size: 13px;
  color: var(--text-1);
  font-weight: 500;
}
.inst-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(10, 11, 26, 0.4);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  min-height: 44px;
}
.inst-selected .is-label {
  font-size: 12px;
  color: var(--text-3);
  margin-right: 4px;
}
.inst-selected .is-empty {
  font-size: 12px;
  color: var(--text-4);
}
.inst-selected .is-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 12px;
  border-radius: 12px;
  animation: trackIn 0.2s ease-out;
}
.inst-selected .is-chip .is-remove {
  cursor: pointer;
  opacity: 0.75;
  font-size: 14px;
  line-height: 1;
  padding: 0 0 0 2px;
}
.inst-selected .is-chip .is-remove:hover { opacity: 1; }
.inst-clear {
  margin-left: auto;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-fast);
}
.inst-clear:hover {
  color: var(--danger);
  border-color: var(--danger);
}

/* ---- 已选乐器卡片 + 演奏方式 ---- */
.inst-selected .is-head {
  flex: 0 0 100%;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 2px;
}
.inst-selected .is-head .inst-clear { margin-left: auto; }
.is-card {
  flex: 0 0 100%;
  background: rgba(10, 11, 26, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  animation: trackIn 0.2s ease-out;
}
.is-card-head { display: flex; align-items: center; gap: 10px; }
.is-card-head .is-name {
  font-size: 14px; font-weight: 600; color: var(--text-1);
}
.is-card-head .is-pick {
  font-size: 11px; color: var(--primary);
  background: rgba(233, 30, 99, 0.12);
  padding: 2px 8px; border-radius: 10px;
}
.is-card-head .is-remove {
  margin-left: auto; cursor: pointer;
  width: 22px; height: 22px; border: 0; background: transparent;
  color: var(--text-3); font-size: 16px; line-height: 1; border-radius: 6px;
}
.is-card-head .is-remove:hover { color: var(--danger); background: rgba(245, 63, 63, 0.1); }
.is-tech {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.is-tech-empty { color: var(--text-4); font-size: 12px; }
.tech-chip {
  padding: 4px 11px;
  font-size: 12px; font-family: inherit;
  color: var(--text-2);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer;
  transition: var(--transition-fast);
}
.tech-chip:hover { color: var(--text-1); border-color: var(--border-strong); }
.tech-chip.on {
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-color: transparent;
}
.tech-all {
  padding: 4px 11px;
  font-size: 12px; font-family: inherit;
  color: var(--secondary);
  background: transparent;
  border: 1px dashed var(--secondary);
  border-radius: 12px; cursor: pointer;
  transition: var(--transition-fast);
}
.tech-all:hover { background: rgba(74, 158, 255, 0.12); }

/* ============================================================
   合作案例
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.case-head {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.case-card:hover .case-img {
  transform: scale(1.05);
}
.case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  color: #fff;
  background: rgba(233, 30, 99, 0.85);
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.case-stars {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 13px;
  color: var(--gold);
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}
.case-card-body {
  padding: 20px;
}
.case-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
}
.case-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-normal);
}
.contact-item:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-blue);
}
.contact-icon {
  width: 48px;
  height: 48px;
  color: var(--secondary);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(88,199,189,.15), rgba(88,199,189,.05));
  border: 1px solid rgba(88,199,189,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(88,199,189,.12);
}
.contact-icon svg {
  transition: transform 0.3s ease;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, rgba(88,199,189,.25), rgba(88,199,189,.1));
  border-color: rgba(88,199,189,.4);
  box-shadow: 0 6px 24px rgba(88,199,189,.2);
}
.contact-item:hover .contact-icon svg {
  transform: scale(1.1);
}
.contact-label {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-value {
  font-size: 14px;
  color: var(--text-1);
  font-weight: 500;
  font-family: Menlo, Monaco, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(74, 158, 255, 0.35);
}
.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(74, 158, 255, 0.55);
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   页脚
   ============================================================ */
.foot {
  border-top: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  color: var(--text-4);
  font-size: 12px;
  background: var(--bg-deep);
}
.foot-inner { max-width: 1440px; margin: 0 auto; }
.foot-meta { margin-top: 6px; color: var(--text-4); opacity: 0.7; }

/* ============================================================
   底部固定播放器
   ============================================================ */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(17, 19, 42, 0.92);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}
.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 260px;
  flex-shrink: 0;
}
.player-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.player-thumb-img {
  background: none !important;
}
.player-meta { min-width: 0; }
.player-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-sub {
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.pc-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.pc-btn:hover {
  background: rgba(233, 30, 99, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}
.pc-btn.play {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}
.pc-btn.play:hover { filter: brightness(1.1); }
.player-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ptime {
  font-size: 11px;
  color: var(--text-3);
  font-family: Menlo, monospace;
  flex-shrink: 0;
}
.pbar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  min-width: 60px;
}
.pbar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width 0.2s linear;
  position: relative;
}
.pbar-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(233, 30, 99, 0.6);
}
.player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 160px;
  flex-shrink: 0;
}
.pv-icon { font-size: 14px; }
input[type=range] {
  -webkit-appearance: none;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(233, 30, 99, 0.5);
}
@media (max-width: 900px) {
  .player-bar { padding: 0 12px; gap: 10px; }
  .player-info { width: 180px; }
  .player-volume { display: none; }
  .player-progress { flex: 1; }
}
@media (max-width: 600px) {
  .player-info { width: auto; flex: 1; min-width: 0; }
  .player-progress { display: none; }
  .pc-btn { width: 28px; height: 28px; }
  .pc-btn.play { width: 34px; height: 34px; }
}

/* ============================================================
   Toast
   ============================================================ */
.toast-wrap {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 220px;
  max-width: 360px;
  background: rgba(26, 29, 46, 0.95);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.24s ease-out;
}
.toast.ok { border-color: var(--success); }
.toast.ok .t-icon { color: var(--success); }
.toast.err { border-color: var(--danger); }
.toast.err .t-icon { color: var(--danger); }
.toast .t-icon { font-size: 16px; }

/* ============================================================
   滚动条
   ============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { filter: brightness(1.2); }

/* ============================================================
   2026 visual refresh: sober audio workstation skin
   ============================================================ */
:root {
  --bg-deep: #0b0d10;
  --bg-mid: #101419;
  --bg-card: #151a20;
  --bg-card-2: #1b2229;
  --bg-soft: #202832;
  --bg-elev: #242d36;
  --primary: #e7b75f;
  --primary-hover: #f2c977;
  --secondary: #58c7bd;
  --secondary-2: #2f8f88;
  --accent: #d76559;
  --accent-2: #8f4d42;
  --cyan: #7adbd5;
  --gold: #e7b75f;
  --text-1: #f4efe6;
  --text-2: #c9d0cc;
  --text-3: #88938f;
  --text-4: #59625f;
  --border: rgba(244, 239, 230, 0.11);
  --border-soft: rgba(244, 239, 230, 0.075);
  --border-strong: rgba(244, 239, 230, 0.22);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.52);
  --shadow-glow-pink: 0 0 28px rgba(231, 183, 95, 0.22);
  --shadow-glow-blue: 0 0 28px rgba(88, 199, 189, 0.2);
  --shadow-glow-purple: 0 0 28px rgba(215, 101, 89, 0.18);
  --danger: #ff6f61;
  --success: #66d19e;
  --warning: #e7b75f;
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
}

body {
  background:
    linear-gradient(180deg, rgba(16, 20, 25, 0.94), rgba(11, 13, 16, 1) 48%),
    var(--bg-deep);
}

.stars {
  background:
    linear-gradient(rgba(244, 239, 230, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.018) 1px, transparent 1px),
    radial-gradient(ellipse at 22% 0%, rgba(88, 199, 189, 0.08), transparent 42%),
    var(--bg-deep);
  background-size: 42px 42px, 42px 42px, 100% 100%, auto;
}
.stars::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, transparent 0 47%, rgba(231, 183, 95, 0.12) 49%, transparent 51% 100%);
  background-size: 260px 260px;
  animation: studioScan 18s linear infinite;
}
.stars-layer {
  opacity: 0.13;
  background-image:
    linear-gradient(90deg, transparent 0 78%, rgba(88, 199, 189, 0.18) 79%, transparent 80%),
    linear-gradient(180deg, transparent 0 82%, rgba(231, 183, 95, 0.1) 83%, transparent 84%);
  background-size: 190px 96px;
  animation-duration: 160s;
}
.stars-layer.layer-2,
.stars-layer.layer-3 { opacity: 0.04; }

@keyframes studioScan {
  from { transform: translateX(-260px); }
  to { transform: translateX(260px); }
}
@keyframes waveSweep {
  from { transform: translateX(-16%); }
  to { transform: translateX(16%); }
}
@keyframes softRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.load-mask {
  background:
    linear-gradient(135deg, rgba(88, 199, 189, 0.08), transparent 32%),
    var(--bg-deep);
}
.load-spinner {
  width: 58px;
  height: 58px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  box-shadow: inset 0 0 0 9px rgba(255,255,255,0.02), var(--shadow-md);
  animation: spin 1.4s cubic-bezier(.7, 0, .3, 1) infinite;
}
.load-spinner::after {
  content: '';
  display: block;
  width: 26px;
  height: 26px;
  margin: 15px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  border-left-color: transparent;
}

.nav-bar {
  height: 76px;
  background: rgba(11, 13, 16, 0.72);
  border-bottom-color: rgba(244, 239, 230, 0.08);
}
.nav-bar.scrolled {
  background: rgba(11, 13, 16, 0.94);
  box-shadow: 0 8px 32px rgba(0,0,0,0.34);
}
.brand-icon {
  width: 34px;
  height: 34px;
  filter: none;
}
.logo-mark,
.mark-audio,
.work-cover-icon,
.player-thumb {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231, 183, 95, 0.92), rgba(88, 199, 189, 0.74)),
    #202832;
}
.logo-mark {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24), 0 8px 22px rgba(0,0,0,0.35);
}
.logo-mark::before,
.mark-audio::before,
.work-cover-icon::before,
.player-thumb::before {
  content: '';
  position: absolute;
  left: 24%;
  right: 24%;
  top: 18%;
  bottom: 18%;
  border-left: 2px solid rgba(12, 15, 18, 0.78);
  border-right: 2px solid rgba(12, 15, 18, 0.78);
}
.logo-mark::after,
.mark-audio::after,
.work-cover-icon::after,
.player-thumb::after {
  content: '';
  position: absolute;
  inset: 34% 18%;
  border-top: 2px solid rgba(12, 15, 18, 0.78);
  border-bottom: 2px solid rgba(12, 15, 18, 0.78);
}
.work-cover-icon.mark-boss::before { inset: 14px 33px 14px 33px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(45% 0, 55% 0, 55% 100%, 45% 100%); transform: rotate(45deg); }
.work-cover-icon.mark-boss::after { inset: 34px 20px 20px 20px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(0 38%, 100% 38%, 100% 55%, 0 55%); transform: rotate(45deg); }
.work-cover-icon.mark-chase::before { inset: 22px 14px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(0 52%, 18% 34%, 32% 70%, 48% 18%, 64% 72%, 82% 34%, 100% 50%, 100% 64%, 82% 48%, 64% 86%, 48% 32%, 32% 84%, 18% 48%, 0 66%); }
.work-cover-icon.mark-chase::after { display: none; }
.work-cover-icon.mark-town::before { inset: 16px 14px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(0 44%, 50% 8%, 100% 44%, 86% 44%, 86% 88%, 62% 88%, 62% 58%, 38% 58%, 38% 88%, 14% 88%, 14% 44%); }
.work-cover-icon.mark-town::after { display: none; }
.work-cover-icon.mark-sakura::before { inset: 16px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(50% 0, 62% 34%, 98% 18%, 78% 50%, 98% 82%, 62% 66%, 50% 100%, 38% 66%, 2% 82%, 22% 50%, 2% 18%, 38% 34%); }
.work-cover-icon.mark-sakura::after { display: none; }
.work-cover-icon.mark-jazz::before { inset: 13px 24px 13px 28px; border: 0; border-radius: 999px; background: rgba(12,15,18,.78); box-shadow: 14px 8px 0 -1px rgba(12,15,18,.78); }
.work-cover-icon.mark-jazz::after { inset: 11px 18px 18px 29px; border: 0; border-left: 4px solid rgba(12,15,18,.78); border-top: 4px solid rgba(12,15,18,.78); }
.work-cover-icon.mark-tea::before { inset: 22px 14px 17px 17px; border: 3px solid rgba(12,15,18,.78); border-radius: 0 0 18px 18px; background: transparent; }
.work-cover-icon.mark-tea::after { inset: 24px 9px auto auto; width: 17px; height: 17px; border: 3px solid rgba(12,15,18,.78); border-left: 0; border-radius: 0 12px 12px 0; }
.work-cover-icon.mark-space::before { inset: 13px 22px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(50% 0, 70% 34%, 70% 72%, 50% 100%, 30% 72%, 30% 34%); }
.work-cover-icon.mark-space::after { inset: 40px 13px 12px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(0 100%, 30% 18%, 50% 58%, 70% 18%, 100% 100%); }
.work-cover-icon.mark-empire::before { inset: 17px 12px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(0 32%, 50% 0, 100% 32%, 90% 32%, 90% 44%, 80% 44%, 80% 86%, 68% 86%, 68% 44%, 56% 44%, 56% 86%, 44% 86%, 44% 44%, 32% 44%, 32% 86%, 20% 86%, 20% 44%, 10% 44%, 10% 32%); }
.work-cover-icon.mark-empire::after { display: none; }
.work-cover-icon.mark-north::before { inset: 14px 10px 12px; border: 0; background: rgba(12,15,18,.78); clip-path: polygon(0 90%, 27% 34%, 42% 62%, 58% 12%, 100% 90%); }
.work-cover-icon.mark-north::after { display: none; }
.brand-name {
  font-weight: 750;
  letter-spacing: 0;
  color: var(--text-1);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.brand-name em {
  color: var(--text-3);
  -webkit-text-fill-color: currentColor;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav-link {
  border-radius: 6px;
  color: var(--text-3);
}
.nav-link:hover {
  background: rgba(244,239,230,.06);
}
.nav-link.active {
  color: var(--primary);
  background: rgba(231,183,95,.1);
}

.btn {
  position: relative;
  border-radius: 6px;
  font-weight: 650;
  letter-spacing: 0;
  transform: translateZ(0);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%);
  transition: opacity .18s;
  pointer-events: none; /* 光晕扫过是装饰,若可命中会遮挡相邻按钮(如 hero 的开始创作) */
}
.btn:hover::after {
  opacity: 1;
  transform: translateX(120%);
  transition: transform .65s ease, opacity .18s;
}
.btn-primary {
  color: #15110a;
  background: linear-gradient(135deg, #f0ca7a, #d99455 56%, #c86955);
  box-shadow: 0 10px 26px rgba(231, 183, 95, 0.18);
}
.btn-primary:hover {
  filter: none;
  box-shadow: 0 16px 36px rgba(231, 183, 95, 0.24);
}
.btn-outline {
  color: var(--secondary);
  background: rgba(88,199,189,.07);
  border: 1px solid rgba(88,199,189,.28);
}
.btn-outline:hover {
  background: rgba(88,199,189,.12);
  box-shadow: 0 0 0 4px rgba(88,199,189,.08);
}
.btn-ghost {
  color: var(--text-2);
  background: rgba(244,239,230,.04);
  border: 1px solid var(--border);
}

.ui-icon,
.pc-btn,
.icon-btn,
.pv-icon,
.t-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.icon-wave::before {
  content: '';
  width: 15px;
  height: 12px;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px);
  clip-path: polygon(0 52%, 10% 35%, 20% 72%, 31% 20%, 43% 82%, 54% 28%, 65% 70%, 78% 38%, 90% 56%, 100% 48%, 100% 100%, 0 100%);
}
.icon-play::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  margin-left: 2px;
}
.icon-spark::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(48% 0, 58% 36%, 100% 48%, 58% 60%, 48% 100%, 38% 60%, 0 48%, 38% 36%);
}
.icon-copy::before {
  content: '';
  width: 11px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: -4px 4px 0 -1px var(--bg-card), -4px 4px 0 0 currentColor;
}
.icon-download::before {
  content: '';
  width: 12px;
  height: 12px;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor,currentColor) center 0 / 2px 9px no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.icon-download::after {
  content: '';
  position: absolute;
  top: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.icon-star::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(50% 2%, 61% 35%, 96% 35%, 68% 55%, 79% 89%, 50% 68%, 21% 89%, 32% 55%, 4% 35%, 39% 35%);
}
.icon-prev::before,
.icon-next::before {
  content: '';
  width: 14px;
  height: 12px;
  background: currentColor;
}
.icon-prev::before { clip-path: polygon(0 0, 14% 0, 14% 100%, 0 100%, 0 0, 50% 50%, 100% 0, 100% 100%, 50% 50%); }
.icon-next::before { clip-path: polygon(0 0, 50% 50%, 0 100%, 0 0, 86% 0, 86% 100%, 100% 100%, 100% 0); }
.pc-btn.play.is-pause::before {
  width: 12px;
  height: 14px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.icon-volume {
  width: 16px;
  height: 16px;
  color: var(--text-3);
}
.icon-volume::before {
  content: '';
  width: 13px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 36%, 28% 36%, 60% 12%, 60% 88%, 28% 64%, 0 64%);
}
.icon-volume::after {
  content: '';
  position: absolute;
  right: 0;
  width: 6px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-left: 0;
  border-radius: 0 9px 9px 0;
}

.hero {
  min-height: 620px;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 126px 40px 84px;
  gap: 48px;
}
.hero-bg-glow {
  inset: auto 0 24px auto;
  top: auto;
  left: auto;
  width: 54%;
  height: 1px;
  transform: none;
  filter: none;
  background: linear-gradient(90deg, transparent, rgba(231,183,95,.54), transparent);
  animation: waveSweep 7s ease-in-out infinite alternate;
}
/* hero 区底部 equalizer 频谱柱(由 JS 注入 N 个 span,随机 delay 跳动) */
.hero-equalizer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  pointer-events: none;
  opacity: 0.55;
  padding: 0 24px;
}
.hero-equalizer span {
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 2px;
  transform-origin: bottom center;
  transform: scaleY(0.2);
  animation-name: eqBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes eqBounce {
  0%   { transform: scaleY(0.08); }
  25%  { transform: scaleY(0.5); }
  50%  { transform: scaleY(0.85); }
  75%  { transform: scaleY(0.3); }
  100% { transform: scaleY(0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-equalizer span { animation: none; transform: scaleY(0.4); }
}
.hero-content {
  max-width: 680px;
  text-align: left;
  animation: softRise .7s ease-out both;
}
.hero-kicker {
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: 0;
  color: var(--text-1);
  background: none;
  -webkit-text-fill-color: currentColor;
  filter: none;
  margin-bottom: 18px;
}
.hero-subtitle {
  max-width: 560px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.85;
  font-weight: 400;
  margin-bottom: 30px;
  letter-spacing: 0;
}
.hero-actions {
  justify-content: flex-start;
}

.section {
  padding: 90px 40px;
}
.section-alt {
  background:
    linear-gradient(180deg, rgba(244,239,230,.025), rgba(88,199,189,.035), rgba(244,239,230,.02)),
    var(--bg-mid);
}
.section-head {
  text-align: left;
  max-width: 1100px;
}
.section-title {
  color: var(--text-1);
  background: none;
  -webkit-text-fill-color: currentColor;
  letter-spacing: 0;
  font-size: 34px;
}

.studio-panel,
.work-card,
.adv-card,
.case-card,
.contact-item,
.stat-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
    rgba(21, 26, 32, .82);
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, var(--shadow-sm);
}
.studio-panel {
  border-radius: 8px;
  padding: 34px;
}
.step {
  border-bottom: 1px solid var(--border-soft);
}
.step-num {
  border-radius: 6px;
  background: rgba(231,183,95,.12);
  color: var(--primary);
  border: 1px solid rgba(231,183,95,.28);
  box-shadow: none;
}

/* ---- 创作面板排版简化 ---- */
.studio-panel .step-head {
  flex-wrap: wrap;
  row-gap: 8px;
}
.studio-panel .step-head .hint {
  font-size: 12px;
  color: var(--text-3);
  margin-left: auto;
  max-width: 60%;
  text-align: right;
}
.studio-panel .game-search-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.studio-panel .game-search-row > label {
  flex: 1 1 280px;
  min-width: 0;
}
.studio-panel #enterGddModeBtn {
  align-self: flex-start;
  font-size: 12px;
  padding: 6px 12px;
}
.studio-panel .gdd-area {
  padding: 16px;
}
.studio-panel .gdd-area textarea {
  min-height: 140px;
}
.studio-panel .gdd-image-upload {
  margin-top: 14px;
  margin-bottom: 0;
}
.studio-panel .gdd-image-dropzone {
  padding: 22px 16px;
}
.studio-panel .class-mode-tabs {
  margin-left: auto;
}
.studio-panel .class-panel + .metaRow {
  margin-top: 4px;
}

/* ============================================================
   创作区简化:3 步结构 + 高亮主输入区
   ============================================================ */
.section-create {
  padding-top: 32px;
  position: relative;
  overflow: hidden;
}
/* create 区背景底图:层叠柔光 + 细网格 + 流光带 */
.section-create::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 12% 8%,  rgba(184, 51, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 92%, rgba(74, 158, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 35% at 50% 50%, rgba(231, 183, 95, 0.05), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 38px);
  z-index: 0;
}
.section-create > .studio-panel { position: relative; z-index: 1; }
.section-create .studio-panel {
  padding: 24px;
}
/* Step 1 主输入区:更亮、更大、加边框 */
.step-primary {
  background: linear-gradient(180deg, rgba(231,183,95,.04), transparent 60%);
  border: 1px solid rgba(231,183,95,.22);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 22px;
}
.step-primary .step-num {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #101419;
  border-color: transparent;
}
.step-primary .gdd-area textarea {
  min-height: 130px;
  font-size: 15px;
}
.step-primary .gdd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.step-primary .gdd-actions .gdd-hint { display: none; }
.step-primary .brief-deep {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}
.step-primary .brief-hint-text { display: none; }

/* 高级选项折叠 */
.advanced-options {
  margin-top: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(9,11,14,.32);
}
.advanced-options > summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-2);
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.advanced-options > summary::before {
  content: "+";
  display: inline-block;
  width: 16px;
  text-align: center;
  color: var(--secondary);
  font-weight: 700;
}
.advanced-options[open] > summary::before { content: "−"; }
.advanced-options > summary:hover { color: var(--text-1); }
.advanced-options .adv-body {
  padding: 4px 16px 18px;
  border-top: 1px solid var(--border-soft);
  margin-top: 8px;
}
.advanced-options .adv-label {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.advanced-options .adv-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 16px 0;
}
.advanced-options .adv-instruments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.advanced-options .inst-count {
  font-size: 12px;
  color: var(--text-3);
}
select,
input[type=text],
textarea {
  background: rgba(9, 11, 14, .66);
  border-color: var(--border);
  border-radius: 6px;
}
select:focus,
input[type=text]:focus,
textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(88,199,189,.1);
}
.chip {
  color: var(--secondary);
  background: rgba(88,199,189,.08);
  border-color: rgba(88,199,189,.24);
  border-radius: 999px;
}
.chip.danger {
  color: var(--danger);
  background: rgba(255,111,97,.1);
  border-color: rgba(255,111,97,.32);
}
.results .placeholder {
  background: rgba(9, 11, 14, .42);
  border-color: var(--border);
}

.filter-tag {
  border-radius: 999px;
  background: rgba(244,239,230,.035);
}
.filter-tag:hover {
  background: rgba(88,199,189,.09);
  border-color: rgba(88,199,189,.3);
}
.filter-tag.active {
  color: #101419;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 10px 28px rgba(88,199,189,.16);
}
.work-card {
  transform-style: preserve-3d;
}
.work-card:hover {
  border-color: rgba(231,183,95,.45);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(231,183,95,.12);
}
.work-cover {
  height: 188px;
  background:
    linear-gradient(135deg, rgba(88,199,189,.08), rgba(231,183,95,.08)),
    #101419;
}
.work-cover::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .32;
}
.work-cover-icon {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  z-index: 2;
  filter: none;
  animation: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 18px 34px rgba(0,0,0,.28);
}
.mark-boss { background: linear-gradient(135deg, #e4b15b, #bd5f51); }
.mark-chase { background: linear-gradient(135deg, #58c7bd, #d99455); }
.mark-town { background: linear-gradient(135deg, #8ec7a4, #e7b75f); }
.mark-sakura { background: linear-gradient(135deg, #d49aa2, #58c7bd); }
.mark-jazz { background: linear-gradient(135deg, #e7b75f, #56636f); }
.mark-tea { background: linear-gradient(135deg, #88bd7d, #d99455); }
.mark-space { background: linear-gradient(135deg, #58c7bd, #506d8f); }
.mark-empire { background: linear-gradient(135deg, #caa46a, #8f4d42); }
.mark-north { background: linear-gradient(135deg, #a9c8d5, #5f7f85); }
.work-wave {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  opacity: .42;
}
.work-wave i {
  height: 24px;
  background: repeating-linear-gradient(90deg, rgba(244,239,230,.7) 0 2px, transparent 2px 6px);
  clip-path: polygon(0 52%, 12% 36%, 25% 70%, 39% 25%, 55% 62%, 72% 38%, 88% 58%, 100% 50%, 100% 100%, 0 100%);
}
.play-overlay {
  backdrop-filter: blur(4px);
}
.play-overlay .play-btn {
  background: var(--primary);
  color: #101419;
  font-size: 0;
}
.work-tag,
.case-tag {
  color: var(--primary);
  background: rgba(231,183,95,.1);
  border-color: rgba(231,183,95,.25);
  border-radius: 999px;
}
.work-duration {
  letter-spacing: .04em;
}
.work-actions .icon-btn,
.icon-btn {
  font-size: 0;
  color: var(--text-3);
}
.work-actions .icon-btn:hover {
  color: var(--primary);
  border-color: rgba(231,183,95,.35);
  background: rgba(231,183,95,.1);
}

.adv-icon,
.case-icon {
  position: relative;
  font-size: 0;
  animation: none;
}
.adv-icon {
  border-radius: 8px;
  background: rgba(244,239,230,.045);
  border: 1px solid var(--border);
}
.adv-icon::before,
.case-icon::before {
  content: '';
  position: absolute;
  inset: 13px;
  background: currentColor;
}
.icon-fast { color: var(--primary); }
.icon-fast::before { clip-path: polygon(52% 0, 16% 55%, 45% 55%, 35% 100%, 84% 38%, 55% 38%); }
.icon-target { color: var(--secondary); }
.icon-target::before {
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 22%, currentColor 23% 32%, transparent 33% 54%, currentColor 55% 63%, transparent 64%);
  border: 2px solid currentColor;
}
.icon-logic { color: #d49aa2; }
.icon-logic::before {
  inset: 12px;
  background:
    radial-gradient(circle at 20% 25%, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 78% 28%, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 50% 75%, currentColor 0 3px, transparent 4px),
    linear-gradient(35deg, transparent 44%, currentColor 45% 52%, transparent 53%),
    linear-gradient(145deg, transparent 44%, currentColor 45% 52%, transparent 53%);
}
.icon-shield { color: #88bd7d; }
.icon-shield::before { clip-path: polygon(50% 0, 90% 16%, 82% 72%, 50% 100%, 18% 72%, 10% 16%); }

.case-icon {
  border-radius: 8px;
  background: rgba(244,239,230,.045);
  color: var(--primary);
  box-shadow: none;
  border: 1px solid var(--border);
}
.case-action::before { clip-path: polygon(44% 0, 56% 0, 56% 54%, 78% 54%, 50% 100%, 22% 54%, 44% 54%); transform: rotate(45deg); }
.case-rpg::before { clip-path: polygon(10% 42%, 50% 10%, 90% 42%, 82% 42%, 82% 88%, 62% 88%, 62% 62%, 38% 62%, 38% 88%, 18% 88%, 18% 42%); }
.case-casual::before { border-radius: 6px; box-shadow: inset 0 0 0 2px currentColor; background: radial-gradient(circle at 32% 32%, currentColor 0 3px, transparent 4px), radial-gradient(circle at 68% 68%, currentColor 0 3px, transparent 4px); }
.case-strategy::before { clip-path: polygon(50% 0, 72% 36%, 100% 43%, 78% 66%, 82% 100%, 50% 84%, 18% 100%, 22% 66%, 0 43%, 28% 36%); }
.case-open::before { clip-path: polygon(10% 82%, 36% 28%, 50% 58%, 64% 18%, 90% 82%); }
.case-pixel::before { clip-path: polygon(0 12%, 100% 12%, 100% 88%, 0 88%); box-shadow: inset 9px 9px 0 rgba(11,13,16,.9), inset -9px -9px 0 rgba(11,13,16,.9); }
.case-stars {
  color: var(--primary);
  font-family: Menlo, Monaco, monospace;
  letter-spacing: .04em;
}

.player-bar {
  height: 78px;
  background: rgba(11, 13, 16, .88);
  border-top-color: var(--border);
}
.player-thumb {
  border-radius: 7px;
  font-size: 0;
}
.pc-btn {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pc-btn.play {
  color: #101419;
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(231,183,95,.18);
}
.pbar {
  height: 6px;
  border-radius: 999px;
}
.pbar-fill {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: inherit;
}
.pbar-fill::after {
  background: var(--text-1);
  box-shadow: 0 0 0 4px rgba(231,183,95,.14);
}
input[type=range]::-webkit-slider-thumb {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(231,183,95,.12);
}
.toast {
  background: rgba(21, 26, 32, .96);
}
.toast .t-icon {
  min-width: 34px;
  height: 22px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(244,239,230,.06);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    display: block;
    padding: 116px 24px 58px;
  }
}
@media (max-width: 720px) {
  .section {
    padding: 64px 20px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .studio-panel {
    padding: 22px;
  }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* ============================================================
   Game art direction pass: fantasy UI, level cards, HUD panels
   ============================================================ */
:root {
  --bg-deep: #070914;
  --bg-mid: #101527;
  --bg-card: #151a2b;
  --bg-card-2: #1d2638;
  --primary: #f5c96b;
  --secondary: #69e5d4;
  --accent: #ff7b61;
  --accent-2: #7558ff;
  --text-1: #fff7e8;
  --text-2: #d8e1e6;
  --text-3: #93a4b6;
  --border: rgba(245, 201, 107, .18);
  --border-soft: rgba(255, 255, 255, .08);
  --border-strong: rgba(105, 229, 212, .32);
}

body {
  background:
    radial-gradient(circle at 18% 16%, rgba(117, 88, 255, .2), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(255, 123, 97, .16), transparent 28%),
    linear-gradient(180deg, #0a0d1b, #070914 48%, #0a0d14);
}

.stars {
  background:
    radial-gradient(circle at 12% 18%, rgba(105,229,212,.18), transparent 22%),
    radial-gradient(circle at 78% 4%, rgba(245,201,107,.16), transparent 26%),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    var(--bg-deep);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
}
.stars::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .32;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(105,229,212,.13) 43%, transparent 45% 100%),
    linear-gradient(245deg, transparent 0 55%, rgba(245,201,107,.08) 56%, transparent 58% 100%);
  background-size: 360px 360px, 520px 520px;
}

.nav-bar {
  background: rgba(7, 9, 20, .72);
  border-bottom: 1px solid rgba(105, 229, 212, .16);
}
.nav-bar.scrolled {
  background: rgba(7, 9, 20, .94);
}
.logo-mark {
  background:
    linear-gradient(135deg, rgba(105,229,212,.95), rgba(245,201,107,.95)),
    #101527;
  box-shadow: 0 0 24px rgba(105,229,212,.16), inset 0 0 0 1px rgba(255,255,255,.32);
}
.brand-name em {
  color: #8ee8de;
}

.hero {
  min-height: 660px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background:
    linear-gradient(180deg, transparent, rgba(7,9,20,.8)),
    radial-gradient(ellipse at 45% 100%, rgba(245,201,107,.2), transparent 52%);
  pointer-events: none;
}
.hero-bg-glow {
  display: none;
}
.hero-kicker {
  color: var(--secondary);
  text-shadow: 0 0 18px rgba(105,229,212,.28);
}
.hero-title {
  text-shadow: 0 8px 0 rgba(0,0,0,.22), 0 0 34px rgba(245,201,107,.12);
}
.hero-subtitle {
  color: #d9e5ec;
}
.hero-scene {
  position: relative;
  width: min(500px, 42vw);
  min-width: 360px;
  height: 420px;
  border: 1px solid rgba(105,229,212,.22);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 26%, rgba(245,201,107,.22), transparent 18%),
    linear-gradient(180deg, #151a38 0%, #11182e 48%, #0c101d 100%);
  box-shadow:
    0 28px 70px rgba(0,0,0,.48),
    0 0 0 1px rgba(245,201,107,.08) inset,
    0 0 60px rgba(105,229,212,.12);
  animation: softRise .8s .1s ease-out both;
}
.hero-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.18));
}
.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 44%, rgba(105,229,212,.16) 47%, transparent 50% 100%);
  animation: sceneSweep 5.8s ease-in-out infinite;
}
@keyframes sceneSweep {
  0%, 15% { transform: translateX(-120%); opacity: 0; }
  38%, 64% { opacity: .9; }
  100% { transform: translateX(120%); opacity: 0; }
}
.scene-sky,
.scene-mountains,
.scene-castle,
.scene-ground,
.scene-hud {
  position: absolute;
  inset: 0;
}
.moon {
  position: absolute;
  right: 60px;
  top: 46px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7d7, #f5c96b 60%, rgba(245,201,107,.08) 68%);
  box-shadow: 0 0 46px rgba(245,201,107,.34);
}
.rift {
  position: absolute;
  left: 58px;
  top: 46px;
  width: 42px;
  height: 150px;
  background: linear-gradient(180deg, transparent, rgba(105,229,212,.9), transparent);
  clip-path: polygon(42% 0, 62% 26%, 48% 44%, 70% 72%, 50% 100%, 36% 72%, 50% 50%, 30% 24%);
  filter: drop-shadow(0 0 18px rgba(105,229,212,.65));
  animation: pulse 3.4s ease-in-out infinite;
}
.star {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff8d2;
  box-shadow: 0 0 12px #fff8d2;
}
.s1 { left: 170px; top: 62px; }
.s2 { left: 236px; top: 118px; }
.s3 { right: 176px; top: 158px; }
.scene-mountains {
  top: auto;
  height: 205px;
  bottom: 72px;
  background:
    linear-gradient(135deg, transparent 0 27%, rgba(36,53,82,.92) 28% 42%, transparent 43%),
    linear-gradient(225deg, transparent 0 26%, rgba(26,39,65,.98) 27% 44%, transparent 45%),
    linear-gradient(145deg, transparent 0 18%, rgba(55,78,105,.78) 19% 33%, transparent 34%);
  background-size: 250px 205px, 260px 205px, 200px 205px;
  background-position: 0 0, 150px 0, 70px 30px;
}
.scene-castle {
  inset: auto 88px 92px auto;
  width: 170px;
  height: 170px;
  background:
    linear-gradient(#1c2438,#111827) 62px 42px / 46px 118px no-repeat,
    linear-gradient(#222b42,#131b2c) 22px 78px / 128px 82px no-repeat;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.38));
}
.scene-castle i {
  position: absolute;
  bottom: 84px;
  width: 34px;
  height: 84px;
  background: linear-gradient(#263250, #141d31);
}
.scene-castle i:nth-child(1) { left: 18px; height: 68px; }
.scene-castle i:nth-child(2) { left: 68px; bottom: 112px; }
.scene-castle i:nth-child(3) { right: 18px; height: 74px; }
.scene-castle i::before {
  content: '';
  position: absolute;
  left: -5px;
  top: -18px;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 18px solid #f5c96b;
  opacity: .8;
}
.scene-ground {
  top: auto;
  height: 104px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(105,229,212,.2), transparent 55%),
    linear-gradient(180deg, #182235, #0b0f1c);
  border-top: 1px solid rgba(245,201,107,.24);
}
.crystal {
  position: absolute;
  bottom: 32px;
  width: 20px;
  height: 48px;
  background: linear-gradient(180deg, #b6fff7, #3bd1c3);
  clip-path: polygon(50% 0, 100% 24%, 70% 100%, 30% 100%, 0 24%);
  filter: drop-shadow(0 0 14px rgba(105,229,212,.55));
}
.c1 { left: 72px; transform: scale(.82) rotate(-8deg); }
.c2 { left: 116px; bottom: 22px; transform: scale(.55) rotate(12deg); }
.c3 { right: 88px; transform: scale(.72) rotate(8deg); }
.scene-hud {
  inset: auto 18px 18px 18px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  background: rgba(7,9,20,.62);
  border: 1px solid rgba(105,229,212,.28);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.scene-hud b {
  margin-right: auto;
  color: var(--secondary);
  font-size: 11px;
  letter-spacing: .12em;
}
.scene-hud span {
  width: 40px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  box-shadow: 0 0 12px rgba(105,229,212,.3);
}
.scene-hud span:nth-child(3) { width: 26px; opacity: .65; }
.scene-hud span:nth-child(4) { width: 18px; opacity: .45; }

.section-title {
  text-shadow: 0 0 24px rgba(105,229,212,.1);
}
.studio-panel {
  position: relative;
  background:
    linear-gradient(135deg, rgba(105,229,212,.08), transparent 26%),
    linear-gradient(315deg, rgba(245,201,107,.08), transparent 28%),
    rgba(14,18,34,.86);
  border-color: rgba(105,229,212,.2);
}
.studio-panel::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245,201,107,.08);
  border-radius: 8px;
  pointer-events: none;
}
.step-num {
  background: linear-gradient(135deg, rgba(105,229,212,.16), rgba(245,201,107,.12));
  border-color: rgba(105,229,212,.32);
  color: var(--primary);
  clip-path: polygon(12% 0, 88% 0, 100% 20%, 100% 80%, 88% 100%, 12% 100%, 0 80%, 0 20%);
}
select,
input[type=text],
textarea {
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent),
    rgba(5,8,18,.76);
  border-color: rgba(105,229,212,.18);
}
.chip {
  color: var(--secondary);
  background: rgba(105,229,212,.08);
  border-color: rgba(105,229,212,.28);
}

.inst-count,
.inst-selected,
.inst-tabs,
.inst-panel {
  background: rgba(4, 7, 17, .48);
  border-color: rgba(105,229,212,.16);
}
.inst-count {
  color: var(--primary);
  border-radius: 4px;
}
.inst-tabs {
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
}
.inst-tab {
  gap: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #bdccda;
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.06);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.inst-rune {
  width: 12px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: .72;
}
.inst-tab:hover,
.inst-tab.active {
  color: #071018;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-color: transparent;
  box-shadow: 0 0 22px rgba(105,229,212,.18);
}
.inst-chip {
  justify-content: flex-start;
  min-height: 40px;
  padding: 9px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border-color: rgba(255,255,255,.1);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.inst-chip::before {
  content: '';
  width: 6px;
  height: 18px;
  margin-right: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--secondary), transparent);
  opacity: .55;
}
.inst-chip:hover {
  background: rgba(105,229,212,.08);
  border-color: rgba(105,229,212,.32);
}
.inst-chip.selected {
  color: #071018;
  background: linear-gradient(135deg, rgba(105,229,212,.86), rgba(245,201,107,.86));
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(245,201,107,.28), 0 0 18px rgba(105,229,212,.22);
}
.inst-chip.selected .ic-zh {
  color: #071018;
}
.inst-selected .is-chip {
  color: #071018;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 4px;
}

.works-grid {
  gap: 26px;
}
.work-card {
  position: relative;
  border-color: rgba(105,229,212,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)),
    rgba(13,17,31,.86);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,201,107,.46);
  box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 0 34px rgba(105,229,212,.1);
}
.work-cover {
  height: 220px;
  background: #11182c;
  isolation: isolate;
}
.work-cover::before {
  z-index: 5;
  opacity: .22;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.work-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(180deg, transparent 45%, rgba(7,9,20,.72));
}
.scene-layer {
  position: absolute;
  inset: 0;
}
.scene-layer.back { z-index: 1; }
.scene-layer.mid { z-index: 2; }
.scene-layer.front { z-index: 3; }
.scene-lava { background: linear-gradient(180deg, #24122a, #441728 58%, #120912); }
.scene-lava .back { background: radial-gradient(circle at 62% 34%, rgba(255,180,82,.5), transparent 18%); }
.scene-lava .mid { background: linear-gradient(135deg, transparent 0 28%, #2b1930 29% 44%, transparent 45%), linear-gradient(225deg, transparent 0 32%, #35162a 33% 50%, transparent 51%); }
.scene-lava .front { background: radial-gradient(ellipse at 50% 100%, rgba(255,106,66,.75), transparent 45%), linear-gradient(170deg, transparent 0 52%, #150b13 53%); }
.scene-desert { background: linear-gradient(180deg, #28324a, #7d5433); }
.scene-desert .back { background: radial-gradient(circle at 72% 28%, rgba(255,221,130,.75), transparent 14%); }
.scene-desert .mid { background: linear-gradient(155deg, transparent 0 42%, rgba(221,156,76,.9) 43% 58%, transparent 59%); }
.scene-desert .front { background: radial-gradient(ellipse at 50% 105%, rgba(117,70,35,.95), transparent 55%); }
.scene-inn { background: linear-gradient(180deg, #142039, #182a30); }
.scene-inn .back { background: radial-gradient(circle at 26% 30%, rgba(245,201,107,.7), transparent 13%); }
.scene-inn .mid { background: linear-gradient(90deg, transparent 0 20%, #1b1f2a 21% 78%, transparent 79%), linear-gradient(145deg, transparent 0 28%, #2f2530 29% 42%, transparent 43%); }
.scene-inn .front { background: linear-gradient(180deg, transparent 60%, rgba(7,9,20,.82)); }
.scene-sakura { background: linear-gradient(180deg, #2b2844, #52314c); }
.scene-sakura .back { background: radial-gradient(circle at 70% 26%, rgba(255,196,209,.55), transparent 16%); }
.scene-sakura .mid { background: linear-gradient(120deg, transparent 0 46%, rgba(74,34,55,.9) 47% 52%, transparent 53%), radial-gradient(circle at 36% 40%, rgba(255,166,190,.38), transparent 22%); }
.scene-sakura .front { background: linear-gradient(180deg, transparent 64%, #1a1120); }
.scene-cafe { background: linear-gradient(180deg, #2f2435, #543928); }
.scene-cafe .back { background: radial-gradient(circle at 28% 32%, rgba(255,210,124,.58), transparent 18%); }
.scene-cafe .mid { background: linear-gradient(90deg, transparent 0 18%, rgba(255,213,128,.18) 19% 34%, transparent 35% 48%, rgba(255,213,128,.16) 49% 64%, transparent 65%); }
.scene-cafe .front { background: linear-gradient(180deg, transparent 58%, #1a1114); }
.scene-tea { background: linear-gradient(180deg, #18352f, #554127); }
.scene-tea .back { background: radial-gradient(circle at 74% 28%, rgba(245,201,107,.52), transparent 15%); }
.scene-tea .mid { background: linear-gradient(90deg, transparent 0 22%, rgba(25,39,27,.95) 23% 76%, transparent 77%); }
.scene-tea .front { background: radial-gradient(ellipse at 50% 100%, rgba(113,78,39,.8), transparent 52%); }
.scene-space { background: radial-gradient(circle at 70% 28%, rgba(105,229,212,.45), transparent 18%), linear-gradient(180deg, #111833, #080a18); }
.scene-space .back { background: radial-gradient(circle at 25% 35%, rgba(117,88,255,.42), transparent 20%); }
.scene-space .mid { background: linear-gradient(135deg, transparent 0 43%, rgba(105,229,212,.75) 44% 46%, transparent 47%); }
.scene-space .front { background: linear-gradient(180deg, transparent 64%, #070914); }
.scene-empire { background: linear-gradient(180deg, #283046, #544235); }
.scene-empire .back { background: radial-gradient(circle at 64% 28%, rgba(245,201,107,.58), transparent 17%); }
.scene-empire .mid { background: linear-gradient(90deg, transparent 0 12%, #20222d 13% 88%, transparent 89%), repeating-linear-gradient(90deg, transparent 0 35px, rgba(245,201,107,.16) 36px 40px); }
.scene-empire .front { background: linear-gradient(180deg, transparent 62%, #151018); }
.scene-north { background: linear-gradient(180deg, #24364e, #c4d7de); }
.scene-north .back { background: radial-gradient(circle at 70% 26%, rgba(255,255,255,.68), transparent 16%); }
.scene-north .mid { background: linear-gradient(135deg, transparent 0 25%, rgba(255,255,255,.9) 26% 41%, transparent 42%), linear-gradient(225deg, transparent 0 30%, rgba(129,166,184,.9) 31% 48%, transparent 49%); }
.scene-north .front { background: linear-gradient(180deg, transparent 58%, rgba(14,32,44,.78)); }
.work-cover-icon {
  top: 18px;
  left: 18px;
  width: 50px;
  height: 50px;
  z-index: 8;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 10px 28px rgba(0,0,0,.3);
}
.work-scan {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 8;
  height: 30px;
  border: 1px solid rgba(105,229,212,.22);
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, rgba(105,229,212,.45) 0 2px, transparent 2px 8px),
    rgba(7,9,20,.34);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.work-tag {
  border-radius: 4px;
  color: var(--secondary);
  background: rgba(105,229,212,.08);
  border-color: rgba(105,229,212,.24);
}
.work-title {
  font-size: 17px;
}
.play-overlay {
  z-index: 9;
  background: rgba(7,9,20,.55);
}
.play-overlay .play-btn {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 30px rgba(105,229,212,.28);
}

.case-card,
.adv-card,
.contact-item,
.stat-card {
  background:
    linear-gradient(135deg, rgba(105,229,212,.045), transparent 32%),
    rgba(13,17,31,.82);
  border-color: rgba(105,229,212,.14);
}
.player-bar {
  background: rgba(7, 9, 20, .9);
  border-top-color: rgba(105,229,212,.18);
}
.pc-btn.play,
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary) 54%, var(--accent));
}

@media (max-width: 980px) {
  .hero-scene {
    width: 100%;
    min-width: 0;
    height: 360px;
    margin-top: 34px;
  }
}
@media (max-width: 720px) {
  .hero {
    padding-top: 104px;
  }
  .hero-scene {
    height: 300px;
  }
  .scene-castle {
    right: 34px;
    transform: scale(.82);
    transform-origin: bottom right;
  }
  .moon {
    right: 34px;
    width: 66px;
    height: 66px;
  }
  .work-cover {
    height: 190px;
  }
}

/* ============================================================
   作品展示 · 新增 scene 封面(贴近赛博朋克/高饱和霓虹参考图调性)
   ============================================================ */
/* 斗兽场:红沙+铁笼+火把 */
.scene-arena { background: linear-gradient(180deg, #2a0d12, #5e1a1a 60%, #1a0608); }
.scene-arena .back { background: radial-gradient(circle at 50% 22%, rgba(255,140,60,.55), transparent 16%), radial-gradient(circle at 78% 30%, rgba(255,196,80,.35), transparent 14%); }
.scene-arena .mid { background: linear-gradient(90deg, transparent 0 16%, rgba(40,12,14,.85) 17% 28%, transparent 29% 72%, rgba(40,12,14,.85) 73% 84%, transparent 85%), repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,160,80,.06) 23px 26px); }
.scene-arena .front { background: radial-gradient(ellipse at 50% 105%, rgba(180,40,30,.7), transparent 48%), linear-gradient(180deg, transparent 56%, #1a0608); }

/* 间谍战:冷蓝雨夜+霓虹 */
.scene-spy { background: linear-gradient(180deg, #0a1733, #1b2a55 60%, #050912); }
.scene-spy .back { background: radial-gradient(circle at 28% 26%, rgba(100,200,255,.5), transparent 16%), radial-gradient(circle at 72% 32%, rgba(255,80,180,.4), transparent 14%); }
.scene-spy .mid { background: repeating-linear-gradient(105deg, transparent 0 7px, rgba(160,200,255,.14) 8px 9px), linear-gradient(180deg, transparent 0 50%, rgba(10,20,40,.6) 51%); }
.scene-spy .front { background: linear-gradient(180deg, transparent 60%, #050912), repeating-linear-gradient(180deg, transparent 0 30px, rgba(255,255,255,.03) 31px 32px); }

/* 战斗管弦乐:史诗战场黑红+金 */
.scene-battle { background: linear-gradient(180deg, #1d0a14, #4a1320 55%, #0a0306); }
.scene-battle .back { background: radial-gradient(circle at 50% 28%, rgba(255,180,70,.55), transparent 16%), radial-gradient(circle at 22% 38%, rgba(255,60,30,.35), transparent 18%), radial-gradient(circle at 80% 38%, rgba(255,60,30,.35), transparent 18%); }
.scene-battle .mid { background: linear-gradient(90deg, transparent 0 24%, rgba(255,180,70,.18) 25% 30%, transparent 31% 70%, rgba(255,180,70,.18) 71% 76%, transparent 77%); }
.scene-battle .front { background: radial-gradient(ellipse at 50% 105%, rgba(255,80,30,.5), transparent 50%), linear-gradient(180deg, transparent 58%, #0a0306); }

/* 郊外探索:绿野+阳光 */
.scene-meadow { background: linear-gradient(180deg, #1d3520, #4a6630 55%, #1a2412); }
.scene-meadow .back { background: radial-gradient(circle at 74% 22%, rgba(255,230,140,.7), transparent 14%), radial-gradient(circle at 22% 26%, rgba(180,220,255,.4), transparent 18%); }
.scene-meadow .mid { background: linear-gradient(180deg, transparent 0 52%, rgba(110,150,70,.6) 53% 64%, transparent 65%); }
.scene-meadow .front { background: radial-gradient(ellipse at 50% 105%, rgba(80,120,50,.9), transparent 52%), linear-gradient(180deg, transparent 55%, #1a2412); }

/* 神话类探索:紫雾+神殿+幽光 */
.scene-myth { background: linear-gradient(180deg, #1a0e3a, #3a1e6c 55%, #08051a); }
.scene-myth .back { background: radial-gradient(circle at 50% 24%, rgba(180,140,255,.55), transparent 16%), radial-gradient(circle at 24% 40%, rgba(100,220,255,.32), transparent 18%), radial-gradient(circle at 76% 40%, rgba(255,180,220,.32), transparent 18%); }
.scene-myth .mid { background: linear-gradient(90deg, transparent 0 30%, rgba(140,100,220,.4) 31% 36%, transparent 37% 63%, rgba(140,100,220,.4) 64% 69%, transparent 70%), linear-gradient(180deg, transparent 0 56%, rgba(60,30,110,.6) 57%); }
.scene-myth .front { background: radial-gradient(ellipse at 50% 105%, rgba(120,70,220,.55), transparent 52%), linear-gradient(180deg, transparent 60%, #08051a); }

/* 中央广场:夕阳金黄+石板 */
.scene-plaza { background: linear-gradient(180deg, #3a2410, #7a4a1e 55%, #2a1808); }
.scene-plaza .back { background: radial-gradient(circle at 78% 26%, rgba(255,200,90,.75), transparent 16%), radial-gradient(circle at 22% 36%, rgba(255,140,80,.35), transparent 18%); }
.scene-plaza .mid { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(60,30,10,.4) 19px 20px), repeating-linear-gradient(0deg, transparent 0 18px, rgba(60,30,10,.3) 19px 20px); }
.scene-plaza .front { background: radial-gradient(ellipse at 50% 105%, rgba(150,80,30,.75), transparent 52%), linear-gradient(180deg, transparent 60%, #2a1808); }

/* 日系学园:樱花+操场 */
.scene-campus { background: linear-gradient(180deg, #3a1e36, #6e3a5c 55%, #1a0e18); }
.scene-campus .back { background: radial-gradient(circle at 28% 24%, rgba(255,180,210,.65), transparent 16%), radial-gradient(circle at 72% 28%, rgba(255,210,230,.5), transparent 14%); }
.scene-campus .mid { background: radial-gradient(circle at 18% 60%, rgba(255,160,200,.4), transparent 12%), radial-gradient(circle at 42% 48%, rgba(255,180,210,.4), transparent 12%), radial-gradient(circle at 78% 64%, rgba(255,170,205,.4), transparent 12%); }
.scene-campus .front { background: linear-gradient(180deg, transparent 58%, #1a0e18); }

/* 现代都市商场:霓虹紫粉+高楼 */
.scene-city { background: linear-gradient(180deg, #140432, #3a0d6a 50%, #0a0220); }
.scene-city .back { background: radial-gradient(circle at 26% 26%, rgba(255,100,200,.55), transparent 14%), radial-gradient(circle at 74% 30%, rgba(80,180,255,.55), transparent 14%); }
.scene-city .mid { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,100,200,.1) 19px 22px, transparent 23px 36px, rgba(80,180,255,.1) 37px 40px), linear-gradient(180deg, transparent 0 48%, rgba(20,8,40,.75) 49% 72%, transparent 73%); }
.scene-city .front { background: linear-gradient(180deg, transparent 56%, #0a0220), repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,150,220,.08) 41px 42px); }

/* 抓大鸭:池塘绿蓝+波纹 */
.scene-pond { background: linear-gradient(180deg, #143a3a, #2a6e6a 50%, #081a1e); }
.scene-pond .back { background: radial-gradient(circle at 30% 22%, rgba(255,240,160,.6), transparent 14%), radial-gradient(circle at 70% 28%, rgba(180,255,220,.5), transparent 14%); }
.scene-pond .mid { background: repeating-radial-gradient(circle at 50% 100%, transparent 0 14px, rgba(180,240,220,.14) 15px 16px), linear-gradient(180deg, transparent 0 54%, rgba(40,100,90,.6) 55%); }
.scene-pond .front { background: radial-gradient(ellipse at 50% 105%, rgba(30,80,80,.85), transparent 52%), linear-gradient(180deg, transparent 60%, #081a1e); }

/* 新增 mark 图标样式(复用圆形容器) */
.work-cover-icon.mark-neon::before { inset: 16px 18px; border: 0; background: rgba(12,15,18,.82); clip-path: polygon(20% 0, 80% 0, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0 70%, 0 30%); }
.work-cover-icon.mark-neon::after { inset: 24px 26px; border: 3px solid rgba(255,180,240,.85); border-radius: 4px; background: transparent; box-shadow: 0 0 12px rgba(255,120,220,.6); }
.work-cover-icon.mark-duck::before { inset: 18px 22px 22px 18px; border: 0; background: rgba(255,220,80,.92); border-radius: 50% 60% 50% 50%; }
.work-cover-icon.mark-duck::after { inset: 16px 16px auto auto; width: 14px; height: 14px; border: 0; background: rgba(20,20,20,.9); border-radius: 50%; box-shadow: 20px 4px 0 -2px rgba(255,140,40,.95); }

/* ============================================================
   用户系统：导航登录态 + 登录/注册弹窗
   ============================================================ */
.nav-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-guest { display: flex; align-items: center; gap: 8px; }
.auth-guest[hidden], .auth-user[hidden] { display: none; }
.auth-login-btn, .auth-reg-btn { padding: 8px 16px; font-size: 14px; }

/* 已登录：用户胶囊 + 下拉菜单 */
.auth-user { position: relative; display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-1);
  transition: var(--transition-fast);
}
.user-chip:hover { border-color: var(--primary); background: var(--bg-elev); }
.user-avatar {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 13px;
}
.user-name { font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 1200;
}
.user-menu[hidden] { display: none; }
.user-menu-email {
  font-size: 12px; color: var(--text-3);
  padding: 8px 10px; border-bottom: 1px solid var(--border-soft);
  margin-bottom: 6px; word-break: break-all;
}
.user-menu-item {
  width: 100%; text-align: left;
  padding: 9px 10px; border: 0; background: transparent;
  color: var(--text-2); font-size: 14px; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition-fast);
}
.user-menu-item:hover { background: rgba(233,30,99,.12); color: var(--primary); }

/* 弹窗 */
.auth-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
}
.auth-modal[hidden] { display: none; }
.auth-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,7,18,.72);
  backdrop-filter: blur(6px);
  animation: authFade .2s ease-out;
}
.auth-card {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
  padding: 32px 28px 28px;
  animation: authPop .26s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes authFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes authPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.auth-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px;
  border: 0; background: transparent;
  color: var(--text-3); font-size: 24px; line-height: 1;
  cursor: pointer; border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.auth-close:hover { color: var(--text-1); background: rgba(255,255,255,.06); }
.auth-tabs {
  display: flex; gap: 4px;
  background: var(--bg-deep);
  border-radius: 999px; padding: 4px; width: fit-content;
  margin: 0 auto 4px;
}
.auth-tab {
  padding: 8px 24px; border: 0; background: transparent;
  color: var(--text-3); font-size: 14px; font-weight: 600;
  border-radius: 999px; cursor: pointer; transition: var(--transition-fast);
}
.auth-tab.active { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.auth-title {
  text-align: center; font-size: 20px; font-weight: 700;
  margin: 16px 0 22px; color: var(--text-1);
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field[hidden] { display: none; }
.auth-field span { font-size: 13px; color: var(--text-2); }
.auth-field input {
  width: 100%; box-sizing: border-box;
  padding: 11px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1); font-size: 15px;
  transition: var(--transition-fast);
}
.auth-field input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233,30,99,.15);
}
.auth-err {
  font-size: 13px; color: var(--danger);
  background: rgba(245,63,63,.1);
  border: 1px solid rgba(245,63,63,.3);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.auth-err[hidden] { display: none; }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }

.credit-chip {
  border: 1px solid rgba(245,201,107,.32);
  background: rgba(245,201,107,.1);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.billing-modal,
.publish-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
}
.billing-modal[hidden],
.publish-modal[hidden] { display: none; }
.billing-card {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 26px;
}
.billing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.billing-plan {
  min-height: 130px;
  border: 1px solid rgba(105,229,212,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  color: var(--text-1);
  border-radius: 8px;
  padding: 18px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-fast);
}
.billing-plan:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.bp-credits { font-size: 20px; font-weight: 800; }
.bp-price { color: var(--primary); font-size: 18px; font-weight: 800; }
.bp-bonus { color: var(--text-3); font-size: 12px; }
.billing-note {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12px;
}

@media (max-width: 900px) {
  .billing-plans {
    grid-template-columns: 1fr;
  }
  .credit-chip {
    padding: 7px 10px;
  }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-right { gap: 8px; }
  .user-name { max-width: 80px; }
}

/* ============================================================
   GDD 分析模式
   ============================================================ */
.gdd-area {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: rgba(10, 11, 26, 0.3);
}
.gdd-area textarea {
  min-height: 180px;
  font-size: 13px;
  line-height: 1.7;
  background: rgba(10, 11, 26, 0.6);
  font-family: inherit;
}
.gdd-area .block {
  margin-bottom: 12px;
}
.gdd-hint {
  font-size: 12px;
  color: var(--text-4);
  margin-left: auto;
}

/* Classification summary */
.gdd-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: rgba(10, 11, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.gdd-summary-label {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 100%;
  margin-bottom: 4px;
}
.gdd-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  background: rgba(10, 11, 26, 0.5);
  color: var(--text-2);
}
.gdd-summary-chip.wv { border-color: rgba(233, 30, 99, 0.4); }
.gdd-summary-chip.gp { border-color: rgba(74, 158, 255, 0.4); }

/* ============================================================
   一句话简述智能匹配
   ============================================================ */
.mode-entry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
#briefStep .gdd-area textarea {
  min-height: 96px;
}
.brief-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.brief-examples .hint {
  font-size: 12px;
  color: var(--text-4);
}
.brief-example {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-3);
  border: 1px solid var(--border);
  background: rgba(10, 11, 26, 0.5);
  cursor: pointer;
  transition: color .18s, border-color .18s;
}
.brief-example:hover {
  color: var(--text-1);
  border-color: var(--border-strong);
}
.brief-summary-text {
  width: 100%;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 6px;
}
.brief-feedback-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.brief-feedback-row input {
  flex: 1;
  min-width: 0;
}
.brief-deep {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
}
.brief-deep input {
  width: auto;
  accent-color: var(--primary);
}

/* 图片视觉拆解 */
.gdd-visual-detail {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(10, 11, 26, 0.35);
}
.gdd-visual-detail summary {
  cursor: pointer;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  user-select: none;
}
.gdd-visual-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  padding: 3px 0;
  line-height: 1.5;
}
.gdd-visual-row b {
  flex: 0 0 64px;
  color: var(--text-3);
  font-weight: 500;
}

/* Requirements list */
.gdd-reqlist {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gdd-reqlist[hidden] { display: none !important; }
.gdd-reqlist-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}
.gdd-reqlist-count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
  margin-left: auto;
}
/* 每条需求里"反馈调整"输入区 */
.gdd-req-feedback {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.gdd-req-feedback input {
  flex: 1;
  font-size: 13px;
  padding: 8px 12px;
  min-height: 0;
  background: rgba(10, 11, 26, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
}
.gdd-req-feedback input:focus {
  outline: none;
  border-color: var(--secondary);
}
.gdd-req-feedback .btn { font-size: 12px; padding: 8px 14px; }

/* Requirement row */
.gdd-req-row {
  background: rgba(10, 11, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s;
}
.gdd-req-row:hover { border-color: rgba(233, 30, 99, 0.3); }
.gdd-req-row.generating { border-left: 3px solid var(--warning); opacity: 0.85; }
.gdd-req-row.done { border-left: 3px solid var(--success); }
.gdd-req-row.failed { border-left: 3px solid var(--danger); }
.gdd-req-row.edited { border-left: 3px solid #e7b75f; }

.gdd-req-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.gdd-req-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-4);
  flex-shrink: 0;
}
.gdd-req-status.ready     { background: var(--secondary); }
.gdd-req-status.edited    { background: #e7b75f; }
.gdd-req-status.generating { background: var(--warning); animation: pulse 1.2s infinite; }
.gdd-req-status.done      { background: var(--success); }
.gdd-req-status.failed    { background: var(--danger); }

.gdd-req-scene {
  font-size: 14px; font-weight: 600; color: var(--text-1);
  flex-shrink: 0;
}
.gdd-req-scene-desc {
  font-size: 12px; color: var(--text-3); margin-left: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1 1 auto; min-width: 0;
}
.gdd-req-path {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0;
}
.gdd-req-body {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--text-2); margin-top: 4px;
}
.gdd-req-body > span { display: flex; align-items: center; gap: 4px; }
/* 单独生成按钮:内联到 head 末尾,推到最右 */
.gdd-req-actions {
  display: flex; gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.gdd-req-actions:empty { display: none; }
.gdd-req-actions .btn { font-size: 11px; padding: 4px 12px; }
.gdd-req-track {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}
.gdd-req-track audio { width: 100%; max-width: 400px; height: 32px; }

/* Chat modal */
.gdd-chat-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.gdd-chat-modal[hidden] { display: none; }
.gdd-chat-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.6);
}
.gdd-chat-card {
  position: relative; width: 520px; max-width: 90vw; max-height: 80vh;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.gdd-chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.gdd-chat-head h4 { font-size: 15px; font-weight: 600; color: var(--text-1); flex: 1; }
.gdd-chat-body {
  display: flex; flex-direction: column; padding: 16px 20px; gap: 12px;
  overflow: hidden; flex: 1;
}
.gdd-chat-current {
  background: rgba(10, 11, 26, 0.4); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px;
}
.gdd-chat-section { display: flex; gap: 8px; margin-bottom: 3px; }
.gdd-chat-label { color: var(--text-3); flex-shrink: 0; }
.gdd-chat-value { color: var(--text-2); }
.gdd-chat-messages {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;
  min-height: 100px; max-height: 260px;
}
.gdd-chat-msg {
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; line-height: 1.6; max-width: 85%;
}
.gdd-chat-msg.assistant {
  background: rgba(74, 158, 255, 0.1); border: 1px solid rgba(74, 158, 255, 0.2);
  color: var(--text-2); align-self: flex-start; white-space: pre-wrap;
}
.gdd-chat-msg.user {
  background: rgba(233, 30, 99, 0.12); border: 1px solid rgba(233, 30, 99, 0.2);
  color: var(--text-1); align-self: flex-end;
}
.gdd-chat-msg.loading {
  align-self: flex-start; font-size: 12px; color: var(--text-4);
}
.gdd-chat-input-row { display: flex; gap: 8px; }
.gdd-chat-input-row input { flex: 1; }
.gdd-chat-input-row .btn { flex-shrink: 0; }

/* ---- GDD Image Upload ---- */
.gdd-image-upload {
  margin-bottom: 16px;
}
.gdd-image-dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gdd-image-dropzone:hover,
.gdd-image-dropzone.drag-over {
  border-color: var(--secondary);
  background: rgba(74, 158, 255, 0.08);
}
.gdd-image-dropzone span {
  font-size: 14px; color: var(--text-3);
}
.gdd-image-dropzone .hint {
  font-size: 12px; color: var(--text-4);
}
/* 主入口里的图片区更紧凑 */
.studio-panel .gdd-area .gdd-image-dropzone {
  padding: 16px 14px;
  margin-top: 8px;
}
.studio-panel .gdd-area .gdd-image-dropzone .gdd-image-dropzone-text {
  font-size: 13px;
  color: var(--text-3);
}
/* 浅色子提示文本 */
.brief-hint-text {
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-4);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--border-strong);
  line-height: 1.6;
}
.gdd-image-previews {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 12px;
}
.gdd-image-preview {
  position: relative;
  width: 100px; height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
}
.gdd-image-preview img {
  width: 100%; height: 100%; object-fit: cover;
}
.gdd-image-preview .gdd-image-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-3); font-size: 10px;
  padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gdd-image-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-2); font-size: 14px; line-height: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.18s ease;
  padding: 0;
}
.gdd-image-remove:hover {
  background: rgba(233, 30, 99, 0.85); border-color: var(--primary);
  color: #fff;
}
.gdd-image-actions {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; flex-wrap: wrap;
}
.gdd-image-actions .hint { font-size: 12px; }

/* Responsive */
@media (max-width: 600px) {
  .gdd-chat-card { width: 95vw; max-height: 90vh; }
  /* 窄屏:head 换行,按钮下移到第二行,占满宽度 */
  .gdd-req-head { flex-wrap: wrap; }
  .gdd-req-scene-desc { flex: 1 1 100%; margin-left: 0; }
  .gdd-req-actions { margin-left: 0; }
}

/* ============================================================
   Step 1 主输入区:textarea 与图片 dropzone 并排(3:1),高度翻倍
   ============================================================ */
.studio-panel .step-primary .gdd-area {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.studio-panel .step-primary .gdd-area > label,
.studio-panel .step-primary .gdd-area > #briefStatus,
.studio-panel .step-primary .gdd-area > .gdd-image-previews,
.studio-panel .step-primary .gdd-area > .gdd-actions,
.studio-panel .step-primary .gdd-area > .brief-feedback-row,
.studio-panel .step-primary .gdd-area > #gddRequirementsList,
.studio-panel .step-primary .gdd-area > #gddStep {
  grid-column: 1 / -1;
}
.studio-panel .step-primary .gdd-area > #briefInputWrap {
  grid-column: 1;
}
.studio-panel .step-primary .gdd-area > #gddImageDropzone {
  grid-column: 2;
  margin-top: 0;
  min-height: 260px;
  justify-content: center;
}
.studio-panel .step-primary .gdd-area #briefInput {
  min-height: 260px;
}
@media (max-width: 720px) {
  .studio-panel .step-primary .gdd-area {
    grid-template-columns: 1fr;
  }
  .studio-panel .step-primary .gdd-area > #gddImageDropzone {
    min-height: 160px;
  }
}

/* ============================================================
   分类微调:select 加大字号与高度,改善 Chrome 下拉字号与贴合度
   ============================================================ */
.studio-panel .class-panel select,
.studio-panel .class-panel select option,
.studio-panel .class-panel optgroup {
  font-size: 16px;
}
.studio-panel .class-panel select {
  padding: 14px 16px;
  min-height: 50px;
  cursor: pointer;
  line-height: 1.4;
}
.studio-panel .class-panel label {
  font-size: 13px;
}

/* ============================================================
   分类微调自定义下拉:用 button + menu 替换原生 select,
   弹出菜单严格贴合触发器位置、字号统一 16px
   ============================================================ */
.studio-panel .class-panel label {
  position: relative;          /* 给 .cs 提供定位上下文 */
  display: block;              /* 让 .cs 块级填充,菜单宽度贴合 trigger */
}
.studio-panel .class-panel label.has-cs > select:not(.cs-native-hidden) {
  /* 兜底:理论上不应该出现,但避免任何残留 select 误占位 */
  display: none;
}
.cs {
  position: relative;
  display: block;
}
.cs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 50px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text-1);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.cs-trigger:hover { border-color: var(--primary); background: rgba(255,255,255,.06); }
.cs-trigger:focus { outline: none; border-color: var(--primary); }
.cs-trigger .cs-caret {
  flex: none;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-2);
  margin-left: 8px;
  transition: transform .15s;
}
.cs[data-open="1"] .cs-trigger { border-color: var(--primary); background: rgba(231,183,95,.08); }
.cs[data-open="1"] .cs-caret { transform: rotate(180deg); }

.cs-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  background: #16191f;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  z-index: 50;
  padding: 4px 0;
  font-size: 16px;
}
.cs-menu[hidden] { display: none; }
.cs-opt {
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.4;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-opt:hover { background: rgba(231,183,95,.12); color: var(--text-1); }
.cs-opt[aria-selected="true"] {
  background: rgba(231,183,95,.18);
  color: var(--primary);
  font-weight: 600;
}
/* 隐藏原生 select 但保留可访问性 */
.studio-panel .class-panel label > select.cs-native-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   在线创作区:外层 panel 透明、::before 装饰去除,宽度 1.3 倍,
   三个 step 各自独立成框
   ============================================================ */
.section-create .studio-panel {
  max-width: 1430px;        /* 1100 * 1.3 */
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.section-create .studio-panel::before {
  content: none;
}
.section-create .studio-panel .step {
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 22px;
}
.section-create .studio-panel .step:last-child {
  margin-bottom: 0;
}
.section-create .studio-panel .step:not(.step-primary) {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  border: 1px solid var(--border-soft);
}
/* 区域1:去掉 .gdd-area 这层框(保留 grid 布局,只去视觉容器) */
.section-create .studio-panel .step-primary .gdd-area {
  border: none;
  background: transparent;
  padding: 0;
}

/* ============================================================
   分类微调 · AI 匹配完成的光线/扫描动画
   ============================================================ */
.class-panel { position: relative; border-radius: 8px; transition: box-shadow .25s ease; }

/* 整面板扫光带 */
.class-panel.matched-flash::before {
  content: '';
  position: absolute;
  inset: -6px -4px;
  border-radius: 12px;
  background: linear-gradient(120deg,
    transparent 0%,
    transparent 18%,
    rgba(231, 183, 95, 0.55) 38%,
    rgba(184, 51, 255, 0.5) 55%,
    rgba(74, 158, 255, 0.4) 72%,
    transparent 92%);
  background-size: 220% 100%;
  background-position: 200% 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
  animation: matchSweep 1.6s ease-out forwards;
}
/* 内层光晕环 */
.class-panel.matched-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(231, 183, 95, .35),
    0 0 28px rgba(231, 183, 95, .18),
    0 0 36px rgba(184, 51, 255, .14);
  pointer-events: none;
  animation: matchGlow 1.6s ease-out forwards;
}
@keyframes matchSweep {
  0%   { background-position: 220% 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { background-position: -120% 0; opacity: 0; }
}
@keyframes matchGlow {
  0%   { box-shadow: 0 0 0 1px rgba(231,183,95,0), 0 0 0 rgba(231,183,95,0); }
  25%  { box-shadow: 0 0 0 1px rgba(231,183,95,.45), 0 0 30px rgba(231,183,95,.28), 0 0 38px rgba(184,51,255,.22); }
  100% { box-shadow: 0 0 0 1px rgba(231,183,95,0), 0 0 0 rgba(231,183,95,0); }
}

/* 每个自定义下拉触发器逐个高亮(波纹感) */
.class-panel.matched-flash .cs-trigger,
.class-panel.matched-flash label.has-cs > .cs {
  animation: matchPulse 1.4s ease-out;
}
.class-panel.matched-flash label.has-cs:nth-child(1) .cs-trigger { animation-delay: 0.02s; }
.class-panel.matched-flash label.has-cs:nth-child(2) .cs-trigger { animation-delay: 0.08s; }
.class-panel.matched-flash label.has-cs:nth-child(3) .cs-trigger { animation-delay: 0.14s; }
.class-panel.matched-flash label.has-cs:nth-child(4) .cs-trigger { animation-delay: 0.20s; }
.class-panel.matched-flash label.has-cs:nth-child(5) .cs-trigger { animation-delay: 0.26s; }
@keyframes matchPulse {
  0%   { box-shadow: 0 0 0 0 rgba(231, 183, 95, 0); border-color: var(--border-strong); transform: none; }
  20%  { box-shadow: 0 0 0 2px rgba(231, 183, 95, .55), 0 0 16px rgba(184, 51, 255, .35); border-color: var(--primary); }
  60%  { box-shadow: 0 0 0 1px rgba(231, 183, 95, .3), 0 0 10px rgba(184, 51, 255, .2); }
  100% { box-shadow: 0 0 0 0 rgba(231, 183, 95, 0); border-color: var(--border-strong); }
}

/* "AI 已匹配" 角标 */
.class-gen-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  letter-spacing: .3px;
  animation: badgePop .5s ease-out;
}
.class-gen-badge::before {
  content: '✓';
  font-size: 11px;
  color: var(--gold);
}
@keyframes badgePop {
  0%   { opacity: 0; transform: scale(.6); }
  60%  { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
.class-gen-badge.fading { animation: badgeFade 1.2s ease-out forwards; }
@keyframes badgeFade {
  from { opacity: 1; }
  to   { opacity: 0; transform: translateY(-4px); }
}

/* ============================================================
   分类微调区域 · 生成按钮行
   ============================================================ */
.class-gen-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-soft);
}

/* ============================================================
   创作区底部背景:与全站深色星云背景衔接
   ============================================================ */
.section-create {
  background:
    radial-gradient(circle at 18% 10%,  rgba(117, 88, 255, 0.10), transparent 32%),
    radial-gradient(circle at 85% 88%, rgba(255, 123, 97, 0.10), transparent 30%),
    radial-gradient(circle at 50% 114%, rgba(105, 229, 212, 0.12), transparent 46%),
    linear-gradient(180deg, #0a0d1b, #070914 52%, #0a0d14);
}
.section-create::before {
  background:
    radial-gradient(ellipse 70% 50% at 12% 8%,  rgba(105, 229, 212, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 45% at 88% 92%, rgba(117, 88, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 35% at 50% 50%, rgba(245, 201, 107, 0.06), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 38px);
}

/* ============================================================
   作品展示 · 精选作品 + 用户发布
   ============================================================ */
.works-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto 18px;
}
.works-subtitle {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.works-subtitle::before {
  content: '';
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
}
.works-subtitle-hint {
  font-size: 12px;
  color: var(--text-3);
}

.feat-work-card .work-cover { position: relative; }
.feat-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #071018;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.feat-cat.cat-rpg    { background: linear-gradient(135deg, #7adbd5, #f5c96b); }
.feat-cat.cat-action { background: linear-gradient(135deg, #ff7b61, #f5c96b); }
.feat-cat.cat-casual { background: linear-gradient(135deg, #69e5d4, #7adbd5); }

.feat-work-card {
  display: flex;
  flex-direction: column;
}
.feat-work-card .work-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.feat-work-card .feat-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.feat-work-card .feat-card-head .work-title { flex: 1; min-width: 0; }
.feat-tag {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 11px;
  color: var(--secondary);
  background: rgba(105,229,212,.1);
  border: 1px solid rgba(105,229,212,.26);
  border-radius: 999px;
  padding: 3px 9px;
}
.feat-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-work-card .work-foot {
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 12px;
}
.feat-work-card .work-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   增强 pass · logo-mark 音符徽标 / 导航胶囊 / Hero 充实
   （追加在文件末尾以覆盖前面的主题 pass）
   ============================================================ */

/* ---- logo-mark：更精致的八分音符徽标 ---- */
.logo-mark::before,
.logo-mark::after {
  display: none;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .42));
}

/* ---- Hero：kicker / actions / stats + 氛围光 ---- */
/* 去掉 hero 背景里那个因 pulse 动画位移的"移动方块" */
.hero-bg-glow {
  display: none;
}
.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .2em;
  margin-bottom: 18px;
}
.hero-kicker::before,
.hero-kicker::after {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary));
  opacity: .75;
}
.hero-kicker::after {
  background: linear-gradient(90deg, var(--secondary), transparent);
}
.hero-subtitle {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #d9e5ec;
}
.hero-actions {
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.hero-actions .btn {
  padding: 13px 30px;
  font-size: 15px;
  border-radius: 999px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-stat {
  min-width: 120px;
  padding: 14px 20px 15px;
  border-radius: 14px;
  background: rgba(16, 21, 39, .55);
  border: 1px solid rgba(105, 229, 212, .18);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px);
}
.hero-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  text-shadow: 0 0 22px rgba(245, 201, 107, .3);
}
.hero-stat-label {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-2);
}

@media (max-width: 720px) {
  .hero-stats { gap: 8px; }
  .hero-stat { min-width: 96px; padding: 11px 14px 12px; }
  .hero-stat-num { font-size: 21px; }
}




/* ============================================================
   统一 mini 播放器（替换原生 <audio controls>）
   全站只有一个 #hiddenAudio 实例，各曲目卡的播放按钮/进度条
   都通过它播放并同步。样式追加在文件末尾以覆盖前面的 pass。
   ============================================================ */
.mini-player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.track .mini-player { margin-top: 4px; }
.my-track-row .mini-player {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}
.mini-play {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
  padding: 0;
}
.mini-play:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(233, 30, 99, 0.12);
}
.mini-play.is-pause {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}
/* 播放三角 */
.mini-play::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  margin-left: 2px;
}
/* 暂停：两条竖杠 */
.mini-play.is-pause::before {
  width: 12px;
  height: 14px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}
.mini-progress {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  min-width: 40px;
  overflow: hidden;
}
.mini-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.15s linear;
}
.mini-time {
  font-size: 11px;
  color: var(--text-3);
  font-family: Menlo, monospace;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
/* 正在播放的曲目卡高亮 */
.track.playing,
.my-track-row.playing {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(233, 30, 99, 0.35);
}

/* ============================================================
   页脚 · 联系我们（2026-08 改版覆盖）
   ============================================================ */
.foot {
  position: relative;
  padding: 36px 40px 30px;
  border-top: 1px solid transparent;
  background:
    linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box,
    linear-gradient(90deg, rgba(233, 30, 99, 0.45), rgba(184, 51, 255, 0.32), rgba(74, 158, 255, 0.45)) border-box;
}
.foot-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
}
/* 品牌区 */
.foot-brand { min-width: 0; }
.foot-brand-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-1);
}
.foot-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #E91E63, #B833FF 55%, #4a9eff);
  box-shadow: var(--shadow-glow-pink);
}
.foot-logo svg { width: 20px; height: 20px; }
.foot-slogan {
  margin: 12px 0 0;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
}
.foot-copy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-4);
  opacity: 0.85;
}
/* 联系卡片 */
.foot-contact {
  min-width: 300px;
  max-width: 360px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(74, 158, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.foot-contact-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.foot-contact-title::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, #E91E63, #B833FF);
}
.foot-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.fc-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #4a9eff, #2196F3);
  box-shadow: var(--shadow-sm);
}
.foot-contact-item:nth-child(2) .fc-icon {
  background: linear-gradient(135deg, #25c46c, #1da851);
}
.fc-icon svg { width: 18px; height: 18px; }
.fc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fc-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-4);
}
.fc-value {
  font-size: 14px;
  color: var(--text-2);
  word-break: break-all;
  transition: color 0.2s;
}
.foot-contact-item:hover .fc-value { color: var(--primary); }
@media (max-width: 720px) {
  .foot-inner { flex-direction: column; }
  .foot-contact { width: 100%; max-width: none; }
}

