
/* H5 UI 调整 · 工作区恢复 / 已读 / 提交气泡 */

.h5-submit-result-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12000;
  padding: 10px 16px;
  border-radius: var(--radius-md, 12px);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-on-dark, #f1f5f9);
  font-size: var(--text-base, 14px);
  box-shadow: var(--shadow-md);
  max-width: min(92vw, 420px);
  pointer-events: none;
}

.h5-submit-result-toast.is-ok {
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.h5-submit-result-toast.is-err {
  border: 1px solid rgba(239, 68, 68, 0.45);
}

/* 普通业务悬浮提示：完整展示、短时出现、鼠标事件穿透 */
.h5-submit-result-toast.is-transient-notice {
  top: 86px;
  right: 24px;
  bottom: auto;
  left: auto;
  transform: none;
  box-sizing: border-box;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  font-size: 14px;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.h5-submit-result-toast.is-transient-notice.is-dismissible {
  padding-right: 46px;
}

.h5-transient-close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.h5-transient-close:hover,
.h5-transient-close:focus-visible {
  background: rgba(148, 163, 184, 0.14);
  color: #f8fafc;
  outline: none;
}

.mx-ai-cover-blocked-modal {
  width: min(460px, calc(100vw - 64px));
  color: var(--mx-on-surface, #e5e7eb);
}

.mx-ai-cover-blocked-lead {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mx-on-surface, #f8fafc);
}

.mx-ai-cover-blocked-song {
  margin: -2px 0 12px;
  color: #bae6fd;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.mx-ai-cover-blocked-song strong {
  color: #f8fafc;
}

.mx-ai-cover-blocked-reason {
  padding: 12px 14px;
  border: 1px solid rgba(248, 113, 113, 0.34);
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.18);
}

.mx-ai-cover-blocked-reason-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fecaca;
}

.mx-ai-cover-blocked-reason ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.mx-ai-cover-blocked-reason li {
  line-height: 1.55;
  color: #fee2e2;
  overflow-wrap: anywhere;
}

.mx-ai-cover-blocked-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mx-on-surface-variant, #aab4c3);
}

.h5-transient-title {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.h5-transient-details {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.h5-transient-detail {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.h5-transient-detail-label {
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
}

.h5-transient-detail-value {
  min-width: 0;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.h5-transient-detail-value small {
  display: block;
  margin-bottom: 1px;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.2;
}

.h5-transient-detail-arrow {
  color: #f87171;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.h5-transient-message {
  margin-top: 8px;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.5;
}

.h5-transient-hint {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .h5-submit-result-toast.is-transient-notice {
    top: 72px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }

  .h5-transient-detail {
    grid-template-columns: 38px minmax(0, 1fr) 12px minmax(0, 1fr);
    gap: 5px;
  }
}

/* 提交完成 · 中间偏下带边框背景浮窗 */
.h5-submit-result-toast.is-submit-complete {
  top: 60%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 32px;
  border: 2px solid var(--outlet-accent, var(--mx-primary, #68dba9));
  border-radius: var(--radius-lg, 16px);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24), 0 4px 12px rgba(0, 0, 0, 0.12);
  max-width: min(92vw, 480px);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--outlet-accent, var(--mx-primary, #68dba9));
  text-align: center;
  pointer-events: none;
}

/* 多行显示样式 */
.h5-submit-result-toast.is-multiline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h5-submit-result-toast .h5-toast-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--outlet-accent, var(--mx-primary, #68dba9));
  line-height: 1.4;
}

.h5-submit-result-toast .h5-toast-status {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

html.review-shell .h5-submit-result-toast.is-submit-complete,
.app-root.review-mode .h5-submit-result-toast.is-submit-complete {
  color: var(--outlet-accent, var(--mx-primary, #68dba9));
  background: rgba(15, 23, 42, 0.96);
}

.mx-nav-unread-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger, #ef4444);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.mx-app-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mx-workspace-restore-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md, 12px);
  background: var(--info-soft, #dbeafe);
  color: var(--text, #0f172a);
  font-size: var(--text-sm, 12px);
}

.mx-desktop-recommend-hint {
  display: none;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md, 12px);
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted, #94a3b8);
  font-size: var(--text-sm, 12px);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .mx-desktop-recommend-hint {
    display: block;
  }
}

.mx-hist-read-stats {
  font-size: var(--text-sm, 12px);
  color: var(--text-muted, #64748b);
  margin-right: 8px;
}

.mx-unread-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mx-unread-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.mx-unread-title {
  display: block;
  margin-bottom: 4px;
}

.mx-unread-label {
  font-size: var(--text-sm, 12px);
  color: var(--text-muted, #64748b);
}

.mx-unread-reason {
  display: block;
  font-size: var(--text-sm, 12px);
  margin-top: 4px;
  color: var(--text, #0f172a);
}

.mx-outcome-read-body {
  padding: 6px 0;
}

.mx-outcome-read-line {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mx-on-surface, #dae2fd);
}

.mx-outcome-read-line strong {
  font-weight: 600;
}

.mx-outcome-preview-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mx-outcome-preview-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mx-on-surface-variant, #bccac0);
}

.mx-outcome-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mx-outcome-preview-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(135, 148, 139, 0.16);
  background: rgba(23, 31, 51, 0.55);
}

.mx-outcome-preview-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mx-outcome-preview-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(104, 219, 169, 0.12);
  color: var(--mx-primary, #68dba9);
}

.mx-outcome-preview-label {
  font-size: 14px;
  color: var(--mx-on-surface, #dae2fd);
}

.mx-outcome-preview-reason {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mx-on-surface-variant, #bccac0);
}

.mx-outcome-preview-btn {
  flex-shrink: 0;
}

.mx-hist-read-pill {
  font-size: var(--text-xs, 11px);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
}

.mx-hist-read-pill.is-unread {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
  opacity: 0.85;
}

.mx-song-panel.is-file-missing::after {
  content: "需重新上传文件";
  display: block;
  font-size: 11px;
  color: var(--warn, #f59e0b);
  margin-top: 4px;
}

.mx-hist-col-song {
  font-weight: 500;
}

.mx-btn-danger {
  background: var(--danger, #ef4444) !important;
  color: #fff !important;
}

.mx-btn-ghost-muted {
  background: transparent !important;
  color: var(--text-muted, #64748b) !important;
}

.review-pf-release-schedule {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.review-pf-mode-tabs.mx-release-switch .review-pf-mode-tab {
  background: transparent;
  color: var(--text, #e2e8f0);
  border-radius: var(--radius-md, 12px);
}

.review-pf-mode-tabs.mx-release-switch .review-pf-mode-tab.is-active {
  background: rgba(16, 185, 129, 0.22);
  color: var(--primary, #10b981);
}

.mx-mv-body-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px 16px;
}

.mx-mv-empty-hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  text-align: center;
}

.mx-mv-row.is-mv-error .mx-mv-v {
  border: 2px solid rgba(239, 68, 68, 0.88);
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
  border-radius: 6px;
  padding: 4px 8px;
}

.mx-mv-row.is-mv-warn .mx-mv-v {
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.05);
  border-radius: 6px;
  padding: 4px 8px;
}

.mx-mv-plain-val {
  display: inline-flex;
  align-items: center;
  min-width: 1em;
  line-height: 1.35;
}

.review-pf-radios.is-locked .review-pf-radio {
  pointer-events: none;
  opacity: 0.85;
}

.mx-rel-success-line {
  margin: 0;
  font-size: var(--text-sm, 13px);
}

.mx-rel-clear-inline {
  margin-top: 6px;
  font-size: var(--text-xs, 11px);
}

body.is-submit-locked .mx-nav-outlet-tags [data-ws-outlet] {
  pointer-events: none;
  opacity: 0.55;
}

/* ── 审查台 UI 微调 2026-06-27 ── */
:root {
  --h5-control-radius: 8px;
}

/* 1. 歌曲列表：占满剩余高度 + 超出滚动（卡片不被 flex 挤压） */
.mx-workspace-grid {
  align-items: stretch !important;
}

.mx-workspace-left {
  min-height: 0;
  height: 100%;
}

.mx-workspace-upload-section.mx-workspace-main-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mx-workspace-upload-section .file-drop-zone {
  flex-shrink: 0;
}

#ws-batch-unmatched {
  flex-shrink: 0;
}

#ws-batch-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mx-workspace-grid.is-upload-empty #ws-batch-list,
.mx-workspace-grid:has(#ws-batch-list .batch-check-empty-placeholder) #ws-batch-list {
  min-height: min(200px, 28dvh);
}

#ws-batch-list .batch-check-list-wrap-compact {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch;
}

#ws-batch-list .mx-batch-song-panel.batch-check-list {
  flex: 0 0 auto;
  min-height: 0;
}

#ws-batch-list .mx-batch-song-panel.batch-check-list .mx-song-panel {
  flex: 0 0 auto;
  flex-shrink: 0 !important;
  min-height: 96px !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  contain: layout style;
}

/* TXT/WAV/类型标签同一物料块 */
.material-info-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.material-info-stack .material-files-stack {
  gap: 4px;
}

.material-info-stack .material-tags-row {
  padding-left: 0;
  margin-left: 0;
}

/* 2. 物料行：水平对齐 + 宽度自适应 */
.mx-song-panel-layout {
  align-items: stretch !important;
}

.mx-song-materials-col {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.material-files-stack {
  width: 100% !important;
  max-width: 100%;
}

.material-file-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  padding: 4px 8px;
  border-radius: var(--h5-control-radius);
}

.material-file-row .material-tag {
  flex: 0 0 36px;
  width: 36px;
  margin: 0;
}

.material-file-row .material-tag.acc-material-tag {
  flex-basis: 72px;
  width: 72px;
  white-space: nowrap;
}

.material-file-row .material-filename {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.material-file-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 0;
}

.material-tags-row {
  padding-left: 0;
  margin-left: 0;
}

.material-tags-row .material-tag {
  margin-left: 0;
}

.material-file-row.wav-row.is-name-mismatch {
  border: 1px solid var(--danger, #ef4444);
  background: rgba(239, 68, 68, 0.08);
}

.material-file-row.wav-row.is-name-mismatch .material-filename {
  color: #fca5a5;
}

.material-file-row .mp3-tag:not(.is-missing) {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 3. 封面列随卡片高度 */
.mx-song-cover-col {
  align-self: stretch;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
}

.mx-song-cover.batch-check-card-cover {
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  min-width: 72px;
  max-width: 108px;
}

/* 4. 删除按钮 + 浮窗 */
.mx-song-actions-col {
  align-self: stretch;
  justify-content: center;
  min-height: 100%;
}

.batch-check-delete-btn {
  min-width: 52px;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--h5-control-radius);
}

.mx-delete-confirm-popover {
  position: absolute;
  z-index: 13000;
  min-width: 120px;
  padding: 8px 10px;
  border-radius: var(--h5-control-radius);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.mx-delete-confirm-msg {
  margin: 0 0 8px;
  font-size: 13px;
  color: #e2e8f0;
}

.mx-delete-confirm-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.mx-delete-confirm-yes,
.mx-delete-confirm-no {
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--h5-control-radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
}

.mx-delete-confirm-yes {
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

/* 5. 列表卡片：未选中无边框，选中根据状态和发行口显示边框和背景 */

/* 默认状态：透明背景，无边框 */
.mx-batch-song-panel.batch-check-list .mx-song-panel {
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

/* ========== 选中状态（is-active）才显示边框和背景 ========== */

/* 选中 - 有问题不能发布（error）- 红色边框和背景（优先级最高）*/
.mx-batch-song-panel.batch-check-list .mx-song-panel.song-state-error.is-active {
  background: rgba(248, 113, 113, 0.14) !important;
  border: 2px solid rgba(248, 113, 113, 0.92) !important;
  box-shadow: 
    0 0 0 1px rgba(248, 113, 113, 0.4),
    0 4px 12px rgba(248, 113, 113, 0.2) !important;
}

/* 选中 - 开枝散叶：浅绿色背景和边框 */
.mx-batch-song-panel.batch-check-list .mx-song-panel.is-active[data-outlet="kaizhi"]:not(.song-state-error),
html[data-outlet="kaizhi"] .mx-batch-song-panel.batch-check-list .mx-song-panel.is-active:not(.song-state-error) {
  background: rgba(45, 212, 168, 0.12) !important;
  border: 2px solid #2dd4a8 !important;
  box-shadow: 
    0 0 0 1px rgba(45, 212, 168, 0.3),
    0 4px 12px rgba(45, 212, 168, 0.15) !important;
}

/* 选中 - 滴水传音：浅蓝色背景和边框 */
.mx-batch-song-panel.batch-check-list .mx-song-panel.is-active[data-outlet="dishui"]:not(.song-state-error),
html[data-outlet="dishui"] .mx-batch-song-panel.batch-check-list .mx-song-panel.is-active:not(.song-state-error) {
  background: rgba(56, 189, 248, 0.12) !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 
    0 0 0 1px rgba(56, 189, 248, 0.3),
    0 4px 12px rgba(56, 189, 248, 0.15) !important;
}

.mx-song-cover-col {
  position: relative;
}

.mx-song-issue-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--danger, #ef4444);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.85);
  pointer-events: none;
}

.mx-song-validation-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px;
  width: min(100%, 820px);
  min-width: 0;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(248, 113, 113, 0.52);
  border-radius: 5px;
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
  font-size: 12px;
  line-height: 1.35;
  box-sizing: border-box;
}

.mx-song-validation-summary-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}

.mx-song-validation-summary-content {
  min-width: 0;
}

.mx-song-validation-summary-label {
  display: block;
  color: #fca5a5;
  font-weight: 800;
  margin-bottom: 2px;
}

.mx-song-validation-summary-list {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mx-validation-issue;
}

.mx-song-validation-summary-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  min-width: 0;
  padding: 5px 7px;
  border-left: 2px solid rgba(252, 165, 165, 0.75);
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.34);
  color: #fee2e2;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mx-song-validation-summary-item::before {
  counter-increment: mx-validation-issue;
  content: counter(mx-validation-issue);
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.mx-song-validation-summary-actions {
  display: flex;
  align-self: center;
  flex-direction: column;
  gap: 5px;
}

.mx-song-validation-summary-edit {
  align-self: center;
  min-width: 58px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(96, 165, 250, 0.72);
  border-radius: 5px;
  background: rgba(30, 64, 175, 0.22);
  color: #93c5fd;
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
}

.mx-song-validation-summary-edit.is-secondary {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(30, 41, 59, 0.45);
  color: #cbd5e1;
}

.mx-song-validation-summary-edit:hover,
.mx-song-validation-summary-edit:focus-visible {
  border-color: #60a5fa;
  background: rgba(30, 64, 175, 0.44);
  color: #dbeafe;
  outline: none;
}

@media (max-width: 640px) {
  .mx-song-validation-summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mx-song-validation-summary-actions {
    grid-column: 2;
    justify-self: start;
  }
}

.mx-song-panel.is-active {
  outline: none;
}

/* 6. 信息核对对齐见文件末尾「对齐真源」块 */

.mx-mv-row-original-song .mx-mv-v,
.mx-mv-row-original-lyrics .mx-mv-v {
  padding-left: 4px;
}

.mx-mv-artist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.mx-mv-artist-tag {
  border-radius: var(--h5-control-radius);
  gap: 5px;
  min-height: 30px;
}

button.mx-mv-artist-tag {
  appearance: none;
  font: inherit;
  text-align: left;
}

.mx-material-verify-card button.mx-mv-artist-tag:is(.is-bound, .is-pending, .is-unbound) {
  pointer-events: auto;
  cursor: pointer;
}

.mx-material-verify-card button.mx-mv-artist-tag.is-bound:hover {
  border-color: rgba(52, 211, 153, 0.9);
  background: rgba(16, 185, 129, 0.2);
}

.mx-material-verify-card button.mx-mv-artist-tag.is-pending:hover {
  border-color: rgba(250, 204, 21, 0.95);
  background: rgba(250, 204, 21, 0.2);
}

.mx-material-verify-card button.mx-mv-artist-tag.is-unbound:hover {
  border-color: rgba(248, 113, 113, 0.88);
  background: rgba(239, 68, 68, 0.22);
}

.mx-mv-artist-tag .mx-mv-artist-avatar {
  width: 22px;
  height: 22px;
  margin-right: 1px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(148, 163, 184, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

#ws-mv-artist-search-block {
  display: none !important;
}

.mx-mv-artist-bind-wrap {
  position: relative;
  margin-top: 4px;
}

.mx-mv-artist-bind-wrap .mx-mv-artist-search-row {
  margin-top: 0;
}

.mx-mv-artist-avatar-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin-top: 0;
  padding: 10px;
  max-height: none;
  overflow: visible;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.mx-mv-artist-popover-avatars {
  display: grid;
  gap: 8px;
}

.mx-mv-artist-popover-avatar-btn {
  width: 100%;
  min-height: 52px;
  padding: 6px 10px;
  border: 2px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.mx-mv-artist-popover-avatar-btn img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.mx-mv-artist-popover-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
}

.mx-mv-artist-popover-name {
  min-width: 0;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-mv-artist-popover-empty {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

.mx-mv-artist-popover-empty.is-err {
  color: #f87171;
  font-weight: 600;
}

/* 物料核对 · 失败提示统一红字 */
.mx-mv-fail-text,
.mx-mv-artist-fail-hint {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #f87171;
}

.mx-mv-album-ok {
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 600;
}

.mx-mv-album-fail {
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
}

.mx-mv-artist-tag.is-unbound .mx-mv-artist-name-txt {
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

.mx-mv-artist-tag.is-pending {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.6);
  background: rgba(250, 204, 21, 0.14);
}

.mx-mv-artist-tag.is-pending .mx-mv-artist-name-txt {
  color: #fde68a;
  font-weight: 700;
}

.mx-artist-info-popover {
  position: fixed;
  z-index: 13000;
  width: min(320px, calc(100vw - 16px));
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.38);
  background: rgba(15, 23, 42, 0.98);
  color: #dbeafe;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.mx-artist-info-popover.is-bound {
  border-color: rgba(52, 211, 153, 0.42);
}

.mx-artist-info-popover.is-pending {
  border-color: rgba(250, 204, 21, 0.58);
}

.mx-artist-info-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.mx-artist-info-head strong,
.mx-artist-info-head span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-artist-info-head strong {
  color: #ecfeff;
  font-size: 15px;
  font-weight: 800;
}

.mx-artist-info-head span {
  margin-top: 2px;
  color: #93c5fd;
  font-size: 12px;
}

.mx-artist-info-popover.is-pending .mx-artist-info-head span {
  color: #fde68a;
  font-size: 14px;
  font-weight: 800;
}

.mx-artist-info-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.mx-artist-info-avatar-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 22px;
}

.mx-artist-info-desc {
  margin: 10px 0 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.txt-edit-tag.is-pending,
.mx-audit-artist-row.is-pending {
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
}

.mx-audit-artist-pending {
  color: #facc15;
}

.mx-mv-row-artist .mx-mv-v {
  overflow: visible;
}

.review-info-modal-shell .audit-modal-body {
  overflow: visible !important;
}

.mx-artist-quick-create-overlay {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
  background: rgba(0, 0, 0, 0.64) !important;
}

.mx-artist-quick-create-modal {
  width: min(430px, 92vw) !important;
  max-width: min(430px, 92vw) !important;
  max-height: min(86dvh, 700px) !important;
  align-self: center !important;
}

.mx-artist-quick-create-form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.mx-artist-quick-create-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px !important;
  overflow-y: auto;
}

.mx-artist-quick-create-message {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  font-size: 13px;
}

.mx-artist-quick-create-message.hidden {
  display: none;
}

.mx-artist-quick-create-message[data-type="success"] {
  border-color: rgba(45, 212, 168, 0.42);
  color: #6ee7b7;
  background: rgba(45, 212, 168, 0.1);
}

.mx-artist-quick-create-message[data-type="error"] {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
}

.mx-artist-quick-create-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.mx-artist-quick-create-avatar-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mx-artist-quick-create-avatar-preview {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
  overflow: hidden;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.mx-artist-quick-create-avatar-preview:hover,
.mx-artist-quick-create-avatar-preview:focus-visible {
  border-color: rgba(45, 212, 168, 0.75);
  background: rgba(45, 212, 168, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.mx-artist-quick-create-avatar-preview.has-image {
  border-color: rgba(45, 212, 168, 0.45);
  background: rgba(15, 23, 42, 0.75);
}

.mx-artist-quick-create-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mx-artist-quick-create-avatar-preview .material-symbols-outlined {
  font-size: 30px;
}

.mx-artist-quick-create-avatar-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
}

.mx-artist-quick-create-avatar-copy strong {
  color: #cbd5e1;
  font-size: 13px;
}

.mx-artist-quick-create-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.mx-artist-quick-create-modal .audit-modal-header {
  padding: 12px 14px 8px;
}

.mx-artist-quick-create-modal .audit-modal-footer {
  padding: 10px 14px 12px;
}

.mx-artist-quick-create-modal .input {
  min-height: 38px;
  font-size: 13px;
}

.mx-artist-quick-create-modal textarea.input {
  min-height: 64px;
}

@media (max-width: 640px) {
  .mx-artist-quick-create-avatar-line,
  .mx-artist-quick-create-grid {
    grid-template-columns: 1fr;
  }

  .mx-artist-quick-create-avatar-preview {
    width: 68px;
    height: 68px;
  }
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) {
  gap: 4px !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .workspace-upload-tabs {
  margin-bottom: 4px !important;
}

html[data-outlet] .app-root.review-mode .mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .workspace-upload-tabs {
  margin-bottom: 4px !important;
  padding: 2px !important;
}

html[data-outlet] .app-root.review-mode .mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .workspace-upload-tab,
html.review-shell .mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .workspace-upload-tab {
  padding: 6px 12px !important;
  line-height: 1.2 !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design {
  min-height: 92px !important;
  padding: 10px 14px !important;
  gap: 6px !important;
  overflow: hidden;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .drop-zone-plus-icon {
  font-size: 34px !important;
  margin-bottom: 2px !important;
  line-height: 1 !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .drop-zone-watermark-formats .format-watermark {
  padding: 4px 10px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .format-watermark.wm-txt {
  top: 10px !important;
  left: 12px !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .format-watermark.wm-wav {
  top: 10px !important;
  right: 12px !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .format-watermark.wm-mp3 {
  bottom: 10px !important;
  left: 12px !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .format-watermark.wm-jpg {
  bottom: 10px !important;
  right: 12px !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design .file-drop-zone-title#ws-drop-title {
  margin-top: 0 !important;
  line-height: 1.3 !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design.has-files {
  min-height: 48px !important;
  padding: 8px 12px !important;
}

.mx-workspace-upload-section:is(.is-batch-mode, .is-single-mode) .file-drop-zone.mx-drop-zone-design.has-files .drop-zone-plus-icon {
  font-size: 20px !important;
}

/* 7. 控件圆角统一 */
.review-pf-mode-tab,
.mx-mv-person-tag,
.mx-cover-mode-btn,
.batch-check-delete-btn,
.material-inline-btn,
.mx-album-choice-select,
.review-pf-schedule-combined select {
  border-radius: var(--h5-control-radius) !important;
}

/* 8. 发行时间：日期+时间合并；窄栏靠缩内边距/字号适配，禁止横向滚动 */
.mx-release-settings-block,
.mx-material-verify-card .review-pf-release-mode,
.review-pf-release-schedule {
  min-width: 0 !important;
  width: 100%;
  box-sizing: border-box;
}

.review-pf-schedule-combined {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.review-pf-schedule-combined .review-pf-date-display {
  flex: 0 0 auto;
  white-space: nowrap;
}

.review-pf-schedule-combined .review-pf-num {
  min-width: 2.8em;
  flex: 0 0 auto;
  padding-right: 14px;
  box-sizing: border-box;
}

.review-pf-schedule-combined .review-pf-unit {
  flex-shrink: 0;
}

/* 核对区窄栏：进一步压缩内边距与字号，避免滚动/挤压 */
.mx-material-verify-card .review-pf-schedule-combined {
  padding: 0;
  gap: 6px;
  border: none;
  background: transparent;
}

.mx-material-verify-card .review-pf-schedule-combined .review-pf-date-display {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.mx-material-verify-card .review-pf-schedule-combined .review-pf-date-readonly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 5.5em;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--h5-control-radius, 8px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: #f8fafc;
  white-space: nowrap;
}

.mx-material-verify-card .review-pf-schedule-combined .review-pf-date-open-btn {
  width: 26px;
  height: 26px;
}

.mx-material-verify-card .review-pf-schedule-combined .review-pf-date-open-btn .material-symbols-outlined {
  font-size: 16px;
}

.mx-material-verify-card .review-pf-schedule-combined .review-pf-num,
.mx-material-verify-card .review-pf-schedule-combined .review-pf-unit {
  font-size: 12px;
  line-height: 1.2;
}

.mx-material-verify-card .review-pf-schedule-combined .review-pf-num {
  min-width: 2.6em;
  height: 28px;
  padding: 0 14px 0 8px;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--h5-control-radius, 8px);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px 6px;
  color: #f8fafc;
  appearance: none;
  -webkit-appearance: none;
}

/* 9. 封面库分页：每页只渲染当前页 */
.review-cover-pool-grid {
  transform: none !important;
  width: 100%;
  justify-content: flex-start;
}

.review-cover-pool-viewport {
  overflow: hidden;
}

/* 10. TXT 编辑弹窗 */
.txt-edit-field-row.is-field-error .txt-edit-field-input,
.txt-edit-field-input.is-field-error {
  border-color: var(--danger, #ef4444) !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.txt-edit-performer-add {
  width: auto !important;
  min-width: auto !important;
  height: 32px !important;
  padding: 0 10px !important;
  gap: 4px;
  border-radius: var(--h5-control-radius) !important;
}

.txt-edit-performer-add-label {
  display: inline !important;
  font-size: 12px;
  font-weight: 600;
}

.txt-edit-performer-slot-wrap.is-expanded .txt-edit-performer-slot-list {
  flex-wrap: nowrap;
}

.txt-edit-performer-search-block {
  width: 100%;
  margin-top: 6px;
}

.txt-edit-performer-search-block.is-hidden {
  display: none;
}

.txt-edit-performer-search-input {
  width: 100%;
}

/* ── 审查台 UI 微调 2026-06-27 b ── */

.mx-workspace-restore-banner.is-dismissed {
  display: none !important;
}

.mx-workspace-restore-banner {
  margin-bottom: 8px;
}

.mx-workspace-upload-section.mx-workspace-main-card {
  gap: 10px;
}

.mx-workspace-upload-section.mx-workspace-main-card:is(.is-batch-mode, .is-single-mode) {
  gap: 4px !important;
}

/* 单首：列表区不撑满剩余高度，避免上传框与底部之间出现大段空白 */
.mx-workspace-upload-section.is-single-mode #ws-batch-list {
  flex: 0 0 auto;
  min-height: 0;
}

.mx-workspace-upload-section.is-single-mode #ws-batch-list .batch-check-list-wrap-single:empty {
  display: none;
}

.mx-single-song-panel.batch-check-list .mx-song-panel {
  margin-bottom: 0 !important;
}

.mx-batch-song-panel.batch-check-list .mx-song-panel {
  margin-bottom: 10px !important;
}

.mx-batch-song-panel.batch-check-list .mx-song-panel:last-child {
  margin-bottom: 4px !important;
}

.batch-check-delete-btn {
  min-width: 58px;
  min-height: 42px;
  padding: 8px 14px;
  font-size: 15px;
}

.mx-audio-progress-wrap.is-hidden {
  display: none !important;
}

.mx-audio-progress-wrap:not(.is-hidden) {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.has-mx-global-audio #app-main {
  padding-bottom: 86px;
}

.mx-global-audio-player {
  position: fixed;
  left: 280px;
  right: 24px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(52, 211, 153, 0.46);
  border-radius: 10px;
  background: rgba(9, 22, 19, 0.96);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(52, 211, 153, 0.08),
    0 0 26px rgba(16, 185, 129, 0.18);
  backdrop-filter: blur(12px);
}

.mx-global-audio-player.is-hidden {
  display: none !important;
}

.is-nav-collapsed .mx-global-audio-player {
  left: 96px;
}

.mx-global-audio-toggle,
.mx-global-audio-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mx-global-audio-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
  font-size: 18px;
  font-weight: 800;
}

.mx-global-audio-toggle.is-playing {
  border-color: rgba(52, 211, 153, 0.52);
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.mx-global-audio-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
}

.mx-global-audio-close:hover {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.28);
}

.mx-global-audio-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.mx-global-audio-head {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mx-global-audio-title,
.mx-global-audio-subtitle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-global-audio-title {
  max-width: 48%;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
}

.mx-global-audio-subtitle {
  flex: 1 1 auto;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.mx-global-audio-subtitle.is-empty {
  color: rgba(148, 163, 184, 0.55);
}

.mx-global-audio-seek {
  width: 100%;
  height: 6px;
  margin: 0;
  accent-color: #34d399;
  cursor: pointer;
}

.mx-global-audio-seek:disabled {
  cursor: default;
  opacity: 0.55;
}

.mx-global-audio-time {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  body.has-mx-global-audio #app-main {
    padding-bottom: 108px;
  }

  .mx-global-audio-player,
  .is-nav-collapsed .mx-global-audio-player {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    grid-template-columns: 40px minmax(0, 1fr) 32px;
  }

  .mx-global-audio-time {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .mx-global-audio-toggle {
    width: 40px;
    height: 40px;
  }

  .mx-global-audio-close {
    width: 32px;
    height: 32px;
  }

  .mx-global-audio-title {
    max-width: 58%;
  }
}

/* 右侧核对区：高度随内容，封面库跟随（左列仍 stretch 占满） */
.mx-workspace-preview-col {
  height: auto !important;
  align-self: start !important;
  overflow: visible !important;
}

#ws-preview-panel {
  flex: 0 0 auto !important;
  overflow: visible !important;
  min-height: 0;
}

.mx-material-verify-card {
  flex: 0 0 auto !important;
  height: auto !important;
  max-height: none !important;
}

.mx-material-verify-content {
  flex: 0 0 auto !important;
  overflow: visible !important;
}

/* 发行：定时/加急均蓝色 */
.review-pf-mode-tabs.mx-release-switch .review-pf-mode-tab {
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.review-pf-mode-tabs.mx-release-switch .review-pf-mode-tab.is-active {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.55) !important;
}

.review-pf-release-schedule,
.review-pf-schedule-combined {
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.review-pf-schedule-combined {
  justify-content: flex-start;
  gap: 6px;
}

.mx-mv-related-ok {
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 600;
}

.mx-mv-related-fail {
  color: #f87171;
  font-weight: 600;
}

.mx-mv-related-pending {
  color: #fcd34d;
}

.mx-mv-related-loading {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 500;
}

.mx-mv-related-second {
  min-height: 1.35em;
}

.mx-mv-related-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1200;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.mx-mv-related-dropdown.is-hidden {
  display: none !important;
}

.mx-mv-related-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.mx-mv-related-search-row .mx-mv-search {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
  height: 34px;
  min-height: 34px;
  padding: 0 10px;
  line-height: 1.2;
  box-sizing: border-box;
}

.mx-mv-related-search-row .mx-mv-search-btn {
  flex: 0 0 auto;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 14px;
  line-height: 1;
}

.mx-mv-publisher-region-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  width: 100%;
}

.mx-mv-inline-pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mx-mv-inline-k {
  flex: 0 0 auto;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.35;
}

.mx-mv-inline-val {
  font-size: 14px;
  color: #f8fafc;
  min-width: 0;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
}

.mx-mv-original-authors-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  width: 100%;
}

.mx-mv-author-pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mx-mv-author-k {
  flex: 0 0 auto;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.35;
}

.mx-material-verify-card .mx-mv-lyric-role {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
}

.mx-mv-related-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.mx-mv-related-float-host {
  position: relative;
}

.mx-mv-related-line {
  width: 100%;
  line-height: 1.45;
}

.mx-mv-related-conclusion {
  font-size: 13px;
  font-weight: 600;
}

.mx-mv-related-combined {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.mx-mv-related-source-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.mx-mv-related-source-k {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: #f8fafc;
}

.mx-mv-related-search-wrap {
  position: relative;
  width: 100%;
}

.mx-mv-related-search-status {
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}

.mx-mv-related-search-status.is-err {
  color: #f87171;
  font-weight: 600;
}

.mx-mv-related-search-status.is-hidden {
  display: none !important;
}

.mx-material-verify-card .review-related-pick,
.mx-material-verify-card .mx-related-candidate-pick {
  background: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  color: #f8fafc !important;
}

.mx-material-verify-card .review-related-pick-title {
  color: #f8fafc !important;
  font-size: 13px;
  font-weight: 600;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  line-height: 1.35;
}

.mx-material-verify-card .review-related-pick:hover:not(:disabled),
.mx-material-verify-card .mx-related-candidate-pick:hover:not(:disabled) {
  border-color: rgba(52, 211, 153, 0.55) !important;
  background: rgba(16, 185, 129, 0.12) !important;
}

.mx-related-dropdown-empty {
  margin: 0;
  padding: 8px 6px;
  font-size: 12px;
  color: #94a3b8;
}

.mx-album-kind-tag.is-green {
  color: #6ee7b7 !important;
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
}

.mx-mv-album-ok {
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 600;
}

.mx-mv-album-fail {
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
}

.mx-mv-album-pending {
  color: #94a3b8;
  font-size: 13px;
}

.mx-mv-album-conclusion {
  margin-top: 6px;
}

.mx-material-verify-card .mx-mv-album-search-block {
  width: 100%;
  margin-top: 8px;
}

.mx-material-verify-card .mx-mv-album-search-block.is-hidden {
  display: none !important;
}

.mx-material-verify-card #ws-mv-album-popover {
  max-height: var(--mx-album-popover-max-height, min(62dvh, 520px));
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.mx-material-verify-card .mx-mv-album-pick {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.mx-material-verify-card .mx-mv-popover-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
}

.mx-material-verify-card .mx-mv-popover-meta {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 400;
}

.mx-material-verify-card .mx-mv-popover-item.is-error {
  white-space: normal;
  line-height: 1.45;
}

.mx-material-verify-card .mx-mv-album-search-hint {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

.mx-material-verify-card .mx-mv-album-search-hint.is-empty {
  display: none;
}

.mx-material-verify-card .mx-mv-album-search-hint.is-error {
  color: #f87171;
  font-weight: 600;
}

.mx-mv-album-candidate-cover,
.mx-mv-selected-album-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.12);
}

.mx-mv-album-candidate-cover-ph,
.mx-mv-selected-album-cover-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.mx-mv-album-candidate-cover-ph .material-symbols-outlined,
.mx-mv-selected-album-cover-ph .material-symbols-outlined {
  font-size: 22px;
}

.mx-mv-album-candidate-main,
.mx-mv-selected-album-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mx-mv-popover-item.mx-mv-album-pick,
.mx-related-candidate-pick,
.review-related-pick {
  position: relative;
}

.mx-mv-popover-item.is-suggested,
.mx-related-candidate-pick.is-suggested,
.review-related-pick.is-suggested {
  border: 1px solid rgba(45, 212, 191, 0.86) !important;
  box-shadow:
    inset 0 0 0 1px rgba(45, 212, 191, 0.88),
    0 0 0 1px rgba(45, 212, 191, 0.22),
    0 0 20px rgba(45, 212, 191, 0.18);
  background:
    linear-gradient(110deg, rgba(20, 184, 166, 0.12), rgba(34, 211, 238, 0.08), rgba(20, 184, 166, 0.16)),
    rgba(16, 185, 129, 0.1) !important;
}

.mx-candidate-suggest-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.88);
  background:
    linear-gradient(105deg, #10b981 0%, #22d3ee 34%, #d9f99d 50%, #22d3ee 66%, #10b981 100%);
  background-size: 220% 100%;
  color: #022c22;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(15, 118, 110, 0.42),
    0 0 16px rgba(45, 212, 191, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  animation: mxSuggestBadgeFlow 1.8s linear infinite, mxSuggestBadgePulse 1.6s ease-in-out infinite;
}

.mx-mv-popover-item.is-suggested .mx-mv-album-candidate-main {
  padding-right: 106px;
}

.mx-related-candidate-pick.is-suggested .mx-related-pick-time {
  padding-top: 30px;
}

@keyframes mxSuggestBadgeFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes mxSuggestBadgePulse {
  0%,
  100% {
    transform: translateZ(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateZ(0) scale(1.04);
    filter: brightness(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx-candidate-suggest-badge {
    animation: none;
  }
}

.mx-mv-selected-album-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.38);
  background: rgba(16, 185, 129, 0.08);
}

.mx-mv-selected-album-cover {
  width: 52px;
  height: 52px;
}

.mx-mv-selected-album-title,
.mx-mv-selected-album-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-mv-selected-album-title {
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 700;
}

.mx-mv-selected-album-meta {
  color: #94a3b8;
  font-size: 12px;
}

.mx-mv-album-rebind-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.mx-mv-album-rebind-btn:hover {
  border-color: rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}

.mx-mv-row-related-combined .mx-mv-v {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  align-items: center;
}

.mx-mv-row-publisher-region .mx-mv-k,
.mx-mv-row-original-authors .mx-mv-k {
  align-self: center;
  padding-top: 0;
}

.mx-mv-publisher-region-line,
.mx-mv-original-authors-line {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mx-material-verify-actions-bar.is-bar-empty {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* 提交拦截：按钮上方方形浮窗 */
.mx-submit-blocker-popover {
  position: fixed;
  z-index: 14000;
  min-width: 168px;
  max-width: min(520px, calc(100vw - 16px));
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(248, 113, 113, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
  pointer-events: auto;
}

.mx-submit-blocker-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
  color: #fecaca;
  font-size: 13px;
  line-height: 1.45;
}

.mx-submit-blocker-list li {
  margin: 0 0 4px;
}

.mx-submit-blocker-list li:last-child {
  margin-bottom: 0;
}

.mx-submit-confirm-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mx-submit-confirm-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
}

.mx-submit-confirm-head strong {
  color: #e5eef9;
  font-size: 16px;
}

.mx-submit-confirm-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(15, 185, 129, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.24);
  color: #99f6e4;
  white-space: nowrap;
}

.mx-submit-confirm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mx-submit-confirm-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(71, 85, 105, 0.62);
}

.mx-submit-progress-dialog .audit-modal-shell-compact {
  width: min(980px, 94vw);
  max-width: min(980px, 94vw);
  height: min(92dvh, 980px);
  max-height: min(92dvh, 980px);
}

.mx-submit-progress-dialog .audit-modal-body {
  max-height: none;
  overflow: auto;
}

.mx-submit-progress-dialog .audit-modal-footer-actions {
  display: flex;
  width: 100%;
  gap: 12px;
}

.mx-submit-progress-dialog .audit-modal-footer-actions .btn {
  flex: 1;
  min-width: 100px;
}

.mx-submit-confirm-card-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.mx-submit-confirm-cover {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.mx-submit-confirm-cover-ph::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 13px auto;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 184, 0.78);
  box-shadow: inset 0 0 0 5px rgba(15, 23, 42, 0.92);
}

.mx-submit-confirm-content {
  min-width: 0;
  flex: 1 1 auto;
}

.mx-submit-confirm-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-bottom: 4px;
}

.mx-submit-confirm-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.3;
}

.mx-submit-confirm-tag {
  flex: 0 0 auto;
  min-height: 20px;
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid rgba(96, 165, 250, 0.34);
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
  font-size: 11px;
  line-height: 1.35;
}

.mx-submit-confirm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 10px;
}

.mx-submit-confirm-meta {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.35;
}

.mx-submit-confirm-meta-label {
  flex: 0 0 auto;
  color: #94a3b8;
}

.mx-submit-confirm-meta-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dbeafe;
}

.mx-submit-material-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.mx-submit-material-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1px 5px;
  align-items: center;
  min-height: 34px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(71, 85, 105, 0.62);
}

.mx-submit-material-key {
  color: #93c5fd;
  font-weight: 700;
  font-size: 11px;
}

.mx-submit-material-name,
.mx-submit-material-size,
.mx-submit-material-state {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  line-height: 1.25;
}

.mx-submit-material-name {
  color: #e2e8f0;
}

.mx-submit-material-size {
  color: #94a3b8;
}

.mx-submit-material-state {
  grid-column: 2;
  color: #a7f3d0;
}

.mx-submit-material-chip.is-local .mx-submit-material-state {
  color: #fde68a;
}

.mx-submit-material-chip.is-missing {
  opacity: 0.58;
}

.mx-submit-material-chip.is-missing .mx-submit-material-state {
  color: #fca5a5;
}

.mx-submit-confirm-progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 7px;
  background: rgba(14, 40, 64, 0.58);
  color: #bae6fd;
  font-size: 13px;
  line-height: 1.5;
}

.mx-submit-confirm-progress-summary-text {
  min-width: 0;
  flex: 1;
}

.mx-submit-confirm-platforms {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 auto;
  margin-left: auto;
}

.mx-submit-confirm-platform {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 42px;
  color: #dbeafe;
}

.mx-submit-confirm-platform-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 11px;
  background: rgba(2, 6, 23, 0.7);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.28);
}

.mx-submit-confirm-platform-logo {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mx-submit-confirm-platform[data-submit-platform-code="1"] .mx-submit-confirm-platform-logo {
  width: 32px;
  height: 32px;
}

.mx-submit-confirm-platform-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.mx-submit-confirm-progress-summary.is-success {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(6, 78, 59, 0.35);
  color: #a7f3d0;
}

.mx-submit-confirm-progress-summary.is-error,
.mx-submit-confirm-progress-summary.is-partial {
  border-color: rgba(248, 113, 113, 0.48);
  background: rgba(69, 10, 10, 0.3);
  color: #fecaca;
}

.mx-submit-confirm-runtime {
  display: grid;
  grid-template-columns: 10px auto minmax(0, 1fr);
  gap: 3px 7px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 7px;
  background: rgba(14, 40, 64, 0.44);
}

.mx-submit-confirm-runtime-detail-line {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mx-submit-confirm-runtime-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.12);
}

.mx-submit-confirm-runtime-state {
  color: #bae6fd;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.mx-submit-confirm-runtime-detail {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #cbd5e1;
  font-size: 11px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-submit-diagnostic-copy {
  min-height: 24px;
  flex: none;
  padding: 2px 9px;
  border: 1px solid rgba(254, 202, 202, 0.55);
  border-radius: 5px;
  background: rgba(127, 29, 29, 0.28);
  color: #fecaca;
  font: inherit;
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
}

.mx-submit-diagnostic-copy:hover,
.mx-submit-diagnostic-copy:focus-visible {
  border-color: rgba(254, 202, 202, 0.9);
  background: rgba(153, 27, 27, 0.46);
  outline: none;
}

.mx-submit-diagnostic-copy[hidden] {
  display: none !important;
}

.submit-error-friendly-line {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.submit-error-friendly-line .section-desc {
  min-width: 0;
  flex: 1;
  margin: 0;
}

.mx-submit-confirm-runtime-track {
  grid-column: 2 / -1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
}

.mx-submit-confirm-runtime-progress {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  transition: width 200ms ease;
}

.mx-submit-confirm-runtime.is-checking .mx-submit-confirm-runtime-dot,
.mx-submit-confirm-runtime.is-preparing .mx-submit-confirm-runtime-dot,
.mx-submit-confirm-runtime.is-uploading .mx-submit-confirm-runtime-dot,
.mx-submit-confirm-runtime.is-confirming .mx-submit-confirm-runtime-dot,
.mx-submit-confirm-runtime.is-submitting .mx-submit-confirm-runtime-dot {
  background: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16), 0 0 10px rgba(56, 189, 248, 0.56);
  animation: mx-submit-runtime-pulse 1.1s ease-in-out infinite;
}

.mx-submit-confirm-runtime.is-ready .mx-submit-confirm-runtime-dot,
.mx-submit-confirm-runtime.is-oss_complete .mx-submit-confirm-runtime-dot,
.mx-submit-confirm-runtime.is-complete .mx-submit-confirm-runtime-dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}

.mx-submit-confirm-runtime.is-ready .mx-submit-confirm-runtime-state,
.mx-submit-confirm-runtime.is-oss_complete .mx-submit-confirm-runtime-state,
.mx-submit-confirm-runtime.is-complete .mx-submit-confirm-runtime-state {
  color: #86efac;
}

.mx-submit-confirm-runtime.is-error {
  border-color: rgba(248, 113, 113, 0.56);
  background: rgba(69, 10, 10, 0.36);
}

.mx-submit-confirm-runtime.is-error .mx-submit-confirm-runtime-dot {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}

.mx-submit-confirm-runtime.is-error .mx-submit-confirm-runtime-state,
.mx-submit-confirm-runtime.is-error .mx-submit-confirm-runtime-detail {
  color: #fecaca;
}

.mx-submit-confirm-card.is-submit-progress-error {
  border-color: rgba(248, 113, 113, 0.56);
}

.mx-submit-confirm-card.is-submit-progress-complete {
  border-color: rgba(52, 211, 153, 0.42);
}

@keyframes mx-submit-runtime-pulse {
  50% { opacity: 0.45; }
}

@media (max-width: 820px) {
  .mx-submit-confirm-grid,
  .mx-submit-material-list {
    grid-template-columns: 1fr;
  }

  .mx-submit-confirm-card-main {
    align-items: flex-start;
  }

  .mx-submit-confirm-progress-summary,
  .mx-submit-confirm-runtime-detail-line {
    align-items: flex-start;
  }

  .mx-submit-confirm-progress-summary {
    flex-wrap: wrap;
  }

  .mx-submit-confirm-platforms {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 编辑弹窗加大，表演者平铺 */
.review-info-modal-shell {
  max-width: min(96vw, 1100px) !important;
  width: min(96vw, 1100px) !important;
}

/* TXT 编辑弹窗左右分栏布局 */
.review-info-modal-split-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
}

.review-info-modal-txt-raw-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.2), rgba(15, 23, 42, 0.78));
  box-shadow: inset 0 1px 0 rgba(110, 231, 183, 0.07);
}

.review-info-txt-raw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.review-info-txt-raw-title {
  font-size: 13px;
  font-weight: 600;
  color: #d1fae5;
}

.review-info-panel-mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.review-info-panel-mode .material-symbols-outlined {
  font-size: 14px;
}

.review-info-panel-mode-edit {
  border-color: rgba(52, 211, 153, 0.48);
  color: #6ee7b7;
  background: rgba(6, 95, 70, 0.28);
}

.review-info-panel-mode-preview {
  border-color: rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  background: rgba(30, 64, 175, 0.2);
}

.review-info-panel-description {
  margin: -2px 0 0;
  color: #a7f3d0;
  font-size: 11px;
  line-height: 1.45;
}

.review-info-derived-panel-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 6px;
  background: rgba(30, 64, 175, 0.1);
  color: #93c5fd;
  font-size: 12px;
  line-height: 1.35;
}

.review-info-derived-panel-hint .material-symbols-outlined {
  font-size: 15px;
}

.review-info-txt-raw-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.review-info-txt-raw-edit-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.2);
}

.review-info-txt-raw-edit-btn .material-symbols-outlined {
  font-size: 15px;
}

.review-info-txt-raw-editor-wrap {
  position: relative;
  flex: 1;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 8px;
}

.review-info-txt-raw-editor {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-height: 400px;
  max-height: 600px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #cbd5e1;
  font-size: 12.5px;
  font-family: "SF Mono", "Monaco", "Menlo", monospace;
  line-height: 1.6;
  resize: none;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.review-info-txt-raw-highlight {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  color: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "SF Mono", "Monaco", "Menlo", monospace;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  pointer-events: none;
  transform-origin: top left;
}

.review-info-txt-raw-highlight-line.is-error {
  color: #fecaca;
  background: rgba(185, 28, 28, 0.34);
  box-shadow: inset 2px 0 0 #fb7185;
}

.review-info-txt-raw-issues {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: #fecaca;
  font-size: 11px;
  line-height: 1.45;
}

.review-info-txt-raw-issues.is-hidden {
  display: none;
}

.review-info-txt-raw-issues .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 14px;
  color: #fb7185;
}

.review-info-txt-raw-editor:focus {
  outline: none;
  border-color: rgba(52, 211, 153, 0.4);
}

.review-info-txt-raw-editor.is-editing {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(52, 211, 153, 0.5);
  color: #e2e8f0;
}

.review-info-modal-shell .review-info-derived-control[readonly],
.review-info-modal-shell .review-info-derived-control:disabled {
  opacity: 1 !important;
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1;
  background-color: rgba(15, 23, 42, 0.52) !important;
  cursor: default;
}

.review-info-modal-shell .review-info-derived-control[readonly]:focus,
.review-info-modal-shell .review-info-derived-control:disabled:focus {
  outline: 0;
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: none;
}

.review-info-modal-shell .review-info-hide-publisher-check {
  opacity: 1;
  cursor: pointer;
  color: #e2e8f0;
}

.review-info-modal-shell .review-info-hide-publisher-check input {
  cursor: pointer;
  accent-color: #38bdf8;
}

.review-info-modal-form-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(96, 165, 250, 0.44);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.15), rgba(15, 23, 42, 0.84));
  box-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.06);
}

.review-info-derived-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-info-derived-panel-title {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

.review-info-modal-shell .review-info-derived-error .txt-edit-field-k,
.review-info-modal-shell .review-info-derived-error .detail-col-title {
  color: #fca5a5 !important;
}

.review-info-modal-shell .review-info-derived-error .review-info-derived-control[readonly],
.review-info-modal-shell .review-info-derived-error .review-info-derived-control:disabled,
.review-info-modal-shell .review-info-derived-error .txt-edit-field-input[readonly],
.review-info-modal-shell .review-info-derived-error .txt-edit-field-input:disabled {
  color: #fecaca !important;
  -webkit-text-fill-color: #fecaca !important;
  border-color: rgba(248, 113, 113, 0.8) !important;
  background-color: rgba(127, 29, 29, 0.23) !important;
}

.review-info-modal-shell .review-info-lyrics-split.review-info-derived-error {
  border: 1px solid rgba(248, 113, 113, 0.66);
  border-radius: 8px;
  padding: 10px;
  background: rgba(127, 29, 29, 0.11);
}

@media (max-width: 768px) {
  .review-info-modal-split-layout {
    grid-template-columns: 1fr;
  }
  .review-info-modal-txt-raw-panel {
    max-height: 200px;
  }
  .review-info-txt-raw-editor-wrap {
    min-height: 150px;
    max-height: 200px;
  }
  .review-info-txt-raw-editor {
    min-height: 150px;
    max-height: 200px;
  }
}

.review-info-modal-body-scroll {
  overflow-y: visible !important;
  max-height: none !important;
}

.review-info-modal-shell .txt-edit-form-fixed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-header-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-header-pair > .txt-edit-field-row {
  display: grid !important;
  grid-template-columns: 5.5em minmax(0, 1fr) !important;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-performer-block {
  display: grid !important;
  grid-template-columns: 5.5em minmax(0, 1fr) !important;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-performer-slot-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center !important;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: var(--review-control-h, 28px);
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-performer-slot-list {
  display: flex;
  align-items: center !important;
  align-self: center;
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-performer-add {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: var(--review-control-h, 28px) !important;
  min-height: var(--review-control-h, 28px) !important;
  align-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-sizing: border-box;
}

.review-info-modal-shell .txt-edit-performer-slot-remove[hidden] {
  display: none !important;
}

.review-info-modal-shell .txt-edit-performer-add {
  cursor: pointer;
  border-color: rgba(96, 165, 250, 0.45);
  color: #dbeafe;
}

.review-info-modal-shell .txt-edit-performer-add:hover {
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(14, 165, 233, 0.14);
}

.review-info-modal-shell .txt-edit-fields-grid {
  grid-template-columns:
    5.5em minmax(0, 1fr)
    5.5em minmax(0, 1fr)
    5.5em minmax(0, 1fr) !important;
  gap: 8px 12px !important;
  align-items: center;
}

.review-info-modal-shell .txt-edit-fields-grid .txt-edit-field-span-full {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: 5.5em minmax(0, 1fr) !important;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.review-info-modal-shell .txt-edit-fields-grid .txt-edit-field-row:not(.txt-edit-field-span-full) {
  display: contents;
}

.review-info-modal-shell .review-info-lyrics-split {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding-top: 4px;
}

.review-info-modal-shell .review-info-lyrics-split-head {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  min-height: 28px;
  padding: 2px 8px 6px;
  box-sizing: border-box;
}

.review-info-modal-shell .review-info-lyrics-split-head .txt-edit-field-k {
  line-height: 28px;
  width: auto !important;
  height: auto;
  text-align: left !important;
  padding-left: 2px;
}

.review-info-modal-shell .review-info-lyrics-split-body {
  width: 100%;
  min-width: 0;
}

.txt-edit-fields-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.txt-edit-field-row {
  grid-template-columns: 5.5em minmax(0, 1fr) !important;
}

.review-info-modal-shell .txt-edit-form-fixed .txt-edit-field-row > .txt-edit-field-k,
.review-info-modal-shell .txt-edit-fields-grid .txt-edit-field-row > .txt-edit-field-k {
  display: block !important;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  justify-self: stretch !important;
  align-self: center;
  white-space: nowrap !important;
  word-break: keep-all;
  text-align: center !important;
  line-height: 28px;
  min-height: 28px;
  height: auto;
  overflow: visible;
  box-sizing: border-box;
}

.txt-edit-performer-block {
  grid-column: 1 / -1;
}

.txt-edit-performer-slot-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.txt-edit-performer-slot-list {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible !important;
}

.txt-edit-performer-slot-list:empty {
  display: none;
  width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.review-info-modal-shell .txt-edit-field-input {
  box-sizing: border-box;
  height: 28px;
  min-height: 28px;
  padding: 0 8px;
  line-height: 26px;
}

@media (max-width: 900px) {
  .review-info-modal-shell .txt-edit-fields-grid {
    grid-template-columns: 5.5em minmax(0, 1fr) 5.5em minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .review-info-modal-shell .txt-edit-fields-grid {
    grid-template-columns: 5.5em minmax(0, 1fr) !important;
  }
}

.review-info-modal-shell select.txt-edit-field-input {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 24px 0 8px;
  background-color: rgba(34, 42, 61, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 12px 12px;
}

.txt-edit-performer-slot-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.txt-edit-performer-slot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  max-width: none !important;
  min-width: 0 !important;
  width: auto;
}

.txt-edit-performer-slot-field {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.txt-edit-performer-slot-input {
  flex: 0 0 auto;
  width: auto;
  min-width: 4em;
  max-width: none !important;
  height: 28px;
  min-height: 28px;
  box-sizing: border-box;
  field-sizing: content;
}

.txt-edit-performer-slot-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.txt-edit-performer-add {
  flex-shrink: 0;
  align-self: center;
  height: 28px !important;
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.txt-edit-performer-pick-dropdown {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 26000;
  min-width: 180px;
  max-width: min(320px, 70vw);
  padding: 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.txt-edit-performer-pick-dropdown.is-hidden {
  display: none !important;
}

.txt-edit-performer-pick-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.txt-edit-performer-pick-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.85);
  cursor: pointer;
}

.txt-edit-performer-pick-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.txt-edit-performer-pick-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
}

.txt-edit-performer-pick-empty {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.txt-edit-field-input.is-session-modified,
.txt-edit-performer-slot-input.is-session-modified,
.review-info-txt-edit.is-session-modified {
  border-color: #fb923c !important;
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.38);
}

@keyframes mx-unsaved-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}

.audit-modal-close.is-unsaved-shake {
  animation: mx-unsaved-shake 0.42s ease;
}

.mx-unsaved-confirm-popover {
  position: fixed;
  z-index: 30000;
  min-width: 168px;
  max-width: min(240px, calc(100vw - 16px));
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(251, 146, 60, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
}

.mx-unsaved-confirm-msg {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fdba74;
}

.mx-unsaved-confirm-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.mx-unsaved-confirm-discard,
.mx-unsaved-confirm-save {
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--h5-control-radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
}

.mx-unsaved-confirm-save {
  border-color: rgba(251, 146, 60, 0.5);
  color: #fdba74;
}

.material-file-row.kind-tags-row {
  flex-wrap: wrap;
  gap: 8px;
  cursor: default;
}

.material-file-row.kind-tags-row .material-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 36px;
  min-height: 20px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
  border-radius: 4px;
  margin: 0;
  box-sizing: border-box;
}

/* 每首歌发行平台：真实品牌图标 + “全网”一键全选，贴在标签行最右侧。 */
.mx-release-platforms {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 4px 5px 4px 8px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.mx-release-platform-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 22px;
  margin: 0 1px;
  background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.38), transparent);
}

.mx-release-platform-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 0 0 auto;
  height: 30px;
  padding: 0 8px 0 6px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 9px;
  color: #94a3b8;
  background: rgba(51, 65, 85, 0.34);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  opacity: 0.86;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.mx-release-platform-all .material-symbols-outlined {
  font-size: 16px;
}

.mx-release-platform-all:hover,
.mx-release-platform-all:focus-visible {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.55);
  opacity: 1;
}

.mx-release-platform-all:hover {
  transform: translateY(-1px);
}

.mx-release-platform-all:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.85);
  outline-offset: 2px;
}

.mx-release-platform-all.is-selected {
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.72);
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.66), rgba(37, 99, 235, 0.58));
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.14), 0 0 13px rgba(56, 189, 248, 0.2);
}

.mx-release-platform-icon {
  --mx-platform-color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 9px;
  background: rgba(71, 85, 105, 0.22);
  opacity: 0.82;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.5);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.mx-release-platform-icon:hover {
  transform: translateY(-1px);
  opacity: 1;
  border-color: rgba(203, 213, 225, 0.58);
}

.mx-release-platform-icon:focus-visible {
  outline: 2px solid #e2e8f0;
  outline-offset: 2px;
}

.mx-release-platform-icon.is-selected {
  border-color: color-mix(in srgb, var(--mx-platform-color) 80%, white 20%);
  background: color-mix(in srgb, var(--mx-platform-color) 14%, #0f172a 86%);
  opacity: 1;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mx-platform-color) 28%, transparent), 0 0 12px color-mix(in srgb, var(--mx-platform-color) 38%, transparent);
}

.mx-release-platform-1 { --mx-platform-color: #3b82f6; }
.mx-release-platform-2 { --mx-platform-color: #84f35d; }
.mx-release-platform-3 { --mx-platform-color: #eb294a; }

.mx-release-platform-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) saturate(0.3) brightness(0.78);
  opacity: 0.58;
  transition: filter 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.mx-release-platform-1 .mx-release-platform-logo {
  box-sizing: border-box;
  padding: 5px 3px;
  object-fit: contain;
  background: #f8fafc;
}

.mx-release-platform-icon:hover .mx-release-platform-logo {
  opacity: 0.68;
}

.mx-release-platform-icon.is-selected .mx-release-platform-logo {
  filter: none;
  opacity: 1;
  transform: scale(1.01);
}

@media (max-width: 720px) {
  .mx-release-platforms {
    width: 100%;
    justify-content: flex-end;
    padding-left: 5px;
  }
}

.material-file-row:not(.is-clickable) {
  cursor: default;
}

.material-file-row:not(.is-clickable):hover {
  background: transparent;
}

/* 取消分页样式，仅滚动 */
#ws-batch-list .batch-check-list-wrap-paged {
  overflow-y: auto !important;
}

/* 提交确认气泡浮窗 */
.mx-submit-confirm-popover {
  position: fixed;
  z-index: 14000;
  min-width: 220px;
  max-width: min(340px, calc(100vw - 16px));
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.5;
}

.mx-submit-confirm-msg {
  margin: 0 0 12px 0;
  white-space: pre-wrap;
  font-size: 13px;
  color: #f1f5f9;
}

.mx-submit-confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.mx-confirm-popover-btn-confirm {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #ef4444; /* 红色 */
  color: #ffffff;
  transition: opacity 0.15s;
}

.mx-confirm-popover-btn-confirm:hover {
  opacity: 0.9;
}

.mx-confirm-popover-btn-cancel {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #3b82f6; /* 蓝色 */
  color: #ffffff;
  transition: opacity 0.15s;
}

.mx-confirm-popover-btn-cancel:hover {
  opacity: 0.9;
}

/* 提交结果气泡浮窗 (成功 / 失败) */
.mx-submit-blocker-popover.mx-outcome-popover-success {
  border-color: rgba(34, 197, 94, 0.5);
}

.mx-submit-blocker-popover.mx-outcome-popover-success .mx-submit-blocker-list {
  color: #86efac;
  list-style: none;
  padding-left: 0;
}

.mx-submit-blocker-popover.mx-outcome-popover-error {
  border-color: rgba(239, 68, 68, 0.5);
}

.mx-submit-blocker-popover.mx-outcome-popover-error .mx-submit-blocker-list {
  color: #fca5a5;
}

/* ── 审查台 / 历史页 UI 微调 2026-06-30 ── */

/* 历史页：筛选条随宽度伸缩 */
.mx-history-header,
.mx-history-table-wrap {
  width: 100%;
  min-width: 0;
}

.mx-hist-filter-chip {
  flex: 0 0 auto;
}

/* 工作区：左列在可用宽度内收缩，右侧信息核对始终使用独立栏位。 */
.mx-workspace-grid,
.mx-workspace-grid.is-upload-empty,
.mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-compact:empty),
.mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-single:empty),
.mx-workspace-grid:has(#ws-batch-list .batch-check-empty-placeholder) {
  display: grid !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  gap: 12px !important;
}

.mx-workspace-left,
.mx-workspace-grid.is-upload-empty .mx-workspace-left,
.mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-compact:empty) .mx-workspace-left,
.mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-single:empty) .mx-workspace-left,
.mx-workspace-grid:has(#ws-batch-list .batch-check-empty-placeholder) .mx-workspace-left,
.mx-workspace-preview-col,
.mx-workspace-grid.is-upload-empty .mx-workspace-preview-col {
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

.mx-workspace-upload-section.mx-workspace-main-card.mx-card,
.mx-workspace-grid.is-upload-empty .mx-workspace-upload-section.mx-workspace-main-card.mx-card,
.mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-compact:empty)
  .mx-workspace-upload-section.mx-workspace-main-card.mx-card,
.mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-single:empty)
  .mx-workspace-upload-section.mx-workspace-main-card.mx-card,
.mx-workspace-grid:has(#ws-batch-list .batch-check-empty-placeholder)
  .mx-workspace-upload-section.mx-workspace-main-card.mx-card,
.mx-workspace-left .mx-song-panel-layout,
.mx-workspace-left .mx-song-main-col,
.mx-workspace-left .mx-song-materials-col,
.mx-workspace-left .material-info-stack,
.mx-workspace-left .material-files-stack,
.mx-workspace-left #ws-batch-list .batch-check-list-wrap-compact,
.mx-workspace-left .material-file-row {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.mx-workspace-left .material-file-row .material-filename {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 1180px) {
  .mx-workspace-grid,
  .mx-workspace-grid.is-upload-empty,
  .mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-compact:empty),
  .mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-single:empty),
  .mx-workspace-grid:has(#ws-batch-list .batch-check-empty-placeholder) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .mx-workspace-preview-col {
    grid-column: 1;
  }
}

#ws-batch-list .batch-check-empty-placeholder {
  flex: 1 1 auto;
  min-height: min(200px, 28dvh);
}

/* 信息核对整块：压缩边距 + 对齐真源 */
.mx-material-verify-card {
  --mx-mv-label-w: 72px;
  --mx-mv-gap: 8px;
  --mx-mv-fs: 12px;
  --mx-mv-lh: 24px;
  --mx-mv-label-color: #94a3b8;
  --mx-mv-value-color: #f1f5f9;
  --mx-mv-divider: rgba(148, 163, 184, 0.1);
  --mx-mv-error-border: 2px solid rgba(239, 68, 68, 0.88);
  --mx-mv-error-bg: rgba(239, 68, 68, 0.1);
  --mx-mv-error-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
  padding: 10px 8px !important;
  gap: 6px !important;
}

.mx-material-verify-title {
  font-size: 15px !important;
  margin-bottom: 2px !important;
}

.mx-material-verify-content {
  gap: 4px !important;
}

.mx-material-verify-card .mx-mv-body {
  gap: 0;
  display: flex !important;
  flex-direction: column !important;
  row-gap: 0 !important;
}

/* 压过 outlet-modern：行 padding 不一致会导致标签 left 差 8px */
html[data-outlet] .mx-material-verify-card .mx-mv-row,
html.review-shell[data-outlet] .mx-material-verify-card .mx-mv-row {
  padding: 7px 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--mx-mv-divider) !important;
}

html[data-outlet] .mx-material-verify-card .mx-mv-row:hover,
html.review-shell[data-outlet] .mx-material-verify-card .mx-mv-row:hover {
  padding: 7px 0 !important;
  background: none !important;
}

/* ── 对齐真源：左标签贴边 + 值列齐线 + 统一字号 + 垂直居中 ── */
.mx-material-verify-card .mx-mv-row {
  display: grid !important;
  grid-template-columns: var(--mx-mv-label-w) minmax(0, 1fr) !important;
  column-gap: var(--mx-mv-gap) !important;
  row-gap: 0 !important;
  align-items: center !important;
  padding: 7px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--mx-mv-divider) !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
}

.mx-material-verify-card .mx-mv-body .mx-mv-row:last-child {
  border-bottom: none !important;
}

.mx-material-verify-card .mx-mv-k {
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  width: var(--mx-mv-label-w) !important;
  max-width: var(--mx-mv-label-w) !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: var(--mx-mv-lh) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  white-space: nowrap !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
  font-weight: 500 !important;
  color: var(--mx-mv-label-color) !important;
  box-sizing: border-box !important;
}

.mx-material-verify-card .mx-mv-v {
  grid-column: 2 !important;
  justify-self: stretch !important;
  align-self: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: var(--mx-mv-lh) !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
  font-weight: 400 !important;
  color: var(--mx-mv-value-color) !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.mx-material-verify-card .mx-mv-row.is-mv-error .mx-mv-v {
  padding: 4px 8px !important;
  border: var(--mx-mv-error-border) !important;
  background: var(--mx-mv-error-bg) !important;
  box-shadow: var(--mx-mv-error-shadow) !important;
  border-radius: 6px !important;
}

.mx-material-verify-card .mx-mv-row.is-mv-warn .mx-mv-v {
  padding: 4px 8px !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
  background: rgba(249, 115, 22, 0.05) !important;
  border-radius: 6px !important;
}

.mx-material-verify-card .mx-album-choice-select.mx-album-choice-unselected,
.mx-material-verify-card .mx-album-choice-select.mx-album-choice-failed {
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  background: rgba(15, 23, 42, 0.6) !important;
  box-shadow: none !important;
}

.mx-material-verify-card .mx-mv-row-album.is-mv-error .mx-mv-v {
  background: transparent !important;
}

.mx-material-verify-card .mx-mv-row.is-mv-error .mx-mv-v .mx-album-choice-select,
.mx-material-verify-card .mx-mv-row.is-mv-error .mx-mv-v .mx-mv-search,
.mx-material-verify-card .mx-mv-row.is-mv-error .mx-mv-v .mx-mv-search-btn {
  box-shadow: none !important;
}

.mx-material-verify-card .mx-mv-row-album .mx-album-choice-select:focus,
.mx-material-verify-card .mx-mv-row-album .mx-album-choice-select.mx-album-choice-unselected:focus,
.mx-material-verify-card .mx-mv-row-album .mx-album-choice-select.mx-album-choice-failed:focus,
.mx-material-verify-card .mx-mv-row-album .mx-album-choice-select.mx-album-choice-ok:focus {
  border-color: rgba(148, 163, 184, 0.35) !important;
  box-shadow: none !important;
  outline: none !important;
}

.mx-material-verify-card .mx-mv-row-album .mx-album-choice-select.mx-album-choice-ok {
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  box-shadow: none !important;
}

.mx-material-verify-card .mx-mv-row-artist .mx-mv-v,
.mx-material-verify-card .mx-mv-row-related-combined .mx-mv-v,
.mx-material-verify-card .mx-mv-row-lyric-credit .mx-mv-v,
.mx-material-verify-card .mx-mv-row-original-authors .mx-mv-v,
.mx-material-verify-card .mx-mv-row-publisher-region .mx-mv-v,
.mx-material-verify-card .mx-mv-row-album .mx-mv-v,
.mx-material-verify-card .mx-mv-row-cover .mx-mv-v,
.mx-material-verify-card .mx-mv-row-related .mx-mv-v {
  flex-direction: row !important;
  align-items: center !important;
}

.mx-material-verify-card .mx-mv-lyric-role,
.mx-material-verify-card .mx-mv-author-k,
.mx-material-verify-card .mx-mv-inline-k {
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: var(--mx-mv-lh) !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
  font-weight: 500 !important;
  color: var(--mx-mv-label-color) !important;
}

.mx-material-verify-card .mx-mv-plain-val,
.mx-material-verify-card .mx-mv-inline-val,
.mx-material-verify-card .mx-mv-album-text {
  padding: 0 !important;
  margin: 0 !important;
  min-height: var(--mx-mv-lh) !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
  font-weight: 400 !important;
  color: var(--mx-mv-value-color) !important;
}

.mx-material-verify-card .mx-mv-artist-tag,
.mx-material-verify-card .mx-mv-person-tag {
  display: inline-flex !important;
  align-items: center !important;
  height: var(--mx-mv-lh) !important;
  padding: 0 6px !important;
  margin: 0 !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  border-radius: 4px !important;
}

.mx-material-verify-card .mx-mv-artist-tags,
.mx-material-verify-card .mx-mv-lyric-credit-wrap,
.mx-material-verify-card .mx-mv-publisher-region-line,
.mx-material-verify-card .mx-mv-cover-modes {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: var(--mx-mv-lh) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mx-material-verify-card .mx-mv-lyric-credit-wrap {
  flex-wrap: nowrap !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.mx-material-verify-card .mx-mv-lyric-group,
.mx-material-verify-card .mx-mv-lyric-tags {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: var(--mx-mv-lh) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mx-material-verify-card .mx-mv-lyric-group {
  flex: 0 1 auto !important;
}

.mx-material-verify-card .mx-album-choice-select,
.mx-material-verify-card .mx-mv-search {
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
  min-height: var(--mx-mv-lh) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.mx-material-verify-card .mx-cover-mode-btn {
  min-height: var(--mx-mv-lh) !important;
  padding: 0 8px !important;
  font-size: var(--mx-mv-fs) !important;
  line-height: var(--mx-mv-lh) !important;
}

.mx-material-verify-card .mx-mv-related-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mx-material-verify-card .mx-mv-related-line,
.mx-material-verify-card .mx-mv-related-search-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mx-material-verify-card .mx-mv-related-search-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mx-material-verify-card .mx-mv-related-search-row .mx-mv-search {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 34px !important;
  min-height: 34px !important;
  margin-top: 0 !important;
}

.mx-material-verify-card .mx-mv-related-search-row .mx-mv-search-btn {
  flex: 0 0 auto !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

#ws-mv-album-name,
#ws-mv-song-name,
#ws-mv-related {
  padding: 0 !important;
}

.mx-release-timing-section {
  margin-top: 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--mx-mv-divider) !important;
}

/* 发行时间：定时/加急 switch + 日期时间同一行 */
.mx-material-verify-card .review-pf-release-mode {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.mx-material-verify-card .review-pf-mode-tabs.mx-release-switch {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  padding: 2px;
  border-radius: var(--h5-control-radius, 8px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
}

.mx-material-verify-card .review-pf-mode-tabs.mx-release-switch .review-pf-mode-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 3px 10px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  border: none !important;
  border-radius: 6px !important;
  min-width: 2.4em;
  white-space: nowrap;
}

.mx-material-verify-card .review-pf-mode-tab .review-pf-mode-icon {
  font-size: 15px !important;
  line-height: 1 !important;
}

.mx-material-verify-card .review-pf-release-schedule {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

.mx-material-verify-card .review-pf-schedule-combined {
  padding: 2px 4px !important;
  gap: 4px !important;
  min-width: 0;
}


/* AI 封面生成按钮 */
.mx-ai-cover-generate-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.mx-ai-cover-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.mx-ai-cover-btn:hover:not(:disabled) {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
}

.mx-ai-cover-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.mx-ai-cover-btn .material-symbols-outlined {
  font-size: 16px;
}

.mx-ai-cover-status {
  font-size: 11px;
  color: #94a3b8;
}

.mx-ai-cover-preview {
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.mx-ai-cover-preview.hidden {
  display: none !important;
}

.mx-ai-cover-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mx-ai-cover-use-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background: #22c55e;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.mx-ai-cover-use-btn:hover {
  background: #16a34a;
}


/* 列表封面区域下方 AI 生成按钮 */
.mx-ai-cover-inline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 20px;
  margin-top: 4px;
  padding: 0 6px;
  box-sizing: border-box;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.08);
  color: #c084fc;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.mx-ai-cover-inline-btn:hover:not(:disabled) {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.5);
}

/* 已生成过的封面可从这里切回最近 24 小时任一版本，不会再次扣点。 */
.mx-ai-cover-history-inline-btn {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(71, 85, 105, 0.14);
  color: #cbd5e1;
}

.mx-ai-cover-history-inline-btn:hover:not(:disabled) {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(71, 85, 105, 0.3);
}

.mx-ai-cover-inline-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.mx-ai-cover-inline-icon {
  font-size: 10px;
}

.mx-cover-upload-inline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  margin-top: 4px;
  padding: 0 6px;
  box-sizing: border-box;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  font: 500 14px/1 inherit;
  cursor: pointer;
}

.mx-cover-upload-inline-btn:hover {
  background: rgba(56, 189, 248, 0.2);
}

.mx-original-album-cover-inline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  width: 100px;
  height: 22px;
  margin-top: 4px;
  padding: 0 5px;
  box-sizing: border-box;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
  font: 500 13px/1 inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.mx-original-album-cover-inline-btn .material-symbols-outlined {
  font-size: 14px;
}

.mx-original-album-cover-inline-btn:hover:not(:disabled) {
  border-color: rgba(251, 191, 36, 0.68);
  background: rgba(245, 158, 11, 0.2);
}

.mx-original-album-cover-inline-btn:disabled {
  opacity: 0.68;
}

.mx-original-album-cover-inline-btn.is-loading {
  cursor: wait;
}

.mx-original-album-cover-inline-btn.is-unavailable {
  cursor: not-allowed;
  filter: saturate(0.35);
}

.mx-original-album-cover-spinner {
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(252, 211, 77, 0.35);
  border-top-color: #fcd34d;
  border-radius: 50%;
  animation: mx-ai-spin 0.7s linear infinite;
}

.mx-material-reupload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.mx-material-reupload-actions .material-inline-btn {
  padding: 4px 8px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 5px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
}

.mx-material-reupload-actions .material-inline-btn:hover {
  background: rgba(56, 189, 248, 0.18);
}

/* 物料替换与类型标签保持同一行，窄屏时自然换行。 */
.material-file-row.kind-tags-row .mx-material-upload-divider {
  width: 1px;
  height: 20px;
  margin: 0 2px;
  background: rgba(148, 163, 184, 0.28);
}

.material-file-row.kind-tags-row .mx-material-reupload-actions-inline {
  align-items: center;
  margin: 0;
}

.material-file-row.kind-tags-row button.material-tag {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

.material-file-row.kind-tags-row button.lrc-tag:hover,
.material-file-row.kind-tags-row button.lrc-tag:focus-visible {
  border-color: rgba(96, 165, 250, 0.7);
  color: #93c5fd;
  outline: none;
}

.material-file-row.kind-tags-row button.lrc-tag.is-required-missing {
  border: 1px solid rgba(248, 113, 113, 0.58);
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.material-file-row.kind-tags-row .mx-material-reupload-actions-inline .material-inline-btn {
  min-height: 28px;
  padding: 4px 9px;
  white-space: nowrap;
}

/* 文件行的就近操作：编辑/播放跟在文件名后面，不占用整行右侧。 */
.mx-workspace-left .material-file-row:is(.txt-row, .lrc-row, .audio-row) .material-filename {
  flex: 0 1 auto !important;
}

.mx-workspace-left .material-file-row:is(.txt-row, .lrc-row, .audio-row) .material-file-actions {
  margin-left: 0 !important;
}

.material-inline-btn.mx-material-delete-btn {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.18);
  color: #fca5a5;
}

.material-inline-btn.mx-material-delete-btn:hover {
  border-color: rgba(248, 113, 113, 0.72);
  background: rgba(185, 28, 28, 0.28);
  color: #fecaca;
}

.mx-text-material-preview {
  min-height: 240px;
  max-height: 66vh;
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.72);
  color: #e2e8f0;
  font: 500 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

@media (max-width: 720px) {
  .material-file-row.kind-tags-row .mx-material-upload-divider {
    display: none;
  }
}


/* AI 封面生成中动画 */
.mx-song-cover.is-ai-generating {
  border-color: rgba(168, 85, 247, 0.5) !important;
  background: rgba(168, 85, 247, 0.05) !important;
}

.mx-ai-generating-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 8px;
}

.mx-ai-generating-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(168, 85, 247, 0.2);
  border-top-color: #c084fc;
  border-radius: 50%;
  animation: mx-ai-spin 1s linear infinite;
}

@keyframes mx-ai-spin {
  to { transform: rotate(360deg); }
}

.mx-ai-generating-text {
  font-size: 11px;
  color: #c084fc;
  font-weight: 500;
}

.mx-ai-generating-timer {
  font-size: 11px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}


/* 封面预览弹窗 */
.mx-cover-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.mx-cover-preview-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: var(--mx-surface, #131b2e);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.mx-cover-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mx-cover-preview-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mx-cover-preview-img {
  max-width: min(500px, 80vw);
  max-height: min(500px, 60vh);
  border-radius: 8px;
  object-fit: contain;
}

.mx-cover-preview-actions {
  display: flex;
  gap: 12px;
}

.mx-cover-preview-reupload-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.mx-cover-preview-reupload-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}


/* 封面空状态大加号 */
.mx-song-cover-ph-plus {
  font-size: 52px !important;
  font-weight: 200 !important;
  color: #64748b !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
}


/* 封面框保持正方形，按钮高度由上面的统一规则控制。 */
.mx-song-cover-col .mx-song-cover {
  flex: none;
  width: 100px !important;
  height: 100px !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box;
}

.mx-song-cover-col .mx-song-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
}

.mx-song-cover-col .mx-ai-cover-inline-btn {
  flex-shrink: 0;
  width: 100px !important;
  box-sizing: border-box;
}

.mx-ai-cover-inline-actions {
  width: 100px;
}

/* AI 封面自定义方案弹窗：紧贴触发按钮，不阻断上传封面流程。 */
.mx-ai-design-popover {
  position: fixed;
  z-index: 10020;
  width: min(430px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 12px;
  color: #e6edf8;
  background: linear-gradient(145deg, #101d31 0%, #111827 62%, #171427 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .56), 0 0 0 1px rgba(15, 23, 42, .7);
}

.mx-ai-design-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, .15);
}

.mx-ai-design-head strong {
  display: block;
  color: #f8fafc;
  font-size: 15px;
}

.mx-ai-design-head span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 11px;
}

.mx-ai-design-close {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #94a3b8;
  background: rgba(148, 163, 184, .12);
  font: 22px/1 sans-serif;
  cursor: pointer;
}

.mx-ai-design-close:hover {
  color: #fff;
  background: rgba(148, 163, 184, .24);
}

.mx-ai-design-body {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}

.mx-ai-design-section {
  min-width: 0;
}

.mx-ai-design-age-section {
  margin-top: -4px;
  padding: 8px 10px;
  border-left: 2px solid rgba(45, 212, 191, .52);
  border-radius: 0 7px 7px 0;
  background: rgba(20, 184, 166, .07);
}

.mx-ai-design-age-section[hidden] {
  display: none;
}

.mx-ai-design-age-chips {
  width: fit-content;
}

.mx-ai-design-label {
  margin-bottom: 7px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 650;
}

.mx-ai-design-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mx-ai-design-color {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .23);
  border-radius: 50%;
  background: var(--mx-design-color);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .28);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}

.mx-ai-design-color:hover,
.mx-ai-design-color.is-selected {
  transform: translateY(-1px) scale(1.08);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .32);
}

.mx-ai-design-custom-color {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 9px;
  background: rgba(15, 23, 42, .35);
}

.mx-ai-design-wheel {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  cursor: crosshair;
  touch-action: none;
}

.mx-ai-design-color-controls {
  display: grid;
  flex: 1 1 auto;
  gap: 7px;
  min-width: 0;
}

.mx-ai-design-color-preview {
  width: 34px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 5px;
}

.mx-ai-design-color-controls code {
  color: #f8fafc;
  font-size: 12px;
}

.mx-ai-design-color-controls label,
.mx-ai-design-color-controls span {
  color: #94a3b8;
  font-size: 11px;
}

.mx-ai-design-color-controls label {
  display: grid;
  gap: 4px;
}

.mx-ai-design-color-controls input[type="range"] {
  width: 100%;
  accent-color: #7dd3fc;
}

.mx-ai-design-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
}

.mx-ai-design-chip {
  min-width: 0;
  min-height: 25px;
  padding: 3px 6px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 6px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, .55);
  font: 11px/1.1 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: all .16s;
}

.mx-ai-design-chip:hover {
  border-color: rgba(125, 211, 252, .5);
  color: #f8fafc;
}

.mx-ai-design-chip.is-selected {
  border-color: rgba(45, 212, 191, .78);
  color: #d1fae5;
  background: rgba(20, 184, 166, .16);
}

.mx-ai-design-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(148, 163, 184, .15);
}

.mx-ai-design-foot button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 32px;
  border-radius: 7px;
  font: 600 12px/1 inherit;
  cursor: pointer;
}

.mx-ai-design-foot .material-symbols-outlined {
  font-size: 16px;
}

.mx-ai-design-random {
  padding: 0 10px;
  border: 1px solid rgba(125, 211, 252, .34);
  color: #bae6fd;
  background: rgba(14, 116, 144, .14);
}

.mx-ai-design-submit {
  padding: 0 13px;
  border: 1px solid rgba(167, 139, 250, .72);
  color: #fff;
  background: linear-gradient(100deg, #6d4ac6, #8b5cf6);
}

.mx-ai-design-default {
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, .38);
  color: #e2e8f0;
  background: rgba(71, 85, 105, .32);
}

.mx-ai-design-default:hover {
  border-color: rgba(226, 232, 240, .7);
  background: rgba(100, 116, 139, .46);
}

@media (max-width: 520px) {
  .mx-ai-design-chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mx-ai-design-custom-color {
    align-items: flex-start;
  }

  .mx-ai-design-wheel {
    width: 112px;
    height: 112px;
  }

  .mx-ai-design-foot {
    flex-direction: column;
  }

  .mx-ai-design-foot button {
    width: 100%;
  }
}

.mx-song-cover-col .mx-cover-upload-inline-btn {
  flex-shrink: 0;
  width: 100px;
  box-sizing: border-box;
}


/* 选中状态统一用厂牌颜色，不用红色 */
.mx-batch-song-panel.batch-check-list .mx-song-panel.song-state-error.is-active {
  border: 2px solid var(--outlet-accent, #2dd4a8) !important;
  background: rgba(45, 212, 168, 0.08) !important;
  box-shadow: 0 0 0 1px var(--outlet-accent, rgba(45, 212, 168, 0.3)), 0 4px 12px var(--outlet-accent-glow, rgba(45, 212, 168, 0.12)) !important;
}

html[data-outlet="kaizhi"] .mx-batch-song-panel.batch-check-list .mx-song-panel.song-state-error.is-active,
.mx-batch-song-panel.batch-check-list .mx-song-panel.song-state-error.is-active[data-outlet="kaizhi"] {
  border-color: #2dd4a8 !important;
  background: rgba(45, 212, 168, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(45, 212, 168, 0.3), 0 4px 12px rgba(45, 212, 168, 0.12) !important;
}

html[data-outlet="dishui"] .mx-batch-song-panel.batch-check-list .mx-song-panel.song-state-error.is-active,
.mx-batch-song-panel.batch-check-list .mx-song-panel.song-state-error.is-active[data-outlet="dishui"] {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3), 0 4px 12px rgba(56, 189, 248, 0.12) !important;
}


/* 专辑选择按钮组 */
.mx-album-choice-btns {
  display: flex !important;
  gap: 8px;
}

.mx-album-choice-btn {
  flex: 1;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.mx-album-choice-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.mx-album-choice-btn:disabled,
.mx-album-choice-btn:disabled:hover {
  cursor: not-allowed;
  opacity: 0.42;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
  color: #64748b;
}

.mx-album-choice-btn.is-active {
  border-color: #2dd4a8;
  background: rgba(45, 212, 168, 0.12);
  color: #2dd4a8;
  font-weight: 600;
}

html[data-outlet="dishui"] .mx-album-choice-btn.is-active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}


/* 必填星号红色 */
.mx-mv-required-star {
  color: #ef4444;
  font-weight: 600;
}


/* 立即发布时隐藏时间选择 */
.review-pf-release-schedule.is-hidden {
  display: none !important;
}


/* 封面和内容之间间距缩小 */
.mx-song-main-col {
  gap: 2px !important;
}


/* 覆盖歌曲面板grid列宽，缩小封面和内容间距 */
.mx-workspace-upload-section {
  --mx-song-cover-size: 100px !important;
}


/* 关联原作品行：减小红框高度 */
.mx-mv-row-related-combined .mx-mv-v {
  padding: 4px 6px !important;
}

/* 状态文字内联显示在搜索行中 */
.mx-mv-related-second-inline {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.mx-mv-related-inline-status {
  display: inline-block;
  max-width: min(520px, 34vw);
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  white-space: nowrap;
  padding: 0 6px;
}

.mx-mv-related-second-inline:empty {
  display: none !important;
}

.mx-mv-related-inline-status.mx-mv-related-loading {
  color: #94a3b8;
}

.mx-mv-related-inline-status.mx-mv-related-ok {
  color: #22c55e;
}

.mx-mv-related-inline-status.mx-mv-related-fail {
  color: #f87171;
}

/* 搜索行内对齐 */
.mx-mv-related-search-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mx-mv-related-search-row .mx-mv-search {
  min-width: 0;
}


/* 立即发布/定时发布按钮加大 */
.review-pf-mode-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  min-height: 36px !important;
}

.review-pf-mode-tab .review-pf-mode-icon {
  font-size: 17px !important;
  line-height: 1 !important;
}


/* 删除按钮缩小 */
.mx-delete-btn-sm {
  padding: 4px 10px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  background: rgba(239, 68, 68, 0.06) !important;
  color: #f87171 !important;
  white-space: nowrap !important;
  width: auto !important;
  height: auto !important;
  min-width: unset !important;
  min-height: unset !important;
}

.mx-delete-btn-sm:hover {
  background: rgba(239, 68, 68, 0.15) !important;
}

/* 操作列纵向排列 */
.mx-song-actions-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding-top: 4px !important;
}

/* 核验通过印章 */
.mx-song-verified-stamp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transform: rotate(-8deg);
}

.mx-stamp-text {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  text-align: center;
  line-height: 1.2;
}

html[data-outlet="dishui"] .mx-song-verified-stamp {
  border-color: #38bdf8;
}

html[data-outlet="dishui"] .mx-stamp-text {
  color: #38bdf8;
}


/* 全局顶栏 */
.mx-global-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 0 24px;
  background: var(--mx-surface-high, #171f33);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  z-index: 100;
}

.mx-global-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mx-global-header-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #34d399, #059669);
  color: #fff;
}

.mx-global-header-logo-icon .material-symbols-outlined {
  font-size: 20px;
}

.mx-global-header-logo {
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.mx-global-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mx-global-header-username {
  font-size: 13px;
  color: #94a3b8;
}

.mx-global-header-outlet {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(45, 212, 168, 0.12);
  color: #2dd4a8;
  font-weight: 500;
}

html[data-outlet="dishui"] .mx-global-header-outlet {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

/* app-main 需要减去顶栏高度 */
#app-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

#app-main .mx-app-layout {
  flex: 1;
  min-height: 0;
}


/* 侧栏品牌区隐藏（已移到顶栏） */
.mx-app-nav-brand {
  display: none !important;
}


/* 侧栏用户信息区隐藏（头像+昵称），保留发行口标签 */
.mx-app-nav-avatar-wrap {
  display: none !important;
}

.mx-app-nav-user-text .mx-app-nav-user-name {
  display: none !important;
}

.mx-app-nav-user-text .mx-app-nav-user-name-row {
  justify-content: flex-start !important;
}

/* 发行口标签加大，和菜单入口一样大 */
.mx-app-nav .mx-outlet-switcher-container,
.mx-app-nav #mx-nav-outlet-tags {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  height: auto !important;
  gap: 8px !important;
}

.mx-app-nav .mx-current-outlet-label {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 4px 0 !important;
  border-radius: 0 !important;
  flex: 1 !important;
  text-align: left !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
}

.mx-app-nav .mx-outlet-tag {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  display: block !important;
  box-sizing: border-box !important;
  height: auto !important;
}

.mx-app-nav .mx-outlet-switch-trigger {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  width: 28px !important;
  height: 28px !important;
}

.mx-app-nav-user {
  padding: 0 !important;
  margin-bottom: 8px !important;
}

.mx-app-nav-user-text {
  width: 100% !important;
}


/* 发行口标签扫光动画 */
.mx-app-nav .mx-outlet-tag,
.mx-app-nav .mx-current-outlet-label {
  position: relative !important;
  overflow: hidden !important;
}

.mx-app-nav .mx-outlet-tag::after,
.mx-app-nav .mx-current-outlet-label::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  animation: mx-sweep-shine 3s ease-in-out infinite;
}

@keyframes mx-sweep-shine {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: 120%; }
}


/* 隐藏侧栏退出按钮（已移到顶栏） */
.mx-app-nav-logout-btn {
  display: none !important;
}

/* 顶栏用户区样式 */
.mx-global-header-right {
  position: relative;
}

.mx-global-header-user-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.mx-global-header-user-wrap:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mx-global-header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.mx-global-header-avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.mx-global-header-avatar-ph .material-symbols-outlined {
  font-size: 18px;
}

.mx-global-header-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: rgba(23, 31, 51, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  padding: 6px;
  min-width: 140px;
  backdrop-filter: blur(10px);
  z-index: 200;
}

.mx-global-header-dropdown.hidden {
  display: none !important;
}

.mx-global-header-dropdown-system-id {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 10px;
  margin-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #aebbd1;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.mx-global-header-dropdown-system-id .material-symbols-outlined {
  font-size: 17px;
  color: #7f9ccf;
}

.mx-global-header-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #f87171;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.mx-global-header-dropdown-item:hover {
  background: rgba(239, 68, 68, 0.1);
}

.mx-global-header-dropdown-item .material-symbols-outlined {
  font-size: 18px;
}


/* 三面板同步 - 变动高亮 */
.mx-sync-flash {
  animation: mx-gold-text-flash 3s ease-out !important;
  color: #fbbf24 !important;
}

textarea.mx-sync-flash,
input.mx-sync-flash {
  animation: mx-gold-border-flash 3s ease-out !important;
  color: inherit !important;
}

@keyframes mx-gold-text-flash {
  0% { color: #fbbf24 !important; text-shadow: 0 0 6px rgba(251, 191, 36, 0.5); }
  50% { color: #f59e0b !important; text-shadow: 0 0 3px rgba(251, 191, 36, 0.2); }
  100% { color: inherit !important; text-shadow: none; }
}

@keyframes mx-gold-border-flash {
  0% { border-color: rgba(251, 191, 36, 0.7) !important; box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
  50% { border-color: rgba(251, 191, 36, 0.4) !important; box-shadow: 0 0 4px rgba(251, 191, 36, 0.2); }
  100% { border-color: rgba(255, 255, 255, 0.1) !important; box-shadow: none; }
}


/* 发行历史 - 卡片式列表 */
.mx-hist-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}

.mx-hist-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.mx-hist-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mx-hist-card.is-unread {
  border-left: 3px solid #2dd4a8;
}

.mx-hist-card-left {
  width: 64px;
  flex-shrink: 0;
}

.mx-hist-card-cover {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.mx-hist-card-cover-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: #64748b;
}

.mx-hist-card-cover-ph .material-symbols-outlined {
  font-size: 24px;
}

.mx-hist-card-body {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(260px, 1.2fr)
    minmax(180px, 0.72fr)
    minmax(220px, 0.88fr)
    minmax(128px, max-content);
  align-items: center;
  gap: 16px 28px;
}

.mx-hist-card-primary,
.mx-hist-card-credit,
.mx-hist-card-release,
.mx-hist-card-actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mx-hist-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mx-hist-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-hist-card-new-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4a8;
  flex-shrink: 0;
}

.mx-hist-card-subline,
.mx-hist-card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: nowrap;
  min-width: 0;
}

.mx-hist-card-subline > span,
.mx-hist-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-hist-card-field,
.mx-hist-card-release > span:not(.mx-hist-card-field) {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
}

.mx-hist-card-field-label {
  flex: 0 0 auto;
  color: #6f8096;
}

.mx-hist-card-field-value,
.mx-hist-card-release > span:not(.mx-hist-card-field) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-hist-publisher-hidden {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.mx-hist-publisher-hidden .material-symbols-outlined {
  font-size: 13px;
}

.mx-hist-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.mx-hist-card-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.mx-hist-card-tag-outlet {
  background: rgba(45, 212, 168, 0.1);
  color: #2dd4a8;
}

.mx-hist-card-actions,
.mx-hist-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mx-hist-card-actions {
  align-items: flex-end;
  justify-self: end;
  text-align: right;
  gap: 8px;
}

.mx-hist-card-time {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.mx-hist-restore-btn {
  border-color: rgba(45, 212, 168, 0.42) !important;
  background: rgba(45, 212, 168, 0.08) !important;
  color: #5eead4 !important;
  white-space: nowrap;
}

.mx-hist-restore-btn:hover:not(:disabled) {
  border-color: rgba(45, 212, 168, 0.72) !important;
  background: rgba(45, 212, 168, 0.16) !important;
  color: #99f6e4 !important;
}

.mx-hist-restore-btn:disabled {
  cursor: wait;
  opacity: 0.66;
}

.mx-hist-empty-card {
  text-align: center;
  padding: 60px;
  color: #64748b;
  font-size: 14px;
}

.mx-history-list-wrap {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

@media (max-width: 1280px) {
  .mx-hist-card-body {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr);
    align-items: start;
  }

  .mx-hist-card-actions {
    align-items: flex-start;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .mx-hist-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    min-height: 0;
  }

  .mx-hist-card-left {
    width: 72px;
  }

  .mx-hist-card-cover {
    width: 72px;
    height: 72px;
  }

  .mx-hist-card-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .mx-hist-card-subline {
    flex-direction: column;
    gap: 4px;
  }
}


/* 关联原作品下拉候选列表 - 不被遮挡 */
.mx-mv-related-dropdown {
  position: absolute !important;
  z-index: 9999 !important;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: var(--mx-related-dropdown-max-height, min(62dvh, 520px));
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
  padding: 8px;
  background: rgba(19, 27, 46, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.mx-mv-related-float-host {
  position: relative !important;
}

/* 候选项样式 */
.mx-related-candidate-list {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  max-height: none !important;
  overflow: visible !important;
  padding: 0;
}

.mx-related-candidate-list li {
  margin: 0;
}

.mx-related-candidate-pick {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) minmax(170px, 0.46fr) minmax(92px, 112px);
  align-items: center !important;
  gap: 10px !important;
  width: 100%;
  box-sizing: border-box;
  min-height: 58px;
  padding: 7px 10px !important;
  border: none !important;
  border-radius: 6px;
  background: transparent;
  text-align: left !important;
  cursor: pointer;
  transition: background 0.15s;
}

.mx-related-candidate-pick:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06) !important;
}

.mx-related-candidate-pick:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.mx-related-candidate-pick:disabled .mx-related-pick-title {
  color: #94a3b8;
}

.mx-related-pick-cover {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.mx-related-pick-cover-ph {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mx-related-pick-identity {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mx-related-pick-info,
.mx-related-pick-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mx-related-pick-title {
  font-size: 13px !important;
  font-weight: 500;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-related-pick-meta {
  font-size: 11px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-related-pick-side {
  min-width: 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mx-related-pick-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: center;
  justify-self: stretch;
}

.mx-related-pick-company-line {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-related-pick-time {
  color: #8aa0b8;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  gap: 4px;
  width: 100%;
  overflow: hidden;
  text-align: right;
}

.mx-related-pick-time-text {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-related-pick-unavailable {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .mx-related-candidate-pick {
    grid-template-columns: minmax(0, 1fr);
    min-height: 58px;
  }

  .mx-related-pick-identity {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .mx-related-pick-cover,
  .mx-related-pick-cover-ph {
    width: 42px;
    height: 42px;
  }

  .mx-related-pick-side {
    grid-column: 1;
    padding-left: 52px;
  }

  .mx-related-pick-time {
    align-items: flex-start;
    justify-self: stretch;
    text-align: left;
  }
}


/* 信息核对面板允许下拉框溢出 */
.mx-material-verify-card,
.mx-material-verify-content,
.mx-mv-body,
.mx-mv-row-related,
.mx-mv-row-related .mx-mv-v {
  overflow: visible !important;
}

.mx-material-verify-actions-bar {
  position: relative;
  z-index: 1;
}

.mx-mv-related-dropdown.is-open {
  z-index: 9999 !important;
}


.mx-related-bound-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 6px 8px !important;
}

.mx-material-verify-card .mx-mv-row-related .mx-related-bound-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  width: 100% !important;
  align-items: center !important;
}

.mx-related-bound-identity {
  grid-column: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mx-related-bound-cover {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.mx-related-bound-cover-ph {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mx-related-bound-main,
.mx-related-bound-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mx-related-bound-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-related-bound-meta,
.mx-related-bound-company,
.mx-related-bound-outlet {
  font-size: 11px;
  line-height: 1.35;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mx-related-bound-outlet {
  color: #75dca8;
}

.mx-related-bound-change-btn {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 11px;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.mx-related-bound-change-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

@media (max-width: 900px) {
  .mx-related-bound-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .mx-related-bound-side {
    grid-column: auto;
    padding-left: 0;
  }

  .mx-related-bound-change-btn {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Artist create page */
.mx-app-main--artist-create {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 18, 0.94), rgba(5, 14, 12, 0.98)),
    #07120f;
}

.mx-artist-create-page {
  display: grid;
  gap: 10px;
  width: min(1320px, calc(100vw - var(--mx-app-nav-width, 248px) - 48px));
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 18px 18px;
  color: #e5edf4;
  box-sizing: border-box;
}

.is-nav-collapsed .mx-artist-create-page {
  width: min(1320px, calc(100vw - var(--mx-app-nav-collapsed-width, 76px) - 48px));
}

.mx-artist-create-panel {
  border: 1px solid rgba(91, 117, 151, 0.36);
  border-radius: 8px;
  background: rgba(13, 25, 37, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.mx-artist-create-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.mx-artist-create-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  color: #f8fafc;
}

.mx-artist-create-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9fb0c5;
}

.mx-artist-create-refresh,
.mx-artist-create-actions .btn,
.mx-artist-create-upload-line .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
}

.mx-artist-create-refresh {
  border: 1px solid rgba(42, 185, 126, 0.5);
  border-radius: 6px;
  background: rgba(15, 105, 72, 0.28);
  color: #7cf6b6;
  padding: 0 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mx-artist-create-refresh:disabled,
.mx-artist-create-actions .btn:disabled,
.mx-artist-create-upload-line .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.mx-artist-create-message {
  min-height: 18px;
  margin-bottom: 8px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 6px;
  background: rgba(29, 78, 216, 0.12);
  color: #bfdbfe;
  padding: 7px 10px;
  font-size: 12px;
}

.mx-artist-create-message[data-type="success"] {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(22, 101, 52, 0.18);
  color: #86efac;
}

.mx-artist-create-message[data-type="error"] {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
}

.mx-artist-create-form {
  display: grid;
  gap: 9px;
}

.mx-artist-create-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.mx-artist-create-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mx-artist-create-switch i {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.36);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mx-artist-create-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f8fafc;
  transition: transform 0.18s ease;
}

.mx-artist-create-switch input:checked + i {
  background: rgba(20, 184, 166, 0.75);
  border-color: rgba(45, 212, 191, 0.72);
}

.mx-artist-create-switch input:checked + i::after {
  transform: translateX(20px);
}

.mx-artist-create-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) 58px minmax(150px, 0.8fr) minmax(130px, 0.65fr) minmax(120px, 0.58fr) minmax(120px, 0.58fr);
  gap: 9px 10px;
  align-items: end;
}

.mx-artist-create-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mx-artist-create-field--wide {
  grid-column: span 2;
}

.mx-artist-create-field--avatar {
  grid-column: 1;
}

.mx-artist-create-field--name {
  grid-column: 3;
}

.mx-artist-create-field--translate {
  grid-column: 4;
}

.mx-artist-create-field--desc {
  grid-column: 1 / span 2;
}

.mx-artist-create-field > span,
.mx-artist-create-role-block > span {
  font-size: 12px;
  font-weight: 700;
  color: #b9c7d8;
}

.mx-artist-create-field .input {
  width: 100%;
  min-height: 34px;
  box-sizing: border-box;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 13px;
}

.mx-artist-create-field textarea.input {
  min-height: 58px;
  resize: vertical;
}

.mx-artist-create-upload-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  min-width: 0;
}

.mx-artist-create-check-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  min-width: 0;
}

.mx-artist-create-field--name {
  position: relative;
}

.mx-artist-name-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.mx-artist-name-input-wrap .input {
  padding-right: 60px;
}

.mx-artist-check-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(104, 219, 169, 0.5);
  border-radius: 4px;
  background: rgba(104, 219, 169, 0.1);
  color: #68dba9;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.mx-artist-check-btn:hover { background: rgba(104, 219, 169, 0.2); }
.mx-artist-check-btn:disabled { opacity: 0.5; cursor: wait; }

.mx-artist-check-hint {
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}
.mx-artist-check-hint.hidden { display: none; }
.mx-artist-check-hint.mx-artist-check-ok { color: #68dba9; }
.mx-artist-check-hint.mx-artist-check-warn { color: #ffc107; }

.mx-artist-check-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  margin-top: 2px;
  padding: 8px;
  border: 1px solid rgba(91, 117, 151, 0.4);
  border-radius: 8px;
  background: rgba(15, 25, 40, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  max-height: 200px;
  overflow-y: auto;
}
.mx-artist-check-dropdown.hidden { display: none; }

.mx-artist-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mx-artist-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(91, 117, 151, 0.1);
}

.mx-artist-check-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.mx-artist-check-avatar-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(91, 117, 151, 0.2);
  color: rgba(148, 163, 184, 0.7);
  font-size: 16px;
}

.mx-artist-check-name {
  font-size: 13px;
  font-weight: 500;
}

.mx-artist-check-id {
  font-size: 11px;
  opacity: 0.6;
  margin-left: auto;
  white-space: nowrap;
}

.mx-artist-create-preview {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.58);
  display: grid;
  place-items: center;
  color: #94a3b8;
  overflow: hidden;
}

.mx-artist-create-preview img,
.mx-artist-create-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mx-artist-create-role-block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.mx-artist-create-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 6px;
}

.mx-artist-create-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.42);
  padding: 0 8px;
  color: #cbd5e1;
  font-size: 12px;
}

.mx-artist-create-check input {
  width: 13px;
  height: 13px;
  accent-color: #2dd4bf;
}

.mx-artist-create-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.mx-artist-create-history {
  display: grid;
  gap: 7px;
}

.mx-artist-create-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(180px, auto);
  align-items: center;
  gap: 10px;
  min-height: 64px;
  border: 1px solid rgba(91, 117, 151, 0.45);
  border-radius: 8px;
  background: rgba(24, 39, 59, 0.72);
  padding: 8px 10px;
}

.mx-artist-create-avatar {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.56);
  display: grid;
  place-items: center;
  color: #94a3b8;
  overflow: hidden;
}

.mx-artist-create-row-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.mx-artist-create-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mx-artist-create-row-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f8fafc;
  font-size: 14px;
}

.mx-artist-create-outlet {
  flex-shrink: 0;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 999px;
  color: #86efac;
  background: rgba(22, 101, 52, 0.16);
  padding: 1px 6px;
  font-size: 11px;
}

.mx-artist-create-row-main p {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a8b6c8;
  font-size: 12px;
}

.mx-artist-create-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: #8190a5;
  font-size: 11px;
}

.mx-artist-create-row-side {
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 4px;
}

.mx-artist-create-status {
  border: 1px solid rgba(250, 204, 21, 0.44);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(120, 53, 15, 0.18);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

.mx-artist-create-status.is-ok {
  border-color: rgba(34, 197, 94, 0.46);
  background: rgba(22, 101, 52, 0.18);
  color: #86efac;
}

.mx-artist-create-status.is-reviewing {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(30, 64, 175, 0.18);
  color: #93c5fd;
}

.mx-artist-create-status.is-failed {
  border-color: rgba(248, 113, 113, 0.46);
  background: rgba(127, 29, 29, 0.2);
  color: #fca5a5;
}

.mx-artist-create-id {
  color: #93a4bb;
  font-size: 11px;
  text-align: right;
}

.mx-artist-create-warning {
  color: #fca5a5 !important;
}

.mx-artist-create-empty,
.mx-artist-create-loading {
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  color: #94a3b8;
  text-align: center;
}

.mx-artist-create-empty p,
.mx-artist-create-loading p {
  margin: 0;
}

@media (max-width: 980px) {
  .mx-artist-create-page,
  .is-nav-collapsed .mx-artist-create-page {
    width: 100%;
    padding: 14px;
  }

  .mx-artist-create-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mx-artist-create-field--wide {
    grid-column: auto;
  }

  .mx-artist-create-field--avatar,
  .mx-artist-create-field--name,
  .mx-artist-create-field--translate,
  .mx-artist-create-field--desc {
    grid-column: auto;
  }

  .mx-artist-create-preview {
    width: 54px;
    height: 54px;
  }

  .mx-artist-create-role-block {
    grid-template-columns: 1fr;
  }

  .mx-artist-create-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .mx-artist-create-row-side {
    grid-column: 2;
    justify-self: start;
    justify-items: start;
  }
}


/* 发行历史 - 失败原因 */
.mx-hist-card-error {
  font-size: 12px;
  color: #f87171;
  padding: 4px 0 0;
  margin-top: 4px;
  border-top: 1px solid rgba(248, 113, 113, 0.15);
}

/* 删除按钮 */
.mx-hist-delete-btn {
  color: #f87171 !important;
  border-color: rgba(248, 113, 113, 0.3) !important;
}

.mx-hist-delete-btn:hover {
  background: rgba(248, 113, 113, 0.1) !important;
}


/* 发行历史操作按钮一行排列 */
.mx-hist-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.mx-hist-card-actions-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mx-hist-card-actions-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* 原专辑无结果：按钮组、检索框、提示必须纵向独占整行。
 * 上层信息核对通用规则会把专辑值区改成横排，导致输入框被压成小方块。 */
.mx-material-verify-card .mx-mv-row-album .mx-mv-v {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 8px !important;
}

.mx-material-verify-card .mx-mv-row-album .mx-album-choice-wrapper,
.mx-material-verify-card .mx-mv-row-album .mx-mv-album-search-block {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

.mx-material-verify-card .mx-mv-row-album .mx-mv-album-search-row {
  width: 100% !important;
  margin-top: 0 !important;
}

.mx-material-verify-card .mx-mv-row-album .mx-mv-album-search-row .mx-mv-search {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
}

.mx-material-verify-card .mx-mv-row-album .mx-mv-album-search-row .mx-mv-manual-search-btn {
  margin-top: 0 !important;
}

/* 无候选只标出检索结果，不再给整块专辑区域套红色校验框。 */
.mx-material-verify-card .mx-mv-row-album.is-album-bind-failed .mx-mv-album-search-hint.is-error {
  color: #f87171 !important;
  font-weight: 600 !important;
}

/* ── 手机 H5 完整发行流程 · 2026-07-29 ─────────────────────────────
 * 桌面工作区使用固定高度双栏与内部滚动；手机端必须改成一条自然文档流。
 * 否则上传物料卡会溢出第一条 grid row，并被第二条“信息核对”覆盖，出现
 * 看得到平台按钮却点不到、任务卡内容被截断等问题。 */
@media (max-width: 900px) {
  html,
  body {
    min-width: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
  }

  #app-main {
    height: 100dvh;
    min-height: 100svh;
  }

  .mx-global-header {
    height: 56px;
    min-height: 56px;
    padding:
      env(safe-area-inset-top)
      max(14px, env(safe-area-inset-right))
      0
      max(14px, env(safe-area-inset-left));
  }

  .mx-global-header-logo {
    font-size: 16px;
    letter-spacing: 0;
  }

  .mx-global-header-logo-icon {
    width: 34px;
    height: 34px;
  }

  .mx-global-header-right {
    gap: 6px;
  }

  .mx-global-header-user-wrap {
    min-height: 40px;
    padding: 2px 4px;
  }

  .mx-app-layout {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .mx-app-nav {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto;
    padding: 8px 12px;
    gap: 6px;
    box-sizing: border-box;
  }

  .mx-app-nav-user {
    width: 100%;
    min-height: 36px;
    margin: 0 !important;
  }

  .mx-app-nav .mx-outlet-switcher-container,
  .mx-app-nav #mx-nav-outlet-tags {
    min-height: 36px;
    padding: 2px 8px !important;
  }

  .mx-app-nav-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    width: 100%;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding:
      7px
      max(8px, env(safe-area-inset-right))
      calc(7px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    gap: 6px;
    box-sizing: border-box;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    background: rgba(8, 17, 30, 0.96);
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.34);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mx-app-nav-link {
    justify-content: center !important;
    flex-direction: column;
    position: relative;
    min-width: 0;
    min-height: 50px;
    padding: 5px 6px !important;
    gap: 2px !important;
    border-radius: 11px !important;
    white-space: nowrap;
    touch-action: manipulation;
  }

  .mx-app-nav-link .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .mx-app-nav-link .mx-app-nav-link-label {
    font-size: 11px;
    line-height: 1.2;
  }

  .mx-app-nav-link.is-active {
    background: color-mix(in srgb, var(--outlet-accent, #34d399) 17%, transparent) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--outlet-accent, #34d399) 34%, transparent);
  }

  .mx-app-nav-link .mx-nav-unread-badge {
    position: absolute;
    top: 2px;
    left: calc(50% + 9px);
    margin: 0;
  }

  .mx-app-nav-foot {
    display: none !important;
  }

  .mx-app-main--workspace {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .mx-app-main--workspace .mx-workspace-page,
  .mx-workspace-page {
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 100% !important;
    padding: 14px 10px calc(88px + env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  .mx-desktop-recommend-hint {
    margin: 0 4px 10px !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }

  .mx-workspace-shell,
  .workspace.mx-workspace-shell {
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .mx-workspace-grid,
  .mx-workspace-grid.is-upload-empty,
  .mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-compact:empty),
  .mx-workspace-grid:has(#ws-batch-list .batch-check-list-wrap-single:empty),
  .mx-workspace-grid:has(#ws-batch-list .batch-check-empty-placeholder) {
    display: grid !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    align-items: start !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  .mx-workspace-left,
  .mx-workspace-grid.is-upload-empty .mx-workspace-left,
  .mx-workspace-preview-col,
  .mx-workspace-grid.is-upload-empty .mx-workspace-preview-col {
    grid-column: 1 !important;
    position: static !important;
    align-self: start !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .mx-workspace-upload-section.mx-card,
  .mx-workspace-upload-section.mx-workspace-main-card,
  .mx-workspace-upload-section.mx-workspace-main-card:is(.is-batch-mode, .is-single-mode) {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #ws-batch-list {
    display: block !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #ws-batch-list .batch-check-list-wrap-compact,
  #ws-batch-list .batch-check-list-wrap-single,
  #ws-batch-list .batch-check-list-wrap-paged {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #ws-batch-list .mx-batch-song-panel.batch-check-list,
  #ws-batch-list .mx-single-song-panel.batch-check-list {
    display: flex;
    height: auto !important;
    overflow: visible !important;
  }

  #ws-preview-panel,
  .mx-material-verify-card,
  .mx-material-verify-content {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #ws-cover-pool-wrap {
    width: 100%;
    max-height: none;
  }

  .mx-workspace-upload-section .file-drop-zone.mx-drop-zone-design {
    min-height: 66px !important;
    padding: 12px 16px !important;
    touch-action: manipulation;
  }

  .mx-workspace-upload-section .file-drop-zone-title#ws-drop-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .mx-song-panel {
    padding: 9px !important;
    contain: none !important;
  }

  .mx-song-panel-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .mx-song-main-col {
    width: 100%;
    gap: 8px !important;
    align-items: flex-start !important;
  }

  .mx-workspace-upload-section {
    --mx-song-cover-size: 82px !important;
  }

  .mx-song-cover-col {
    align-self: flex-start !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
  }

  .mx-song-cover.batch-check-card-cover {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    height: 82px !important;
    min-height: 82px !important;
    max-height: 82px !important;
  }

  .mx-cover-upload-inline-btn,
  .mx-ai-cover-inline-btn,
  .mx-original-album-cover-inline-btn {
    width: 82px !important;
    max-width: 82px !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 5px 4px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
  }

  .material-file-row {
    align-items: center !important;
    gap: 5px !important;
    padding: 4px 2px !important;
  }

  .material-file-row .material-filename {
    font-size: 12px;
  }

  .material-file-actions {
    gap: 4px !important;
  }

  .material-inline-btn,
  .material-file-actions .btn {
    min-height: 32px;
    padding: 4px 7px !important;
    touch-action: manipulation;
  }

  .material-file-row.kind-tags-row {
    gap: 6px !important;
    padding-top: 6px !important;
  }

  .material-file-row.kind-tags-row .material-tag {
    min-height: 32px;
    padding: 5px 7px;
  }

  .mx-release-platforms {
    order: 20;
    width: 100%;
    margin-left: 0 !important;
    justify-content: center !important;
    gap: 8px;
    padding: 6px !important;
  }

  .mx-release-platform-all {
    flex: 1 1 auto;
    min-width: 76px;
    height: 42px;
    font-size: 12px;
  }

  .mx-release-platform-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .mx-release-platform-divider {
    height: 30px;
  }

  .mx-song-actions-col {
    display: flex !important;
    grid-column: 1 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .mx-song-actions-col .batch-check-delete-btn {
    min-height: 36px !important;
  }

  .mx-song-verified-stamp {
    width: 46px;
    height: 46px;
  }

  .mx-material-verify-card {
    padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
  }

  .mx-material-verify-card .mx-mv-row {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    column-gap: 8px !important;
  }

  .mx-material-verify-card .mx-mv-search,
  .mx-material-verify-card input,
  .mx-material-verify-card select,
  .mx-material-verify-card textarea {
    min-height: 42px;
    font-size: 16px !important;
  }

  .mx-material-verify-card button {
    touch-action: manipulation;
  }

  .mx-material-verify-card .mx-btn-submit-lg {
    min-height: 50px !important;
    font-size: 15px !important;
  }

  .review-info-modal-shell .txt-edit-form-fixed .txt-edit-header-pair {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .review-info-modal-shell .txt-edit-field-input,
  .review-info-modal-shell textarea,
  .review-info-modal-shell input,
  .review-info-modal-shell select {
    font-size: 16px !important;
  }

  .audit-modal-overlay {
    padding:
      max(8px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
  }

  .audit-modal-shell,
  .audit-modal-shell-wide,
  .audit-modal-shell.txt-song-edit-modal {
    width: 100%;
    max-width: 100% !important;
    height: min(94dvh, 900px) !important;
    max-height: 94dvh !important;
  }

  .audit-modal-header {
    min-height: 52px;
    padding: 8px 10px;
  }

  .audit-modal-footer {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }

  .audit-modal-footer-actions {
    width: 100%;
  }

  .audit-modal-footer-actions .btn {
    flex: 1 1 0;
    min-height: 44px;
  }

  .mx-history-page,
  .mx-artist-create-page,
  .is-nav-collapsed .mx-artist-create-page {
    padding: 12px 10px calc(86px + env(safe-area-inset-bottom)) !important;
  }

  .mx-history-search,
  .mx-history-select,
  .mx-history-filters button,
  .mx-artist-create-form input,
  .mx-artist-create-form select,
  .mx-artist-create-form textarea,
  .mx-artist-create-form button {
    min-height: 42px;
    font-size: 16px;
  }

  .mx-artist-create-form .mx-artist-create-field input.input,
  .mx-artist-create-form .mx-artist-create-field select.input,
  .mx-artist-create-form .mx-artist-create-field textarea.input {
    min-height: 42px !important;
    font-size: 16px !important;
  }

  .mx-artist-create-form .mx-artist-create-field textarea.input {
    min-height: 92px !important;
  }

  .mx-hist-card-actions .btn,
  .mx-hist-card-actions button,
  .mx-hist-page-btn,
  .mx-hist-page-num {
    min-height: 40px;
  }

  .mx-history-list-wrap {
    overflow-x: hidden !important;
  }

  .mx-hist-card-list,
  .mx-hist-card,
  .mx-hist-card-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .mx-hist-card {
    overflow: hidden;
  }

  .mx-hist-card-actions {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-self: stretch;
    text-align: left;
  }

  .mx-hist-card-actions-left,
  .mx-hist-card-actions-right {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .mx-hist-card-time {
    width: 100%;
    white-space: normal;
  }

  .mx-artist-create-check {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .mx-artist-create-check input {
    width: 18px;
    height: 18px;
    min-height: 0;
  }

  .mx-artist-create-actions {
    width: 100%;
  }

  .mx-artist-create-actions .btn,
  .mx-artist-create-actions button {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 360px) {
  .mx-global-header-username {
    display: none;
  }

  .mx-global-header-logo {
    font-size: 15px;
  }

  .mx-app-nav {
    padding-inline: 8px;
  }

  .mx-app-nav-link {
    font-size: 12px !important;
    padding-inline: 3px !important;
  }

  .mx-app-nav-link .material-symbols-outlined {
    font-size: 18px !important;
  }

  .mx-workspace-page {
    padding-inline: 6px !important;
  }

  .mx-hist-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .mx-hist-card-left {
    width: 60px;
  }

  .mx-hist-card-cover,
  .mx-hist-card-cover-ph {
    width: 60px;
    height: 60px;
  }

  .mx-song-main-col {
    flex-direction: column;
  }

  .mx-song-cover-col {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start !important;
    justify-items: stretch;
    gap: 5px 8px;
  }

  .mx-song-cover.batch-check-card-cover {
    grid-row: 1 / span 3;
  }

  .mx-cover-upload-inline-btn,
  .mx-ai-cover-inline-btn,
  .mx-original-album-cover-inline-btn {
    width: 100% !important;
    max-width: none !important;
  }

  .mx-material-verify-card .mx-mv-row {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }
}

/* 关联搜索区统一采用上下两层：标题独占第一行，搜索/结果占满第二行。
 * 右侧核对栏较窄，继续沿用通用“标签列 + 值列”会挤压长关键词和操作按钮。 */
.mx-material-verify-card .mx-mv-row.mx-mv-row-search-stacked {
  grid-template-columns: minmax(0, 1fr) !important;
  row-gap: 8px !important;
  align-items: stretch !important;
}

.mx-material-verify-card .mx-mv-row.mx-mv-row-search-stacked > .mx-mv-k {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  width: 100% !important;
  max-width: none !important;
  min-height: auto !important;
}

.mx-material-verify-card .mx-mv-row.mx-mv-row-search-stacked > .mx-mv-v {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

.mx-material-verify-card .mx-mv-row-search-stacked .mx-mv-album-search-row,
.mx-material-verify-card .mx-mv-row-search-stacked .mx-mv-related-search-row {
  width: 100% !important;
  min-width: 0 !important;
}

.mx-material-verify-card .mx-mv-related-choice-layout {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.mx-material-verify-card .mx-related-choice-btns {
  width: 100% !important;
}

.mx-material-verify-card .mx-mv-choice-required-hint {
  display: block;
  width: 100%;
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

@keyframes mx-history-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── 手机 H5 布局 2.0 · 2026-07-29 ───────────────────────────────
 * 手机端不再复用“顶栏 + 侧栏发行口 + 主内容”的桌面层级：
 * - 当前页面标题、发行口和账户统一收进一条顶栏；
 * - 三个主导航固定在底部；
 * - 空上传区、空核对区不再用桌面高度占满首屏；
 * - 历史卡片和艺人表单改为单手可读、可点的自然文档流。
 * 这些规则只在窄屏生效，不改变桌面工作区。 */
@media (max-width: 900px) {
  :root {
    --mx-mobile-header-height: 58px;
    --mx-mobile-nav-height: 68px;
    --mx-mobile-page-gutter: 10px;
  }

  body {
    background:
      radial-gradient(circle at 18% 0%, rgba(43, 142, 103, 0.11), transparent 34%),
      #07110f;
  }

  #app-main {
    min-height: 100dvh;
    background: transparent;
  }

  /* 一条真正的手机顶栏：页面标题 + 当前发行口 + 头像。 */
  .mx-global-header {
    position: relative;
    z-index: 1200;
    height: calc(var(--mx-mobile-header-height) + env(safe-area-inset-top));
    min-height: calc(var(--mx-mobile-header-height) + env(safe-area-inset-top));
    padding:
      env(safe-area-inset-top)
      max(10px, env(safe-area-inset-right))
      0
      max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
    background: rgba(7, 18, 15, 0.95);
    border-bottom-color: rgba(104, 219, 169, 0.13);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mx-global-header-left {
    min-width: 0;
    gap: 9px;
  }

  .mx-global-header-logo-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(34, 197, 94, 0.18);
  }

  .mx-global-header-logo {
    display: none;
  }

  .mx-global-header-left::after {
    content: "歌曲发行";
    min-width: 0;
    color: #eef8f3;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  #app-main:has(.mx-history-page) .mx-global-header-left::after {
    content: "发行历史";
  }

  #app-main:has(.mx-artist-create-page) .mx-global-header-left::after {
    content: "创建艺人";
  }

  .mx-global-header-right {
    flex: 0 0 auto;
    gap: 0;
  }

  .mx-global-header-username {
    display: none !important;
  }

  .mx-global-header-user-wrap {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0 !important;
    justify-content: center;
    border-radius: 12px;
  }

  .mx-global-header-avatar,
  .mx-global-header-avatar-ph {
    width: 34px;
    height: 34px;
  }

  .mx-global-header-dropdown {
    position: fixed;
    top: calc(var(--mx-mobile-header-height) + env(safe-area-inset-top) - 2px);
    right: max(10px, env(safe-area-inset-right));
    width: min(218px, calc(100vw - 20px));
    min-width: 0;
    margin: 0;
    padding: 8px;
    border-radius: 14px;
    background: rgba(13, 27, 23, 0.98);
    border-color: rgba(104, 219, 169, 0.24);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
    z-index: 1600;
  }

  .mx-global-header-dropdown-item {
    min-height: 46px;
    border-radius: 9px;
    font-size: 14px;
  }

  .mx-global-header-dropdown-system-id {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  /* 侧栏只保留底部主导航；发行口胶囊合并到顶栏。 */
  #app-main:has(.mx-global-header) .mx-app-layout {
    display: block !important;
    position: relative;
    width: 100%;
    min-height: 0;
  }

  #app-main:has(.mx-global-header) .mx-app-nav,
  #app-main:has(.mx-global-header) .mx-app-nav.is-collapsed {
    display: contents !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #app-main:has(.mx-global-header) .mx-app-nav-user {
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + 10px);
    right: calc(max(10px, env(safe-area-inset-right)) + 48px);
    z-index: 1450;
    width: auto !important;
    min-width: 0 !important;
    min-height: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  #app-main:has(.mx-global-header) .mx-app-nav-user-text,
  #app-main:has(.mx-global-header) .mx-app-nav.is-collapsed .mx-app-nav-user-text {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    opacity: 1 !important;
  }

  #app-main:has(.mx-global-header) .mx-app-nav-user-name-row {
    width: auto;
    min-width: 0;
  }

  #app-main:has(.mx-global-header) .mx-app-nav .mx-outlet-switcher-container,
  #app-main:has(.mx-global-header) .mx-app-nav #mx-nav-outlet-tags {
    width: auto !important;
    min-width: 72px !important;
    max-width: 122px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 3px 7px 3px 10px !important;
    gap: 4px !important;
    border: 1px solid rgba(104, 219, 169, 0.28) !important;
    border-radius: 11px !important;
    background: rgba(26, 72, 56, 0.46) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  }

  #app-main:has(.mx-global-header) .mx-app-nav .mx-current-outlet-label,
  #app-main:has(.mx-global-header) .mx-app-nav .mx-outlet-tag {
    width: auto !important;
    min-width: 0 !important;
    max-width: 92px !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #a7f3d0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #app-main:has(.mx-global-header) .mx-app-nav .mx-outlet-switch-trigger {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }

  #app-main:has(.mx-global-header) .mx-app-main {
    width: 100%;
    height: 100%;
    min-width: 0;
  }

  /* 底部主导航：更接近原生 H5 Tab Bar，触控区不小于 52px。 */
  .mx-app-nav-links {
    min-height: calc(var(--mx-mobile-nav-height) + env(safe-area-inset-bottom));
    padding:
      6px
      max(8px, env(safe-area-inset-right))
      calc(6px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    gap: 7px;
    border-top-color: rgba(104, 219, 169, 0.16);
    background: rgba(7, 15, 26, 0.97);
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.42);
  }

  .mx-app-nav-link {
    min-height: 54px;
    padding: 5px 4px !important;
    border-radius: 13px !important;
    gap: 3px !important;
  }

  .mx-app-nav-link .material-symbols-outlined {
    font-size: 23px !important;
  }

  .mx-app-nav-link .mx-app-nav-link-label {
    font-size: 11px;
    font-weight: 650;
  }

  .mx-app-nav-link.is-active {
    color: #8ff2c2 !important;
    background: rgba(45, 212, 168, 0.14) !important;
    box-shadow:
      inset 0 0 0 1px rgba(104, 219, 169, 0.38),
      0 8px 24px rgba(0, 0, 0, 0.18);
  }

  /* 发行页：把首屏交还给上传和核对，不再保留桌面空白高度。 */
  .mx-app-main--workspace .mx-workspace-page,
  .mx-workspace-page {
    min-height: 0 !important;
    padding:
      10px
      var(--mx-mobile-page-gutter)
      calc(var(--mx-mobile-nav-height) + 18px + env(safe-area-inset-bottom)) !important;
  }

  .mx-desktop-recommend-hint {
    display: none !important;
  }

  .mx-workspace-grid,
  .mx-workspace-grid.is-upload-empty {
    gap: 10px !important;
  }

  .mx-workspace-upload-section.mx-card,
  .mx-workspace-upload-section.mx-workspace-main-card,
  .mx-workspace-preview-col,
  .mx-material-verify-card {
    border-radius: 15px !important;
    border-color: rgba(104, 219, 169, 0.2) !important;
    background: rgba(9, 24, 20, 0.88) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  }

  .mx-workspace-upload-section.mx-card,
  .mx-workspace-upload-section.mx-workspace-main-card {
    padding: 10px !important;
  }

  .mx-workspace-upload-section .file-drop-zone.mx-drop-zone-design {
    min-height: 88px !important;
    height: 88px !important;
    padding: 10px 14px !important;
    border-radius: 13px !important;
    background:
      radial-gradient(circle at 50% 30%, rgba(104, 219, 169, 0.08), transparent 50%),
      rgba(5, 19, 15, 0.68) !important;
  }

  .mx-workspace-upload-section .drop-zone-plus-icon {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .mx-workspace-upload-section .file-drop-zone-title#ws-drop-title {
    font-size: 14px !important;
    font-weight: 700;
  }

  #ws-batch-list > .batch-check-list-wrap:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #ws-batch-list:has(> .batch-check-list-wrap:empty) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  #ws-batch-list:has(.batch-check-empty-placeholder),
  #ws-batch-list .batch-check-list-wrap:has(> .batch-check-empty-placeholder) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #ws-batch-list .batch-check-list-wrap-compact:not(:empty),
  #ws-batch-list .batch-check-list-wrap-single:not(:empty),
  #ws-batch-list .batch-check-list-wrap-paged:not(:empty) {
    margin-top: 9px;
  }

  .mx-song-panel {
    padding: 10px !important;
    border-radius: 14px !important;
    background: rgba(14, 31, 27, 0.94) !important;
  }

  .mx-song-main-col,
  .mx-song-file-col,
  .material-file-row {
    min-width: 0;
  }

  .material-file-row {
    min-height: 38px;
    border-radius: 8px;
  }

  .material-file-row:not(.kind-tags-row) {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .material-file-row .material-filename {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .material-file-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .material-file-row.kind-tags-row {
    flex-wrap: wrap;
  }

  .mx-release-platforms {
    min-height: 54px;
    border-radius: 12px !important;
    background: rgba(6, 18, 28, 0.6);
  }

  .mx-release-platform-all {
    min-width: 72px;
    height: 44px;
    border-radius: 11px;
  }

  .mx-release-platform-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .mx-material-verify-card {
    padding: 11px 11px 0 !important;
  }

  .mx-material-verify-title {
    margin: 0 0 8px !important;
    font-size: 16px !important;
  }

  .mx-material-verify-content:has(.mx-mv-body-empty) {
    min-height: 0 !important;
    height: auto !important;
  }

  .mx-material-verify-content .mx-mv-body-empty {
    min-height: 82px !important;
    height: auto !important;
    padding: 16px 10px !important;
    border-radius: 10px;
    color: #8ca89c;
    font-size: 13px;
    line-height: 1.45;
  }

  .mx-material-verify-content .mx-release-timing-section:has(.mx-release-settings-block.is-empty) {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mx-material-verify-actions-bar {
    min-height: 0 !important;
    height: auto !important;
    margin: 9px -11px 0 !important;
    padding: 9px 11px calc(9px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 0 15px 15px;
    background: rgba(10, 29, 24, 0.94);
  }

  .mx-material-verify-actions-bar.is-bar-empty {
    padding-bottom: 9px !important;
  }

  .mx-material-verify-actions-bar.is-bar-empty .mx-preview-actions {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .mx-material-verify-actions-bar.is-bar-empty .mx-btn-submit-lg {
    min-height: 46px !important;
  }

  .mx-material-verify-actions-bar:not(.is-bar-empty) {
    position: sticky;
    bottom: calc(var(--mx-mobile-nav-height) + env(safe-area-inset-bottom));
    z-index: 20;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.22);
  }

  .mx-material-verify-card .mx-mv-row {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    column-gap: 9px !important;
    min-height: 44px;
    padding-block: 7px !important;
  }

  .mx-material-verify-card .mx-mv-k {
    font-size: 12px !important;
    line-height: 1.35;
  }

  /* 发行历史：筛选同一行，卡片信息自然换行。 */
  .mx-app-main--history {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .mx-history-page {
    min-height: 100% !important;
    padding:
      10px
      var(--mx-mobile-page-gutter)
      calc(var(--mx-mobile-nav-height) + 14px + env(safe-area-inset-bottom)) !important;
    gap: 10px !important;
  }

  .mx-history-header {
    position: sticky;
    top: 0;
    z-index: 15;
    padding: 2px 0 7px;
    background: linear-gradient(180deg, #07110f 76%, rgba(7, 17, 15, 0));
  }

  .mx-history-filters {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 7px !important;
    width: 100%;
  }

  .mx-history-search,
  .mx-history-select,
  .mx-hist-filter-chip {
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px;
    margin: 0 !important;
    border-radius: 11px !important;
  }

  .mx-history-search {
    padding: 7px 10px !important;
  }

  .mx-history-search input {
    width: 100%;
    font-size: 16px !important;
  }

  .mx-hist-filter-chip {
    padding-inline: 9px !important;
  }

  .mx-hist-filter-chip select {
    max-width: 86px;
    font-size: 13px !important;
  }

  .mx-hist-refresh-btn {
    width: 44px;
    padding: 0 !important;
    justify-content: center;
  }

  .mx-hist-refresh-btn > span:last-child {
    display: none;
  }

  .mx-history-list-wrap {
    overflow: visible !important;
  }

  .mx-hist-empty-card {
    min-height: 190px;
    display: grid;
    place-items: center;
    padding: 24px 18px !important;
    border: 1px dashed rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: rgba(10, 24, 20, 0.58);
  }

  .mx-hist-card-list {
    gap: 10px;
    padding: 0;
  }

  .mx-hist-card {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 8px 10px !important;
    padding: 11px !important;
    border-radius: 14px !important;
    background: rgba(11, 26, 22, 0.86);
    border-color: rgba(104, 219, 169, 0.15);
  }

  .mx-hist-card-left,
  .mx-hist-card-cover,
  .mx-hist-card-cover-ph {
    width: 58px !important;
  }

  .mx-hist-card-cover,
  .mx-hist-card-cover-ph {
    height: 58px !important;
    border-radius: 10px;
  }

  .mx-hist-card-body {
    display: contents !important;
  }

  .mx-hist-card-primary {
    grid-column: 2;
    min-height: 58px;
    justify-content: center;
    gap: 5px !important;
  }

  .mx-hist-card-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mx-hist-card-subline,
  .mx-hist-card-meta {
    gap: 4px 10px;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .mx-hist-card-credit,
  .mx-hist-card-release {
    grid-column: 1 / -1;
    width: 100%;
    gap: 6px 10px !important;
    padding-top: 7px;
    border-top: 1px solid rgba(148, 163, 184, 0.11);
  }

  .mx-hist-card-credit {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mx-hist-card-release {
    display: flex !important;
    flex-flow: row wrap !important;
  }

  .mx-hist-card-release .mx-hist-card-field {
    flex: 1 1 calc(50% - 5px);
  }

  .mx-hist-card-release .mx-hist-card-field:only-child {
    flex-basis: 100%;
  }

  .mx-hist-card-field,
  .mx-hist-card-release > span:not(.mx-hist-card-field) {
    align-items: center;
    font-size: 12px;
  }

  .mx-hist-card-field-value,
  .mx-hist-card-release > span:not(.mx-hist-card-field) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mx-hist-card-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end !important;
    justify-content: stretch !important;
    gap: 6px 8px !important;
    margin-top: 0 !important;
    padding-top: 7px;
    border-top: 1px solid rgba(148, 163, 184, 0.11);
    text-align: left !important;
  }

  .mx-hist-card-actions-left {
    width: 100% !important;
    min-width: 0;
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    gap: 5px 9px !important;
  }

  .mx-hist-card-status-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .mx-hist-card-time {
    flex: 1 0 100%;
  }

  .mx-hist-card-actions-right {
    width: auto !important;
    align-self: end;
    gap: 5px !important;
  }

  .mx-hist-card-actions .btn,
  .mx-hist-card-actions button {
    min-height: 36px;
    padding-inline: 9px !important;
  }

  .mx-hist-card-error {
    grid-column: 1 / -1;
  }

  .mx-hist-pagination {
    display: none !important;
  }

  .mx-hist-infinite-loader {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    color: #7f9c90;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
  }

  .mx-hist-infinite-loader .material-symbols-outlined {
    display: none;
    font-size: 17px;
  }

  .mx-hist-infinite-loader.is-loading .material-symbols-outlined {
    display: inline-block;
    animation: mx-history-loader-spin 0.8s linear infinite;
  }

  .mx-hist-infinite-loader.is-error {
    color: #f59e8b;
  }

  .mx-hist-infinite-loader.is-complete {
    cursor: default;
    opacity: 0.78;
  }

  /* 创建艺人：文件选择、字段和角色都按单手触控重新排布。 */
  .mx-app-main--artist-create {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mx-artist-create-page,
  .is-nav-collapsed .mx-artist-create-page {
    width: 100% !important;
    padding:
      10px
      var(--mx-mobile-page-gutter)
      calc(var(--mx-mobile-nav-height) + 16px + env(safe-area-inset-bottom)) !important;
    gap: 10px;
  }

  .mx-artist-create-panel {
    padding: 12px !important;
    border-radius: 15px;
    border-color: rgba(104, 219, 169, 0.18);
    background: rgba(10, 25, 21, 0.88);
  }

  .mx-artist-create-head {
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 11px;
  }

  .mx-artist-create-head h2 {
    font-size: 17px;
  }

  .mx-artist-create-head p {
    max-width: 210px;
    margin-top: 4px;
    line-height: 1.45;
  }

  .mx-artist-create-refresh {
    flex: 0 0 auto;
    min-height: 42px !important;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  .mx-artist-create-message {
    margin-bottom: 11px;
    padding: 9px 10px;
    border-radius: 10px;
    line-height: 1.45;
  }

  .mx-artist-create-form,
  .mx-artist-create-grid {
    gap: 13px !important;
  }

  .mx-artist-create-field {
    gap: 6px;
  }

  .mx-artist-create-field > span,
  .mx-artist-create-role-block > span {
    font-size: 13px;
  }

  .mx-artist-create-upload-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mx-artist-create-upload-line > input {
    grid-column: 1 / -1;
  }

  .mx-artist-create-upload-line .btn {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
  }

  .mx-artist-create-preview {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .mx-artist-create-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .mx-artist-create-check {
    width: 100%;
    min-height: 40px;
    padding: 0 8px;
    justify-content: flex-start;
    border-radius: 9px;
    box-sizing: border-box;
  }

  .mx-artist-create-actions {
    position: sticky;
    bottom: calc(var(--mx-mobile-nav-height) + env(safe-area-inset-bottom));
    z-index: 15;
    padding-top: 8px;
    background: linear-gradient(180deg, transparent, rgba(10, 25, 21, 0.98) 28%);
  }

  .mx-artist-create-actions .btn,
  .mx-artist-create-actions button {
    min-height: 50px;
    border-radius: 12px;
  }

  .mx-artist-create-history {
    gap: 9px;
  }

  .mx-artist-create-row {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 9px;
    padding: 10px;
    border-radius: 12px;
  }

  .mx-artist-create-row-side {
    grid-column: 1 / -1 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-self: stretch !important;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.11);
  }

  /* 手机弹窗使用底部工作台形态，键盘弹出时仍能看到操作按钮。 */
  .audit-modal-overlay {
    align-items: flex-end !important;
    padding:
      max(6px, env(safe-area-inset-top))
      0
      0 !important;
  }

  .audit-modal-shell,
  .audit-modal-shell-wide,
  .audit-modal-shell.txt-song-edit-modal {
    width: 100% !important;
    height: min(94dvh, 920px) !important;
    max-height: 94dvh !important;
    border-radius: 18px 18px 0 0 !important;
    border-bottom: 0 !important;
  }

  .audit-modal-header {
    position: sticky;
    top: 0;
    z-index: 4;
    border-radius: 18px 18px 0 0;
    background: rgba(16, 31, 43, 0.98);
  }

  .audit-modal-body {
    -webkit-overflow-scrolling: touch;
  }

  .audit-modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 4;
    background: rgba(16, 31, 43, 0.98) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  /* 登录与账户设置在小屏上保持适当边距，不再呈现桌面巨幅卡片。 */
  .login-modal-overlay {
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
  }

  .login-modal-card,
  .logout-wait-card {
    width: 100%;
    max-width: 440px;
    padding: 26px 18px 22px !important;
    border-radius: 18px;
  }

  .logout-wait-card .login-modal-brand {
    margin-bottom: 20px;
  }

  .logout-wait-card .login-mode-tabs {
    margin-bottom: 14px;
  }

  .login-input {
    min-height: 48px;
    font-size: 16px;
  }

  .h5-submit-result-toast.is-transient-notice {
    top: calc(var(--mx-mobile-header-height) + env(safe-area-inset-top) + 8px);
    right: 10px;
    left: 10px;
    max-height: min(36dvh, 300px);
    padding: 12px 14px;
    border-radius: 13px;
    overflow-y: auto;
    background: rgba(13, 27, 36, 0.98);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.44);
  }
}

@media (max-width: 480px) {
  .mx-song-main-col {
    flex-direction: column !important;
  }

  .mx-song-cover-col {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start !important;
    justify-items: stretch;
    width: 100% !important;
    max-width: none !important;
    gap: 5px 8px;
  }

  .mx-song-cover.batch-check-card-cover {
    grid-row: 1 / span 3;
  }

  .mx-cover-upload-inline-btn,
  .mx-ai-cover-inline-btn,
  .mx-original-album-cover-inline-btn {
    width: 100% !important;
    max-width: none !important;
  }

  .mx-related-bound-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .mx-related-bound-side,
  .mx-related-bound-change-btn {
    grid-column: 1 !important;
  }
}

@media (max-width: 360px) {
  :root {
    --mx-mobile-page-gutter: 7px;
  }

  .mx-global-header-left::after {
    font-size: 16px;
  }

  #app-main:has(.mx-global-header) .mx-app-nav-user {
    right: calc(max(7px, env(safe-area-inset-right)) + 46px);
  }

  #app-main:has(.mx-global-header) .mx-app-nav .mx-outlet-switcher-container,
  #app-main:has(.mx-global-header) .mx-app-nav #mx-nav-outlet-tags {
    min-width: 66px !important;
    max-width: 104px !important;
    padding-left: 8px !important;
  }

  .mx-history-filters {
    grid-template-columns: minmax(0, 1fr) 104px 42px;
    gap: 5px !important;
  }

  .mx-hist-filter-chip {
    padding-inline: 6px !important;
  }

  .mx-artist-create-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
