/* 达人搜索 · 全宽紧凑布局 */
#bdKolSearch {
  width: 100%;
  min-height: calc(100vh - var(--bd-topbar-h, 56px));
}

.bd-main:has(> #bdKolSearch:not([hidden])) {
  padding: 12px 16px 24px;
}

.ks-root {
  padding: 0;
  width: 100%;
  max-width: none;
  font-size: 12px;
}

.ks-head {
  margin-bottom: 12px;
}

.ks-head h1 {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ks-head p {
  margin-top: 4px;
  color: var(--bd-text-secondary);
  font-size: 12px;
}

.ks-filters {
  background: var(--bd-card);
  border: 1px solid var(--bd-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.ks-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.ks-filter-row:last-child {
  margin-bottom: 0;
}

.ks-filter-label {
  flex: 0 0 64px;
  font-size: 12px;
  color: var(--bd-text-secondary);
  padding-top: 4px;
  line-height: 1.4;
}

.ks-filter-body {
  flex: 1;
  min-width: 0;
}

.ks-search-scope-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
}

.ks-search-scope-label {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--bd-text-secondary);
  white-space: nowrap;
}

.ks-search-scope-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.ks-scope-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--bd-text);
  cursor: pointer;
  user-select: none;
}

.ks-scope-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #7c3aed;
  cursor: pointer;
}

.ks-search-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  width: auto;
  max-width: 100%;
}

.ks-search-input {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 280px;
  max-width: min(280px, calc(100vw - 160px));
  height: 32px;
  border: 1px solid var(--bd-border);
  border-radius: 6px;
  padding: 0 10px;
  font-size: 12px;
}

.ks-search-input:focus {
  outline: none;
  border-color: var(--bd-primary);
  box-shadow: 0 0 0 2px var(--bd-primary-light);
}

.ks-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  border: none;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.ks-btn-primary {
  background: var(--bd-primary);
  color: #fff;
}

.ks-btn-primary:hover {
  background: var(--bd-primary-dark);
}

.ks-btn-ghost {
  background: #fff;
  border: 1px solid var(--bd-border);
  color: var(--bd-text);
  position: relative;
}

.ks-btn-ghost:hover {
  border-color: var(--bd-primary);
  color: var(--bd-primary);
}

.ks-adv-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--bd-primary);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.ks-adv-quick-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--bd-border);
}

.ks-adv-quick-label {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--bd-text-secondary);
  white-space: nowrap;
}

.ks-adv-quick-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--bd-primary);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}

.ks-adv-quick-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  flex: 1;
  min-width: 0;
}

.ks-adv-quick-sep {
  width: 1px;
  height: 14px;
  margin: 0 12px;
  background: var(--bd-border);
  flex-shrink: 0;
}

.ks-adv-quick-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--bd-text);
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
}

.ks-adv-quick-item:hover {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.06);
}

.ks-adv-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.ks-adv-select {
  min-width: 160px;
  max-width: 240px;
}

.ks-adv-row-location {
  align-items: flex-start;
}

.ks-adv-location-wrap {
  display: block;
  flex: 1;
  min-width: 0;
}

.ks-location-picker {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.ks-location-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--bd-border);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: var(--bd-text);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}

.ks-location-trigger:hover {
  border-color: var(--bd-primary);
}

.ks-location-trigger-caret {
  flex-shrink: 0;
  color: var(--bd-text-muted, #9ca3af);
  font-size: 10px;
}

.ks-location-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: min(560px, 92vw);
  background: #fff;
  border: 1px solid var(--bd-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.ks-location-panel[hidden] {
  display: none !important;
}

.ks-location-panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 260px;
  max-height: 260px;
  min-height: 0;
  overflow: hidden;
}

.ks-location-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--bd-border);
}

.ks-location-col:last-child {
  border-right: none;
}

.ks-location-col-title {
  flex-shrink: 0;
  padding: 8px 12px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bd-text-secondary);
  border-bottom: 1px solid var(--bd-border);
  background: #fafafa;
}

.ks-location-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 0;
}

.ks-location-list::-webkit-scrollbar {
  width: 6px;
}

.ks-location-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.ks-location-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--bd-text);
  cursor: pointer;
  user-select: none;
}

.ks-location-item:hover {
  background: #f3f4f6;
}

.ks-location-item.is-active {
  background: var(--bd-primary-light, #eff6ff);
  color: var(--bd-primary);
}

.ks-location-item input {
  margin: 0;
  flex-shrink: 0;
}

.ks-location-select-all {
  border-bottom: 1px solid var(--bd-border);
  font-weight: 600;
  margin-bottom: 2px;
}

.ks-location-empty {
  padding: 16px 12px;
  font-size: 12px;
  color: var(--bd-text-muted, #9ca3af);
  line-height: 1.5;
}

.ks-location-panel-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--bd-border);
  background: #fafafa;
}

body.ks-adv-open {
  overflow: hidden;
}

.ks-adv-modal[hidden] {
  display: none !important;
}

.ks-adv-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.ks-adv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.ks-adv-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.ks-adv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--bd-border);
}

.ks-adv-head h3 {
  font-size: 15px;
  font-weight: 600;
}

.ks-adv-close {
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--bd-text-muted);
  cursor: pointer;
  line-height: 1;
}

.ks-adv-tabs {
  display: flex;
  gap: 0;
  padding: 0 18px;
  border-bottom: 1px solid var(--bd-border);
}

.ks-adv-tab {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--bd-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.ks-adv-tab.is-active {
  color: var(--bd-primary);
  border-bottom-color: var(--bd-primary);
  font-weight: 600;
}

.ks-adv-body {
  flex: 1;
  overflow: auto;
  padding: 12px 18px 16px;
}

.ks-adv-section {
  margin-bottom: 18px;
}

.ks-adv-section-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--bd-text);
}

.ks-adv-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.ks-adv-label {
  flex: 0 0 108px;
  font-size: 12px;
  color: var(--bd-text-secondary);
  padding-top: 4px;
  line-height: 1.4;
}

.ks-adv-chips {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.ks-adv-chip {
  border: 1px solid var(--bd-border);
  background: #fff;
  color: var(--bd-text);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.ks-adv-chip:hover {
  border-color: var(--bd-primary);
  color: var(--bd-primary);
}

.ks-adv-chip.is-active {
  background: var(--bd-primary-light);
  border-color: var(--bd-primary);
  color: var(--bd-primary);
}

.ks-adv-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--bd-text-secondary);
  margin-right: 10px;
}

.ks-quality-drawer {
  position: relative;
  flex: 0 0 auto;
}

.ks-btn-quality {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.ks-btn-quality:hover,
.ks-quality-drawer.is-open .ks-btn-quality {
  border-color: #c4b5fd;
  color: #7c3aed;
  background: #faf8ff;
}

.ks-quality-drawer-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #7c3aed;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.ks-quality-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  width: 240px;
  padding: 12px 12px 10px;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ks-quality-panel[hidden] {
  display: none !important;
}

.ks-quality-panel-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.ks-quality-panel-tip {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
}

.ks-quality-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.ks-quality-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #7c3aed;
  cursor: pointer;
}

.ks-adv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--bd-border);
}

.ks-adv-foot-right {
  display: flex;
  gap: 8px;
}

.ks-adv-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--bd-border);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.ks-adv-btn-primary {
  background: var(--bd-primary);
  border-color: var(--bd-primary);
  color: #fff;
}

.ks-adv-btn-primary:hover {
  background: var(--bd-primary-dark);
  border-color: var(--bd-primary-dark);
}

.ks-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ks-chip {
  border: 1px solid var(--bd-border);
  background: #fff;
  color: var(--bd-text);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.ks-chip:hover {
  border-color: var(--bd-primary);
  color: var(--bd-primary);
}

.ks-chip.is-active {
  background: var(--bd-primary-light);
  border-color: var(--bd-primary);
  color: var(--bd-primary);
}

.ks-fans-custom {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
}

.ks-fans-input {
  width: 72px;
  height: 26px;
  border: 1px solid var(--bd-border);
  border-radius: 4px;
  padding: 0 6px;
  font-size: 12px;
}

.ks-fans-input:focus {
  outline: none;
  border-color: var(--bd-primary);
  box-shadow: 0 0 0 2px var(--bd-primary-light);
}

.ks-fans-custom-sep {
  color: var(--bd-text-secondary);
  font-size: 12px;
}

.ks-select {
  height: 28px;
  border: 1px solid var(--bd-border);
  border-radius: 4px;
  padding: 0 8px;
  font-size: 12px;
  background: #fff;
}

.ks-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--bd-text-secondary);
}

.ks-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ks-kol-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ks-kol-card:hover {
  border-color: #d8dee9;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.ks-card-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

.ks-col-avatar {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 14px;
}

.ks-col-identity {
  flex: 0 0 24%;
  min-width: 180px;
  max-width: 300px;
  padding-right: 14px;
  border-right: 1px solid #eef1f6;
}

.ks-col-covers {
  flex: 0 0 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid #eef1f6;
}

.ks-covers-title {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 8px;
  white-space: nowrap;
  align-self: flex-start;
}

.ks-covers-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ks-work-cover {
  width: 56px;
  height: 74px;
  border-radius: 6px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.ks-col-metrics {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border-right: 1px solid #eef1f6;
}

.ks-col-quote {
  flex: 0 0 168px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-right: 1px solid #eef1f6;
}

.ks-col-actions {
  flex: 0 0 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-left: 12px;
}

.ks-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bd-bg);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.ks-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bd-text-muted);
}

.ks-feiyu-under {
  margin-top: 8px;
  text-align: center;
  width: 100%;
}

.ks-feiyu-under .ks-feiyu-head {
  justify-content: center;
}

.ks-feiyu-under .ks-feiyu-tip-pop {
  /* 头像列贴左侧内容区，居中会探出被侧栏挡住；改为向右展开 */
  left: 0;
  right: auto;
  transform: none;
  width: 280px;
  max-width: min(280px, 42vw);
}

.ks-feiyu-label {
  font-size: 11px;
  font-weight: 500;
  color: #7c3aed;
}

.ks-feiyu-head {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ks-feiyu-tip {
  width: 13px;
  height: 13px;
  border: 1px solid #c4b5fd;
  border-radius: 50%;
  background: #fff;
  color: #7c3aed;
  font-size: 9px;
  line-height: 1;
  cursor: help;
  padding: 0;
}

.ks-feiyu-tip-pop {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 40;
  width: 280px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--bd-border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  font-size: 11px;
  line-height: 1.5;
  color: var(--bd-text-secondary);
  font-weight: 400;
  text-align: left;
  pointer-events: none;
}

.ks-feiyu-head:hover .ks-feiyu-tip-pop,
.ks-feiyu-head:focus-within .ks-feiyu-tip-pop {
  display: block;
}

.ks-feiyu-value {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
  color: #7c3aed;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ks-kol-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-bottom: 6px;
}

.ks-kol-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bd-text);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.ks-tag-outline {
  flex-shrink: 0;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 3px;
  border: 1px solid #c4b5fd;
  color: #7c3aed;
  background: #faf8ff;
  line-height: 1.4;
}

.ks-qr-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.ks-qr-btn:hover {
  color: #7c3aed;
  background: #f5f3ff;
  text-decoration: none;
}

.ks-qr-wrap {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.ks-qr-pop {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  bottom: auto;
  transform: translateX(-50%);
  z-index: 1400;
  width: 220px;
  margin-top: 4px;
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecf3;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

/* 填补图标与气泡间距，鼠标移入气泡时不丢 hover */
.ks-qr-pop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 12px;
}

.ks-qr-wrap:hover .ks-qr-pop,
.ks-qr-wrap:focus-within .ks-qr-pop {
  display: flex;
}

.ks-qr-pop-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  line-height: 1.4;
}

.ks-qr-pop-img {
  width: 168px;
  height: 168px;
  border-radius: 8px;
  display: block;
  background: #fff;
}

.ks-qr-pop-hint {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  text-align: center;
}

.ks-qr-pop-or {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1;
}

.ks-qr-pop-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #c4b5fd;
  background: #fff;
  color: #7c3aed;
  font-size: 12px;
  text-decoration: none;
  box-sizing: border-box;
}

.ks-qr-pop-link:hover {
  background: #f5f3ff;
  text-decoration: none;
  color: #6d28d9;
}

.ks-qr-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.ks-kol-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.ks-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  line-height: 1.4;
  padding: 1px 0;
  color: var(--bd-text-secondary);
}

.ks-badge i {
  font-style: normal;
  font-size: 10px;
}

.ks-badge-partner {
  color: #2563eb;
}

.ks-badge-tier {
  color: #ea580c;
}

.ks-badge-ok {
  color: #16a34a;
}

.ks-badge-warn {
  color: #dc2626;
}

.ks-kol-id {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.ks-kol-bio {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ks-kol-meta {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 6px;
}

.ks-meta-dot {
  margin: 0 4px;
  color: #cbd5e1;
}

.ks-content-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.ks-content-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #eef1f6;
  line-height: 1.4;
}

.ks-metric-panel {
  flex: 1;
  min-width: 0;
  padding: 2px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ks-metric-panel + .ks-metric-panel {
  border-left: 1px solid #f1f5f9;
}

.ks-metric-title {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
  white-space: nowrap;
}

.ks-metric-grid {
  display: grid;
  gap: 10px 12px;
}

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

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

.ks-metric-cell {
  min-width: 0;
}

.ks-metric-label {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  margin-bottom: 2px;
}

.ks-metric-value {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  line-height: 1.2;
}

.ks-quote-box {
  width: 100%;
  border: 1px solid #e8ecf3;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fafbfd;
}

.ks-quote-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}

.ks-quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
}

.ks-quote-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin-bottom: 4px;
}

.ks-quote-item:last-child {
  margin-bottom: 0;
}

.ks-quote-pic {
  background: #fff1f2;
}

.ks-quote-video {
  background: #eff6ff;
}

.ks-quote-type {
  color: #64748b;
  font-size: 11px;
}

.ks-quote-price {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-align: right;
}

.ks-quote-cpe {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
}

.ks-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.ks-action-btn-outline {
  border: 1px solid #c4b5fd;
  background: #fff;
  color: #7c3aed;
}

.ks-action-btn-outline:hover {
  background: #f5f3ff;
  text-decoration: none;
  color: #6d28d9;
}

.ks-action-btn-solid {
  border: 1px solid #7c3aed;
  background: #7c3aed;
  color: #fff;
}

.ks-action-btn-solid:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  color: #fff;
}

body.ks-modal-open {
  overflow: hidden;
}

.ks-modal[hidden] {
  display: none !important;
}

.ks-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ks-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.ks-modal-panel {
  position: relative;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 10px;
  padding: 20px 20px 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ks-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--bd-text-muted);
  cursor: pointer;
}

.ks-modal-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ks-modal-name {
  font-size: 12px;
  color: var(--bd-text-secondary);
  margin-bottom: 14px;
}

.ks-modal-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ks-modal-qr {
  width: 180px;
  height: 180px;
  border: 1px solid var(--bd-border);
  border-radius: 8px;
  background: #fff;
}

.ks-modal-qr-hint {
  font-size: 12px;
  color: var(--bd-text-secondary);
}

.ks-modal-or {
  margin: 14px 0 12px;
  font-size: 12px;
  color: var(--bd-text-muted);
}

.ks-modal-pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid var(--bd-primary);
  color: var(--bd-primary);
  font-size: 13px;
  text-decoration: none;
}

.ks-modal-pc-btn:hover {
  background: var(--bd-primary-light);
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.ks-bcard-open {
  overflow: hidden;
}

body.ks-contact-open {
  overflow: hidden;
}

.ks-contact-modal[hidden] {
  display: none !important;
}

.ks-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ks-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.ks-contact-panel {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  padding: 22px 24px 18px;
}

.ks-contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #94a3b8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ks-contact-close:hover {
  color: #475569;
  background: #f1f5f9;
}

.ks-contact-head {
  padding-right: 28px;
  margin-bottom: 18px;
}

.ks-contact-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ks-contact-phone {
  font-size: 18px;
  line-height: 1;
}

.ks-contact-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.ks-contact-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.ks-contact-sub-red {
  color: #ef4444;
}

.ks-contact-sub-blue {
  color: #2563eb;
}

.ks-contact-kol {
  margin: 8px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.ks-contact-body {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 16px 0 8px;
  border-top: 1px solid #f1f5f9;
}

.ks-contact-qr-placeholder {
  flex: 0 0 148px;
  width: 148px;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.ks-contact-qr-label {
  font-size: 12px;
  color: #94a3b8;
}

.ks-contact-qr-soon {
  font-size: 11px;
  color: #cbd5e1;
}

.ks-contact-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  display: flex;
  align-items: center;
}

.ks-contact-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid #f8fafc;
}

.ks-contact-foot-link {
  font-size: 12px;
  color: #ef4444;
  text-decoration: none;
}

.ks-contact-foot-link:hover {
  text-decoration: underline;
}

.ks-bcard-modal[hidden] {
  display: none !important;
}

.ks-bcard-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
}

.ks-bcard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.ks-bcard-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100%;
  background: #f8fafc;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
  overflow-y: auto;
  overflow-x: visible;
  padding: 16px 16px 24px;
}

#ksBloggerCardContent {
  position: relative;
}

.ks-bcard-qr-anchor {
  position: absolute;
  top: 0;
  right: 36px;
  z-index: 6;
}

.ks-qr-wrap-card .ks-qr-pop {
  left: auto;
  right: -6px;
  top: 100%;
  bottom: auto;
  transform: none;
  width: 232px;
}

.ks-bcard-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ks-bcard-close:hover {
  color: #334155;
  background: #fff;
}

.ks-bcard-head {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid #e8ecf3;
}

.ks-bcard-head-main {
  display: flex;
  gap: 12px;
}

.ks-bcard-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.ks-bcard-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 1.2rem;
}

.ks-bcard-head-body {
  min-width: 0;
  flex: 1;
}

.ks-bcard-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.ks-bcard-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.ks-bcard-gender {
  font-size: 12px;
  color: #ec4899;
}

.ks-bcard-status {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  background: #ecfdf5;
  color: #16a34a;
}

.ks-bcard-id {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.ks-bcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.ks-bcard-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #fdf2f8;
  color: #db2777;
  border: 1px solid #fce7f3;
}

.ks-bcard-bio {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

.ks-bcard-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.ks-bcard-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  border: 1px solid #e8ecf3;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.ks-bcard-action:hover {
  border-color: #c4b5fd;
  color: #7c3aed;
  background: #faf8ff;
}

.ks-bcard-action-contact {
  border-color: #c4b5fd;
  color: #7c3aed;
  background: #faf8ff;
}

.ks-bcard-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ks-bcard-quote-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.ks-bcard-quote-type {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}

.ks-bcard-quote-price {
  font-size: 16px;
  font-weight: 700;
  color: #7c3aed;
  line-height: 1.3;
}

.ks-bcard-quote-cpe {
  margin-top: 2px;
  font-size: 11px;
  color: #94a3b8;
}

.ks-bcard-action-ico {
  font-size: 14px;
  line-height: 1;
}

.ks-bcard-qr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: #fff;
  color: #7c3aed;
  cursor: pointer;
  padding: 0;
  border: 1px solid #e9d5ff;
  text-decoration: none;
}

.ks-bcard-qr-btn:hover {
  color: #6d28d9;
  background: #faf5ff;
  text-decoration: none;
}

.ks-bcard-qr-btn .ks-qr-icon {
  width: 16px;
  height: 16px;
}

.ks-bcard-tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ecf3;
  margin-bottom: 10px;
  overflow: hidden;
}

.ks-bcard-tab {
  flex: 1;
  height: 36px;
  border: none;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.ks-bcard-tab.is-active {
  color: #7c3aed;
  font-weight: 600;
  border-bottom-color: #7c3aed;
  background: #faf8ff;
}

.ks-bcard-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ks-bcard-section {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 12px 14px;
}

.ks-bcard-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.ks-bcard-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.ks-bcard-row:last-child {
  border-bottom: none;
}

.ks-bcard-k {
  flex: 0 0 auto;
  color: #94a3b8;
  white-space: nowrap;
}

.ks-bcard-v {
  text-align: right;
  color: #334155;
  word-break: break-word;
}

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

.ks-bcard-stat {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.ks-bcard-stat-v {
  font-size: 16px;
  font-weight: 700;
  color: #7c3aed;
  line-height: 1.2;
}

.ks-bcard-stat-k {
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
}

.ks-bcard-muted {
  font-size: 12px;
  color: #94a3b8;
  padding: 8px 0;
}

.ks-bcard-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.ks-bcard-dual-col {
  grid-template-columns: 1fr;
}

.ks-bcard-sub {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.ks-bcard-wc {
  min-height: 120px;
  padding: 8px;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 6px 8px;
  line-height: 1.25;
  font-weight: 600;
}

.ks-bcard-wc-table-wrap {
  max-height: 180px;
  overflow: auto;
  border: 1px solid #eef1f6;
  border-radius: 8px;
}

.ks-bcard-wc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.ks-bcard-wc-table th,
.ks-bcard-wc-table td {
  padding: 5px 6px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.ks-bcard-wc-table th {
  color: #94a3b8;
  font-weight: 500;
  background: #f8fafc;
  position: sticky;
  top: 0;
}

.ks-bcard-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-height: 90px;
  padding: 4px 0 0;
  overflow-x: auto;
}

.ks-bcard-bar-col {
  flex: 1 0 10px;
  min-width: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.ks-bcard-bar {
  width: 100%;
  max-width: 14px;
  border-radius: 2px 2px 0 0;
}

.ks-bcard-bar-lbl {
  margin-top: 4px;
  font-size: 9px;
  color: #94a3b8;
  white-space: nowrap;
  transform: scale(0.92);
}

.ks-bcard-donut {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-bcard-donut-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  mask: radial-gradient(circle at center, transparent 46%, #000 47%);
  -webkit-mask: radial-gradient(circle at center, transparent 46%, #000 47%);
}

.ks-bcard-donut-leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #334155;
  margin-bottom: 4px;
}

.ks-bcard-donut-leg i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.ks-bcard-sent {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.ks-bcard-sent span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
}

.ks-bcard-cmt-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ks-bcard-cmt {
  padding: 8px 10px;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  background: #fafbfc;
}

.ks-bcard-cmt-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.ks-bcard-cmt-body {
  font-size: 12px;
  color: #334155;
  line-height: 1.45;
  word-break: break-word;
}

.ks-bcard-foot {
  margin-top: 12px;
  text-align: center;
}

.ks-bcard-foot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #c4b5fd;
  color: #7c3aed;
  font-size: 13px;
  text-decoration: none;
  background: #fff;
}

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

@media (max-width: 640px) {
  .ks-bcard-stats-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ks-bcard-trend-wrap {
  width: 100%;
  overflow-x: auto;
}

.ks-bcard-trend-chart {
  width: 100%;
  min-width: 320px;
  height: auto;
  display: block;
}

.ks-bcard-trend-grid {
  stroke: #e2e8f0;
  stroke-width: 1;
}

.ks-bcard-trend-line {
  fill: none;
  stroke: #ef4444;
  stroke-width: 2;
}

.ks-bcard-trend-area {
  fill: rgba(59, 130, 246, 0.25);
  stroke: none;
}

.ks-bcard-trend-axis {
  fill: #94a3b8;
  font-size: 10px;
}

.ks-bcard-trend-axis-l {
  fill: #ef4444;
}

.ks-bcard-trend-axis-r {
  fill: #3b82f6;
}

.ks-bcard-trend-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  font-size: 11px;
  color: #64748b;
}

.ks-bcard-trend-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ks-bcard-leg-line,
.ks-bcard-leg-area {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
}

.ks-bcard-leg-line {
  background: #ef4444;
}

.ks-bcard-leg-area {
  height: 8px;
  background: rgba(59, 130, 246, 0.35);
}

.ks-bcard-note-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 720px) {
  .ks-bcard-note-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ks-bcard-note {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ks-bcard-note-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
}

.ks-bcard-note-cover img,
.ks-bcard-note-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ks-bcard-note-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 12px;
}

.ks-bcard-note-like {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 10px;
  line-height: 1.3;
}

.ks-bcard-note-date {
  margin-top: 4px;
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
}

.ks-bcard-foot-link:hover {
  background: #f5f3ff;
  text-decoration: none;
}

.ks-status {
  text-align: center;
  padding: 16px;
  color: var(--bd-text-muted);
  font-size: 12px;
}

.ks-status-error {
  color: var(--bd-down);
}

.ks-status-warn {
  color: #b45309;
}

.ks-sentinel {
  height: 40px;
}

.ks-load-more {
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}

.ks-load-more-btn {
  height: 34px;
  padding: 0 18px;
  border: 1px solid #d8b4fe;
  border-radius: 8px;
  background: #fff;
  color: #7c3aed;
  font-size: 13px;
  cursor: pointer;
}

.ks-load-more-btn:hover {
  background: #faf5ff;
}

.ks-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--bd-text-secondary);
  font-size: 12px;
}

.ks-empty h3 {
  margin-bottom: 6px;
  color: var(--bd-text);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .ks-col-identity {
    flex-basis: 220px;
  }

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

@media (max-width: 960px) {
  .ks-card-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ks-col-avatar {
    flex-direction: row;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding-right: 0;
    border-bottom: none;
  }

  .ks-feiyu-under {
    margin-top: 0;
    text-align: left;
  }

  .ks-feiyu-under .ks-feiyu-head {
    justify-content: flex-start;
  }

  .ks-col-identity {
    flex: 1 1 100%;
    max-width: none;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #eef1f6;
    padding-bottom: 12px;
  }

  .ks-col-covers {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0 0 12px;
    border-right: none;
    border-bottom: 1px solid #eef1f6;
  }

  .ks-covers-stack {
    flex-direction: row;
    width: auto;
  }

  .ks-col-metrics {
    flex: 1 1 100%;
    border-right: none;
    flex-direction: column;
    gap: 12px;
  }

  .ks-metric-panel {
    padding: 0;
  }

  .ks-metric-panel + .ks-metric-panel {
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
  }

  .ks-col-quote {
    flex: 1 1 100%;
    border-right: none;
    padding: 0;
  }

  .ks-col-actions {
    flex: 1 1 100%;
    flex-direction: row;
    padding-left: 0;
  }

  .ks-action-btn {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .ks-contact-body {
    flex-direction: column;
    align-items: center;
  }

  .ks-contact-text {
    text-align: center;
  }

  .bd-main:has(> #bdKolSearch:not([hidden])) {
    padding: 10px 12px 20px;
  }

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

/* 收录达人 */
.ks-btn-collect {
  background: #fff;
  border: 1px solid #ef4444;
  color: #ef4444;
}
.ks-btn-collect:hover {
  background: #fef2f2;
}
body.ks-collect-open { overflow: hidden; }
.ks-collect-modal[hidden] { display: none !important; }
.ks-collect-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ks-collect-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.ks-collect-panel {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  padding: 18px 20px 20px;
}
.ks-collect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ks-collect-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  color: #0f172a;
}
.ks-collect-close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}
.ks-collect-search {
  display: flex;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}
.ks-collect-input {
  flex: 1;
  border: none;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}
.ks-collect-search-btn {
  width: 44px;
  border: none;
  background: #ef4444;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}
.ks-collect-search-btn:disabled { opacity: 0.6; cursor: wait; }
.ks-collect-help-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.ks-collect-help-toggle {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
}
.ks-collect-help {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 12px;
  color: #475569;
}
.ks-collect-help ol { margin: 0; padding-left: 18px; }
.ks-collect-error {
  margin-top: 10px;
  color: #dc2626;
  font-size: 12px;
}
.ks-collect-state {
  margin-top: 14px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}
.ks-collect-card {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.ks-collect-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.ks-collect-avatar-ph {
  display: inline-block;
  background: #e2e8f0;
}
.ks-collect-card-main { flex: 1; min-width: 0; }
.ks-collect-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.ks-collect-id, .ks-collect-meta {
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
}
.ks-collect-des {
  margin-top: 4px;
  font-size: 12px;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ks-collect-status {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  cursor: pointer;
}
.ks-collect-status.is-ready {
  background: #ef4444;
  color: #fff;
}
.ks-collect-status.is-done {
  background: #22c55e;
  color: #fff;
  cursor: default;
}
