/* Light workspace — white surfaces, black type, zero CDN */

:root {
  --paper:        #fff;
  --page:         #fff;
  --card:         #fff;
  --hover:        #f7f7f7;
  --active:       #f0f0f0;
  --ink:          #000;
  --ink-secondary:#333;
  --ink-muted:    #666;
  --border:       #ddd;
  --border-em:    #bbb;
  --accent:       #000;
  --accent-hover: #333;
  --danger:       #c2543d;
  --danger-soft:  #fff1f0;
  --danger-bg:    #fff;
  --success:      #000;
  --success-bg:   #fff;
  --warning:      #000;
  --douyin:       #000;
  --kuaishou:     #000;
  --bilibili:     #000;
  --radius-sm:    4px;
  --radius-md:    6px;
  --radius-lg:    10px;
}

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

html,
body,
#root,
.ant-layout {
  background: #fff !important;
  color: #000;
  min-width: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

/* ══ Layout ══ */

.workspace-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}

.workspace-sidebar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  height: 100vh;
  padding: 20px 14px 14px;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--border);
}

.workspace-brand {
  display: flex;
  width: 100%;
  height: 44px;
  padding: 0 8px;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.workspace-brand img { width: 38px; height: 34px; object-fit: contain; }
.workspace-navigation { display: flex; margin-top: 28px; flex-direction: column; gap: 28px; }
.workspace-navigation section { display: grid; gap: 6px; }
.workspace-nav-label { padding: 0 10px 6px; color: var(--ink-muted); font-size: 12px; font-weight: 500; }

.workspace-nav-item,
.workspace-utility-item {
  display: flex;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  align-items: center;
  color: var(--ink-secondary);
  font: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease;
}

.workspace-nav-item:hover,
.workspace-utility-item:hover { color: var(--accent); background: var(--hover); }
.workspace-nav-item.active { color: var(--ink); font-weight: 600; background: var(--active); box-shadow: inset 2px 0 0 var(--ink); }
.workspace-nav-item.muted { color: #9aa3ad; }
.workspace-nav-item.muted:hover { color: #7c8794; background: var(--hover); }
.workspace-utility-item { height: 36px; padding-left: 15px; color: var(--ink-muted); font-size: 12px; }
.workspace-utility-item.active { color: var(--accent); background: var(--hover); }

.workspace-sidebar-footer { display: grid; margin-top: auto; gap: 14px; }
.workspace-batch-control { display: grid; padding: 12px 10px; gap: 7px; border-top: 1px solid var(--border); }
.workspace-batch-control > span { color: var(--ink-muted); font-size: 11px; }
.workspace-batch-control .batch-picker { width: 100%; min-width: 0; }
.workspace-account { display: flex; width: 100%; min-width: 0; padding: 10px; align-items: center; gap: 9px; color: var(--ink); font: inherit; text-align: left; background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.workspace-account:hover { background: var(--hover); }
.workspace-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #fff; font-size: 12px; background: var(--accent); border-radius: 50%; }
.workspace-account > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.workspace-account strong { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.workspace-account small { color: var(--ink-muted); font-size: 11px; }
.workspace-main { display: flex; min-width: 0; min-height: 100vh; flex-direction: column; }
.mobile-workspace-header { display: none; }

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  height: 52px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.app-header h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--ink);
  white-space: nowrap;
}

.app-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.header-logo {
  display: block;
  width: 42px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 4px;
  margin-right: auto;
  margin-left: 28px;
}

.desktop-nav .ant-btn {
  height: 52px;
  padding: 0 12px;
  color: var(--ink-secondary) !important;
  border-radius: 0;
}

.desktop-nav .ant-btn span:first-child { display: none; }
.desktop-nav .ant-btn.active { color: var(--ink) !important; border-bottom: 2px solid var(--ink); }

.workspace-back {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  color: var(--ink-secondary) !important;
  font-size: 20px;
  line-height: 1;
}

.mobile-nav { display: none; }

.app-header .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-secondary);
}

.account-trigger {
  display: flex;
  min-width: 0;
  padding: 4px 0;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.account-trigger:hover .account-chevron { color: var(--ink); }
.account-trigger:focus-visible { outline-offset: 4px; }

.account-name {
  max-width: 120px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chevron {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1;
  transition: color 160ms ease;
}

.batch-picker { min-width: 190px; }
.batch-picker .ant-select-selector { background: var(--card) !important; border-color: var(--border) !important; }
.batch-picker .ant-select-selection-item, .batch-picker .ant-select-arrow { color: var(--ink) !important; }
.batch-picker-empty { color: var(--ink-secondary); font-size: 12px; }

.batch-manager-card { max-width: 1100px; margin-bottom: 16px; }
.batch-manager-table { max-width: 1100px; margin-top: 16px; }
.account-management-card { max-width: 1100px; }
.password-required-page { max-width: 460px; padding-top: 48px; }
.password-change-card p { margin-bottom: 18px; color: var(--ink-secondary); }

.batch-switch-list { display: grid; gap: 12px; max-width: 720px; }
.batch-switch-card { cursor: pointer; }
.batch-switch-card.active { border-color: var(--accent) !important; }
.batch-switch-card .ant-card-body { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.batch-switch-card span { color: var(--ink-muted); font-size: 12px; }

.app-content {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 24px 28px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--paper);
}

.site-footer { display: flex; padding: 16px 24px; flex-wrap: wrap; justify-content: center; gap: 4px 16px; color: var(--ink-muted); font-size: 12px; text-align: center; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ══ Toolbar ══ */

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.toolbar .spacer { flex: 1; }

.data-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border-em);
  text-underline-offset: 3px;
  cursor: pointer;
}

.data-link:hover { color: var(--ink); text-decoration-color: var(--ink); }

.daren-name-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.daren-name-cell .data-link {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ══ Platform pills ══ */

.platform-btns {
  display: flex;
  gap: 6px;
}

.platform-btns button {
  min-width: 52px;
  font-size: 12px;
  font-weight: 500;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
}

.btn-douyin    { border-color: var(--douyin);    color: var(--douyin); }
.btn-kuaishou  { border-color: var(--kuaishou);  color: var(--kuaishou); }
.btn-bilibili  { border-color: var(--bilibili);  color: var(--bilibili); }

/* ══ Screenshots ══ */

.screenshot-preview {
  position: relative;
  width: 60px;
  height: 60px;
}

.screenshot-pending-label {
  position: absolute;
  right: 2px;
  bottom: 2px;
  padding: 0 4px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.72);
  border-radius: 3px;
  font-size: 10px;
  line-height: 18px;
  pointer-events: none;
}

.custom-image-picker {
  display: inline-flex;
  max-width: 126px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  vertical-align: middle;
}

.custom-image-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.custom-image-picker-button {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 10px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #b8cff8;
  border-radius: 7px;
  color: #1758b8;
  background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
  box-shadow: 0 1px 2px rgba(22, 119, 255, 0.08);
  font: inherit;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.custom-image-picker-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.custom-image-picker-button:hover {
  border-color: #1677ff;
  color: #0958d9;
  background: #e6f4ff;
  box-shadow: 0 2px 6px rgba(22, 119, 255, 0.16);
}

.custom-image-picker-button:active {
  transform: translateY(1px);
  box-shadow: none;
}

.custom-image-picker-button:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.3);
  outline-offset: 2px;
}

.custom-image-picker-name {
  display: block;
  max-width: 126px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-editor-cell {
  position: relative;
  display: inline-flex;
  margin: -4px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  caret-color: transparent;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.image-editor-cell.is-active {
  background: rgba(22, 119, 255, 0.06);
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.14);
}

.image-editor-cell.is-active::after {
  content: '可粘贴';
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  padding: 0 4px;
  color: #fff;
  background: #1677ff;
  border-radius: 3px;
  font-size: 10px;
  line-height: 18px;
  pointer-events: none;
}

/* ══ Video detail ══ */

.video-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.video-detail-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.video-toolbar { align-items: flex-start; }

.video-toolbar-filters,
.video-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-toolbar-filters {
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
}

.video-toolbar-actions {
  margin-left: auto;
  flex: 0 0 auto;
}

.video-table-shell {
  min-width: 0;
  max-width: 100%;
}

.video-table-shell:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.video-table-shell .ant-table-content {
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  scrollbar-width: auto;
  scrollbar-color: var(--ink-muted) var(--page);
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.video-table-shell .ant-table-content::-webkit-scrollbar { height: 14px; }

.video-table-shell .ant-table-content::-webkit-scrollbar-track {
  background: var(--page);
  border-top: 1px solid var(--border);
}

.video-table-shell .ant-table-content::-webkit-scrollbar-thumb {
  background: var(--ink-muted);
  border: 3px solid var(--page);
  border-radius: 999px;
  background-clip: content-box;
}

.video-table-shell .ant-table-content::-webkit-scrollbar-thumb:hover { background: var(--ink); }

.video-table-shell .ant-table-sticky-scroll {
  position: fixed !important;
  height: 16px !important;
  background: rgba(245, 245, 245, 0.92) !important;
  border-top: 1px solid var(--border);
  opacity: 0.45 !important;
  transition: opacity 160ms ease, background-color 160ms ease;
}

.video-table-shell:hover .ant-table-sticky-scroll,
.video-table-shell:focus-within .ant-table-sticky-scroll,
.video-table-shell .ant-table-sticky-scroll:hover {
  background: rgba(245, 245, 245, 0.98) !important;
  opacity: 1 !important;
}

.video-table-shell .ant-table-sticky-scroll-bar {
  bottom: 4px !important;
  height: 8px !important;
  background: var(--ink-muted) !important;
  border-radius: 999px;
  cursor: grab;
  transition: background-color 160ms ease;
}

.video-table-shell .ant-table-sticky-scroll-bar:hover,
.video-table-shell .ant-table-sticky-scroll-bar-active {
  background: var(--ink) !important;
}

.video-table-shell .ant-table-sticky-scroll-bar-active {
  cursor: grabbing;
}

.daren-detail-card { margin-bottom: 16px; }

.daren-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 20px;
}

.daren-detail-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.daren-detail-item span { color: var(--ink-muted); font-size: 12px; }
.daren-detail-item strong { color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.daren-detail-item a { color: var(--accent); }

.creator-page-header { margin-bottom: 24px; }
.creator-page-header h3 { color: var(--ink); font-size: 26px; font-weight: 650; letter-spacing: -0.5px; }
.creator-page-header p { max-width: 760px; margin-top: 6px; color: var(--ink-secondary); font-size: 13px; }

.creator-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
}

.creator-data-main { min-width: 0; }
.creator-profile-card { margin-bottom: 24px; }
.creator-profile-card .ant-card-head { min-height: 48px; }
.creator-profile-card .ant-card-head-title { font-size: 16px; }
.creator-profile-card .ant-card-body { padding: 20px 22px; }

.creator-video-heading { display: flex; margin-bottom: 12px; align-items: end; justify-content: space-between; gap: 16px; scroll-margin-top: 24px; }
.creator-video-heading > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.creator-video-heading > div:first-child > span { color: var(--ink); font-size: 18px; font-weight: 650; }
.creator-video-heading small { color: var(--ink-muted); font-size: 11px; }
.creator-anomaly-inline { display: flex; gap: 14px; color: var(--ink-secondary); font-size: 12px; }

.creator-review-rail {
  position: sticky;
  top: 24px;
  padding: 22px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ink);
}

.creator-review-label { color: var(--ink); font-size: 15px; font-weight: 650; }
.creator-review-current { display: flex; margin-top: 22px; align-items: center; justify-content: space-between; gap: 12px; }
.creator-review-current > span { color: var(--ink-muted); font-size: 12px; }
.creator-review-rail > p { min-height: 64px; margin-top: 14px; color: var(--ink-secondary); font-size: 12px; line-height: 1.7; }
.creator-review-actions { display: grid; margin-top: 20px; gap: 10px; }
.creator-review-summary { display: grid; margin-top: 24px; padding-top: 18px; grid-template-columns: minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--border); }
.creator-review-summary > div { display: flex; flex-direction: column; gap: 3px; }
.creator-review-summary span { color: var(--ink-muted); font-size: 11px; }
.creator-review-summary strong { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; font-weight: 600; }

@media (max-width: 1280px) {
  .creator-review-layout { grid-template-columns: 1fr; }
  .creator-review-rail { position: static; grid-row: 1; }
  .creator-review-rail > p { min-height: 0; }
  .creator-review-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ Login ══ */

.login-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
  background: var(--paper);
}

.login-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(380px, 100%);
  margin: auto 0;
}

.login-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 168px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--paper);
}

.login-logo {
  display: block;
  width: 190px;
  height: 168px;
  object-fit: contain;
}

.login-card {
  width: 100%;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.login-card .ant-card-head-title { text-align: center; }

/* ── Workbench ── */

.workbench-page { max-width: 960px; margin: 0 auto; padding-top: 10px; }

/* ═══════════════════════════════════════════
   ANT DESIGN OVERRIDES
   覆盖 Ant Design 5 默认样式到纸墨风
   ═══════════════════════════════════════════ */

/* ── Table ── */

.ant-table-wrapper {
  min-width: 0;
  max-width: 100%;
}

.ant-table {
  background: var(--card) !important;
  color: var(--ink) !important;
  font-size: 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ant-table-thead > tr > th {
  background: var(--page) !important;
  color: var(--ink-secondary) !important;
  border-bottom: 1.5px solid var(--border-em) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.4px;
  padding: 10px 14px !important;
}

.ant-table-tbody > tr > td {
  border-bottom: 1px solid var(--border) !important;
  color: var(--ink) !important;
  padding: 10px 14px !important;
  background: transparent !important;
}

.ant-table-tbody > tr:last-child > td {
  border-bottom: none !important;
}

.ant-table-tbody > tr:hover > td {
  background: var(--hover) !important;
}

.ant-table-thead > tr > th.ant-table-cell-fix-left,
.ant-table-tbody > tr > td.ant-table-cell-fix-left,
.ant-table-thead > tr > th.ant-table-cell-fix-right,
.ant-table-tbody > tr > td.ant-table-cell-fix-right {
  z-index: 2;
  background: var(--card) !important;
}

.ant-table-tbody > tr:hover > td.ant-table-cell-fix-left,
.ant-table-tbody > tr:hover > td.ant-table-cell-fix-right {
  background: var(--hover) !important;
}

.table-text-tooltip {
  max-width: 220px !important;
}

.table-text-tooltip .ant-tooltip-inner {
  line-height: 1.5;
  word-break: break-word;
}

.table-ellipsis-trigger {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Pagination ── */

.ant-pagination-item {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
}

.ant-pagination-item a { color: var(--ink-secondary) !important; }

.ant-pagination-item-active {
  background: var(--paper) !important;
  border-color: var(--ink) !important;
}

.ant-pagination-item-active a { color: var(--ink) !important; }

/* ── Input & Select & DatePicker ── */

.ant-input,
.ant-input-affix-wrapper,
.ant-select-selector,
.ant-picker {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  box-shadow: none !important;
}

.ant-input:hover,
.ant-input-affix-wrapper:hover,
.ant-select-selector:hover,
.ant-picker:hover {
  border-color: var(--border-em) !important;
}

.ant-input:focus,
.ant-input-affix-wrapper-focused,
.ant-select-selector:focus,
.ant-picker-focused {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.12) !important;
}

.ant-input::placeholder { color: var(--ink-muted) !important; }

.ant-input-affix-wrapper > input.ant-input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ant-input-search .ant-input-affix-wrapper {
  border-right: 0 !important;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.ant-input-search-button {
  border-left: 0 !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset !important;
  caret-color: var(--ink);
}

/* ── Buttons ── */

.ant-btn {
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  box-shadow: none !important;
}

.ant-btn-primary {
  background: var(--paper) !important;
  border-color: var(--ink) !important;
  color: var(--ink) !important;
}

.ant-btn-primary:hover {
  background: var(--hover) !important;
  border-color: var(--ink) !important;
}

.ant-btn-default {
  background: var(--card);
  border-color: var(--border);
  color: var(--ink);
}

.ant-btn-default:hover {
  border-color: var(--border-em) !important;
  color: var(--ink) !important;
  background: var(--hover) !important;
}

.ant-btn-dangerous {
  color: var(--danger) !important;
  border-color: var(--danger) !important;
}

/* ── Tags ── */

.ant-tag {
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  line-height: 20px;
  color: var(--ink) !important;
  background: #eceff1 !important;
  border: 0 !important;
}

.ant-tag-blue { background: #dceeff !important; }
.ant-tag-orange { background: #f9e7c7 !important; }
.ant-tag-red { background: #f5dfe2 !important; }
.ant-tag-green { background: #dceee3 !important; }

/* ── Card ── */

.ant-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: none !important;
}

.ant-card-head {
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  background: transparent;
}

.ant-card-head-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Modal ── */

.ant-modal-content {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--border), 0 4px 24px rgba(0,0,0,0.08);
}

.ant-modal-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ant-modal-title { color: var(--ink); font-weight: 600; }

/* ── Checkbox ── */

.ant-checkbox-inner {
  border-color: var(--border-em) !important;
  border-radius: 3px;
}

.ant-checkbox-checked .ant-checkbox-inner {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}

/* ── Message ── */

.ant-message-notice-content {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ── Select dropdown ── */

.ant-select-dropdown {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: var(--radius-sm);
}

.ant-select-item-option-selected { background: var(--hover) !important; }

/* ── Focus ring ── */

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ══ Number emphasis ══ */

.metric-number {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-secondary);
  text-transform: none;
  letter-spacing: 0.2px;
}

/* ══ Divider ══ */

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ── Anomaly cells ── */
.ant-table-tbody > tr > td.cell-anomaly {
  background: #ffccc7 !important;
}

.anomaly-marker-hint {
  margin: 0 0 16px;
  color: var(--ink-secondary);
  font-size: 13px;
}

.anomaly-marker-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.anomaly-marker-field .ant-checkbox-wrapper {
  flex: 1;
  min-width: 0;
}

/* ── Batch anomaly modal ── */

.anomaly-batch-modal .ant-modal-content {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.anomaly-batch-modal .ant-modal-header {
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.anomaly-batch-modal .ant-modal-title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.2px;
}

.anomaly-batch-modal .ant-modal-body { padding-top: 20px; }
.anomaly-batch-modal .ant-modal-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }

.anomaly-modal-intro > p {
  margin-top: 9px;
  color: var(--ink-secondary);
  font-size: 13px;
}

.anomaly-modal-eyebrow {
  display: inline-flex;
  min-height: 24px;
  padding: 2px 9px;
  align-items: center;
  color: var(--ink-secondary);
  background: var(--hover);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.anomaly-modal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.anomaly-modal-summary > div {
  display: flex;
  min-height: 56px;
  padding: 10px 14px;
  align-items: baseline;
  gap: 5px;
  background: var(--hover);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.anomaly-modal-summary span { margin-right: auto; color: var(--ink-muted); font-size: 12px; }
.anomaly-modal-summary strong { color: var(--ink); font-size: 24px; font-weight: 650; line-height: 1; }
.anomaly-modal-summary small { color: var(--ink-muted); font-size: 11px; }

.anomaly-column-group {
  width: 100%;
  margin-top: 18px;
}

.anomaly-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.anomaly-column-card.ant-checkbox-wrapper {
  min-width: 0;
  min-height: 78px;
  margin-inline-start: 0;
  padding: 13px 14px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.anomaly-column-card.ant-checkbox-wrapper:hover { background: var(--hover); border-color: var(--border-em); }

.anomaly-column-card.is-selected {
  background: var(--active);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.anomaly-column-card .ant-checkbox { align-self: flex-start; margin-top: 5px; }

.anomaly-column-visual {
  display: grid;
  width: 40px;
  height: 32px;
  margin-left: 10px;
  flex: 0 0 40px;
  place-items: center;
  color: var(--ink-muted);
  background: var(--hover);
  border: 1px solid var(--border-em);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

.anomaly-column-copy {
  display: flex;
  min-width: 0;
  margin-left: 10px;
  flex-direction: column;
  gap: 2px;
}

.anomaly-column-copy strong { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.anomaly-column-copy small { color: var(--ink-muted); font-size: 11px; line-height: 1.4; }
.anomaly-column-card.is-selected .anomaly-column-visual { color: var(--ink); }

.anomaly-modal-note {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 11px;
}

/* ── Admin reconciliation workspace ── */

.admin-review-page { min-width: 0; }

.admin-review-header {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-review-header h1 { font-size: 28px; font-weight: 680; line-height: 1.25; letter-spacing: -0.7px; }

.admin-review-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; }
.admin-review-header-actions .ant-btn { height: 32px; padding: 0 8px; color: var(--ink-secondary); white-space: nowrap; }
.admin-review-header-actions .ant-btn:hover { color: var(--ink) !important; background: var(--hover) !important; }

.admin-review-batch-picker {
  display: flex;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 0;
  border-radius: 0;
}

.admin-review-batch-picker::-webkit-scrollbar { display: none; }

.admin-review-context-actions,
.admin-review-file-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
}

.admin-review-context-actions { flex: 0 0 auto; }

.admin-review-file-actions {
  margin-left: auto;
  padding-left: 8px;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 4px;
  border-left: 1px solid var(--border);
}

.admin-review-batch-picker .batch-picker { width: 236px; margin-right: 2px; flex: 0 0 236px; }
.admin-review-batch-picker .ant-btn { height: 32px; padding: 0 8px; white-space: nowrap; }
.admin-review-batch-picker .ant-btn-text { color: var(--ink-secondary); }
.admin-review-batch-picker .ant-btn-text:hover { color: var(--ink) !important; background: var(--hover) !important; }
.admin-review-batch-picker .ant-upload-wrapper { display: inline-flex; }
.admin-review-batch-picker .full-export-action { color: var(--ink); font-weight: 600; }

.export-job-status {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.export-job-status-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--ink-muted);
  font-size: 13px;
}

.export-job-status-copy strong { color: var(--ink); }
.export-job-status.failed { border-color: #ffccc7; background: #fff2f0; }
.export-job-status.succeeded { border-color: #b7eb8f; background: #f6ffed; }
.toolbar-action-icon,
.export-icon { display: inline-flex; width: 16px; height: 16px; }
.toolbar-action-icon svg,
.export-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.admin-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 18px;
}

.admin-review-main { min-width: 0; }
.admin-review-data-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); }
.admin-review-filters { margin-bottom: 0; padding: 12px; gap: 8px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; flex-wrap: nowrap; }
.admin-review-filters .ant-select { width: 132px; flex: 0 0 132px; }
.admin-review-filters .ant-input-search { width: 190px; flex: 0 0 190px; }
.admin-review-table { overflow: hidden; border: 0; border-radius: 0; }
.admin-review-table .ant-table { border: 0; border-radius: 0; }
.admin-review-table .ant-table-thead > tr > th { background: #fafafa !important; color: var(--ink-secondary); font-size: 12px; }
.admin-review-table-footer { display: flex; min-height: 58px; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); }
.admin-review-total { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; font-size: 13px; }
.admin-review-table-footer .ant-pagination { display: flex; margin: 0; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
.admin-review-table-footer .ant-pagination-options { margin-inline-start: 8px; }
.table-action { height: auto !important; padding: 0 !important; color: var(--ink) !important; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.anomaly-text { color: var(--danger); font-weight: 600; }
.normal-text { color: var(--ink-muted); }

.admin-review-rail { display: grid; gap: 14px; }
.review-rail-card { padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.review-rail-heading { display: flex; margin-bottom: 14px; align-items: center; justify-content: space-between; gap: 10px; }
.review-rail-heading h2 { font-size: 14px; font-weight: 650; }
.review-rail-heading button { color: var(--ink-muted); font: inherit; font-size: 11px; background: transparent; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-rail-heading button:hover { color: var(--ink); }
.current-batch-name { display: block; overflow-wrap: anywhere; font-size: 13px; }
.batch-overview-total { display: flex; margin-top: 14px; padding: 12px 0; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.batch-overview-total span { color: var(--ink-muted); font-size: 12px; }
.batch-overview-total strong { font: 600 24px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.batch-overview-statuses { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.batch-overview-statuses > div { text-align: center; border-right: 1px solid var(--border); }
.batch-overview-statuses > div:last-child { border-right: 0; }
.batch-overview-statuses dt { color: var(--ink-muted); font-size: 11px; }
.batch-overview-statuses dd { margin-top: 3px; font-weight: 650; }

.recent-operation-list { display: grid; }
.recent-operation-list span { color: var(--ink-muted); font-size: 10px; }
.recent-operation-list > div { display: grid; padding: 9px 0; gap: 2px; border-top: 1px solid var(--border); }
.recent-operation-list > div:first-child { padding-top: 0; border-top: 0; }
.recent-operation-list strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rail-empty { color: var(--ink-muted); font-size: 12px; }

/* ── Confirmation status summary ── */

.confirmation-summary-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.status-rail {
  border: 0;
  border-radius: 0;
}

.status-rail strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -1px;
}

.confirmation-summary-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 88px;
  padding: 14px 18px;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.confirmation-summary-label {
  color: var(--ink-secondary);
  font-size: 13px;
}

.confirmation-summary-item strong {
  color: var(--ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}


.anomaly-summary-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-bottom: 20px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.anomaly-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px 22px;
  background: var(--card);
}

.anomaly-summary-item span {
  color: var(--ink-secondary);
  font-size: 13px;
}

.anomaly-summary-item strong {
  color: var(--ink);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.anomaly-summary-item.anomaly strong { color: var(--danger); }

/* ── Editable permissions ── */

.settings-card { max-width: 960px; }

.editable-column-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.editable-column-group {
  min-width: 0;
  padding: 18px;
  background: var(--paper);
}

.editable-column-group h4 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.editable-column-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.editable-column-options .ant-checkbox-wrapper { min-width: 0; margin-inline-start: 0; }
.settings-actions { display: flex; justify-content: flex-end; margin-top: 16px; }

/* ── Import progress ── */

.import-progress-content {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 8px 4px;
}

.import-progress-spinner {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: import-spin 0.9s linear infinite;
}

.import-progress-copy { min-width: 0; }

.import-progress-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.import-progress-stage {
  margin-top: 6px;
  color: var(--ink-secondary);
  font-size: 13px;
}

.import-progress-dots {
  display: flex;
  gap: 4px;
  margin-top: 9px;
}

.import-progress-dots span {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: import-dot 1.2s ease-in-out infinite;
}

.import-progress-dots span:nth-child(2) { animation-delay: 0.15s; }
.import-progress-dots span:nth-child(3) { animation-delay: 0.3s; }

/* ── Operation events ── */

.audit-table-row { cursor: pointer; }
.audit-mobile-list { display: none; }
.audit-mobile-pagination { display: none; }
.audit-detail { display: flex; flex-direction: column; gap: 15px; }
.audit-detail > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
.audit-detail > div > span,
.audit-detail section > span { color: var(--ink-secondary); font-size: 13px; }
.audit-detail strong { overflow-wrap: anywhere; }
.audit-detail section { margin-top: 4px; }
.audit-change { padding: 12px 0; border-bottom: 1px solid var(--border); }
.audit-change p { margin: 6px 0 0; color: var(--ink-secondary); overflow-wrap: anywhere; }
.audit-change b { margin: 0 6px; color: var(--ink); }

@keyframes import-spin { to { transform: rotate(360deg); } }
@keyframes import-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@media (max-width: 1280px) {
  .admin-review-layout { grid-template-columns: 1fr; }
  .admin-review-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .workspace-sidebar { display: none; }
  .workspace-shell { display: block; }
  .mobile-workspace-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    height: 56px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
  }
  .mobile-workspace-header h2 { color: var(--ink); font-size: 14px; }
  .app-header { padding: 0 14px; }
  .app-header .user-info { gap: 8px; font-size: 12px; }
  .account-name { max-width: 80px; }
  .desktop-nav { display: none; }
  .workspace-back { flex: 0 0 32px; }
  .batch-picker { display: none; }
  .admin-review-batch-picker .batch-picker { display: block; width: 220px; margin-right: 0; flex: 0 0 220px; }
  .app-content { min-height: 0; padding: 16px 14px 28px; }
  .mobile-nav {
    position: fixed;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 1px solid var(--border);
  }
  .mobile-nav .ant-btn {
    height: 48px;
    min-width: 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: var(--ink-muted) !important;
    font-size: 11px;
  }
  .mobile-nav .ant-btn span:first-child { font-size: 16px; line-height: 1; }
  .mobile-nav .ant-btn.active { color: var(--accent) !important; font-weight: 600; }
  .workbench-page { max-width: 720px; }
  .confirmation-summary-item { min-height: 76px; padding: 14px; }
  .confirmation-summary-item strong { font-size: 24px; }
  .admin-review-rail { grid-template-columns: 1fr; }
  .admin-review-filters { flex-wrap: nowrap; overflow-x: auto; }
  .admin-review-filters .ant-select,
  .admin-review-filters .ant-input-search { width: 112px; flex-basis: 112px; }
  .admin-review-filters .ant-input-search { width: 160px; flex-basis: 160px; }
  .admin-review-filters .ant-btn { flex: 0 0 auto; }
  .anomaly-summary-item { min-height: 76px; padding: 14px; }
  .anomaly-summary-item strong { font-size: 24px; }
  .video-toolbar {
    padding: 10px;
    align-items: stretch;
    gap: 10px;
  }
  .video-toolbar-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .video-toolbar-filters::-webkit-scrollbar { display: none; }
  .video-toolbar-filters .ant-select { width: 108px !important; flex: 0 0 108px; }
  .video-toolbar-filters .ant-input-search { width: 168px !important; flex: 0 0 168px; }
  .video-toolbar-actions {
    width: 100%;
    margin-left: 0;
    padding-top: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
  }
  .video-table-shell .ant-table-pagination {
    margin: 12px 0 0 !important;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .video-table-shell .ant-table-sticky-scroll {
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
  }
  .login-card { width: calc(100vw - 32px); }
  .audit-table { display: none; }
  .audit-mobile-list { display: block; border-top: 1px solid var(--border); }
  .audit-mobile-row {
    display: flex;
    width: 100%;
    padding: 14px 0;
    flex-direction: column;
    gap: 5px;
    color: var(--ink);
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
  }
  .audit-mobile-row strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .audit-mobile-row > span:last-child { color: var(--ink-secondary); font-size: 13px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .audit-mobile-meta { color: var(--ink-muted); font-size: 12px; }
  .audit-mobile-empty { padding: 24px 0; color: var(--ink-muted); text-align: center; }
  .audit-mobile-pagination { display: flex; justify-content: center; margin-top: 16px; }
  .audit-detail > div { grid-template-columns: 72px minmax(0, 1fr); }
  .editable-column-groups { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .anomaly-batch-modal { max-width: calc(100vw - 24px); }
  .anomaly-column-grid { grid-template-columns: 1fr; }
  .anomaly-modal-summary > div { padding: 10px 12px; }
  .video-toolbar-actions .ant-btn { min-width: 0; flex: 1; }
  .video-table-shell .screenshot-preview { width: 48px; height: 48px; }
  .video-table-shell .screenshot-preview .ant-image,
  .video-table-shell .screenshot-preview img { width: 48px !important; height: 48px !important; }
}

@media (max-width: 480px) {
  .header-logo { width: 36px; height: 34px; }
  .app-brand { gap: 2px; }
  .app-header h2 { font-size: 14px; }
  .user-label { display: none; }
  .confirmation-summary-item,
  .anomaly-summary-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .admin-review-header h1 { font-size: 24px; }
  .admin-review-filters .ant-select,
  .admin-review-filters .ant-input-search { width: 112px; flex-basis: 112px; }
  .admin-review-filters .ant-input-search { width: 160px; flex-basis: 160px; }
  .editable-column-options { grid-template-columns: 1fr; }
  .creator-page-header h3 { font-size: 22px; }
  .creator-review-actions { grid-template-columns: 1fr; }
  .creator-video-heading { align-items: flex-start; flex-direction: column; }
  .video-detail-header { align-items: flex-start; gap: 10px; }
  .video-detail-header h3 { font-size: 14px; line-height: 1.5; }
  .daren-detail-grid { gap: 10px 12px; }
  .creator-profile-card .ant-card-body { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.video-create-section { margin-top: 16px; padding: 12px; border: 1px solid var(--ink-muted); border-radius: 8px; min-width: 0; }
.video-create-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.video-create-actions > span { font-size: 12px; color: var(--ink-muted); }
.video-create-error { color: #b42318; margin: 8px 0; }
.video-create-section .ant-form-item-explain-error { white-space: normal; }
@media (max-width: 640px) {
  .video-create-section { padding: 8px; }
  .video-create-actions > span { flex-basis: 100%; }
}
