.shop-list-container.is-trial {
  position: relative;
  min-height: 300px;
}

.shop-list-blur {
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
}

.product-preview-popover-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.product-preview-popover-trigger img {
  display: block;
}

.product-preview-popover .ant-popover-inner {
  padding: 0;
  background: #2a2a2d;
  border-radius: 12px;
  overflow: hidden;
}

.product-preview-popover .ant-popover-inner-content {
  padding: 0;
}

.product-preview-popover .ant-popover-arrow {
  display: none;
}

.product-preview-popover-card {
  box-sizing: border-box;
  width: 232px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #2a2a2d;
}

.product-preview-popover-brand {
  width: 200px;
  height: 14px;
  margin-bottom: 0;
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-preview-popover-body {
  width: 200px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-1);
}

.product-preview-popover-image-wrap {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.product-preview-popover-loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-preview-popover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-preview-popover-title {
  width: 200px;
  height: 45px;
  min-height: 45px;
  color: var(--color-text-1);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.product-preview-popover-footer {
  display: flex;
  align-items: center;
  width: 200px;
  height: 16px;
  gap: 12px;
  margin-top: 0;
}

.product-preview-popover-footer.is-price-range {
  flex-direction: row;
  align-items: center;
}

.product-preview-popover-price {
  flex: 1;
  min-width: 0;
  color: var(--color-text-1);
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-preview-popover-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  width: auto;
  font-size: 12px;
  line-height: 16px;
  color: var(--color-primary);
  white-space: nowrap;
}

.product-preview-popover-link .anticon {
  display: none;
}

/* 239 是整张卡片量出来的高度（含 padding / border）。
   loading 高度必须钉在这层，不能再传给内部 DetailLoadingBlock，否则会再叠一层 padding 把卡片撑高。 */
.creator-detail-header-card {
  min-height: 239px;
  display: flex;
  flex-direction: column;
}

.creator-detail-header-card .detail-card-header {
  flex-shrink: 0;
}

.creator-detail-header-card .detail-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.creator-detail-header-card .detail-loading-block {
  flex: 1;
}

.upgrade-tip-box {
  background: rgba(230, 244, 255, 0.1);
  border: 1px solid rgba(230, 244, 255, 0.2);
  border-radius: 4px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}

.upgrade-tip-box .tip-text {
  color: #fff;
}

.upgrade-tip-box .upgrade-link {
  color: #1890ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.upgrade-tip-box .upgrade-link:hover {
  color: #40a9ff;
}
/* Disabled Styles for Filter Bar */
.date-filter-bar .ant-select-disabled .ant-select-selector,
.date-filter-bar .ant-picker-disabled {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: #333 !important;
  opacity: 0.6;
}

.date-filter-bar .ant-select-disabled .ant-select-selection-item,
.date-filter-bar .ant-select-disabled .ant-select-selection-placeholder,
.date-filter-bar .ant-picker-disabled input,
.date-filter-bar .ant-picker-disabled .ant-picker-separator {
  color: rgba(255, 255, 255, 0.25) !important;
}

.date-filter-bar .ant-btn-default[disabled] {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: #333 !important;
  color: rgba(255, 255, 255, 0.2) !important;
  opacity: 0.5;
}

.date-filter-bar .category-select-trigger.disabled {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: #333;
  color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
  opacity: 0.6;
}

.creator-detail-page {
  background-color: transparent;
  min-height: 100vh;
}

.creator-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-breadcrumb {
  padding: 16px 0;
}

/* Header Card Styles */
.data-collection-time {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 12px;
  color: #999;
  display: flex;
  gap: 2px;
  align-items: center;
}

.creator-header-content {
  display: flex;
  gap: 12px;
}

/* Left Section */
.creator-header-left {
  flex: 1;
  display: flex;
}

.creator-avatar-section {
  flex-shrink: 0;
  padding-top: 10px;
}

.creator-avatar-lg {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
}

.creator-info-section {
  flex: 1;
  margin-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: #fff;
}

.creator-name-row {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.creator-name-main {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.creator-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  color: #e54a94;
  border-color: #e54a94;
  font-size: 13px;
  height: 28px;
  padding: 0 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

/* Tags Row */
.creator-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
  font-size: 14px;
  height: 24px;
  line-height: 24px;
  color: #fff;
}

.info-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mcn-tag {
  height: 24px;
  line-height: 24px;
}

.mcn-tag .tag-label {
  background: #f0f0f0;
  padding: 0 4px;
  border-right: 1px solid #ddd;
}

.mcn-tag .tag-value {
  font-size: 12px;
}

.collab-tag {
  height: 24px;
  line-height: 24px;
}

.date-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-icon {
  font-size: 14px;
  line-height: 1;
}

.info-icon {
  color: #bbb;
  font-size: 14px;
  margin-left: 4px;
  cursor: help;
}

/* Bio Row */
.creator-bio-row {
  height: 24px;
  font-size: 14px;
  line-height: 24px;
}

.bio-label {
  margin-right: 8px;
}

.bio-content {
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
  cursor: pointer;
}

/* Metrics Row */
.creator-metrics-row {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding-top: 4px;
  color: #fff;
}

.portrait-item {
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.portrait-label {
  font-size: 14px;
  line-height: 20px;
  margin-top: 6px;
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.portrait-value {
  font-size: 18px;
}

.portrait-value-row {
  display: flex;
  align-items: center;
  gap: 2px;

  .gap-line {
    width: 0.5px;
    height: 20px;
    margin: 0 10px;
    background: #999;
  }
}

.majority-follower-sex {
  font-size: 12px;
  line-height: 20px;
}

.detail-link {
  padding: 0;
  height: auto;
  font-size: 12px;
  line-height: 1;
}

.portrait-divider {
  width: 0.5px;
  height: 48px;
  background: #999;
  margin: 0 24px;
}

/* Divider between Left and Right */
.creator-header-divider {
  width: 1px;
  background: #999;
  margin: 0 12px;
}

/* Right Section */
.creator-header-right {
  width: 280px;
  margin-top: 12px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
}

.contact-info-header {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;

  :nth-child(1) {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;

    .email-icon {
      width: 16px;
      height: 16px;
    }
  }
}

.contact-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-icon {
  color: #e54a94;
}

.contact-value {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.contact-value:hover {
  color: #fff;
}

.copy-icon {
  color: #999;
  cursor: pointer;
  width: 14px;
  height: 14px;
}

.copy-icon:hover {
  color: #e54a94;
}

.shop-select {
  width: 100px;
  margin-right: 4px;
}

.shop-select .ant-select-selector {
  border: 1px solid #ffffff26 !important;
  border-radius: 4px;
  background: transparent !important;
  color: #fff;
}

.shop-select.ant-select-focused .ant-select-selector,
.shop-select:hover .ant-select-selector {
  border-color: #e54a94 !important;
}

.shop-select.ant-select-open .ant-select-selection-item {
  color: #fff;
}

.shop-select .ant-select-arrow {
  color: #fff;
}

.shop-select-dropdown {
  width: 240px;
}

.shop-select-popup {
  width: 260px !important;
}

.shop-select-search {
  padding: 8px 4px;
}

.shop-select-search .ant-input-affix-wrapper {
  background: rgba(245, 251, 255, 0.06) !important;
  border: 1px solid rgba(245, 251, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 5px 12px;
  height: 32px;
}

.shop-select-search .ant-input {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 14px;
}

.shop-select-search .ant-input::placeholder {
  color: rgba(245, 251, 255, 0.45) !important;
}

.shop-select-search .anticon {
  color: rgba(245, 251, 255, 0.45);
}

.shop-options-list {
  max-height: 300px;
  overflow-y: auto;
}

.creator-core-metrics-section {
  .metrics-content-wrapper {
    display: flex;
    gap: 16px;
  }

  .metrics-grid {
    display: grid;
    gap: 16px;
    flex: 1;
    align-self: flex-start;
  }

  .trend-chart-container {
    flex: 1;
    background: #ffffff1a;
    border-radius: 8px;
  }

  .legend {
    align-self: flex-end;
    margin-bottom: 8px;
    color: #666;
    font-size: 12px;

    .dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #1890ff;
      margin-right: 8px;
    }
  }

  .chart-empty {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
  }

  .creator-trend-data-panel {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .creator-trend-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    line-height: 22px;

    :last-child {
      color: #111827;
      font-weight: 500;
    }
  }
}

.simple .metrics-grid {
  grid-template-columns: repeat(4, 1fr);
  flex: 0 0 50%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;

  :nth-child(1) {
    font-size: 16px;
    margin: 0;
  }

  .ant-select-selection-item {
    font-size: 14px;
  }
}

/* Page Layout */
.creator-detail-main-layout {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creator-detail-sidebar {
  width: 192px;
  min-height: 208px;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.creator-sidebar-menu-item {
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.creator-sidebar-menu-item .menu-content {
  height: 24px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-left: 2px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.creator-sidebar-menu-item .menu-icon {
  margin-left: 4px;
  width: 20px;
  height: 20px;
  background-size: cover;
}

.creator-sidebar-menu-item .menu-label {
  color: #333;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.creator-sidebar-menu-item .menu-tag {
  margin-left: 8px;
}

.creator-sidebar-menu-item:hover .menu-content {
  background: rgba(1, 145, 248, 0.08);
}

.creator-sidebar-menu-item:hover .menu-label {
  color: rgb(1, 145, 248);
}

.creator-sidebar-menu-item.active .menu-content {
  border-left: 2px solid rgb(1, 145, 248);
  background: rgba(1, 145, 248, 0.08);
}

.creator-sidebar-menu-item.active .menu-label {
  color: rgb(1, 145, 248);
}

.creator-detail-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creator-detail-card {
  .count {
    font-size: 14px;
    font-weight: 400;
    color: rgb(153, 153, 153);
  }

  .creator-product-actions {
    display: flex;
    align-items: center;
    gap: 8px;

    .ant-select-selector {
      border: 1px solid #ffffff26 !important;
      border-radius: 4px;
      background: transparent !important;
      color: #fff;
    }

    .ant-select-focused .ant-select-selector {
      border-color: #e54a94 !important;
    }

    .ant-select-open .ant-select-selection-item {
      color: #fff;
    }

    .ant-select-arrow {
      color: #fff;
    }
  }

  .live-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .creator-live-play-icon {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 16px;
    height: 16px;
  }

  /* Video List Styles */
  .video-list-header-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .video-filters-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }

  .video-filter-btn {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid #ffffff26;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;

    &:hover {
      border-color: #e54a94;
      color: #e54a94;
    }

    &.active {
      border-color: #e54a94;
      color: #e54a94;
      background: #e6f4ff;
    }

    .filter-help-icon {
      display: inline-flex;
      align-items: center;
      color: #999;
      margin-left: 2px;
    }

    .filter-arrow {
      font-size: 10px;
      color: #bfbfbf;
      margin-left: 4px;
      transform: scale(0.8);
    }
  }

  .creator-video-table-scroll {
    width: 100%;
    overflow-x: auto;
  }

  .creator-detail-section-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    color: #666;
    font-size: 13px;
    line-height: 20px;
    flex-wrap: wrap;
  }

  .creator-detail-section-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .creator-detail-section-meta-item .anticon {
    color: #999;
    font-size: 14px;
  }

  .fans-profile-card {
    padding-top: 16px;
  }

  .fans-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .fans-header-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .fans-main-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
  }

  .fans-update-time {
    font-size: 14px;
    color: #6b7280;
  }

  .fans-header-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
  }

  .fans-tip-icon {
    display: inline-flex;
    align-items: center;
    color: #9ca3af;
  }

  .fans-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .fans-grid-two:has(> :only-child) {
    grid-template-columns: 1fr;
  }

  .fans-sub-card {
    border: 1px solid #ffffff26;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
  }

  .fans-sub-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .fans-donut-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    align-items: center;
    gap: 8px;
  }

  .fans-doughnut-box {
    height: 220px;
    position: relative;
  }

  .fans-legend-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .fans-legend-item {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 6px;
    font-size: 13px;
  }

  .fans-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .fans-active-card {
    margin-top: 12px;
  }

  .fans-horizontal-bar-box {
    height: 260px;
    position: relative;
  }

  .fans-active-bar-box {
    height: 260px;
    position: relative;
  }
}

.video-filter-popover-container .ant-popover-inner {
  padding: 8px 0;
}
