[v-cloak] {
  display: none;
}

:root {
  --creator-primary: #ff7f9d;
  --creator-primary-dark: #f26588;
  --creator-primary-rgb: 255, 127, 157;
  --creator-primary-soft: #fff4f7;
  --creator-primary-tint: #fffafb;
  --creator-ink: #45536a;
  --creator-text: #728096;
  --creator-muted: #96a1b4;
  --creator-muted-2: #b7bfcd;
  --creator-border: rgba(124, 139, 164, 0.14);
  --creator-surface: #fff;
  --creator-surface-soft: #f7f9fd;
  --creator-info: #7f8aa0;
  --creator-info-soft: #f4f7fb;
  --side-title: #5a6880;
  --side-desc: #98a3b5;
  --side-section: #aeb6c4;
  --side-icon: #8d98ab;
  --side-icon-bg: #f7f9fd;
  --side-active: var(--creator-primary-dark);
  --side-active-soft: var(--creator-primary-soft);
  --creator-topbar-offset: 0px;
  --creator-topbar-height: 76px;
  --creator-sticky-gap: 0px;
  --creator-page-head-top: calc(var(--creator-topbar-offset) + var(--creator-topbar-height) + var(--creator-sticky-gap));
}

.creator-console-body {
  min-width: 320px;
  background: #fff;
  color: var(--creator-text);
}

.creator-console {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 318px minmax(0, 1fr);
  background:
    radial-gradient(circle at 86% 4%, rgba(var(--creator-primary-rgb), 0.03), transparent 22rem),
    radial-gradient(circle at 3% 0%, rgba(127, 136, 156, 0.045), transparent 24rem),
    var(--creator-surface-soft);
}

.creator-sidebar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  height: 100vh;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid rgba(38, 48, 64, 0.065);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.25rem 1rem rgba(76, 89, 114, 0.024);
  backdrop-filter: blur(14px);
}

.creator-brand {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  padding: 22px 28px 18px;
  color: var(--creator-ink);
}

.creator-brand-mark,
.creator-avatar,
.footer-mini-logo {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--creator-primary) 0%, #ff9aad 100%);
  box-shadow: 0 0.45rem 1.2rem rgba(var(--creator-primary-rgb), 0.18);
}

.creator-brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 26px;
}

.creator-brand strong {
  display: block;
  color: var(--creator-ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.creator-brand small {
  display: block;
  margin-top: 4px;
  color: var(--creator-muted);
  font-size: 14px;
  font-weight: 700;
}

.creator-side-scroll {
  overflow: auto;
  padding: 4px 20px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 132, 151, 0.28) transparent;
}

.creator-side-scroll::-webkit-scrollbar {
  width: 6px;
}

.creator-side-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.creator-side-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(123, 132, 151, 0.24);
}

.creator-side-section {
  margin: 22px 2px 10px;
  color: var(--side-section);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.creator-side-link {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  margin: 5px 0;
  padding: 10px 12px;
  color: var(--side-title);
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.creator-sidebar .creator-side-link {
  color: var(--side-title) !important;
}

.side-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 10px;
  color: var(--side-icon);
  background: var(--side-icon-bg);
  box-shadow: inset 0 0 0 1px rgba(127, 136, 156, 0.04);
  font-size: 20px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.side-copy {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  gap: 4px;
}

.side-copy strong {
  overflow: hidden;
  color: var(--side-title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-copy small {
  overflow: hidden;
  color: var(--side-desc);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-sidebar .creator-side-link i {
  color: currentColor;
  transition: color 0.18s ease;
}

.creator-sidebar .creator-side-link:hover:not(.active) {
  color: var(--side-active) !important;
  border-color: rgba(var(--creator-primary-rgb), 0.12);
  background: linear-gradient(90deg, rgba(255, 248, 250, 0.96), rgba(246, 248, 252, 0.94));
  transform: translateX(1px);
}

.creator-sidebar .creator-side-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.16rem rgba(var(--creator-primary-rgb), 0.2);
}

.creator-sidebar .creator-side-link:hover:not(.active) .side-icon {
  color: var(--side-active);
  background: var(--side-active-soft);
  box-shadow: inset 0 0 0 1px rgba(var(--creator-primary-rgb), 0.08);
}

.creator-sidebar .creator-side-link:hover:not(.active) .side-copy strong {
  color: var(--side-active);
}

.creator-sidebar .creator-side-link.active {
  color: var(--side-active) !important;
  border-color: rgba(var(--creator-primary-rgb), 0.1);
  background: linear-gradient(90deg, rgba(255, 241, 245, 0.98) 0%, rgba(255, 248, 250, 0.96) 100%);
  box-shadow: none;
}

.creator-sidebar .creator-side-link.active .side-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--creator-primary) 0%, #ff9aad 100%);
  box-shadow: 0 0.45rem 0.95rem rgba(var(--creator-primary-rgb), 0.16);
}

.creator-sidebar .creator-side-link.active .side-copy strong {
  color: var(--side-active);
}

.creator-sidebar .creator-side-link.active .side-copy small {
  color: var(--side-desc);
}

.creator-side-link i {
  font-size: 20px;
  text-align: center;
}

.creator-side-link .side-badge {
  flex: 0 0 auto;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  margin-left: auto;
  padding: 0 6px;
  color: #fff;
  background: #ff465f;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.creator-main {
  min-width: 0;
}

.creator-topbar {
  position: sticky;
  top: var(--creator-topbar-offset);
  z-index: 50;
  display: flex;
  min-height: var(--creator-topbar-height);
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(224, 228, 236, 0.72);
  border-radius: 0;
  padding: 0 36px 0 18px;
  background: #fff;
  box-shadow: none;
}

.mobile-menu-button,
.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid #e8eef6;
  border-radius: 7px;
  color: #667085;
  background: #fff;
  box-shadow: 0 0.125rem 0.375rem rgba(38, 48, 64, 0.06);
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
}

.topbar-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.creator-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.notification-button {
  position: relative;
}

.notification-button span {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #ea5455;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.creator-user-meta {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.creator-user-meta strong {
  color: #4f596b;
  font-size: 13px;
}

.creator-user-meta span {
  color: #9aa3b4;
  font-size: 12px;
}

.creator-content {
  padding: 0 18px 26px;
}

.console-page-head {
  position: sticky;
  top: var(--creator-page-head-top);
  z-index: 42;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 -18px 18px;
  padding: 24px 18px 24px;
  background: #fff;
  box-shadow: none;
}

.console-page-head > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.console-page-head::after {
  display: none;
}

.console-page-head h1 {
  margin: 0;
  color: #4f596b;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

.console-page-head p {
  max-width: none;
  margin: 6px 0 0;
  color: #7a8496;
  font-size: 14px;
  line-height: 1.65;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-brush-lite {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.title-brush-lite::before {
  position: absolute;
  right: 2%;
  bottom: 0.03em;
  left: 4%;
  z-index: -1;
  height: 0.34em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--creator-primary-rgb), 0.2), rgba(127, 136, 156, 0.1));
  content: "";
  transform: rotate(-1deg);
}

.kdb-card,
.metric-card,
.table-panel,
.profile-panel {
  border: 1px solid rgba(224, 228, 236, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.125rem 0.625rem rgba(76, 89, 114, 0.03);
}

.kdb-card {
  padding: 18px;
}

.soft-card {
  border: 1px solid rgba(224, 228, 236, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.032);
}

.kdb-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(var(--creator-primary-rgb), 0.22);
  border-radius: 8px;
  padding: 0.52rem 1.08rem;
  color: var(--creator-primary-dark);
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.kdb-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--creator-primary-rgb), 0.34);
  background: var(--creator-primary-tint);
  box-shadow: 0 0.25rem 0.75rem rgba(var(--creator-primary-rgb), 0.1);
}

.kdb-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.16rem rgba(var(--creator-primary-rgb), 0.18);
}

.kdb-btn-primary {
  border-color: var(--creator-primary);
  color: #fff;
  background: linear-gradient(135deg, var(--creator-primary) 0%, var(--creator-primary-dark) 100%);
  box-shadow: 0 0.35rem 0.9rem rgba(var(--creator-primary-rgb), 0.2);
}

.kdb-btn-primary:hover {
  border-color: var(--creator-primary-dark);
  color: #fff;
  background: var(--creator-primary-dark);
  box-shadow: 0 0.45rem 1rem rgba(var(--creator-primary-rgb), 0.24);
}

.kdb-btn-soft {
  border-color: transparent;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  box-shadow: none;
}

.kdb-btn-ghost {
  border-color: transparent;
  color: var(--creator-text);
  background: transparent;
  box-shadow: none;
}

.kdb-btn-danger {
  border-color: transparent;
  color: #fff;
  background: #ff6b72;
  box-shadow: 0 0.35rem 0.9rem rgba(234, 84, 85, 0.16);
}

.kdb-btn-danger:hover {
  border-color: transparent;
  color: #fff;
  background: #f25b64;
  box-shadow: 0 0.45rem 1rem rgba(234, 84, 85, 0.2);
}

.chip-row,
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.32rem 0.7rem;
  color: #7a8496;
  background: #f6f8fc;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.chip.active {
  color: #fff;
  background: var(--creator-primary);
}

.badge-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.22rem 0.5rem;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.badge-pill.green { color: #18864b; background: rgba(40, 199, 111, 0.14); }
.badge-pill.cyan { color: #64748b; background: rgba(100, 116, 139, 0.14); }
.badge-pill.amber { color: #a35b00; background: rgba(255, 159, 67, 0.16); }
.badge-pill.red { color: #b92e38; background: rgba(234, 84, 85, 0.14); }
.badge-pill.gray { color: #7a8496; background: #f1f1f3; }

.messages-panel {
  border-color: rgba(224, 228, 236, 0.52);
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.026);
}

.messages-list {
  gap: 0;
}

.messages-list .notice-item,
.messages-list .notice-item.unread,
.messages-list .notice-item:hover {
  background: transparent !important;
}

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

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 18px;
}

.dashboard-stack,
.stack {
  display: grid;
  gap: 18px;
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.profile-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.profile-logo {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--creator-primary) 0%, #a8b1c2 100%);
  box-shadow: 0 0.65rem 1.6rem rgba(255, 127, 157, 0.12);
  font-size: 36px;
}

.profile-left h2 {
  margin: 0 0 4px;
  color: #4f596b;
  font-size: 20px;
  line-height: 1.2;
}

.profile-left p {
  margin: 2px 0;
  color: #7a8496;
}

.money-text {
  color: var(--creator-primary-dark);
  font-weight: 800;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #7a8496;
  font-size: 13px;
  font-weight: 700;
}

.metric-icon,
.platform-logo,
.mini-icon {
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.metric-icon {
  width: 42px;
  height: 42px;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 22px;
}

.metric-card:nth-child(2) .metric-icon { color: #64748b; background: rgba(100, 116, 139, 0.13); }
.metric-card:nth-child(3) .metric-icon { color: #18864b; background: rgba(40, 199, 111, 0.13); }
.metric-card:nth-child(4) .metric-icon { color: #b85d00; background: rgba(255, 159, 67, 0.16); }

.metric-value {
  color: #4f596b;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.metric-foot {
  color: #28c76f;
  font-size: 12px;
  font-weight: 700;
}

.section-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.section-line h2,
.card-title {
  margin: 0;
  color: #4f596b;
  font-size: 18px;
  font-weight: 800;
}

.section-line p {
  margin: 4px 0 0;
  color: #9aa3b4;
  font-size: 13px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-logo {
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 22px;
}

.platform-logo.douyin { background: #111827; }
.platform-logo.kuaishou { background: #ff6b35; }
.platform-logo.wechat { background: #22c55e; }
.platform-logo.video { background: #8792a6; }

.platform-title strong {
  color: #4f596b;
}

.platform-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.platform-card dt {
  color: #9aa3b4;
  font-size: 12px;
}

.platform-card dd {
  margin: 3px 0 0;
  color: #4f596b;
  font-size: 15px;
  font-weight: 800;
}

.chart-card {
  padding: 0;
  overflow: hidden;
}

.chart-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf2f7;
  padding: 0 18px;
}

.chart-wrap {
  padding: 18px;
}

.chart-svg {
  width: 100%;
  min-height: 260px;
}

.chart-axis {
  stroke: #edf2f7;
  stroke-width: 1;
}

.chart-line-main {
  fill: none;
  stroke: #8bc56a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-line-soft {
  fill: none;
  stroke: #ff7d96;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: 0.32;
}

.chart-label {
  fill: #9aa3b4;
  font-size: 12px;
}

.right-rail {
  align-self: start;
  padding: 18px;
}

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

.quick-tile {
  display: grid;
  min-height: 78px;
  place-items: center;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  color: var(--side-title);
  background: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.right-rail .quick-tile {
  color: var(--side-title) !important;
}

.right-rail .quick-tile span {
  color: var(--side-title);
}

.quick-tile:hover {
  border-color: rgba(224, 228, 236, 0.92);
  color: var(--side-title);
  background: #fafbfe;
}

.quick-tile i {
  margin-bottom: 7px;
  color: var(--side-icon);
  font-size: 22px;
}

.right-rail .quick-tile i {
  color: var(--side-icon);
}

.quick-tile:hover i {
  color: var(--side-title);
}

.rail-section + .rail-section {
  margin-top: 18px;
  border-top: 1px solid #edf2f7;
  padding-top: 18px;
}

.rail-section h3 {
  margin: 0 0 12px;
  color: #4f596b;
  font-size: 18px;
  font-weight: 800;
}

.rail-link {
  display: grid;
  gap: 4px;
  border-radius: 7px;
  padding: 8px 6px;
  color: var(--side-title);
}

.right-rail .rail-link {
  color: var(--side-title) !important;
}

.rail-link:hover {
  color: var(--side-title);
  background: #fafbfe;
}

.rail-link strong {
  color: var(--side-title);
  font-size: 14px;
  font-weight: 700;
}

.right-rail .rail-link strong {
  color: var(--side-title);
}

.rail-link span {
  color: var(--side-desc);
  font-size: 12px;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
}

.video-filter-selects {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-left: auto;
}

.filter-select-field {
  display: grid;
  gap: 6px;
}

.filter-select-field span {
  color: #7b8497;
  font-size: 12px;
  font-weight: 800;
}

.field,
.form-field {
  display: grid;
  gap: 7px;
}

.field label,
.form-field label {
  color: #7a8496;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.form-field input,
.form-field select,
.form-field textarea,
.control-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e8eef6;
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  color: #616b80;
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.field textarea,
.form-field textarea {
  min-height: 98px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.control-input:focus {
  border-color: rgba(255, 125, 150, 0.48);
  box-shadow: 0 0 0 0.18rem rgba(255, 127, 157, 0.08);
}

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

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.span-2 {
  grid-column: span 2;
}

.span-full {
  grid-column: 1 / -1;
}

.book-grid,
.card-grid-3,
.card-grid-4 {
  display: grid;
  gap: 14px;
}

.book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.library-book-grid {
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.book-card.active,
.book-card:hover {
  border-color: rgba(255, 125, 150, 0.28);
  box-shadow: 0 0.35rem 0.95rem rgba(255, 125, 150, 0.09);
  transform: translateY(-1px);
}

.book-cover {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 125, 150, 0.32), transparent 28%),
    linear-gradient(140deg, #6f7b90, #a6afbf);
}

.book-cover {
  position: relative;
  min-height: 150px;
  font-size: 34px;
  overflow: hidden;
}

.book-cover > .ti {
  position: relative;
  z-index: 1;
}

.book-hover-actions {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 125, 150, 0.08), rgba(38, 48, 64, 0.38)),
    rgba(255, 255, 255, 0.04);
  opacity: 0;
  pointer-events: auto;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.book-card:hover .book-hover-actions,
.book-card:focus-within .book-hover-actions {
  opacity: 1;
  transform: translateY(0);
}

.book-hover-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 0 0.86rem;
  color: var(--creator-primary-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.4rem 1rem rgba(76, 89, 114, 0.07);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.book-hover-btn.primary {
  border-color: transparent;
  color: #fff;
  background: var(--creator-primary);
}

.book-body {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.book-sample {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.book-sample span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-body h3,
.item-title {
  margin: 0;
  color: #4f596b;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.book-body p,
.muted {
  margin: 0;
  color: #7a8496;
  font-size: 13px;
  line-height: 1.55;
}

.library-drawer {
  width: min(780px, 100vw);
}

.library-drawer-body {
  align-content: start;
  gap: 16px;
  background: #fafbfe;
}

.library-drawer-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(224, 228, 236, 0.74);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.library-drawer-cover {
  display: grid;
  width: 104px;
  height: 128px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 125, 150, 0.34), transparent 30%),
    linear-gradient(140deg, #6f7b90, #a6afbf);
  font-size: 30px;
}

.library-hero-content {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.library-hero-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.library-hero-title-row > div {
  min-width: 0;
}

.library-drawer-hero h3 {
  margin: 0;
  color: #4f596b;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.library-drawer-hero p {
  margin: 6px 0 10px;
  color: #7a8496;
  font-size: 13px;
}

.library-hero-sample-btn {
  min-width: 94px;
  min-height: 36px;
  flex: 0 0 auto;
  border-color: rgba(var(--creator-primary-rgb), 0.18);
  border-radius: 8px;
  padding: 0 0.78rem;
  color: var(--creator-primary-dark);
  background: #fff6f8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 750;
}

.library-hero-sample-btn i {
  font-size: 16px;
}

.library-book-summary {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcff;
}

.library-book-summary i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  color: var(--creator-primary-dark);
  background: #fff6f8;
  font-size: 15px;
}

.library-book-summary p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.library-book-summary strong {
  margin-right: 8px;
  color: #45536a;
  font-weight: 850;
}

.library-letter-upload-btn {
  min-height: 36px;
  flex: 0 0 auto;
  border-color: rgba(var(--creator-primary-rgb), 0.18);
  border-radius: 8px;
  padding: 0 0.78rem;
  color: var(--creator-primary-dark);
  background: #fff6f8;
  font-size: 13px;
  font-weight: 750;
}

.library-letter-upload-btn i {
  font-size: 16px;
}

.library-reader-panel,
.library-sample-overview,
.library-sample-reader,
.library-reader-chapters,
.library-novel-reader,
.library-auth-flow,
.library-auth-note,
.library-letter-panel,
.library-info-item,
.library-sample-decision-grid > div {
  border: 1px solid rgba(224, 228, 236, 0.74);
  border-radius: 8px;
  background: #fff;
}

.library-sample-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.library-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  color: #7d899d;
  font-size: 12px;
  font-weight: 800;
}

.library-section-kicker i {
  color: var(--creator-primary-dark);
  font-size: 16px;
}

.library-sample-overview strong {
  display: block;
  color: #45536a;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
}

.library-sample-overview p {
  margin: 8px 0 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.65;
}

.library-sample-stats {
  display: grid;
  gap: 8px;
}

.library-sample-stats > div {
  display: grid;
  gap: 4px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fafc;
}

.library-sample-stats span {
  color: #8b96a8;
  font-size: 12px;
  font-weight: 700;
}

.library-sample-stats strong {
  color: #536178;
  font-size: 13px;
  font-weight: 800;
}

.library-reader-workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.library-reader-chapters,
.library-novel-reader {
  min-width: 0;
}

.library-reader-chapters {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.library-reader-chapters-head strong {
  display: block;
  color: #45536a;
  font-size: 15px;
  font-weight: 850;
}

.library-reader-chapter-list {
  display: grid;
  gap: 8px;
}

.reader-chapter-button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 62px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  color: #7d899d;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.reader-chapter-button > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  color: #8591a6;
  background: #f5f7fb;
  font-size: 12px;
  font-weight: 900;
}

.reader-chapter-button strong {
  display: block;
  overflow: hidden;
  color: #536178;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-chapter-button em {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #8b96a8;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-chapter-button.active {
  border-color: rgba(var(--creator-primary-rgb), 0.3);
  background: #fffafb;
  box-shadow: inset 2px 0 0 rgba(var(--creator-primary-rgb), 0.34);
}

.reader-chapter-button.active > span {
  color: #fff;
  background: var(--creator-primary);
}

.library-novel-reader {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.library-novel-reader-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.library-novel-reader-head span {
  color: var(--creator-primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.library-novel-reader-head strong {
  display: block;
  margin-top: 4px;
  color: #405068;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
}

.library-novel-reader-head p {
  margin: 5px 0 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.55;
}

.library-reader-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.reader-nav-btn {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 0 10px;
  color: #667085;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.reader-nav-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.library-reader-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f5fa;
}

.library-reader-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--creator-primary), #ff9aad);
}

.library-novel-content {
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
}

.library-novel-content h4 {
  margin: 0 0 12px;
  color: #45536a;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.library-novel-content p {
  margin: 0;
  color: #4f596b;
  font-size: 15px;
  line-height: 2;
}

.library-novel-content p + p {
  margin-top: 12px;
}

.library-sample-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.library-sample-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 72px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 12px;
  color: #7d899d;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.library-sample-step:hover {
  border-color: rgba(var(--creator-primary-rgb), 0.18);
  background: #fffafb;
  transform: translateY(-1px);
}

.library-sample-step.active {
  border-color: rgba(var(--creator-primary-rgb), 0.3);
  background: #fff;
  box-shadow: inset 2px 0 0 rgba(var(--creator-primary-rgb), 0.34), 0 8px 18px rgba(64, 79, 108, 0.035);
}

.sample-step-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #718096;
  background: #f5f7fb;
  font-size: 17px;
}

.library-sample-step.active .sample-step-icon {
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
}

.library-sample-step strong {
  display: block;
  color: #536178;
  font-size: 13px;
  font-weight: 800;
}

.library-sample-step.active strong {
  color: #405068;
}

.library-sample-step em {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #8b96a8;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-sample-reader {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.library-sample-reader-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.library-sample-reader-head .mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 19px;
}

.library-sample-reader-head strong {
  display: block;
  color: #45536a;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.library-sample-reader-head p {
  margin: 4px 0 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.5;
}

.library-sample-range {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 6px 9px;
  color: #64748b;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.library-sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-sample-tags span {
  border-radius: 7px;
  padding: 5px 8px;
  color: #64748b;
  background: #f5f7fb;
  font-size: 12px;
  font-weight: 700;
}

.library-sample-copy {
  margin: 0;
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
  color: #536178;
  font-size: 14px;
  line-height: 1.9;
}

.library-sample-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-radius: 8px;
  padding: 11px 12px;
  color: #64748b;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.65;
}

.library-sample-note i {
  margin-top: 2px;
  color: var(--creator-primary-dark);
  font-size: 17px;
}

.library-sample-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.library-sample-decision-grid > div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.library-sample-decision-grid .mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 17px;
}

.library-sample-decision-grid strong {
  color: #4f596b;
  font-size: 14px;
  font-weight: 850;
}

.library-sample-decision-grid p {
  margin: 0;
  color: #7b8497;
  font-size: 12px;
  line-height: 1.58;
}

.library-reader-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.library-reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(224, 228, 236, 0.68);
  padding-bottom: 12px;
}

.library-reader-head strong {
  display: block;
  color: #4f596b;
  font-size: 16px;
  font-weight: 850;
}

.library-reader-head span {
  color: #7b8497;
  font-size: 13px;
  font-weight: 700;
}

.library-reader-panel p {
  margin: 0;
  color: #616b80;
  font-size: 14px;
  line-height: 1.85;
}

.library-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.library-info-item {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.library-info-item .mini-icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.library-info-item strong {
  color: #4f596b;
  font-size: 14px;
  font-weight: 850;
}

.library-info-item p {
  margin: 0;
  color: #7b8497;
  font-size: 12px;
  line-height: 1.55;
}

.library-auth-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border-color: rgba(226, 232, 240, 0.86);
  padding: 12px;
  overflow: visible;
  background: #fff;
}

.library-auth-step {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 11px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.library-auth-step:hover {
  border-color: rgba(var(--creator-primary-rgb), 0.18);
  background: #fffafb;
  transform: translateY(-1px);
}

.library-auth-step.is-current {
  border-color: rgba(var(--creator-primary-rgb), 0.22);
  background: linear-gradient(180deg, #fffafb, #fff);
}

.library-auth-step.is-complete {
  border-color: rgba(40, 199, 111, 0.18);
}

.library-auth-step.is-complete .library-auth-node {
  background: linear-gradient(135deg, #2ecf7d 0%, #22b66a 100%);
  box-shadow: 0 8px 18px rgba(40, 199, 111, 0.14);
}

.library-auth-node {
  display: inline-grid;
  width: 38px;
  height: 38px;
  grid-template-areas: "stack";
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff86a2 0%, #ff7094 100%);
  box-shadow: 0 8px 18px rgba(var(--creator-primary-rgb), 0.15);
}

.library-auth-node em,
.library-auth-node i {
  grid-area: stack;
}

.library-auth-node em {
  transform: translate(-11px, -11px);
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 1px 5px;
  color: var(--creator-primary-dark);
  background: #fff;
  box-shadow: 0 4px 10px rgba(64, 79, 108, 0.06);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.library-auth-node i {
  font-size: 18px;
}

.library-auth-step-copy {
  min-width: 0;
}

.library-auth-flow strong {
  color: #4f596b;
  font-size: 14px;
  font-weight: 850;
}

.library-auth-flow p {
  margin: 6px 0 0;
  color: #7b8497;
  font-size: 12px;
  line-height: 1.65;
}

.library-auth-stage-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(224, 228, 236, 0.74);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(64, 79, 108, 0.032);
}

.library-stage-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 8px;
  padding: 0 9px;
  color: var(--creator-primary-dark);
  background: #fff6f8;
  font-size: 12px;
  font-weight: 800;
}

.library-stage-head strong {
  display: block;
  margin-top: 8px;
  color: #405068;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.library-stage-head p {
  margin: 6px 0 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.65;
}

.library-stage-grid,
.library-review-list,
.library-letter-actions {
  display: grid;
  gap: 12px;
}

.library-stage-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.library-stage-card,
.library-review-list > div,
.library-letter-action-card,
.library-template-preview {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background: #fff;
}

.library-stage-card,
.library-review-list > div {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.library-stage-card strong,
.library-review-list strong {
  color: #45536a;
  font-size: 15px;
  font-weight: 850;
}

.library-stage-card p,
.library-review-list p {
  margin: 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.65;
}

.library-stage-action {
  justify-self: start;
}

.library-letter-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.library-letter-action-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.library-letter-action-card:hover {
  border-color: rgba(var(--creator-primary-rgb), 0.2);
  background: #fffafb;
  transform: translateY(-1px);
}

.library-letter-action-card strong {
  display: block;
  color: #45536a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 850;
}

.library-letter-action-card p {
  margin: 4px 0 0;
  overflow: hidden;
  color: #7b8497;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-letter-action-card > .ti {
  color: #a0aabc;
  font-size: 18px;
}

.library-template-preview {
  display: grid;
  gap: 9px;
  padding: 16px;
  background: #fbfcff;
}

.library-template-preview h3 {
  margin: 0;
  color: #405068;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
}

.library-template-preview p {
  margin: 0;
  color: #536178;
  font-size: 14px;
  line-height: 1.9;
}

.library-auth-form {
  border: 1px solid rgba(224, 228, 236, 0.74);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.library-auth-form .form-field {
  gap: 8px;
}

.library-auth-form .form-field span {
  color: #69778d;
  font-size: 13px;
  font-weight: 750;
}

.library-auth-form .form-field input,
.library-auth-form .form-field select {
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  line-height: 48px;
}

.library-auth-form .form-field textarea {
  min-height: 132px;
  padding: 13px 14px;
  line-height: 1.7;
}

.library-letter-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.library-letter-panel textarea {
  min-height: 118px;
  line-height: 1.7;
}

.library-letter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.library-letter-head strong {
  display: block;
  color: #45536a;
  font-size: 16px;
  font-weight: 850;
}

.library-letter-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-letter-checks span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 0 10px;
  color: #18864b;
  background: rgba(40, 199, 111, 0.12);
  font-size: 12px;
  font-weight: 750;
}

.library-auth-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  color: #9a5b00;
  background: rgba(255, 159, 67, 0.12);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.library-auth-note.muted {
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
}

.library-auth-note i {
  margin-top: 2px;
  font-size: 18px;
}

@media (hover: none) {
  .book-hover-actions {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.flow-strip > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  border: 1px solid rgba(224, 228, 236, 0.78);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.032);
}

.flow-strip span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--creator-primary), #ff9aad);
  font-size: 14px;
  font-weight: 900;
  grid-row: span 2;
}

.flow-strip strong {
  color: #4f596b;
  font-size: 14px;
}

.flow-strip p {
  margin: 0;
  color: #7b8497;
  font-size: 12px;
  line-height: 1.45;
}

.table-panel {
  overflow: hidden;
}

.table-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf2f7;
  padding: 0 16px;
}

.table-head h2 {
  margin: 0;
  color: #4f596b;
  font-size: 18px;
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #edf2f7;
  padding: 0.78rem 1rem;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: #7a8496;
  background: #f8faff;
  font-size: 12px;
  font-weight: 800;
}

.data-table td {
  color: #667085;
  font-size: 14px;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fafbfe;
}

.data-table tbody tr.is-row-selected {
  background: linear-gradient(90deg, rgba(255, 241, 245, 0.92), rgba(255, 248, 250, 0.82));
}

.table-action {
  min-height: 32px;
  padding: 0.35rem 0.62rem;
  font-size: 12px;
}

.compact-select {
  width: 210px;
  min-height: 36px;
}

.upload-drop {
  display: grid;
  min-height: 218px;
  place-items: center;
  border: 1.5px dashed rgba(123, 132, 151, 0.26);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #fcfcfd);
  text-align: center;
}

.upload-drop > i {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  margin: 0 auto 12px;
  color: var(--creator-primary-dark);
  background: #fff4f7;
  font-size: 30px;
}

.upload-drop h3 {
  margin: 0;
  color: #4f596b;
  font-size: 18px;
}

.upload-drop p {
  margin: 8px 0 16px;
  color: #7a8496;
}

.upload-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  max-width: 1180px;
  align-items: start;
  gap: 14px;
  margin: 0 auto;
}

.upload-main-column,
.upload-side-panel {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.upload-side-panel {
  position: sticky;
  top: calc(var(--creator-page-head-top) + 92px);
}

.upload-head-action {
  min-height: 44px;
  padding-right: 1.16rem;
  padding-left: 1.16rem;
}

.upload-stat-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #4f596b;
  font-size: 14px;
}

.upload-stat-line strong {
  font-size: 15px;
  font-weight: 800;
}

.upload-stat-pill,
.upload-rules strong {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid #edf2f7;
  border-radius: 7px;
  padding: 0.16rem 0.5rem;
  color: #667085;
  background: #fff;
  box-shadow: none;
  font-weight: 800;
}

.upload-key-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(224, 228, 236, 0.82);
  border-left: 3px solid rgba(255, 125, 150, 0.72);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: none;
}

.upload-key-current {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.upload-key-current strong {
  color: #7a8496;
  font-weight: 800;
}

.upload-key-current span {
  color: var(--creator-primary-dark);
  font-weight: 800;
}

.upload-key-panel > p {
  margin: 0;
  color: #7a8496;
  font-size: 13px;
}

.upload-key-options {
  display: grid;
  max-height: 220px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 10px;
  overflow: auto;
  padding: 2px 6px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 132, 151, 0.28) transparent;
}

.upload-key-option {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  padding: 6px 9px;
  color: #616b80;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.upload-key-option:hover {
  color: #4f596b;
  background: #fafbfe;
}

.upload-key-option.active {
  color: #4f596b;
  background: #f6f7fb;
}

.upload-key-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--creator-primary);
}

.upload-key-option span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-key-option em {
  font-style: normal;
}

.upload-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 4px;
  color: #4f596b;
  font-size: 13px;
  font-weight: 700;
}

.upload-rules strong {
  min-height: 24px;
  border-color: transparent;
  color: #667085;
  background: #f7f9fd;
  box-shadow: none;
}

.upload-drop-button {
  width: 100%;
  min-height: 218px;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.upload-drop-button strong,
.upload-drop-button span,
.upload-drop-button small {
  display: block;
}

.upload-drop-button strong {
  color: #4f596b;
  font-size: 20px;
  font-weight: 800;
}

.upload-drop-button span {
  margin-top: 8px;
  color: #7a8496;
  font-size: 14px;
}

.upload-drop-button small {
  margin-top: 12px;
  color: #9aa3b4;
  font-size: 13px;
  font-weight: 700;
}

.upload-drop-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.upload-drop-button:focus-visible {
  outline: 0;
  border-color: rgba(255, 125, 150, 0.46);
  box-shadow: 0 0 0 0.16rem rgba(255, 127, 157, 0.08);
}

.upload-file-strip {
  display: grid;
  gap: 8px;
}

.upload-file-pill {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 0 12px;
  color: #616b80;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.upload-file-pill i {
  color: var(--creator-primary);
  font-size: 18px;
}

.upload-episode-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(224, 228, 236, 0.82);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.upload-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upload-section-head h2 {
  margin: 0;
  color: #4f596b;
  font-size: 18px;
  font-weight: 800;
}

.upload-section-head span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 7px;
  padding: 0 0.65rem;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 13px;
  font-weight: 800;
}

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

.upload-episode-panel .form-field > span {
  color: #7a8496;
  font-size: 13px;
  font-weight: 700;
}

.upload-episode-panel input[readonly],
.upload-episode-panel textarea[readonly] {
  color: #616b80;
  background: #fff;
}

.upload-file-pill span {
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file-pill em {
  color: #9aa3b4;
  font-style: normal;
}

.upload-side-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(224, 228, 236, 0.82);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.028);
}

.upload-side-head {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 8px;
}

.upload-side-head h2 {
  margin: 0;
  color: #4f596b;
  font-size: 17px;
  font-weight: 800;
}

.upload-side-head span,
.upload-side-head a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 7px;
  padding: 0 0.62rem;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.upload-queue-list,
.upload-current-list {
  display: grid;
  gap: 10px;
}

.upload-queue-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.upload-queue-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f3f5fa;
}

.upload-queue-item strong,
.upload-current-item strong {
  display: block;
  overflow: hidden;
  color: #4f596b;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-queue-item p,
.upload-current-item p {
  margin: 4px 0 0;
  overflow: hidden;
  color: #7b8497;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-queue-item em {
  min-width: 44px;
  border-radius: 7px;
  padding: 0.32rem 0.42rem;
  color: #7b8497;
  background: #f4f5f9;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.upload-queue-item em.active {
  color: #667085;
  background: #f7f9fd;
}

.upload-current-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.upload-check-section {
  display: grid;
  gap: 12px;
}

.upload-check-section h2 {
  margin: 0;
  color: #4f596b;
  font-size: 15px;
  font-weight: 800;
}

.upload-check-section h2 span {
  color: #ea5455;
}

.upload-platform-list {
  display: grid;
  gap: 8px;
}

.upload-check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4f596b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.upload-platform-list .upload-check-line {
  color: #616b80;
}

.upload-check-line input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--creator-primary);
}

.upload-check-line a {
  color: var(--creator-primary);
  font-weight: 800;
}

.upload-submit-row {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.upload-submit-button {
  width: min(300px, 100%);
  min-height: 48px;
}

.upload-workspace {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 14px;
  margin: 0;
}

.upload-overview-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(224, 228, 236, 0.76);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.026);
}

.upload-overview-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.upload-overview-icon,
.upload-platform-icon {
  display: grid;
  place-items: center;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
}

.upload-overview-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  font-size: 22px;
}

.upload-overview-copy strong {
  display: block;
  color: #4f596b;
  font-size: 15px;
  font-weight: 800;
}

.upload-overview-copy small {
  display: block;
  margin-top: 3px;
  color: #7b8497;
  font-size: 13px;
  font-weight: 600;
}

.upload-workspace .upload-form-shell {
  grid-template-columns: minmax(0, 1fr) minmax(328px, 356px);
  max-width: none;
  gap: 16px;
  margin: 0;
}

.upload-workspace .upload-main-column {
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(224, 228, 236, 0.78);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.026);
}

.upload-work-card {
  display: grid;
  gap: 14px;
  border-bottom: 1px solid rgba(224, 228, 236, 0.66);
  padding: 18px 20px;
  background: #fff;
}

.upload-work-card:last-child {
  border-bottom: 0;
}

.upload-workspace .upload-section-head {
  align-items: center;
  margin: 0;
}

.upload-section-head > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.upload-workspace .upload-section-head h2 {
  font-size: 16px;
}

.upload-section-head > div > span {
  color: #7b8497;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.upload-key-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 0.64rem;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.upload-workspace .upload-stat-line {
  justify-content: flex-end;
  margin: 0;
}

.upload-workspace .upload-stat-pill {
  border-color: rgba(255, 127, 157, 0.07);
  color: var(--creator-primary-dark);
  background: var(--creator-primary-tint);
  font-size: 13px;
}

.upload-workspace .upload-key-panel {
  border: 0;
  border-bottom: 1px solid rgba(224, 228, 236, 0.66);
  border-radius: 0;
  padding: 18px 20px;
  box-shadow: none;
}

.upload-workspace .upload-key-current {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(224, 228, 236, 0.62);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fafbfe;
}

.upload-key-current .upload-current-label {
  color: #7b8497;
  font-size: 12px;
  font-weight: 800;
}

.upload-workspace .upload-key-current strong {
  color: #4f596b;
  font-size: 15px;
  font-weight: 800;
}

.upload-workspace .upload-key-current em {
  color: var(--creator-primary-dark);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.upload-workspace .upload-key-options {
  max-height: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 0;
}

.upload-workspace .upload-key-option {
  min-height: 52px;
  border: 1px solid rgba(224, 228, 236, 0.76);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.upload-workspace .upload-key-option:hover {
  border-color: rgba(255, 127, 157, 0.14);
  background: #fafbfe;
}

.upload-workspace .upload-key-option.active {
  border-color: rgba(255, 125, 150, 0.34);
  color: var(--creator-primary-dark);
  background: var(--creator-primary-tint);
  box-shadow: inset 3px 0 0 rgba(255, 125, 150, 0.5);
}

.upload-workspace .upload-key-option span {
  display: grid;
  gap: 2px;
}

.upload-workspace .upload-key-option strong {
  overflow: hidden;
  color: #4f596b;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-workspace .upload-key-option em {
  overflow: hidden;
  color: #7b8497;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-workspace .upload-key-option small {
  margin-left: auto;
  color: #7b8497;
  font-size: 12px;
  font-weight: 800;
}

.upload-workspace .upload-rules {
  align-items: center;
  gap: 8px 16px;
  border: 1px solid rgba(224, 228, 236, 0.62);
  border-radius: 8px;
  margin: 0;
  padding: 10px 12px;
  color: #667085;
  background: #fafbfe;
}

.upload-workspace .upload-rules span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.upload-workspace .upload-rules i {
  color: var(--creator-primary-dark);
  font-size: 16px;
}

.upload-workspace .upload-rules strong {
  color: #4f596b;
  background: #fff;
}

.upload-drop-card {
  background: linear-gradient(180deg, #fff, #fcfcfd);
}

.upload-workspace .upload-drop {
  display: flex;
  min-height: 154px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-color: rgba(123, 132, 151, 0.24);
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #fafbfe 100%);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.upload-workspace .upload-drop:hover:not(:disabled) {
  border-color: rgba(255, 125, 150, 0.42);
  background: #fafbfe;
  box-shadow: 0 0.45rem 1rem rgba(255, 125, 150, 0.08);
  transform: translateY(-1px);
}

.upload-drop-icon {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  border-radius: 14px;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 32px;
}

.upload-drop-copy {
  display: grid;
  max-width: 560px;
  gap: 7px;
}

.upload-workspace .upload-drop-button strong {
  font-size: 18px;
}

.upload-workspace .upload-drop-button span,
.upload-workspace .upload-drop-button small {
  margin: 0;
}

.upload-publish-card {
  gap: 16px;
}

.upload-workspace .upload-platform-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.upload-platform-list .upload-check-line {
  display: grid;
  min-height: 76px;
  grid-template-columns: 18px 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(224, 228, 236, 0.76);
  border-radius: 8px;
  padding: 11px;
  background: #fff;
}

.upload-platform-list .upload-check-line:has(input:checked) {
  border-color: rgba(255, 125, 150, 0.28);
  background: var(--creator-primary-tint);
}

.upload-platform-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 18px;
}

.upload-platform-list .upload-check-line > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.upload-platform-list .upload-check-line strong {
  color: #4f596b;
  font-size: 14px;
  font-weight: 800;
}

.upload-platform-list .upload-check-line em {
  overflow: hidden;
  color: #7b8497;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-agreement {
  border: 1px solid rgba(224, 228, 236, 0.64);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fafbfe;
  font-size: 14px;
}

.upload-workspace .upload-submit-row {
  justify-content: flex-end;
  border-top: 1px solid rgba(224, 228, 236, 0.64);
  padding-top: 14px;
}

.upload-workspace .upload-submit-button {
  width: auto;
  min-width: 180px;
  min-height: 42px;
}

.upload-workspace .upload-side-panel {
  top: calc(var(--creator-page-head-top) + 18px);
  gap: 0;
}

.upload-monitor-card {
  gap: 14px;
  padding: 16px;
}

.upload-workspace .upload-side-card {
  border-color: rgba(224, 228, 236, 0.76);
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.028);
}

.upload-workspace .upload-side-head {
  min-height: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.upload-monitor-head h2 {
  font-size: 18px;
}

.upload-side-head p {
  margin: 3px 0 0;
  color: #7b8497;
  font-size: 12px;
  font-weight: 700;
}

.upload-side-subtitle {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.upload-side-divider {
  height: 1px;
  background: rgba(224, 228, 236, 0.72);
}

.upload-workspace .upload-queue-list,
.upload-workspace .upload-current-list {
  gap: 8px;
}

.upload-workspace .upload-queue-item {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  border-color: rgba(224, 228, 236, 0.7);
  padding: 10px;
}

.upload-workspace .upload-queue-thumb {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  font-size: 18px;
}

.upload-workspace .upload-queue-item em {
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
}

.upload-workspace .upload-queue-item em.active {
  color: #fff;
  background: var(--creator-primary);
}

.upload-workspace .upload-current-item {
  border-color: rgba(224, 228, 236, 0.7);
  padding: 10px;
}

.share-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.share-row {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.share-row span {
  color: #7a8496;
  font-size: 13px;
  font-weight: 700;
}

.share-row strong {
  color: var(--creator-primary-dark);
  font-size: 14px;
}

.video-cell,
.mini-video {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.video-cell strong,
.mini-video strong {
  display: block;
  overflow: hidden;
  color: #4f596b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-thumb {
  position: relative;
  display: grid;
  width: 68px;
  height: 44px;
  flex: 0 0 68px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.video-thumb::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 52%);
  content: "";
}

.video-thumb i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 15px;
}

.video-thumb.small {
  width: 54px;
  height: 38px;
  flex-basis: 54px;
}

.video-thumb.rose { background: radial-gradient(circle at 28% 24%, rgba(255, 125, 150, 0.42), transparent 30%), linear-gradient(135deg, #7d899e, #aeb8c7); }
.video-thumb.violet { background: linear-gradient(135deg, #7f8fa6, #b4bfce); }
.video-thumb.cyan { background: linear-gradient(135deg, #8093a8, #a7b8c8); }
.video-thumb.mint { background: linear-gradient(135deg, #5fb996, #9dccb8); }
.video-thumb.amber { background: linear-gradient(135deg, #d69758, #e2b06c); }
.video-thumb.blue { background: linear-gradient(135deg, #7187a6, #a0b1c8); }
.video-thumb.ink { background: linear-gradient(135deg, #334155, #8e98a8); }

.video-card-list {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.video-work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: 18px;
  border: 1px solid rgba(224, 228, 236, 0.82);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(76, 89, 114, 0.024);
}

.video-work-main {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.video-cover {
  position: relative;
  display: grid;
  min-height: 118px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.video-cover::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 58%);
  content: "";
}

.video-cover i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 22px;
}

.video-cover em {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 1;
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
  background: rgba(38, 48, 64, 0.48);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.video-cover.rose { background: radial-gradient(circle at 28% 24%, rgba(255, 125, 150, 0.42), transparent 30%), linear-gradient(135deg, #7d899e, #aeb8c7); }
.video-cover.violet { background: linear-gradient(135deg, #7f8fa6, #b4bfce); }
.video-cover.cyan { background: linear-gradient(135deg, #8093a8, #a7b8c8); }
.video-cover.mint { background: linear-gradient(135deg, #5fb996, #9dccb8); }
.video-cover.amber { background: linear-gradient(135deg, #d69758, #e2b06c); }
.video-cover.blue { background: linear-gradient(135deg, #7187a6, #a0b1c8); }
.video-cover.ink { background: linear-gradient(135deg, #334155, #8e98a8); }

.video-work-copy {
  min-width: 0;
}

.video-work-copy h3 {
  overflow: hidden;
  margin: 0;
  color: #4f596b;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
  color: #7a8496;
  font-size: 13px;
  font-weight: 700;
}

.publish-time {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #e5ebf4;
  border-radius: 999px;
  margin: 12px 0 10px;
  padding: 0.35rem 0.72rem;
  color: #7a8496;
  font-size: 13px;
  font-weight: 700;
}

.video-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.inline-action {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 7px;
  padding: 0 0.2rem;
  color: var(--creator-primary-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.inline-action:hover {
  color: var(--creator-primary);
}

.inline-action.green {
  color: #0b8f3a;
}

.video-platform-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.video-platform-title {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: #7a8496;
  font-size: 13px;
}

.video-platform-title strong {
  color: #4f596b;
}

.video-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0 0.72rem;
  color: #667085;
  background: #f6f8fc;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.platform-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.35rem 0.8rem rgba(76, 89, 114, 0.045);
}

.platform-toggle small {
  color: currentColor;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.82;
}

.platform-toggle.is-online {
  color: #fff;
  background: #16a34a;
}

.platform-toggle.is-rejected {
  color: #fff;
  background: #ff9f43;
}

.platform-toggle.is-processing {
  color: #fff;
  background: #64748b;
}

.platform-toggle.is-pending {
  color: #7a8496;
  background: #eef0f6;
}

.video-edit-panel {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 127, 157, 0.1);
  border-radius: 8px;
  padding: 14px;
  background: #fafbfe;
}

.video-edit-panel .section-line {
  margin-bottom: 12px;
}

.mini-close {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.reupload-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mini-video-list {
  display: grid;
  gap: 12px;
}

.mini-video {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.key-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.key-meta-grid > div {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  background: #fafbfe;
}

.key-meta-grid span {
  display: block;
  color: #7b8497;
  font-size: 12px;
  font-weight: 700;
}

.key-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: #4f596b;
  font-size: 14px;
}

.key-policy-panel,
.key-work-card,
.key-list-head {
  border: 1px solid rgba(224, 228, 236, 0.78);
  border-radius: 8px;
  background: #fff;
}

.key-policy-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px 18px;
}

.key-policy-count {
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid #edf2f7;
}

.key-policy-count span,
.key-stat-item span,
.cover-picker > span {
  color: #7b8497;
  font-size: 12px;
  font-weight: 800;
}

.key-policy-count strong {
  width: max-content;
  border: 1px solid #edf2f7;
  border-radius: 7px;
  padding: 0.34rem 0.58rem;
  color: #4f596b;
  background: #f8faff;
  font-size: 18px;
  line-height: 1;
}

.key-policy-count em {
  color: #4f596b;
  font-style: normal;
  font-weight: 800;
}

.key-policy-notice {
  display: grid;
  gap: 8px;
  border-left: 3px solid rgba(255, 125, 150, 0.42);
  border-radius: 8px;
  padding: 14px 16px;
  color: #667085;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(224, 228, 236, 0.72);
}

.key-policy-notice p {
  display: flex;
  gap: 9px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.key-policy-notice i {
  margin-top: 3px;
  color: var(--creator-primary-dark);
}

.key-list-head h2 {
  color: #4f596b;
  font-size: 18px;
  font-weight: 800;
}

.key-list-head p {
  margin: 6px 0 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.55;
}

.key-page-grid {
  grid-template-columns: minmax(0, 1fr);
}

.keys-page .console-page-head p {
  max-width: 1060px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.key-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.key-list-head h2 {
  margin: 0;
}

.key-work-list {
  display: grid;
  gap: 14px;
}

.key-work-card {
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.key-work-card.active,
.key-work-card:hover {
  border-color: rgba(255, 125, 150, 0.22);
  box-shadow: 0 0.45rem 1.2rem rgba(76, 89, 114, 0.045);
}

.key-card-main,
.key-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
}

.key-card-main {
  border-bottom: 1px solid #edf2f7;
}

.key-title-button {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 13px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.key-title-button span:last-child {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.key-title-button strong {
  overflow: hidden;
  color: #4f596b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-title-button em {
  overflow: hidden;
  color: #667085;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.key-cover,
.cover-preview,
.cover-options button {
  background: linear-gradient(135deg, #7b879c, #aeb8c7);
}

.key-cover {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.key-card-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.key-card-actions .kdb-btn {
  min-height: 38px;
  border-color: transparent;
  color: #667085;
  background: #f6f8fc;
  box-shadow: none;
}

.key-card-actions .kdb-btn:hover {
  border-color: transparent;
  color: var(--creator-primary-dark);
  background: var(--creator-primary-soft);
  box-shadow: 0 0.25rem 0.75rem rgba(255, 127, 157, 0.07);
}

.key-stat-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px;
  background: #fafbfe;
}

.key-stat-item {
  display: grid;
  gap: 6px;
  border-left: 3px solid rgba(255, 125, 150, 0.28);
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
}

.key-stat-item strong {
  width: max-content;
  max-width: 100%;
  border: 1px solid #edf2f7;
  border-radius: 6px;
  padding: 0.18rem 0.46rem;
  color: #4f596b;
  background: #fffafb;
  font-size: 13px;
  font-weight: 800;
}

.key-card-foot {
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.key-readonly-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 127, 157, 0.09);
  border-radius: 8px;
  padding: 12px 14px;
  color: #667085;
  background: #fafbfe;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.key-readonly-note i {
  color: #ff7d96;
  font-size: 18px;
}

.readonly-copy {
  margin: 12px 0 0;
}

.key-drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: flex-end;
  background: rgba(38, 48, 64, 0.36);
}

.key-settings-drawer {
  display: grid;
  width: min(520px, 100vw);
  height: 100vh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  box-shadow: -0.5rem 0 1.5rem rgba(76, 89, 114, 0.07);
}

.sales-settings-drawer {
  width: min(760px, 100vw);
}

.key-settings-drawer.library-drawer {
  width: min(780px, 100vw);
}

.drawer-head,
.drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
}

.drawer-head {
  border-bottom: 1px solid #edf2f7;
}

.drawer-head h2 {
  margin: 0;
  color: #4f596b;
  font-size: 20px;
  font-weight: 800;
}

.drawer-head p {
  margin: 6px 0 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.5;
}

.drawer-body {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 18px 22px;
}

.sales-drawer-body {
  gap: 16px;
  background: #fafbfe;
}

.drawer-foot {
  justify-content: flex-end;
  border-top: 1px solid #edf2f7;
}

.field-count {
  justify-self: end;
  color: #9aa3b4;
  font-size: 12px;
  font-weight: 700;
}

.sales-section {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(224, 228, 236, 0.74);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.sales-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sales-mode-card {
  position: relative;
  display: grid;
  min-height: 148px;
  gap: 8px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 16px 42px 16px 16px;
  color: #667085;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.sales-mode-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 125, 150, 0.28);
  box-shadow: 0 0.35rem 0.95rem rgba(38, 48, 64, 0.07);
}

.sales-mode-card.active {
  border-color: var(--creator-primary);
  background: var(--creator-primary-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 125, 150, 0.22);
}

.sales-mode-card i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--creator-primary);
  background: var(--creator-primary-soft);
  font-size: 20px;
}

.sales-mode-card strong {
  color: #4f596b;
  font-size: 16px;
  font-weight: 800;
}

.sales-mode-card p {
  margin: 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.5;
}

.mode-radio {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid #d8d7df;
  border-radius: 999px;
  background: #fff;
}

.sales-mode-card.active .mode-radio {
  border-color: var(--creator-primary);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--creator-primary);
}

.sales-price-grid,
.discount-builder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.discount-builder {
  align-items: end;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.discount-table {
  overflow: hidden;
  border: 1px solid #edf2f7;
  border-radius: 8px;
}

.discount-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) 70px;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf2f7;
  padding: 0 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.discount-row:first-child {
  border-top: 0;
}

.discount-head {
  min-height: 42px;
  color: #7b8497;
  background: #f8faff;
  font-size: 12px;
  font-weight: 800;
}

.discount-row strong {
  color: #4f596b;
}

.empty-discount {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(123, 132, 151, 0.3);
  border-radius: 8px;
  color: #9aa3b4;
  background: #fafbfe;
  font-size: 13px;
  font-weight: 700;
}

.empty-discount i {
  color: var(--creator-primary);
  font-size: 22px;
}

.free-episode-control {
  display: grid;
  grid-template-columns: 38px 96px 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.free-episode-control input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #e8eef6;
  border-radius: 7px;
  color: #4f596b;
  text-align: center;
  font: inherit;
  font-weight: 800;
}

.free-episode-control p {
  margin: 0;
  color: #7b8497;
  font-size: 13px;
  line-height: 1.45;
}

.cover-picker {
  display: grid;
  gap: 10px;
}

.cover-preview {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: end;
  gap: 8px;
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  overflow: hidden;
}

.cover-preview::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.26));
  content: "";
}

.cover-preview i,
.cover-preview strong {
  position: relative;
  z-index: 1;
}

.cover-preview i {
  font-size: 28px;
}

.cover-preview strong {
  font-size: 18px;
  font-weight: 800;
}

.cover-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cover-options button {
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #e8eef6;
  cursor: pointer;
}

.cover-options button.active {
  box-shadow: 0 0 0 2px rgba(255, 125, 150, 0.54);
}

.key-cover.rose,
.cover-preview.rose,
.cover-options .rose,
.mini-icon.rose { background: radial-gradient(circle at 28% 24%, rgba(255, 125, 150, 0.42), transparent 30%), linear-gradient(135deg, #7d899e, #aeb8c7); color: #fff; }

.key-cover.violet,
.cover-preview.violet,
.cover-options .violet,
.mini-icon.violet { background: linear-gradient(135deg, #7f8fa6, #b4bfce); color: #fff; }

.key-cover.cyan,
.cover-preview.cyan,
.cover-options .cyan,
.mini-icon.cyan { background: linear-gradient(135deg, #8093a8, #a7b8c8); color: #fff; }

.key-cover.mint,
.cover-preview.mint,
.cover-options .mint,
.mini-icon.mint { background: linear-gradient(135deg, #5fb996, #9dccb8); color: #fff; }

.key-cover.ink,
.cover-preview.ink,
.cover-options .ink,
.mini-icon.ink { background: linear-gradient(135deg, #334155, #8e98a8); color: #fff; }

.key-cover.blue,
.cover-preview.blue,
.cover-options .blue,
.mini-icon.blue { background: linear-gradient(135deg, #7187a6, #a0b1c8); color: #fff; }

.text-link {
  color: var(--creator-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.queue-list,
.timeline-list,
.settings-list,
.notice-list {
  display: grid;
  gap: 12px;
}

.queue-item,
.timeline-item,
.settings-item,
.notice-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.mini-icon {
  width: 38px;
  height: 38px;
  color: #ff7d96;
  background: #fff4f7;
  font-size: 20px;
}

.mini-icon.green { color: #18864b; background: rgba(40, 199, 111, 0.13); }
.mini-icon.cyan { color: #64748b; background: rgba(100, 116, 139, 0.13); }
.mini-icon.amber { color: #b85d00; background: rgba(255, 159, 67, 0.16); }
.mini-icon.red { color: #b92e38; background: rgba(234, 84, 85, 0.14); }
.detail-hero .mini-icon.rose { color: #fff; background: radial-gradient(circle at 28% 24%, rgba(255, 125, 150, 0.42), transparent 30%), linear-gradient(135deg, #7d899e, #aeb8c7); }
.detail-hero .mini-icon.violet { color: #fff; background: linear-gradient(135deg, #7f8fa6, #b4bfce); }
.detail-hero .mini-icon.cyan { color: #fff; background: linear-gradient(135deg, #8093a8, #a7b8c8); }
.detail-hero .mini-icon.mint { color: #fff; background: linear-gradient(135deg, #5fb996, #9dccb8); }
.detail-hero .mini-icon.ink { color: #fff; background: linear-gradient(135deg, #334155, #8e98a8); }
.detail-hero .mini-icon.blue { color: #fff; background: linear-gradient(135deg, #7187a6, #a0b1c8); }

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

.kuaishou-main,
.ks-work-list,
.kuaishou-rail,
.ks-rail-list,
.ks-help-list {
  display: grid;
  gap: 14px;
}

.kuaishou-title-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.kuaishou-title-line h2 {
  margin: 0;
  color: #263244;
  font-size: 20px;
  font-weight: 800;
}

.kuaishou-title-line p {
  margin: 6px 0 0;
  color: #7b8497;
  font-size: 14px;
}

.kuaishou-title-line strong {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 6px;
  padding: 0 7px;
  color: #fff;
  background: var(--creator-primary);
  font-size: 12px;
}

.ks-work-card {
  overflow: hidden;
}

.ks-work-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf2f7;
  padding: 0 16px;
}

.ks-work-head strong {
  min-width: 0;
  overflow: hidden;
  color: #263244;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ks-work-body {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: start;
  padding: 16px;
}

.ks-cover {
  display: grid;
  width: 88px;
  height: 124px;
  flex-basis: auto;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 12px 8px;
  text-align: center;
  box-shadow: none;
}

.ks-cover i {
  font-size: 18px;
}

.ks-cover strong {
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
  word-break: break-all;
}

.ks-work-info {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
  padding-top: 2px;
}

.ks-title-button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: #263244;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.ks-title-button:hover {
  color: var(--creator-primary-dark);
}

.ks-meta-block,
.ks-meta-line,
.ks-meta-inline {
  display: flex;
  gap: 8px;
}

.ks-meta-block {
  flex-direction: column;
  color: #647084;
  font-size: 12.5px;
  line-height: 1.48;
}

.ks-meta-inline {
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 4px;
}

.ks-meta-inline strong {
  color: #374151;
  font-weight: 800;
}

.ks-status,
.ks-episode-row em {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 6px;
  padding: 0.14rem 0.45rem;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 800;
}

.ks-status.nopush,
.ks-episode-row em.nopush {
  color: #64748b;
  background: #f1f5f9;
}

.ks-status.success,
.ks-episode-row em.success {
  color: #15803d;
  background: rgba(34, 197, 94, 0.14);
}

.ks-status.pending,
.ks-episode-row em.pending {
  color: #a35b00;
  background: rgba(255, 159, 67, 0.16);
}

.ks-status.rejected,
.ks-episode-row em.rejected {
  color: #b92e38;
  background: rgba(234, 84, 85, 0.14);
}

.ks-reject-text {
  margin: 0;
  color: #b92e38;
  font-size: 12px;
}

.ks-actions {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.ks-actions .kdb-btn {
  min-height: 32px;
  padding: 0.38rem 0.68rem;
  font-size: 12px;
  white-space: nowrap;
}

.ks-actions .kdb-btn-danger {
  color: #fff;
}

.ks-action-success {
  border-color: rgba(40, 199, 111, 0.22);
  color: #18864b;
  background: rgba(40, 199, 111, 0.11);
}

.ks-action-success:hover {
  border-color: rgba(40, 199, 111, 0.32);
  color: #18864b;
  background: rgba(40, 199, 111, 0.16);
}

.kuaishou-rail {
  position: sticky;
  top: 94px;
}

.kuaishou-rail .kdb-card {
  padding: 16px;
}

.ks-rail-list button,
.ks-help-list a {
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 7px;
  padding: 10px;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.ks-rail-list button:hover,
.ks-help-list a:hover {
  background: #f7f9fd;
}

.ks-rail-list strong,
.ks-help-list span {
  color: #4f596b;
  font-size: 13px;
  font-weight: 800;
}

.ks-rail-list span {
  color: #9aa3b4;
  font-size: 12px;
}

.ks-help-list a {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.ks-help-list i {
  color: var(--creator-primary);
  font-size: 18px;
}

.ks-submit-drawer {
  width: min(780px, 100vw);
}

.ks-submit-body {
  background: #fafbfe;
}

.ks-form-section {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(224, 228, 236, 0.76);
  border-radius: 8px;
  padding: 15px;
  background: #fff;
}

.ks-form-section h3,
.ks-section-head h3 {
  margin: 0;
  color: #4f596b;
  font-size: 15px;
  font-weight: 800;
}

.ks-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ks-person-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px auto;
  gap: 8px;
  align-items: center;
}

.ks-person-row.actor {
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr) auto;
}

.ks-person-row.screenwriter {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ks-person-row input,
.ks-person-row select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #e8eef6;
  border-radius: 7px;
  padding: 0.52rem 0.72rem;
  color: #616b80;
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.ks-person-row input:focus,
.ks-person-row select:focus {
  border-color: rgba(255, 125, 150, 0.48);
  box-shadow: 0 0 0 0.18rem rgba(255, 127, 157, 0.08);
}

.ks-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(38, 48, 64, 0.36);
}

.ks-modal-card {
  display: grid;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(38, 48, 64, 0.14);
}

.ks-modal-head,
.ks-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf2f7;
  padding: 16px 18px;
}

.ks-modal-foot {
  border-top: 1px solid #edf2f7;
  border-bottom: 0;
}

.ks-modal-head h2 {
  margin: 0;
  color: #263244;
  font-size: 19px;
  font-weight: 800;
}

.ks-modal-head p {
  margin: 5px 0 0;
  color: #7b8497;
  font-size: 13px;
}

.ks-detail-body {
  overflow: auto;
  padding: 18px;
}

.ks-detail-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ks-detail-summary h3 {
  margin: 0 0 8px;
  color: #263244;
  font-size: 18px;
  font-weight: 800;
}

.ks-detail-summary p {
  margin: 0 0 12px;
  color: #647084;
  line-height: 1.7;
}

.ks-detail-summary dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ks-detail-summary dl div {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 10px;
  background: #fbfcff;
}

.ks-detail-summary dt {
  color: #9aa3b4;
  font-size: 12px;
}

.ks-detail-summary dd {
  margin: 4px 0 0;
  color: #4f596b;
  font-size: 14px;
  font-weight: 800;
}

.ks-episode-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ks-episode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px dashed #e8eef6;
  padding: 10px 0;
  color: #4f596b;
  font-size: 14px;
}

.ks-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.ks-video-modal {
  width: min(1120px, 100%);
}

.ks-video-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf2f7;
  padding: 12px 18px;
  color: #647084;
  font-size: 13px;
}

.ks-video-toolbar strong {
  color: var(--creator-primary-dark);
}

.ks-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: auto;
  padding: 16px 18px;
}

.ks-video-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ks-video-item:hover {
  border-color: rgba(var(--creator-primary-rgb), 0.3);
  background: #f8fbff;
  box-shadow: 0 0.35rem 1rem rgba(var(--creator-primary-rgb), 0.08);
}

.ks-video-item.selected {
  border-color: var(--creator-primary);
  background: var(--creator-primary-tint);
}

.ks-video-item.disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.ks-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #dfe6f0;
  border-radius: 6px;
  color: transparent;
  background: #fff;
}

.ks-check.active {
  border-color: var(--creator-primary);
  color: #fff;
  background: var(--creator-primary);
}

.ks-check.disabled {
  color: #9aa3b4;
  background: #f1f5f9;
}

.ks-video-thumb {
  width: 86px;
  height: 62px;
  border-radius: 7px;
  font-size: 22px;
}

.ks-video-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.ks-video-copy strong {
  overflow: hidden;
  color: #263244;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ks-video-copy em,
.ks-video-copy small {
  color: #647084;
  font-size: 12px;
  font-style: normal;
}

.progress-rail {
  height: 6px;
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
  background: #f1f1f3;
}

.progress-rail span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--creator-primary), #a8b1c2);
}

.switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e8eef6;
  border-radius: 7px;
  padding: 0.55rem 0.72rem;
  color: #667085;
  background: #fff;
  font-weight: 700;
}

.check-pill input {
  width: 16px;
  height: 16px;
  accent-color: #ff7d96;
}

.mode-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

button.mode-card {
  width: 100%;
  border: 1px solid rgba(224, 228, 236, 0.72);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mode-card h3,
.step-card h3 {
  margin: 0;
  color: #4f596b;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.mode-card.active {
  border-color: rgba(255, 125, 150, 0.3);
  background: var(--creator-primary-tint);
}

.pricing-row {
  display: grid;
  grid-template-columns: 170px repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.pricing-head {
  align-items: center;
  border-radius: 7px;
  padding: 10px 12px;
  color: #7a8496;
  background: #f8faff;
  font-size: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(224, 228, 236, 0.72);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 18px 18px;
  background: transparent;
  box-shadow: none;
}

.step-card + .step-card {
  border-left: 1px solid rgba(224, 228, 236, 0.64);
}

.stepper .mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 15px;
  grid-row: span 2;
}

.step-card h3 {
  font-size: 14px;
  line-height: 1.28;
}

.step-card p {
  line-height: 1.45;
}

.step-card::after {
  display: none;
}

.step-card:last-child::after {
  content: none;
}

.invite-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.qr-card {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, #4f596b 0 6px, transparent 6px 12px),
    #fff;
  background-blend-mode: soft-light;
}

.qr-card span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--creator-primary);
  font-weight: 800;
}

.accordion-list {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid #edf2f7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.accordion-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 14px;
  color: #4f596b;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.accordion-body {
  border-top: 1px solid #edf2f7;
  padding: 14px;
  color: #7a8496;
  line-height: 1.7;
}

.empty-hint {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed rgba(224, 228, 236, 0.95);
  border-radius: 8px;
  padding: 26px;
  color: #7a8496;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.empty-hint strong {
  color: #4f596b;
  font-size: 16px;
}

.empty-hint p {
  max-width: 360px;
  margin: 0;
  line-height: 1.65;
}

.notice-item {
  cursor: pointer;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  border: 0;
  border-bottom: 1px solid rgba(224, 228, 236, 0.62);
  border-radius: 0;
  padding: 14px 4px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: background 0.18s ease, padding 0.18s ease;
}

.notice-item:hover {
  padding-right: 8px;
  padding-left: 8px;
  background: rgba(248, 247, 250, 0.78);
}

.notice-item.unread {
  background: transparent;
}

.notice-item:last-child {
  border-bottom: 0;
}

.notice-item .mini-icon {
  justify-self: start;
}

.notice-item > div {
  min-width: 0;
}

.notice-item strong {
  display: block;
  overflow: hidden;
  color: #3f3b52;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-item.unread strong {
  color: #4f596b;
  font-weight: 850;
}

.notice-item p {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notice-icon {
  color: #9ca3b5;
  background: #f6f8fc;
}

.notice-icon.is-unread {
  color: var(--creator-primary);
}

.notice-icon.is-read {
  color: #28a765;
}

.notice-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  color: var(--creator-muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.notice-date span {
  border-radius: 7px;
  padding: 0.38rem 0.6rem;
  background: transparent;
}

.notice-date i {
  color: #b8b5c4;
  font-size: 16px;
}

.message-reader {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
}

.message-reader-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid rgba(224, 228, 236, 0.74);
  padding-bottom: 20px;
}

.message-reader-head h2 {
  margin: 0;
  color: #4f596b;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 850;
}

.message-reader-head p {
  margin: 8px 0 0;
}

.message-reader-body {
  display: grid;
  gap: 16px;
  padding: 22px 0 6px;
}

.message-reader-body p {
  margin: 0;
  color: #616b80;
  font-size: 15px;
  line-height: 1.9;
}

.message-reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(224, 228, 236, 0.74);
  margin-top: 20px;
  padding-top: 18px;
}

.auth-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.auth-avatar-big {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--creator-primary), #a8b1c2);
  font-size: 48px;
}

.kdb-card > .form-field + .form-field {
  margin-top: 14px;
}

.kdb-card > .kdb-btn:last-child {
  margin-top: 14px;
}

.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  color: #7a8496;
  font-size: 13px;
}

.footer-brand-mini,
.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-mini-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 17px;
}

.footer-copy strong {
  color: var(--creator-primary-dark);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  background: #4f596b;
  box-shadow: 0 0.75rem 1.8rem rgba(38, 48, 64, 0.22);
  font-weight: 700;
}

.toast-pop-enter-active,
.toast-pop-leave-active {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast-pop-enter-from,
.toast-pop-leave-to {
  opacity: 0;
  transform: translateY(8px);
}

.sidebar-scrim {
  display: none;
}

@media (max-width: 1240px) {
  .book-grid,
  .card-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .creator-console {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .creator-brand {
    justify-content: center;
    padding-right: 10px;
    padding-left: 10px;
  }

  .creator-brand-text,
  .creator-side-section,
  .creator-side-link .side-copy {
    display: none;
  }

  .creator-side-link {
    justify-content: center;
    min-height: 52px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .side-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .creator-side-link .side-badge {
    position: absolute;
    top: 4px;
    right: 8px;
  }

  .dashboard-layout,
  .page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-grid,
  .flow-strip,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .key-policy-panel,
  .key-stat-panel,
  .sales-mode-grid,
  .sales-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upload-form-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-side-panel {
    position: static;
  }

  .key-policy-count {
    border-right: 0;
  }

  .key-card-main,
  .key-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .key-card-actions {
    justify-content: flex-start;
  }

  .pricing-row,
  .discount-builder,
  .stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card::after {
    display: none;
  }

  .step-card:nth-child(odd) {
    border-left: 0;
  }

  .step-card:nth-child(n + 3) {
    border-top: 1px solid rgba(224, 228, 236, 0.64);
  }
}

@media (max-width: 760px) {
  .creator-console {
    display: block;
  }

  .creator-sidebar {
    position: fixed;
    left: 0;
    width: 318px;
    transform: translateX(-102%);
    transition: transform 0.2s ease;
  }

  .creator-console.is-sidebar-open .creator-sidebar {
    transform: translateX(0);
  }

  .creator-brand {
    justify-content: flex-start;
    padding-right: 18px;
    padding-left: 18px;
  }

  .creator-brand-text,
  .creator-side-section,
  .creator-side-link .side-copy {
    display: block;
  }

  .creator-side-link {
    justify-content: flex-start;
    min-height: 68px;
  }

  .creator-side-link .side-badge {
    position: static;
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    background: rgba(38, 48, 64, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .creator-console.is-sidebar-open .sidebar-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-button {
    display: grid;
  }

  .creator-topbar {
    position: static;
    min-height: auto;
    flex-wrap: wrap;
    margin: 10px 12px 0;
    padding: 10px;
  }

  .creator-user-meta {
    display: none;
  }

  .creator-content {
    padding: 18px 12px 22px;
  }

  .console-page-head,
  .profile-panel,
  .filter-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .console-page-head {
    margin: 0 0 18px;
  }

  .console-page-head::after {
    display: none;
  }

  .console-page-head h1 {
    font-size: 25px;
  }

  .console-page-head p {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .profile-actions {
    justify-content: flex-start;
  }

  .metric-grid,
  .platform-grid,
  .flow-strip,
  .library-info-grid,
  .library-sample-overview,
  .library-sample-path,
  .library-sample-decision-grid,
  .library-auth-flow,
  .key-policy-panel,
  .key-stat-panel,
  .sales-mode-grid,
  .sales-price-grid,
  .discount-builder,
  .book-grid,
  .card-grid-3,
  .card-grid-4,
  .form-grid,
  .form-grid-3,
  .pricing-row,
  .stepper {
    grid-template-columns: minmax(0, 1fr);
  }

  .key-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .key-title-button strong,
  .key-title-button em {
    white-space: normal;
  }

  .key-card-actions,
  .key-card-actions .kdb-btn {
    width: 100%;
  }

  .key-settings-drawer {
    width: 100vw;
  }

  .library-auth-flow > div + div {
    border-top: 1px solid rgba(224, 228, 236, 0.68);
    border-left: 0;
  }

  .library-drawer-hero {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: flex-start;
    padding: 14px;
  }

  .library-drawer-cover {
    width: 82px;
    height: 104px;
    font-size: 26px;
  }

  .library-hero-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .library-hero-sample-btn {
    min-width: 88px;
  }

  .library-reader-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .library-novel-reader-head,
  .library-letter-head {
    flex-direction: column;
  }

  .library-reader-actions,
  .library-reader-actions .reader-nav-btn,
  .library-letter-head .kdb-btn {
    width: 100%;
  }

  .library-reader-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-auth-flow {
    gap: 10px;
    padding: 12px;
    background: #fff;
  }

  .library-auth-step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .library-stage-grid,
  .library-letter-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .library-auth-stage-panel {
    padding: 14px;
  }

  .library-letter-action-card {
    min-height: 78px;
  }

  .library-sample-reader-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .library-sample-range {
    justify-self: start;
    grid-column: 2;
  }

  .discount-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .discount-head {
    display: none;
  }

  .free-episode-control {
    grid-template-columns: 38px 96px 38px;
  }

  .free-episode-control p {
    grid-column: 1 / -1;
  }

  .span-2,
  .span-full {
    grid-column: auto;
  }

  .video-work-card,
  .video-work-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card + .step-card {
    border-left: 0;
    border-top: 1px solid rgba(224, 228, 236, 0.64);
  }

  .video-cover {
    min-height: 170px;
  }

  .video-edit-panel {
    grid-column: auto;
  }

  .video-filter-selects {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .video-filter-selects .compact-select {
    width: 100%;
  }

  .upload-form-shell {
    gap: 16px;
  }

  .upload-stat-line {
    gap: 8px;
    font-size: 14px;
  }

  .upload-key-panel {
    padding: 16px;
  }

  .upload-key-current {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-key-options {
    max-height: 260px;
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-head-action {
    width: 100%;
  }

  .upload-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-episode-panel {
    padding: 16px;
  }

  .upload-episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-drop-button {
    min-height: 190px;
    padding: 20px 14px;
  }

  .queue-item,
  .timeline-item,
  .settings-item,
  .notice-item,
  .auth-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .notice-item > div {
    grid-column: 2;
  }

  .notice-date {
    grid-column: 2;
    justify-self: start;
  }

  .message-reader {
    padding: 18px;
  }

  .message-reader-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .invite-link {
    grid-template-columns: minmax(0, 1fr);
  }

  .console-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1180px) {
  .upload-workspace .upload-form-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-workspace .upload-side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .upload-overview-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-workspace .upload-stat-line {
    justify-content: flex-start;
  }

  .upload-workspace .upload-key-options,
  .upload-workspace .upload-platform-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-work-card,
  .upload-workspace .upload-key-panel {
    padding: 16px;
  }

  .upload-workspace .upload-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-workspace .upload-key-current {
    align-items: flex-start;
    flex-direction: column;
  }

  .upload-workspace .upload-drop {
    align-items: center;
    flex-direction: column;
    min-height: 190px;
    text-align: center;
  }

  .upload-workspace .upload-submit-row {
    justify-content: stretch;
  }

  .upload-workspace .upload-submit-button {
    width: 100%;
  }

  .upload-platform-list .upload-check-line {
    grid-template-columns: 18px 34px minmax(0, 1fr);
  }
}

/* Refined admin pass: lighter lines, cleaner text color, slimmer icon feel. */
.creator-console-body {
  color: var(--creator-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.creator-console {
  background:
    linear-gradient(180deg, rgba(250, 249, 255, 0.96) 0%, rgba(243, 248, 253, 0.94) 45%, rgba(249, 251, 254, 0.98) 100%);
}

.creator-sidebar {
  border-right-color: #eef2f7;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: none;
}

.creator-brand-mark,
.creator-avatar,
.footer-mini-logo {
  background: linear-gradient(135deg, #ff86a2 0%, #ff7094 100%);
  box-shadow: 0 10px 24px rgba(var(--creator-primary-rgb), 0.14);
}

.creator-brand strong,
.console-page-head h1,
.section-line h2,
.card-title,
.upload-section-head h2,
.upload-side-head h2,
.key-list-head h2,
.drawer-head h2,
.book-body h3,
.item-title,
.video-work-copy h3 {
  color: var(--creator-ink);
  font-weight: 700;
}

.creator-brand small,
.console-page-head p,
.section-line p,
.muted,
.book-body p,
.video-work-meta,
.upload-side-head p,
.drawer-head p,
.key-list-head p {
  color: var(--creator-muted);
  font-weight: 500;
}

.creator-side-section {
  color: var(--side-section);
  font-weight: 700;
}

.creator-side-link {
  border-radius: 8px;
  font-weight: 600;
}

.side-icon,
.metric-icon,
.mini-icon,
.upload-overview-icon,
.upload-platform-icon,
.upload-drop-icon,
.upload-queue-thumb {
  background: #f6f8fc;
  color: #8f9aae;
}

.side-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 9px;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.045);
}

.creator-console .ti {
  line-height: 1;
  opacity: 0.92;
}

.side-copy strong {
  color: var(--side-title);
  font-weight: 600;
}

.side-copy small {
  color: var(--side-desc);
  font-weight: 500;
}

.creator-sidebar .creator-side-link:hover:not(.active) {
  border-color: rgba(var(--creator-primary-rgb), 0.08);
  background: rgba(255, 250, 252, 0.74);
}

.creator-sidebar .creator-side-link.active {
  border-color: rgba(var(--creator-primary-rgb), 0.12);
  background: linear-gradient(90deg, rgba(255, 245, 248, 0.94), rgba(252, 247, 255, 0.88));
}

.creator-sidebar .creator-side-link.active .side-icon {
  background: linear-gradient(135deg, #ff86a2 0%, #ff7094 100%);
  box-shadow: 0 8px 18px rgba(var(--creator-primary-rgb), 0.14);
}

.creator-sidebar .creator-side-link.active .side-copy strong {
  color: var(--creator-primary-dark);
  font-weight: 700;
}

.creator-topbar {
  border-bottom-color: #eef2f7;
  background: rgba(255, 255, 255, 0.99);
}

.mobile-menu-button,
.icon-button {
  border-color: #e8eef6;
  color: #8c98ac;
  background: #fff;
  box-shadow: 0 6px 16px rgba(64, 79, 108, 0.045);
}

.mobile-menu-button i,
.icon-button i {
  font-size: 17px;
}

.console-page-head h1 {
  color: #405068;
  font-weight: 700;
}

.console-page-head p {
  color: #8793a8;
}

.title-brush-lite::before {
  background: linear-gradient(90deg, rgba(var(--creator-primary-rgb), 0.11), rgba(148, 163, 184, 0.075));
}

.kdb-card,
.metric-card,
.table-panel,
.profile-panel,
.soft-card,
.upload-episode-panel,
.upload-side-card,
.upload-overview-panel,
.upload-workspace .upload-main-column,
.upload-workspace .upload-side-card,
.video-work-card,
.mini-video,
.key-policy-panel,
.key-work-card,
.key-list-head,
.key-readonly-note,
.sales-section,
.library-drawer-hero,
.library-reader-panel,
.library-sample-overview,
.library-sample-reader,
.library-reader-chapters,
.library-novel-reader,
.library-sample-decision-grid > div,
.library-auth-flow,
.library-auth-stage-panel,
.library-auth-note,
.library-letter-panel,
.library-info-item,
.messages-panel {
  border-color: rgba(226, 232, 240, 0.74);
  box-shadow: 0 10px 28px rgba(64, 79, 108, 0.032);
}

.kdb-btn {
  border-color: rgba(var(--creator-primary-rgb), 0.16);
  color: var(--creator-primary-dark);
  font-weight: 600;
  box-shadow: none;
}

.kdb-btn:hover {
  border-color: rgba(var(--creator-primary-rgb), 0.24);
  box-shadow: 0 8px 18px rgba(var(--creator-primary-rgb), 0.08);
}

.kdb-btn-primary {
  border-color: transparent;
  color: #fff;
  background: #ff7094;
  box-shadow: 0 9px 20px rgba(var(--creator-primary-rgb), 0.16);
}

.kdb-btn-primary:hover {
  color: #fff;
  background: #f26588;
  box-shadow: 0 10px 22px rgba(var(--creator-primary-rgb), 0.18);
}

.kdb-btn-soft,
.badge-pill,
.upload-key-chip,
.upload-section-head span,
.upload-side-head span,
.upload-side-head a,
.book-sample,
.key-stat-item strong {
  background: #fff6f8;
  color: #f26588;
  font-weight: 600;
}

.badge-pill.gray {
  color: #8a96aa;
  background: #f5f7fb;
}

.chip {
  color: #8591a6;
  background: #f5f7fb;
  font-weight: 600;
}

.chip.active {
  background: #ff7094;
  color: #fff;
}

.metric-value {
  color: #46556d;
  font-weight: 700;
}

.metric-top,
.data-table th,
.compact-select,
.field input,
.field select,
.field textarea,
.form-field input,
.form-field select,
.form-field textarea,
.control-input {
  color: #7b879b;
}

.field input,
.field select,
.field textarea,
.form-field input,
.form-field select,
.form-field textarea,
.control-input,
.compact-select,
.upload-key-option,
.upload-workspace .upload-key-option,
.upload-platform-list .upload-check-line,
.video-edit-panel,
.key-meta-grid > div,
.queue-item,
.timeline-item,
.settings-item,
.notice-item,
.accordion-item,
.check-pill {
  border-color: #edf2f7;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.control-input:focus {
  border-color: rgba(var(--creator-primary-rgb), 0.34);
  box-shadow: 0 0 0 3px rgba(var(--creator-primary-rgb), 0.08);
}

.upload-key-panel,
.key-policy-notice,
.key-stat-item {
  border-left-color: rgba(var(--creator-primary-rgb), 0.22);
}

.upload-key-option.active,
.upload-workspace .upload-key-option.active,
.sales-mode-card.active {
  border-color: rgba(var(--creator-primary-rgb), 0.24);
  background: rgba(255, 247, 250, 0.82);
  box-shadow: inset 2px 0 0 rgba(var(--creator-primary-rgb), 0.28);
}

.upload-workspace .upload-key-option.active {
  box-shadow: inset 2px 0 0 rgba(var(--creator-primary-rgb), 0.28);
}

.upload-drop > i,
.upload-drop-icon,
.upload-overview-icon,
.upload-platform-icon,
.upload-workspace .upload-queue-thumb,
.mini-icon {
  color: #f26588;
  background: #fff6f8;
}

.video-thumb,
.video-cover,
.key-cover,
.cover-preview,
.book-cover,
.library-drawer-cover {
  filter: saturate(0.88) brightness(1.04);
}

.data-table td,
.upload-key-option,
.upload-queue-item p,
.upload-current-item p,
.video-platform-title,
.key-title-button em,
.notice-item p {
  color: #7d899d;
  font-weight: 500;
}

.upload-stat-line strong,
.upload-key-current strong,
.upload-workspace .upload-key-current strong,
.upload-workspace .upload-key-option strong,
.upload-queue-item strong,
.upload-current-item strong,
.key-title-button strong,
.video-cell strong,
.mini-video strong,
.platform-title strong,
.video-platform-title strong {
  color: #45536a;
  font-weight: 700;
}

.notice-item strong {
  color: #536178;
  font-weight: 600;
}

.notice-item.unread strong {
  color: #405068;
  font-weight: 700;
}

.toast {
  background: #45536a;
  box-shadow: 0 14px 34px rgba(64, 79, 108, 0.18);
}

@media (max-width: 1080px) {
  .kuaishou-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kuaishou-rail {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ks-work-body {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ks-actions {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ks-detail-summary dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kuaishou-title-line,
  .ks-section-head,
  .ks-modal-head,
  .ks-modal-foot {
    display: grid;
    justify-content: stretch;
  }

  .kuaishou-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-work-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-cover {
    width: 78px;
    height: 106px;
  }

  .ks-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-actions .kdb-btn,
  .ks-video-toolbar .kdb-btn,
  .ks-pager .kdb-btn,
  .ks-modal-foot .kdb-btn {
    width: 100%;
  }

  .ks-submit-drawer {
    width: 100vw;
  }

  .ks-person-row,
  .ks-person-row.actor,
  .ks-person-row.screenwriter {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-modal-layer {
    align-items: stretch;
    padding: 12px;
  }

  .ks-modal-card {
    max-height: calc(100vh - 24px);
  }

  .ks-detail-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-detail-summary dl,
  .ks-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-episode-row,
  .ks-video-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .ks-video-thumb {
    width: 100%;
    height: 96px;
  }

  .ks-check {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .ks-video-item {
    position: relative;
    padding-top: 42px;
  }
}
