/* === src/styles/tokens.css === */
:root {
  /* 画廊中性基底 — 纯白留白与极克制冷灰，让实体唱片封面成为唯一视觉主角 */
  --paper: #FFFFFF;
  --paper-elevated: #FFFFFF;
  --paper-muted: #F4F4F5;
  --paper-hover: #E9E9EC;

  /* 锐利墨黑层级 */
  --ink: #0A0A0B;
  --ink-secondary: #52525B;
  --ink-muted: #71717A;
  --ink-faint: #A1A1AA;

  /* 极细 1px 瑞士网格线 */
  --rule: #E4E4E7;
  --rule-strong: #D4D4D8;

  /* 主交互（纯粹深黑）与唯一克制点缀（模拟录音灯信号红） */
  --cobalt: #111113;
  --cobalt-hover: #27272A;
  --cobalt-soft: #F4F4F5;
  --vermilion: #E5392E;
  --vermilion-soft: #FEF2F2;

  /* 精密工作台画布（Figma / Teenage Engineering 暗黑工业台面） */
  --mat-bg: #141416;
  --mat-grid: rgba(255, 255, 255, 0.045);
  --mat-grid-major: rgba(255, 255, 255, 0.095);
  --mat-ink: #F4F4F5;
  --mat-muted: #A1A1AA;

  /* 克制语义状态色 */
  --ok: #15803D;
  --ok-soft: #F0FDF4;
  --warn: #A16207;
  --warn-soft: #F4F4F5;
  --err: #DC2626;
  --err-soft: #FEF2F2;

  /* 现代瑞士无衬线 + 等宽索引排版体系（告别满屏老旧宋体） */
  --font-serif: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", "Monaco", Consolas, monospace;

  /* 利落现代圆角与克制阴影 */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-paper: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sleeve: 0 20px 48px rgba(0, 0, 0, 0.48), 0 2px 8px rgba(0, 0, 0, 0.28);

  /* 版心 */
  --container-max: 1200px;
  --header-h: 60px;
}


/* === src/styles/base.css === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.58;
  background-color: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* 顶部导航栏：纯粹通透玻璃白 + 1px 极细线 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.brand__name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand__domain {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--ink);
  background: var(--paper-muted);
}

.site-nav__link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -10px;
  height: 2px;
  background: var(--ink);
}

.site-nav__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 99px;
  background: var(--paper-muted);
  color: var(--ink-secondary);
}

.site-nav__link.is-active .site-nav__count {
  background: var(--ink);
  color: #FFFFFF;
}

/* 按钮体系：黑白高反差 + 克制信号红点缀 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn--primary {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.btn--primary:hover:not(:disabled) {
  background: #27272A;
  border-color: #27272A;
}

.btn--accent {
  background: var(--vermilion);
  color: #FFFFFF;
  border-color: var(--vermilion);
}

.btn--accent:hover:not(:disabled) {
  background: #CC2E24;
  border-color: #CC2E24;
}

.btn--ink {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.btn--ink:hover:not(:disabled) {
  background: #27272A;
}

.btn--outline {
  background: #FFFFFF;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn--outline:hover:not(:disabled) {
  background: var(--paper-muted);
  border-color: var(--ink-faint);
}

.btn--ghost {
  color: var(--ink-secondary);
  background: transparent;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--paper-muted);
  color: var(--ink);
}

.btn--danger {
  color: var(--err);
  border-color: #FECACA;
  background: #FFFFFF;
}

.btn--danger:hover:not(:disabled) {
  background: var(--err-soft);
  border-color: #FCA5A5;
}

.btn--sm {
  padding: 5px 10px;
  font-size: 0.79rem;
}

.btn--lg {
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* 通用表单元素 */
.input,
.select,
.textarea {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.9rem;
  background: #FFFFFF;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 11, 0.08);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-faint);
}

/* 标签：极度降噪，消除花哨 AI 徽章堆砌感 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  line-height: 1.5;
  border-radius: var(--radius-xs);
  background: var(--paper-muted);
  color: var(--ink-secondary);
  border: 1px solid transparent;
  white-space: nowrap;
}

.tag--demo {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--rule);
}

.tag--cobalt {
  background: #111113;
  color: #FFFFFF;
  border-color: #111113;
}

.tag--mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

/* 章节标题：克制清晰，细线收口 */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

.section-head__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.section-head__link {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.14s ease;
}

.section-head__link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 专辑网格卡片：极简唱片画廊风（零冗余描边，封面自带气场） */
.album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
}

.album-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.album-card__cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--paper-muted);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.album-card:hover .album-card__cover-wrap {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.album-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card__meta {
  padding-top: 12px;
  min-width: 0;
}

.album-card__title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.38;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: color 0.14s ease;
}

.album-card:hover .album-card__title {
  color: var(--vermilion);
}

.album-card__artist {
  margin: 3px 0 0;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-card__foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.album-card__year {
  font-family: var(--font-mono);
  color: var(--ink-secondary);
}

.album-card__dot {
  color: var(--ink-faint);
}

/* 页脚：干净冷白轻底 */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--rule);
  background: #FAFAFA;
  padding: 36px 0 44px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.site-footer__brand {
  max-width: 520px;
}

.site-footer__title {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

.site-footer__desc {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.sister-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.sister-link:hover {
  border-color: var(--ink);
  background: var(--paper-muted);
}

.site-footer__note {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Toast 反馈 */
.toast-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: #111113;
  color: #F4F4F5;
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  border-left: 3px solid #FFFFFF;
  animation: toastIn 0.18s ease-out;
}

.toast--ok {
  border-left-color: #22C55E;
}

.toast--error {
  border-left-color: #EF4444;
}

.toast--warn {
  border-left-color: #F59E0B;
}

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

/* 空状态 */
.empty-box {
  padding: 48px 24px;
  text-align: center;
  background: #FAFAFA;
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius-md);
}

.empty-box__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.empty-box__desc {
  margin: 0 auto 20px;
  max-width: 440px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.empty-box__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* 响应式 */
@media (max-width: 1024px) {
  .album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding: 10px 0 6px;
    gap: 8px;
  }

  .brand__domain {
    font-size: 0.7rem;
    padding-left: 8px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 2px;
  }

  .site-nav__link {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .site-nav__link.is-active::after {
    left: 10px;
    right: 10px;
    bottom: -2px;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .site-footer__links {
    align-items: flex-start;
  }
}


/* === src/styles/pages.css === */
/* === 首页 === */
.home-search-section {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--rule);
  background: #FFFFFF;
}

.home-search-inner {
  max-width: 740px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.home-title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.home-lead {
  margin: 0 0 26px;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  max-width: 580px;
}

.search-bar {
  display: flex;
  gap: 10px;
  width: 100%;
}

.search-bar__input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-bar__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--ink-faint);
  pointer-events: none;
}

.search-bar__input {
  padding: 13px 16px 13px 42px;
  font-size: 0.95rem;
  background: #FAFAFA;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
}

.search-bar__input:focus {
  background: #FFFFFF;
  border-color: var(--ink);
}

.search-hints {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.search-hint-chip {
  border: none;
  background: var(--paper-muted);
  color: var(--ink-secondary);
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 0.78rem;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.search-hint-chip:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.home-section {
  padding-top: 44px;
}

/* 首页封套制作入口（哑光深黑工业展板，与白底唱片画廊形成强烈视觉节奏） */
.studio-entry-card {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 34px 36px;
  background: #111113;
  color: #FAFAFA;
  border: 1px solid #27272A;
  border-radius: 12px;
}

.studio-entry-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vermilion);
  margin-bottom: 10px;
}

.studio-entry-card__title {
  margin: 0 0 10px;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #FFFFFF;
}

.studio-entry-card__desc {
  margin: 0 0 22px;
  font-size: 0.88rem;
  line-height: 1.68;
  color: #A1A1AA;
}

.studio-entry-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.studio-entry-card .btn--ink {
  background: #FFFFFF;
  color: #0A0A0B;
  border-color: #FFFFFF;
  font-weight: 600;
}

.studio-entry-card .btn--ink:hover:not(:disabled) {
  background: #E4E4E7;
  border-color: #E4E4E7;
}

.studio-entry-card .btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: #F4F4F5;
  border-color: rgba(255, 255, 255, 0.18);
}

.studio-entry-card .btn--outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.studio-entry-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 22px;
  background: #1A1A1E;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--mat-ink);
  gap: 16px;
}

.mini-cd-sleeve {
  position: relative;
  width: 112px;
  height: 92px;
  display: flex;
  align-items: center;
}

.mini-cd-sleeve__case {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  background: #FFFFFF;
  color: #0A0A0B;
  padding: 6px;
  border-radius: 2px;
  border-left: 7px solid #111113;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-cd-sleeve__art {
  width: 100%;
  height: 54px;
  background: linear-gradient(155deg, #18181B 0%, #27272A 58%, #E5392E 58%, #E5392E 62%, #09090B 62%);
}

.mini-cd-sleeve__title {
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.mini-cd-sleeve__disc {
  position: absolute;
  right: 0;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, #18181B 0 14%, #D4D4D8 15% 32%, #F4F4F5 33% 62%, #E5392E 63% 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.mini-jcard {
  display: flex;
  height: 106px;
  background: #FFFFFF;
  color: #0A0A0B;
  border-radius: 1px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mini-jcard__back {
  width: 24px;
  border-right: 1px dashed #A1A1AA;
  padding: 6px 3px;
  font-size: 6px;
  color: #71717A;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-jcard__spine {
  width: 18px;
  border-right: 1px dashed #A1A1AA;
  background: #111113;
  color: #FFFFFF;
  writing-mode: vertical-rl;
  font-size: 7px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.mini-jcard__front {
  width: 70px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-jcard__art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #18181B 0%, #3F3F46 52%, #E5392E 52%, #E5392E 100%);
  border-radius: 1px;
}

.mini-jcard__caption {
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
}

.studio-entry-specs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.75;
  color: #A1A1AA;
}

.studio-entry-specs strong {
  color: #FAFAFA;
  font-weight: 500;
}

/* === 专辑库与搜索页 === */
.catalog-page {
  padding-top: 32px;
}

.catalog-toolbar {
  background: #FAFAFA;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.catalog-toolbar__top {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-group__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  padding: 4px 11px;
  font-size: 0.8rem;
  border-radius: 99px;
  border: 1px solid transparent;
  background: #FFFFFF;
  color: var(--ink-secondary);
  box-shadow: 0 0 0 1px var(--rule);
  transition: all 0.14s ease;
}

.pill:hover {
  box-shadow: 0 0 0 1px var(--ink-faint);
  color: var(--ink);
}

.pill.is-active {
  background: var(--ink);
  color: #FFFFFF;
  box-shadow: 0 0 0 1px var(--ink);
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.catalog-status__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-sort-select {
  width: auto;
  padding: 5px 10px;
  font-size: 0.8rem;
}

/* 卡片上的版本角标与载体小标签 */
.album-card__ver-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(10, 10, 11, 0.78);
  color: #FFFFFF;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

.album-card__formats {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.format-mini-tag {
  display: inline-block;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  border-radius: 3px;
  background: var(--paper-muted);
  color: var(--ink-secondary);
  border: 1px solid transparent;
  white-space: nowrap;
}

.format-mini-tag--strong {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
  font-weight: 600;
}

/* 专辑库 Discogs 风格目录列表视图 */
.catalog-list-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow-x: auto;
}

.catalog-list-table {
  width: 100%;
  border-collapse: collapse;
}

.catalog-list-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: #FAFAFA;
  border-bottom: 1px solid var(--rule);
}

.catalog-list-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}

.catalog-list-table tr:last-child td {
  border-bottom: none;
}

.catalog-list-table tbody tr:hover {
  background: #FAFAFA;
}

.cat-list-thumb {
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}

.cat-list-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.cat-list-title:hover {
  color: var(--cobalt);
  text-decoration: underline;
}

.cat-list-alias {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.cat-list-artist {
  font-size: 0.83rem;
  color: var(--ink-secondary);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* 详情页 Discogs Master 档案与多版本表 */
.master-summary-box {
  margin-top: 12px;
  padding: 13px 14px;
  background: #FAFAFA;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 0.81rem;
}

.master-summary-box__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--ink-muted);
}

.master-summary-box__row .mono {
  font-family: var(--font-mono);
  color: var(--ink);
}

.master-summary-box__link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}

.master-summary-box__link:hover {
  color: var(--vermilion);
  text-decoration-color: var(--vermilion);
}

.master-summary-box__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

.active-version-banner {
  margin: 14px 0 6px;
  padding: 11px 14px;
  background: #FAFAFA;
  border: 1px solid var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.discogs-meta-grid {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 7px 14px;
  margin: 16px 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
}

.discogs-meta-grid dt {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.discogs-meta-grid dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

.discogs-meta-grid dd.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.meta-styles {
  color: var(--ink-secondary);
  font-size: 0.83rem;
}

.credits-notes-section {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.credits-box {
  padding: 20px 22px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.credits-box__title {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.credits-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credits-list__row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  font-size: 0.86rem;
}

.credits-list__row dt {
  color: var(--ink-muted);
}

.credits-list__row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.credits-box__notes {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

/* 发行版本区块 */
.versions-section {
  margin-top: 36px;
}

.versions-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  padding: 12px 16px;
  background: #FAFAFA;
  border: 1px solid var(--rule);
  border-radius: 8px;
  margin-bottom: 14px;
}

.versions-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.versions-table {
  width: 100%;
  border-collapse: collapse;
}

.versions-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: #FAFAFA;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

.versions-table td {
  padding: 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 0.85rem;
}

.versions-table tr:last-child td {
  border-bottom: none;
}

.versions-table tbody tr:hover {
  background: #FAFAFA;
}

.versions-table tbody tr.is-selected-version {
  background: #F4F4F5;
}

.ver-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ver-name {
  font-family: var(--font-serif);
  font-size: 0.94rem;
  color: var(--ink);
}

.ver-spec {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
  margin-top: 4px;
}

.ver-notes {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.ver-catno {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cobalt);
  margin-top: 2px;
}

.ver-col-country,
.ver-col-year {
  white-space: nowrap;
  color: var(--ink-secondary);
}

.ver-col-year {
  font-family: var(--font-mono);
}

.ver-ops-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ver-mobile-meta {
  display: none;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--ink-secondary);
}

.ver-mobile-meta code {
  font-family: var(--font-mono);
  color: var(--cobalt);
}

/* === 专辑详情页 === */
.detail-page {
  padding-top: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--cobalt);
  text-decoration: underline;
}

.album-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule-strong);
}

.album-hero__cover-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-muted);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.album-hero__info {
  min-width: 0;
}

.album-hero__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.album-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.album-hero__alias {
  margin: 6px 0 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
  word-break: break-word;
}

.album-meta-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px 20px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.album-meta-item__label {
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.album-meta-item__value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.album-meta-item__value--mono {
  font-family: var(--font-mono);
}

.album-hero__desc {
  margin: 0 0 22px;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.album-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* 曲目表与选曲时长试算条 */
.tracklist-section {
  margin-top: 30px;
}

.detail-duration-bar {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #FAFAFA;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.detail-duration-bar.is-over {
  border-color: #FCA5A5;
  background: #FEF2F2;
}

.detail-duration-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.detail-duration-bar__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-duration-bar__ops {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.detail-duration-bar__meter-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.detail-duration-bar__status {
  color: var(--ok);
  font-weight: 600;
}

.detail-duration-bar__status.is-warn {
  color: var(--warn);
}

.detail-duration-bar__status.is-over {
  color: var(--err);
}

.detail-track-chk {
  width: 16px;
  height: 16px;
  accent-color: var(--cobalt);
  cursor: pointer;
  vertical-align: middle;
}

.tracklist-col-chk {
  width: 38px;
  text-align: center;
}

.tracklist-table tbody tr.is-unchecked {
  opacity: 0.45;
}

.tracklist-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.tracklist-table th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 10px 14px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--rule);
  letter-spacing: 0.02em;
}

.tracklist-table td {
  padding: 11px 14px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.tracklist-table tr:last-child td {
  border-bottom: none;
}

.tracklist-table tbody tr:hover {
  background: #FAFAFA;
}

.tracklist-col-no {
  width: 60px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.tracklist-col-title {
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.tracklist-col-artist {
  color: var(--ink-secondary);
  width: 28%;
  word-break: break-word;
}

.tracklist-col-dur {
  width: 76px;
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-secondary);
  font-size: 0.86rem;
  white-space: nowrap;
}

.tracklist-table th.tracklist-col-dur {
  text-align: right;
}

.related-section {
  margin-top: 48px;
}

/* === 艺人索引与歌手详情页 === */
.artist-inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  transition: color 0.14s ease, text-decoration-color 0.14s ease;
}

.artist-inline-link:hover {
  color: var(--vermilion);
  text-decoration-color: var(--vermilion);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.artist-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.artist-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-faint);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.artist-card__thumb {
  width: 112px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-muted);
}

.artist-card__body {
  min-width: 0;
}

.artist-card__code {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.artist-card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.artist-card:hover .artist-card__name {
  color: var(--cobalt);
}

.artist-card__alias {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artist-card__meta {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.artist-card__stats {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cobalt);
}

.artist-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule-strong);
}

.artist-hero__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(26, 25, 24, 0.12);
}

.artist-disco-section {
  margin-top: 32px;
}

.artist-disco-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.cat-list-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-muted);
  font-size: 0.68rem;
  color: var(--ink-muted);
  text-align: center;
  padding: 4px;
}

.artist-extra-box {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--paper-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}

.artist-extra-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.artist-extra-box__head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.96rem;
}

.artist-extra-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.artist-extra-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 0.84rem;
}

/* === 我的项目页 === */
.projects-page {
  padding-top: 28px;
}

.projects-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 24px;
}

.projects-head__title {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
}

.projects-head__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.draft-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
  align-items: start;
}

.draft-card__thumb {
  width: 112px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--paper-muted);
}

.draft-card__body {
  min-width: 0;
}

.draft-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.draft-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  word-break: break-word;
}

.draft-card__meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 4px 0 12px;
  line-height: 1.5;
}

.draft-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 打印与尺寸说明 */
.print-guide {
  margin-top: 40px;
  padding: 24px 26px;
  background: #FAFAFA;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.print-guide__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.print-guide__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.print-guide__list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.spec-table th,
.spec-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.spec-table th {
  color: var(--ink-muted);
  font-weight: 600;
  background: var(--paper-muted);
}

.spec-table td.mono {
  font-family: var(--font-mono);
}

/* === 多角度实物图廊 & 实体识别码 === */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.gallery-thumb-btn {
  padding: 6px 4px;
  font-size: 0.74rem;
  font-family: var(--font-sans);
  color: var(--ink-secondary);
  background: var(--paper-elevated);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  cursor: pointer;
  text-align: center;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.gallery-thumb-btn:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

.gallery-thumb-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-elevated);
  font-weight: 600;
}

.identifiers-card {
  margin-top: 18px;
  padding: 20px 22px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.identifiers-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.identifiers-card__sub {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.identifiers-card__sub code {
  font-family: var(--font-mono);
  color: var(--cobalt);
}

.identifiers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: center;
}

.identifiers-barcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
}

.identifiers-barcode-box svg {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.identifiers-barcode-cap {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  text-align: center;
}

/* === 个人空间三标签 & 唱片架 === */
.projects-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 12px;
}

.projects-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--paper-elevated);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.projects-tab-btn:hover {
  border-color: var(--cobalt);
  color: var(--ink);
}

.projects-tab-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-elevated);
}

.projects-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: var(--paper-muted);
  color: var(--ink);
}

.projects-tab-btn.is-active .projects-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.shelf-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: #FAFAFA;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 0.85rem;
}

.shelf-item-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* === 演职员反查页 === */
.credit-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-strong);
}

.credit-hero__main {
  min-width: 0;
  flex: 1 1 320px;
}

.credit-roles-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.credit-hero__artist-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.credit-appearances-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.credit-appearance-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 10px;
}

.credit-appearance-card__thumb {
  width: 86px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-muted);
}

.credit-appearance-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credit-appearance-card__body {
  min-width: 0;
}

.credit-appearance-roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.credit-appearance-card__ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.label-card__thumb,
.label-hero__stamp {
  background: var(--paper-elevated);
}

@media (max-width: 860px) {
  .studio-entry-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .album-hero,
  .artist-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .album-hero__cover-box,
  .artist-hero__portrait {
    max-width: 260px;
  }

  .gallery-thumbs {
    max-width: 260px;
  }

  .identifiers-grid {
    grid-template-columns: 1fr;
  }

  .credit-hero__artist-link {
    align-items: flex-start;
  }

  .credit-appearance-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .credit-appearance-card__thumb {
    width: 72px;
  }

  .credit-appearance-card__ops {
    grid-column: 1 / -1;
  }

  .artist-grid,
  .projects-grid,
  .print-guide__grid,
  .credits-notes-section {
    grid-template-columns: 1fr;
  }

  .cat-col-label,
  .ver-col-label,
  .ver-col-country,
  .ver-col-year {
    display: none;
  }

  .ver-mobile-meta {
    display: block;
  }
}

@media (max-width: 600px) {
  .search-bar {
    flex-direction: column;
  }

  .catalog-toolbar__top {
    flex-direction: column;
  }

  .tracklist-table th,
  .tracklist-table td {
    padding: 9px 8px;
    font-size: 0.84rem;
  }

  .tracklist-col-no {
    width: 44px;
  }

  .tracklist-col-artist {
    display: none;
  }

  .tracklist-col-title-artist {
    display: block;
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--ink-muted);
    margin-top: 2px;
  }

  .draft-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .draft-card__thumb {
    width: 84px;
  }
}

@media (min-width: 601px) {
  .tracklist-col-title-artist {
    display: none;
  }
}


/* === src/styles/studio.css === */
/* === 封套制作工作台（重构：顶部介质快切带 + 左 5-Tab 精炼编辑区 + 右大画幅实时预览） === */
.studio-shell {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-h));
  min-height: 620px;
}

.studio-topbar {
  background: var(--paper-elevated);
  border-bottom: 1px solid var(--rule);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.studio-topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 260px;
}

.studio-project-input {
  max-width: 240px;
  padding: 5px 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
}

.studio-project-input:focus {
  outline: none;
  border-color: var(--cobalt);
  background: #FFFFFF;
}

.studio-topbar__status {
  font-size: 0.76rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.studio-topbar__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

/* 顶部横向介质快速切换带 */
.studio-media-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
}

.media-rail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid var(--rule);
  background: #FFFFFF;
  color: var(--ink-secondary);
  font-size: 0.79rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.14s ease;
}

.media-rail-btn:hover {
  border-color: var(--ink-faint);
  color: var(--ink);
}

.media-rail-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
}

.media-rail-btn__tag {
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 99px;
  background: var(--paper-muted);
  color: var(--ink-muted);
}

.media-rail-btn.is-active .media-rail-btn__tag {
  background: rgba(255, 255, 255, 0.16);
  color: #E4E4E7;
}

/* 主双栏区：左侧 5-Tab 分层编辑面板，右侧宽敞实体成品预览 */
.studio-workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
}

/* 左侧编辑区（顶部固定 5 个分类标签 + 下方内容体） */
.studio-editor {
  background: #FFFFFF;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.editor-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #FAFAFA;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}

.editor-tab-btn {
  padding: 10px 4px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.14s ease;
  white-space: nowrap;
}

.editor-tab-btn:hover {
  color: var(--ink);
  background: var(--paper-muted);
}

.editor-tab-btn.is-active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--ink);
  background: #FFFFFF;
}

.editor-tab-btn__ico {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1;
}

.editor-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 32px;
}

/* 文字对象切换胶囊（借鉴 TaperCraft 编辑文字 Tab） */
.text-target-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.text-target-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.14s ease;
}

.text-target-chip:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

.text-target-chip.is-active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
  font-weight: 600;
}

.text-target-chip--add {
  border-style: dashed;
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--cobalt-soft);
}

.text-target-chip--add:hover {
  background: var(--cobalt);
  color: #FFFFFF;
}

.font-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.font-choice-btn {
  padding: 7px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  background: var(--paper);
  text-align: left;
  font-size: 0.8rem;
  color: var(--ink);
  transition: all 0.14s ease;
}

.font-choice-btn:hover {
  border-color: var(--ink-muted);
}

.font-choice-btn.is-active {
  border-color: var(--cobalt);
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-weight: 600;
}

.seg-inline {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--paper);
}

.seg-inline button {
  padding: 5px 10px;
  border: none;
  border-right: 1px solid var(--rule);
  background: transparent;
  font-size: 0.76rem;
  color: var(--ink-secondary);
}

.seg-inline button:last-child {
  border-right: none;
}

.seg-inline button.is-active {
  background: var(--ink);
  color: var(--paper-elevated);
  font-weight: 600;
}

/* 窄屏分屏切换按钮（桌面端隐藏） */
.studio-mobile-expand {
  display: none;
}

.editor-group {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.editor-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.editor-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.editor-group__title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.editor-field {
  margin-bottom: 11px;
}

.editor-field:last-child {
  margin-bottom: 0;
}

.editor-label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.editor-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* 介质模板网格 */
.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.template-card {
  text-align: left;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  transition: all 0.14s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.template-card:hover {
  border-color: var(--ink-muted);
}

.template-card.is-active {
  border-color: var(--cobalt);
  background: var(--cobalt-soft);
  box-shadow: inset 0 0 0 1px var(--cobalt);
}

.template-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  line-height: 1.3;
}

.template-card__name > span:first-child {
  white-space: nowrap;
}

.template-card__dim {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-muted);
}

.template-card__badge {
  font-size: 0.67rem;
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--warn-soft);
  color: var(--warn);
  white-space: nowrap;
}

.template-card__badge--ready {
  background: var(--ok-soft);
  color: var(--ok);
}

/* 配色主题与封面预设 */
.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  background: var(--paper);
  font-size: 0.78rem;
}

.swatch-btn.is-active {
  border-color: var(--cobalt);
  background: var(--cobalt-soft);
  font-weight: 600;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.cover-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.cover-preset-btn {
  padding: 2px;
  border: 2px solid transparent;
  border-radius: var(--radius-xs);
  background: var(--paper-muted);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.cover-preset-btn.is-active {
  border-color: var(--cobalt);
}

.cover-upload-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 曲目编辑列表与介质时长控制 */
.capacity-panel {
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.capacity-panel.is-over {
  border-color: rgba(184, 50, 39, 0.55);
  background: #FDF6F5;
}

.capacity-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.capacity-panel__label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8rem;
}

.capacity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.cap-pill {
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  border: 1px solid var(--rule-strong);
  background: var(--paper-elevated);
  color: var(--ink-secondary);
  border-radius: var(--radius-xs);
  transition: all 0.12s ease;
}

.cap-pill:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

.cap-pill.is-active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
  font-weight: 600;
}

.cap-meter {
  margin-bottom: 8px;
}

.cap-meter:last-child {
  margin-bottom: 0;
}

.cap-meter__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  margin-bottom: 4px;
}

.cap-meter__status {
  color: var(--ok);
  font-weight: 600;
}

.cap-meter__status.is-warn {
  color: var(--warn);
}

.cap-meter__status.is-over {
  color: var(--err);
}

.cap-bar {
  height: 7px;
  background: var(--paper-muted);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cap-bar__fill {
  height: 100%;
  background: var(--cobalt);
  border-radius: 99px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.cap-bar__fill.is-warn {
  background: #C9821E;
}

.cap-bar__fill.is-over {
  background: var(--vermilion);
}

.cap-alert-actions {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed rgba(184, 50, 39, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.side-split-controls {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

.side-split-controls__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.side-split-range {
  width: 100%;
  accent-color: var(--cobalt);
}

/* 曲库选曲抽屉 */
.library-picker {
  margin-bottom: 10px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--cobalt);
  border-radius: var(--radius-sm);
}

.library-picker__controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.library-picker__list {
  max-height: 210px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.library-picker__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  background: var(--paper-elevated);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 0.78rem;
}

.library-picker__info {
  min-width: 0;
  flex: 1;
}

.library-picker__title {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-picker__sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.library-picker__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.library-picker__dur {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.library-picker__fit {
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--err-soft);
  color: var(--err);
}

.track-editor-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--vermilion);
  font-weight: 600;
}

.track-divider::before,
.track-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(200, 62, 43, 0.35);
}

.track-editor-row {
  display: grid;
  grid-template-columns: 20px 22px minmax(0, 1fr) 56px auto;
  gap: 5px;
  align-items: center;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  transition: opacity 0.15s ease;
}

.track-editor-row.is-excluded {
  opacity: 0.48;
  background: var(--paper-muted);
}

.track-editor-row__chk {
  margin: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--cobalt);
  cursor: pointer;
}

.track-editor-row__idx {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  text-align: center;
}

.track-editor-row__fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-editor-row input {
  padding: 4px 7px;
  font-size: 0.82rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #FFFFFF;
}

.track-editor-row input.is-sub {
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.track-editor-row input.is-dur {
  font-family: var(--font-mono);
  text-align: center;
  padding: 4px 4px;
}

.track-editor-row__ops {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.icon-mini-btn {
  width: 22px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--paper-elevated);
  border-radius: 2px;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--ink-secondary);
}

.icon-mini-btn:hover:not(:disabled) {
  background: var(--paper-muted);
  color: var(--ink);
}

.icon-mini-btn--del:hover {
  background: var(--err-soft);
  color: var(--err);
  border-color: rgba(184, 50, 39, 0.4);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* === 右侧实体预览切割台 === */
.studio-preview-pane {
  background: var(--mat-bg);
  background-image:
    linear-gradient(to right, var(--mat-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--mat-grid) 1px, transparent 1px),
    linear-gradient(to right, var(--mat-grid-major) 1px, transparent 1px),
    linear-gradient(to bottom, var(--mat-grid-major) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  position: relative;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 10px 16px;
  background: rgba(20, 20, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--mat-ink);
}

.preview-seg {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}

.preview-seg__btn {
  padding: 5px 10px;
  font-size: 0.78rem;
  border: none;
  background: transparent;
  color: var(--mat-muted);
  border-radius: 4px;
  white-space: nowrap;
}

.preview-seg__btn.is-active {
  background: #FFFFFF;
  color: #0A0A0B;
  font-weight: 600;
}

.preview-spec-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mat-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-spec-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-spec-pill strong {
  color: var(--mat-ink);
  font-weight: 500;
}

.preview-stage {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px;
  gap: 18px;
}

.preview-canvas-wrap {
  margin: auto 0;
  transform-origin: center top;
  transition: transform 0.18s ease;
  max-width: 100%;
}

.preview-svg-frame {
  display: block;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.45));
}

.preview-footer-bar {
  padding: 10px 20px;
  background: rgba(20, 20, 22, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--mat-muted);
}

.preview-notice-banner {
  max-width: 620px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(250, 240, 223, 0.14);
  border: 1px solid rgba(229, 163, 62, 0.45);
  color: #F6DCAA;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

/* 实体折合拟物预览 */
.folded-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.cassette-case-mock {
  position: relative;
  width: 244px;
  height: 376px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.1));
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: flex;
  gap: 0;
}

.cassette-case-mock__spine {
  width: 34px;
  height: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  overflow: hidden;
  border-radius: 2px 0 0 2px;
}

.cassette-case-mock__front {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 0 2px 2px 0;
  position: relative;
}

.cassette-case-mock__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(122deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 29%, transparent 72%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 4px;
}

.cd-case-mock {
  position: relative;
  width: 320px;
  height: 300px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 6px 6px 6px 26px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.cd-case-mock__hinge {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0 4px, rgba(0, 0, 0, 0.25) 4px 8px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.cd-case-mock__inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.cd-back-mock {
  width: 336px;
  height: 300px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.cd-back-mock__spine {
  color: #FFFFFF;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
  padding: 8px 0;
}

.cd-back-mock__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cd-disc-mock {
  position: relative;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.52), 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.cd-disc-mock__art {
  width: 100%;
  height: 100%;
}

.cd-disc-mock__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 106px;
  height: 106px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(215, 222, 230, 0.92) 60%, rgba(165, 175, 185, 0.85) 100%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-disc-mock__hole {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mat-bg);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.cd-disc-mock__sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.24) 0%, transparent 35%, transparent 65%, rgba(255, 255, 255, 0.14) 100%);
}

/* MiniDisc 实体盘壳与 Obi 侧标拟物展示 */
.md-cartridge-mock {
  position: relative;
  width: 280px;
  height: 296px;
  background: linear-gradient(145deg, #3A3F45, #22262B);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px 4px 4px 10px;
  padding: 18px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

.md-cartridge-mock__shutter {
  position: absolute;
  top: 0;
  right: 12px;
  width: 74px;
  height: 222px;
  background: linear-gradient(90deg, #B5BDC6, #E1E6EB 38%, #9AA4AE 62%, #CFD6DD);
  border-left: 1px solid rgba(0, 0, 0, 0.35);
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 0 0 4px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #3A424A;
  letter-spacing: 0.12em;
}

.md-cartridge-mock__label {
  position: relative;
  z-index: 2;
  width: 158px;
  height: 236px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.md-cartridge-mock__label.is-full {
  width: 176px;
  height: 258px;
}

.obi-wrapped-mock {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.52);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.obi-wrapped-mock__strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 82px;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 18px rgba(0, 0, 0, 0.35);
}

/* 批量导入曲目面板 & 徽标开关 */
.import-panel {
  margin-bottom: 10px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--cobalt);
  border-radius: var(--radius-sm);
}

.import-panel textarea {
  width: 100%;
  min-height: 88px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 7px 8px;
  background: #FFFFFF;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  resize: vertical;
  margin-bottom: 8px;
}

.track-display-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 9px;
  margin-bottom: 8px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  color: var(--ink-secondary);
}

.track-display-bar label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.badge-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-toggle-btn {
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-xs);
  background: var(--paper);
  color: var(--ink-secondary);
}

.badge-toggle-btn.is-active {
  background: var(--ink);
  color: var(--paper-elevated);
  border-color: var(--ink);
}

/* 响应式：窄屏采用「上览下编」实时同屏布局 + 可一键全屏放大预览 */
@media (max-width: 900px) {
  .studio-shell {
    height: auto;
    min-height: calc(100vh - var(--header-h));
  }

  .studio-workspace {
    display: flex;
    flex-direction: column-reverse;
  }

  .studio-preview-pane {
    min-height: 44vh;
    max-height: 54vh;
    border-bottom: 1px solid var(--rule-strong);
  }

  .studio-workspace.is-preview-expanded .studio-preview-pane {
    min-height: 76vh;
    max-height: none;
  }

  .studio-workspace.is-preview-expanded .studio-editor {
    display: none;
  }

  .studio-mobile-expand {
    display: inline-flex;
  }

  .studio-editor {
    border-right: none;
    overflow: visible;
  }

  .editor-panel-body {
    overflow: visible;
  }

  .preview-toolbar {
    flex-wrap: wrap;
    padding: 8px 12px;
  }

  .preview-spec-pill {
    order: 3;
    width: 100%;
    white-space: normal;
  }

  .studio-topbar {
    padding: 8px 12px;
  }

  .studio-media-rail {
    padding: 6px 12px;
  }

  .studio-project-input {
    max-width: 100%;
    flex: 1;
  }
}


/* === src/styles/studio3d.css === */
/* === 3D 交互实体预览引擎样式 === */

.stage-3d {
  position: relative;
  width: 100%;
  min-height: 520px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: grab;
  transition: background 0.25s ease;
}

.stage-3d:active {
  cursor: grabbing;
}

.stage-3d[data-bg="mat"] {
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.06) 0%, transparent 62%);
}

.stage-3d[data-bg="paper"] {
  background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #EDE7DA 78%);
}

.stage-3d[data-bg="midnight"] {
  background: radial-gradient(circle at 50% 35%, #243954 0%, #101824 78%);
}

.stage-3d[data-bg="chroma"] {
  background: #22B14C;
}

.stage-3d__hint {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  pointer-events: none;
  z-index: 5;
}

.stage-3d[data-bg="paper"] .stage-3d__hint {
  color: rgba(26, 25, 24, 0.55);
}

.scene-3d {
  width: 100%;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1150px;
  perspective-origin: 50% 48%;
}

.obj-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  --rx: -14deg;
  --ry: -28deg;
  --sc: 1;
  --glare-x: 32%;
  --irid-deg: 40deg;
  transform: scale(var(--sc)) rotateX(var(--rx)) rotateY(var(--ry));
}

.obj-3d.is-smooth {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 底座阴影 */
.obj-3d__floor-shadow {
  position: absolute;
  left: 50%;
  bottom: -44px;
  width: 240px;
  height: 60px;
  transform: translateX(-50%) rotateX(90deg);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.12) 52%, transparent 72%);
  pointer-events: none;
}

/* 通用 6 面长方体结构 */
.box-3d {
  position: relative;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
}

.face-3d {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  backface-visibility: hidden;
  overflow: hidden;
}

.face-3d--front {
  width: var(--w);
  height: var(--h);
  transform: translateZ(calc(var(--d) / 2));
}

.face-3d--back {
  width: var(--w);
  height: var(--h);
  transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
}

.face-3d--left {
  width: var(--d);
  height: var(--h);
  left: calc((var(--w) - var(--d)) / 2);
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
}

.face-3d--right {
  width: var(--d);
  height: var(--h);
  left: calc((var(--w) - var(--d)) / 2);
  transform: rotateY(90deg) translateZ(calc(var(--w) / 2));
}

.face-3d--top {
  width: var(--w);
  height: var(--d);
  top: calc((var(--h) - var(--d)) / 2);
  transform: rotateX(90deg) translateZ(calc(var(--h) / 2));
}

.face-3d--bottom {
  width: var(--w);
  height: var(--d);
  top: calc((var(--h) - var(--d)) / 2);
  transform: rotateX(-90deg) translateZ(calc(var(--h) / 2));
}

/* 亚克力外壳反光层（随旋转动态偏移） */
.glare-3d {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent calc(var(--glare-x) - 24%),
    rgba(255, 255, 255, 0.24) calc(var(--glare-x) - 4%),
    rgba(255, 255, 255, 0.05) calc(var(--glare-x) + 12%),
    transparent calc(var(--glare-x) + 30%)
  );
  z-index: 6;
}

/* 透明硬壳边缘质感 */
.acrylic-rim {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(215, 224, 232, 0.16) 50%, rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.25);
}

/* === 1. CD 透明水晶盒 === */
.jewel-3d {
  --w: 288px;
  --h: 256px;
  --d: 22px;
}

.jewel-3d__front {
  display: flex;
  background: rgba(245, 248, 252, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.jewel-3d__hinge {
  width: 24px;
  flex-shrink: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0 3px, rgba(30, 35, 42, 0.42) 3px 6px);
  border-right: 1px solid rgba(255, 255, 255, 0.36);
}

.jewel-3d__front-paper {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.jewel-3d__spine {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 2px;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.jewel-3d__spine span {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  max-height: 220px;
  overflow: hidden;
  white-space: nowrap;
}

/* === 2. CD 光盘 3D（正面印刷 + 背面彩虹全息光学层） === */
.disc-3d {
  position: relative;
  width: 284px;
  height: 284px;
  transform-style: preserve-3d;
}

.disc-3d__face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.36);
}

.disc-3d__face--front {
  transform: translateZ(2px);
}

.disc-3d__face--back {
  transform: rotateY(180deg) translateZ(2px);
  background:
    conic-gradient(
      from var(--irid-deg),
      #C9D2DC 0deg,
      #8BD3E6 38deg,
      #D8B4F8 76deg,
      #F7D59C 118deg,
      #A4E4C8 164deg,
      #C9D2DC 210deg,
      #8DC2F5 260deg,
      #F2B8D4 310deg,
      #C9D2DC 360deg
    );
}

.disc-3d__face--back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 22%, rgba(255, 255, 255, 0.22) 23%, transparent 25%, rgba(0, 0, 0, 0.08) 65%, rgba(255, 255, 255, 0.25) 98%);
}

.disc-3d__rim {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 3px solid rgba(220, 228, 236, 0.65);
  transform: translateZ(0px);
  pointer-events: none;
}

.disc-3d__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.82) 0%, rgba(205, 214, 224, 0.9) 55%, rgba(145, 156, 168, 0.78) 100%);
  border: 2px solid rgba(255, 255, 255, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.disc-3d__hole {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1B1E21;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

/* === 3. 磁带 Norelco 盒 + J-Card === */
.jcard-3d {
  --w: 196px;
  --h: 304px;
  --d: 40px;
}

.jcard-3d__front {
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.jcard-3d__back {
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  background: rgba(24, 27, 30, 0.88);
  display: flex;
  overflow: hidden;
}

.jcard-3d__back-flap {
  width: 72px;
  padding: 10px 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.jcard-3d__back-shell {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.35));
}

.jcard-3d__reel {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 6px solid #3C3834;
  background: radial-gradient(circle, #181A1C 0 38%, #D8D3C8 39% 62%, #2B2A29 63% 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* === 4. 卡带本体 A/B 双面 3D === */
.cassette-shell-3d {
  --w: 308px;
  --h: 196px;
  --d: 34px;
}

.cassette-shell-3d__face {
  background: linear-gradient(155deg, #2F3236 0%, #1D1F22 100%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 16px 18px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cassette-shell-3d__sticker {
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.cassette-shell-3d__window {
  margin: 8px auto 6px;
  width: 146px;
  height: 42px;
  border-radius: 20px;
  background: rgba(18, 20, 22, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.cassette-shell-3d__gear {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px dashed #E4DFD5;
  background: #1B1D20;
}

.cassette-shell-3d__bridge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 184px;
  height: 26px;
  background: #25282C;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 24px;
}

.cassette-shell-3d__pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #121416;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cassette-shell-3d__edge {
  background: linear-gradient(180deg, #32363B, #1D2024);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* === 5. MiniDisc 实体盘壳 3D === */
.md-3d {
  --w: 256px;
  --h: 270px;
  --d: 18px;
}

.md-3d__front {
  background:
    radial-gradient(circle at 52% 52%, rgba(160, 180, 200, 0.16) 0 42%, transparent 43%),
    linear-gradient(145deg, #363C44 0%, #1F242A 100%);
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px 4px 4px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.md-3d__back {
  background:
    radial-gradient(circle at 50% 50%, #C6CED6 0 14%, #7A8590 15% 21%, #282D34 22% 100%);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px 10px 10px 4px;
}

.md-3d__shutter {
  position: absolute;
  top: 0;
  right: 12px;
  width: 68px;
  height: 196px;
  background: linear-gradient(90deg, #9CA6B0 0%, #DFE5EB 32%, #8F99A4 58%, #CFD6DD 88%, #8A949E 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.45);
  border-right: 1px solid rgba(0, 0, 0, 0.45);
  border-bottom: 2px solid rgba(0, 0, 0, 0.38);
  border-radius: 0 0 4px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #363E47;
  letter-spacing: 0.12em;
  z-index: 3;
}

.md-3d__back-shutter {
  position: absolute;
  top: 0;
  left: 12px;
  width: 68px;
  height: 196px;
  background: linear-gradient(90deg, #8F99A4, #C8D0D8 45%, #88929C);
  border-left: 1px solid rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
  border-radius: 0 0 4px 4px;
}

.md-3d__sticker {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 142px;
  height: 214px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
  z-index: 2;
}

.md-3d__sticker.is-full {
  top: 6px;
  left: 6px;
  width: 242px;
  height: 256px;
}

.md-3d__edge {
  background: linear-gradient(180deg, #2D3238, #1C2025);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-3d__spine-sticker {
  width: 14px;
  height: 222px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.md-3d__spine-sticker span {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  max-height: 205px;
  overflow: hidden;
  white-space: nowrap;
}

/* === 6. Obi 侧标三面包覆 3D === */
.obi-3d {
  --w: 276px;
  --h: 276px;
  --d: 20px;
}

/* === 底部悬浮 3D 控制胶囊 HUD === */
.hud-3d {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(20, 22, 25, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.hud-3d__btn {
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid transparent;
  background: transparent;
  color: #D8DCE0;
  font-size: 0.76rem;
  white-space: nowrap;
  transition: all 0.14s ease;
}

.hud-3d__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.hud-3d__btn.is-active {
  background: #FFFFFF;
  color: #0A0A0B;
  font-weight: 600;
}

.hud-3d__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 2px;
}

.hud-3d__bg-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.hud-3d__bg-dot:hover {
  transform: scale(1.12);
}

.hud-3d__bg-dot.is-active {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 2px var(--cobalt);
}

@media (max-width: 720px) {
  .stage-3d {
    min-height: 440px;
  }

  .scene-3d {
    height: 360px;
  }

  .hud-3d {
    border-radius: 12px;
    bottom: 8px;
    padding: 6px 8px;
  }
}


/* === src/styles/print.css === */
.print-sheet {
  display: none;
}

@page {
  size: A4 portrait;
  margin: 0;
}

@media print {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #FFFFFF !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .app-shell,
  .toast-root {
    display: none !important;
  }

  .print-sheet {
    display: block !important;
    width: 210mm;
    height: 297mm;
    position: relative;
    background: #FFFFFF;
    overflow: hidden;
    page-break-after: avoid;
  }

  .print-sheet img {
    width: 210mm;
    height: 297mm;
    display: block;
    object-fit: contain;
  }
}
