/* actor.css — 演員相關頁 */

/* actor/show 篩選列 */
.mod-screen-type { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.mod-screen-title { flex-shrink: 0; font-size: 13px; color: var(--text-3); padding: 5px 0; white-space: nowrap; }
.mod-screen-type ul { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-screen-type li { list-style: none; }
.mod-screen-type li a {
    display: inline-block; padding: 3px 10px; border-radius: var(--radius);
    font-size: 13px; color: var(--text-2);
    background: var(--bg-elevated); border: 1px solid transparent; transition: .15s;
}
.mod-screen-type li a:hover,
.mod-screen-type li a.on { color: var(--accent); border-color: var(--accent); background: var(--accent-muted); }

/* 熱門明星橫向滾動列 */
.actor-hot-scroll {
    display: flex; gap: 14px; overflow-x: auto;
    padding: 8px 0 12px; scrollbar-width: none;
}
.actor-hot-scroll::-webkit-scrollbar { display: none; }
.actor-hot-card {
    display: flex; flex-direction: column;
    align-items: center; gap: 7px;
    flex-shrink: 0; width: 76px; text-decoration: none;
}
.ahc-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    overflow: hidden; border: 2px solid var(--border);
    background: var(--bg-elevated); transition: border-color .2s;
}
.actor-hot-card:hover .ahc-avatar { border-color: var(--accent); }
.ahc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ahc-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--text-3);
}
.ahc-name {
    font-size: 12px; color: var(--text-2); text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    width: 100%; transition: color .18s;
}
.actor-hot-card:hover .ahc-name { color: var(--accent); }

/* 固定寬度 auto-fill，不用 minmax(...,1fr)：.container 不設 max-width 後，
   卡片應維持原本寬度、靠增加欄數鋪滿右側，不是被拉寬（見 CLAUDE.md §35）。 */
.actor-grid { display: grid; grid-template-columns: repeat(auto-fill, 110px); justify-content: start; gap: 16px 12px; }

/* actor/detail hero */
.actor-hero {
    display: flex; gap: 24px; align-items: flex-start;
    background: var(--bg-card); border-radius: var(--radius); padding: 24px;
}
.actor-hero-cover {
    flex-shrink: 0; width: 150px; border-radius: var(--radius);
    overflow: hidden; background: var(--bg-elevated);
}
.actor-hero-cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.actor-no-pic {
    width: 100%; aspect-ratio: 2/3;
    display: flex; align-items: center; justify-content: center;
    font-size: 56px; color: var(--text-3);
}
.actor-hero-info { flex: 1; min-width: 0; }
.actor-hero-name { font-size: 26px; font-weight: 800; color: var(--text-1); margin-bottom: 10px; }
.actor-hero-score { display: inline-flex; align-items: center; gap: 4px; color: #F0B429; font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.actor-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.actor-hero-meta .meta-label { color: var(--text-3); }
.actor-hero-desc { font-size: 13px; color: var(--text-2); line-height: 1.8; }
@media (max-width: 600px) {
    .actor-hero { flex-direction: column; align-items: center; }
    .actor-hero-info { width: 100%; }
}

/* actor filmography grid */
.actor-film-list { display: grid; grid-template-columns: repeat(auto-fill, 150px); justify-content: start; gap: 14px 10px; list-style: none; padding: 0; margin: 0; }
.actor-film-list .video-item { min-width: 0; list-style: none; }
@media (max-width: 767px) {
    .actor-film-list { gap: 8px; grid-template-columns: repeat(3, 1fr); }
    .actor-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
