/* ===== iOS — Discover Actor ===== */
.actor-section-root {
  display: flex; flex-direction: column; gap: 16px; color: var(--ios-text);
}

.actor-section-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--ios-card);
}
.actor-section-header-main { min-width: 0; flex: 1; }

.actor-section-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ios-text-tertiary); text-transform: uppercase;
}
.actor-section-title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.actor-section-header-desc { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--ios-text-secondary); }

.actor-section-header-side {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0;
}
.actor-section-header-count, .actor-section-header-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 28px; padding: 0 14px; border-radius: 14px; font-size: 12px; font-weight: 600;
}
.actor-section-header-count { background: rgba(118,118,128,0.10); color: var(--ios-text-secondary); }
.actor-section-header-badge { color: #fff; background: var(--ios-blue); }

.actor-section-list-wrap { display: flex; flex-direction: column; gap: 12px; }
.actor-section-list-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.actor-section-list-title { margin: 0; font-size: 17px; font-weight: 600; color: var(--ios-text); }
.actor-section-list-note { font-size: 13px; color: var(--ios-text-secondary); }

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

.actor-section-card, .actor-section-empty-card {
  border-radius: var(--r-lg); background: var(--ios-card);
}
.actor-section-card { display: flex; flex-direction: column; gap: 14px; padding: 16px; }

.actor-section-card-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.actor-section-identity { display: flex; align-items: flex-start; gap: 14px; min-width: 0; flex: 1; }

.actor-section-avatar-wrap {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 32px; overflow: hidden;
}
.actor-section-avatar-wrap-placeholder { background: rgba(142,142,147,0.25); }

.actor-section-avatar {
  width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 32px; background: var(--ios-bg);
}
.actor-section-avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(142,142,147,0.25);
}
.actor-section-avatar-placeholder span {
  font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.8);
}

.actor-section-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.actor-section-name-row {
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.actor-section-name {
  margin: 0; min-width: 0; font-size: 17px; line-height: 1.3; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.actor-section-rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 24px; padding: 0 10px; border-radius: 12px;
  background: rgba(142,142,147,0.12); color: var(--ios-text-secondary); font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.actor-section-tags, .actor-section-work-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.actor-section-tag, .actor-section-work-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 24px; padding: 0 10px; border-radius: 12px;
  background: rgba(118,118,128,0.10); color: var(--ios-text-secondary); font-size: 12px; font-weight: 500;
}
.actor-section-tag { background: rgba(142,142,147,0.1); color: var(--ios-text-secondary); }

.actor-section-desc, .actor-section-empty-desc, .actor-section-work-meta { margin: 0; color: var(--ios-text-secondary); }
.actor-section-desc { font-size: 14px; line-height: 1.6; }

.actor-section-more-entry {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 16px; border-radius: 18px; flex-shrink: 0;
  background: rgba(118,118,128,0.10); border: none;
  color: var(--ios-text); font-size: 13px; font-weight: 500;
}
.actor-section-more-entry:active { opacity: 0.7; }
.actor-section-more-arrow { font-size: 16px; line-height: 1; color: var(--ios-text-secondary); }

.actor-section-works { display: flex; flex-direction: column; gap: 10px; }
.actor-section-works-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.actor-section-works-title { font-size: 14px; font-weight: 600; color: var(--ios-text); }
.actor-section-works-count { font-size: 13px; color: var(--ios-text-secondary); }

.actor-section-work-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.actor-section-work-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.actor-section-work-cover-wrap {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 3 / 4; background: var(--ios-bg);
}
.actor-section-work-cover { width: 100%; height: 100%; display: block; object-fit: cover; }

.actor-section-work-cover-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: rgba(142,142,147,0.25);
}
.actor-section-work-cover-placeholder span {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7);
}

.actor-section-work-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.actor-section-work-title, .actor-section-empty-title { margin: 0; font-weight: 600; }
.actor-section-work-title {
  font-size: 13px; line-height: 1.4;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.actor-section-work-meta { font-size: 12px; }
.actor-section-work-chip {
  gap: 6px; max-width: 100%; padding: 0 10px; justify-content: flex-start;
}
.actor-section-work-chip-title {
  max-width: 10em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.actor-section-work-chip-meta { color: var(--ios-text-secondary); }

.actor-section-empty-card { padding: 36px 20px; text-align: center; }
.actor-section-empty-title { display: block; font-size: 17px; color: var(--ios-text); }
.actor-section-empty-desc { margin-top: 8px; font-size: 14px; line-height: 1.6; }

@media (max-width: 420px) {
  .actor-section-header, .actor-section-card-top { flex-direction: column; }
  .actor-section-header-side {
    width: 100%; flex-direction: row; align-items: center;
    justify-content: flex-start; flex-wrap: wrap;
  }
  .actor-section-more-entry { width: 100%; justify-content: center; }
  .actor-section-work-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
