/* ===== 现代极简列表布局 ===== */
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    background-color: #f56c12;
}

/* ===== 页面内容最大宽度限制 ===== */
/* 导航栏内容区域居中 */
.navbar .container-fluid {
    max-width: 1800px;
    margin: 0 auto;
}

/* 页面主体内容区域居中 */
body > .container-fluid {
    max-width: 1800px;
    margin: 0 auto;
}


/* ===== 导航区块 ===== */
.nav-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin: 16px auto;
    padding: 10px 20px;
    max-width: calc(100% - 32px);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    color: #999;
}

.nav-icon svg {
    display: block;
}

.nav-link {
    color: #666 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 12px !important;
}

.nav-link:hover {
    color: #333;
    text-decoration: none;
}

.nav-current {
    color: #333;
    font-weight: 500;
}

.nav-separator {
    color: #ccc;
    font-size: 18px;
    line-height: 1;
    user-select: none;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
    .nav-block {
        margin: 12px;
        padding: 10px 16px;
        max-width: calc(100% - 24px);
    }
    
    .nav-content {
        font-size: 13px;
        gap: 8px;
    }
    
    .nav-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .nav-separator {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nav-block {
        margin: 8px;
        padding: 10px 12px;
        max-width: calc(100% - 16px);
    }
    
    .nav-content {
        font-size: 12px;
    }
}

/* ===== 筛选器组件 ===== */
.filter-bar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 0 auto 16px;
    border-radius: 8px;
    max-width: calc(100% - 32px);
}

.filter-container {
    padding: 12px 20px;
}

/* 筛选行容器 - 电脑端并排显示 */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;  /* 左右间距 */
    row-gap: 0;        /* 上下无间距（换行时） */
}

.filter-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    flex: 0 1 auto; /* 根据内容自适应宽度 */
}

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

.filter-label {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    padding: 5px 0;
    font-size: 14px;
    flex-shrink: 0;
}

.filter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.filter-btn {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    color: #666 !important;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.filter-btn:hover {
    background: #e8e8e8;
    color: #333;
    text-decoration: none;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: #333;
    color: #fff !important;
    font-weight: 500;
}

.filter-btn.filter-more {
    background: transparent;
    color: #999;
    border: 1px solid #e0e0e0;
}

.filter-btn.filter-more:hover {
    border-color: #333;
    color: #333;
}

/* 移动端筛选器优化 */
@media (max-width: 768px) {
    .filter-bar {
        margin: 12px !important;
        margin-top: 0;
        max-width: calc(100% - 24px);
    }
    
    .filter-container {
        padding: 12px 16px;
    }
    
    /* 移动端垂直堆叠 */
    .filter-row {
        flex-direction: column;
        gap: 0;
    }
    
    .filter-section {
        margin-bottom: 10px;
        min-width: 100%;
        /* 保持横向，但允许换行 */
    }
    
    .filter-label {
        min-width: 40px;
        font-size: 13px;
        padding: 6px 0;
    }
    
    .filter-items {
        /* 当按钮太多时，自动占满剩余空间并换行 */
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .filter-btn {
        padding: 5px 8px;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .filter-bar {
        margin: 8px;
        margin-top: 0;
        max-width: calc(100% - 16px);
    }
    
    .filter-container {
        padding: 10px 12px;
    }
}

/* Grid容器 - 响应式固定列数布局 */
.list-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 超大屏：6列 */
    gap: 16px;
    padding: 0 16px;
    max-width: 100%;
    margin: 0 auto;
}

/* 响应式断点 */ 
@media (max-width: 1600px) {
    .list-grid-container {
        grid-template-columns: repeat(5, 1fr); /* 大屏：5列 */
    }
}

@media (max-width: 1200px) {
    .list-grid-container {
        grid-template-columns: repeat(4, 1fr); /* 中屏：4列 */
    }
}

@media (max-width: 992px) {
    .list-grid-container {
        grid-template-columns: repeat(3, 1fr); /* 平板：3列 */
    }
}

@media (max-width: 768px) {
    .list-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 手机横屏：2列 */
        gap: 12px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .list-grid-container {
        grid-template-columns: repeat(1, 1fr); /* 手机竖屏：2列 */
        gap: 8px;
        padding: 8px;
    }
}

/* Grid项目 */
.grid-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

/* 卡片样式 - 现代极简设计 */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    text-decoration: none;
    color: #333;
}

.card:visited {
    color: #666;
}

/* 图片容器 - 固定比例 */
.card-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 宽高比 3:2 (66.67%) 横版布局 */
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    overflow: hidden;
}

/* 加载动画效果 - 流光效果 */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-top: 8px solid #fff;
    border-left: 8px solid #fff;
    border-right: 8px solid #fff;
    box-sizing: border-box;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/* 卡片内容区 */
.card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* 标题 */
.card-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.4em;
}

/* 标签容器 */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}

.tag-category {
    background: #f0f0f0;
    color: #666;
}

.tag-hd {
    background: #579eea;
    color: #fff;
}

.tag-subtitle {
    background: #ffc107;
    color: #333;
}

/* 元信息 */
.card-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.5;
}

.card-date {
    color: #CC0000;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

/* 卡片统计数据 */
.card-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    line-height: 1.5;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #999;
    white-space: nowrap;
    line-height: 1.5;
}

.stat-item .iconfont {
    font-size: 12px;
    color: #999;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.stat-item:hover {
    color: #666;
}

.stat-item:hover .iconfont {
    color: #666;
}

/* 演员卡片特殊样式 */
.actor-card .card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.actor-card .card-image {
    padding-bottom: 100%; /* 演员照片1:1比例 */
}

.actor-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
    text-align: center;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .card-content {
        padding: 10px;
        gap: 6px;
    }
    
    .card-title {
        font-size: 13px;
    }
    
    .tag {
        padding: 2px 6px;
        font-size: 12px;
    }
    
    .card-meta {
        font-size: 11px;
    }
    
    .card-stats {
        gap: 8px;
    }
    
    .stat-item {
        font-size: 11px;
        gap: 3px;
    }
    
    .stat-item .iconfont {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .card {
        border-radius: 6px;
    }
    
    .card-content {
        padding: 8px;
    }
    
    .card-title {
        font-size: 14px;
    }
}

/* ===== 保留原有样式（用于其他页面） ===== */
#waterfall
{
    margin: 10px auto;
}

#waterfall .item {
    float:left;
}

.avatar-box
{
	display:block;
    background-color: #fff;
	overflow:hidden;
    margin: 10px;
    width: 167px;
    padding:0px;
    border:none;
    border-radius:0px;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.avatar-box .photo-frame
{
    margin:21px;
}

.avatar-box img
{
    height: 125px;
}

.avatar-box span
{
    font-weight:bold;
    text-align: center;
    display:block;
}

.movie-box
{
	display:block;
	background-color: #fff;
	overflow:hidden;
	margin: 5px;
	width: 167px;
    padding:0px;
    border:none;
    border-radius:0px;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.movie-box .photo-frame
{
	overflow:hidden;
	text-align: center;
	height:200px;
    margin:5px;
}

.movie-box img
{
	height: 200px;
}
.h5-header{margin-left:20px;}

.masonry a:focus, .masonry a:hover {
    text-decoration: unset;
}

@media screen and (max-width: 450px) {
    .h5-header{margin-left:10px;}
	.movie-box .photo-frame,
	.avatar-box .photo-frame
	{
		margin:0px;padding: 3px;
	}
    .avatar-box img
    {
        height: 125px;
    }
	.movie-box .photo-frame
	{
		height: auto;
	}
    
    .movie-box img
    {
        height: 100% !important;
    }
    .movie-box{margin: 3px;}
    .alert-common {margin: 3px;}.alert {padding: 8px;}
}

.movie-box date
{
    color:#CC0000;
    font-size:12px;
}

/*Custom*/
.item a:visited {
	color:#999;
}

.item-tag {
	white-space:nowrap;
	}
	
.item_2 .movie-box {
    width: 230px;
}
.item_2 .movie-box .photo-frame {
    height: 150px;
}
.item_2 .movie-box img {
    height: 150px;
    width: 100%;
}
.tag-376gy a{padding: 5px 8px;background-color: #f0f0f0;color: #666;border-radius: 5px;line-height: 2.5;margin: 4px;font-size: 13px;text-decoration: none;white-space: nowrap;}.tag-dhg67{padding: 5px 8px;background-color: #f13030;color: #fff;border-radius: 5px;line-height: 2.5;margin: 4px;font-size: 13px;white-space: nowrap;}.tag-jhf98 a,.tag-jhf98 b{border-radius: 5px;}
.alert-common h3{margin: 0 0 10px 0;color: black;}

/* ===== 分页组件 ===== */
.pagination-wrapper {
    margin: 20px auto;
    max-width: calc(100% - 32px);
}

.pagination-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.pagination-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.pagination-container .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666 !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    min-width: 80px;
}

.pagination-container .page-btn:hover {
    background: #e8e8e8;
    color: #333 !important;
    text-decoration: none;
}

.pagination-container .page-btn.disabled {
    background: #f9f9f9;
    color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-container .page-btn.disabled:hover {
    background: #f9f9f9;
    color: #ccc !important;
}

.page-current {
    background: #fff;
    color: #333 !important;
    min-width: 120px;
    position: relative;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

.page-current:hover {
    background: #f9f9f9;
    color: #333 !important;
    border-color: #d0d0d0;
}

.page-current .caret {
    margin-left: 8px;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid #666;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 0;
    vertical-align: middle;
}

.page-total {
    opacity: 0.8;
}

/* 下拉菜单（向上弹出） */
.page-dropdown {
    position: relative;
    display: inline-block;
}

.page-dropdown.dropup .page-menu {
    bottom: 100%;
    top: auto;
    margin-bottom: 4px;
}

.page-menu {
    min-width: 120px;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 4px;
}

.page-menu li {
    list-style: none;
}

.page-menu li a {
    display: block;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
}

.page-menu li a:hover {
    background: #f5f5f5;
    color: #333;
}

.page-menu li.active a {
    background: #f0f0f0;
    color: #333;
    font-weight: 600;
}

.page-menu li.active a:hover {
    background: #e8e8e8;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin: 16px 12px;
    }
    
    .pagination-group {
        padding: 10px 12px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-container .page-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 60px;
    }
    
    .page-current {
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin: 12px 8px;
    }
    
    .pagination-group {
        padding: 8px 10px;
        gap: 4px;
    }
    
    .pagination-container .page-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 50px;
    }
    
    .page-current {
        min-width: 90px;
        font-size: 12px;
    }
    
    .page-first,
    .page-next {
        flex: 1;
    }
}

/* ===== 分类统一页面样式（fenlei_unified.htm）===== */

/* 全部资源链接 */
.all-resources-link {
    margin: 0 0 25px 0;
}

.all-resources-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.all-resources-link a:hover {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-1px);
}

/* 广告显示控制 */
@media screen and (max-width: 1490px) { 
    .ad-table {display:none;}  
} 
@media screen and (min-width: 1490px) { 
    .ad-list {display:none;}  
}

/* 分类网格样式 - 现代扁平化风格 */
.category-section {
    margin-bottom: 30px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #3b82f6;
    border-radius: 2px;
    margin-right: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: none;
}

.category-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-grid a:hover {
    background: #e7f3ff;
    border-color: #3b82f6;
    color: #1e40af;
}

.category-grid a.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 14px;
        padding: 24px;
    }
}

@media (min-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}


.category-grid-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.category-grid-flow a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-grid-flow a:hover {
    background: #e7f3ff;
    border-color: #3b82f6;
    color: #1e40af;
}

/* 女优列表网格 */
.list-grid-container.actor-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 5px;
}

@media (min-width: 300px) {
    .list-grid-container.actor-grid {
        grid-template-columns: repeat(3, 1fr); /* 中屏每行6个 */
    }
}

@media (min-width: 500px) {
    .list-grid-container.actor-grid {
        grid-template-columns: repeat(5, 1fr); /* 中屏每行6个 */
    }
}

@media (min-width: 768px) {
    .list-grid-container.actor-grid {
        grid-template-columns: repeat(7, 1fr); /* 中屏每行6个 */
    }
}

@media (min-width: 1200px) {
    .list-grid-container.actor-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
}


/* 女优名称高度统一 - 扁平化风格 */
.actor-grid .actor-name {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    text-align: center;
    margin: 0;
    padding: 5px 8px;
    height: 24px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    white-space: nowrap;
}

/* 女优卡片优化 - 扁平化风格 */
.actor-grid .card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.actor-grid .card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.actor-grid .card-image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.actor-grid .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-grid .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* 标签信息条样式 */
.tag-info-bar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 16px;
    padding: 15px 24px;
}

.tag-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* 演员头像（仅演员标签） */
.tag-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.tag-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-info-left {
    flex: 1;
    min-width: 0;
}

/* 标签名称行：名称+关注按钮 */
.tag-name-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.tag-info-bar .tag-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 字体图标占位符 */
.tag-info-bar .iconfont {
    font-size: 16px;
}

.tag-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.tag-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.tag-stat-item i {
    flex-shrink: 0;
}

.tag-stat-item strong {
    color: #007bff;
    font-weight: 600;
}

.actor-details {
    color: #888;
    font-size: 13px;
}

.tag-info-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 关注按钮样式 */
.btn-follow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #007bff;
    border-radius: 8px;
    color: #007bff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-follow i {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.btn-follow:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-follow.active {
    background: #007bff;
    color: #fff;
}

.count-number {
    color: #007bff;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tag-info-bar {
        padding: 16px;
        margin: 12px;
    }
    
    .tag-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    /* 演员标签在移动端采用优化的布局 */
    .tag-info-bar.is-actor .tag-info-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* 顶部区域：头像居中 */
    .tag-info-bar.is-actor .tag-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 12px;
    }
    
    .tag-avatar {
        width: 60px;
        height: 60px;
    }
    
    /* 信息区域保持左对齐 */
    .tag-info-left {
        text-align: left;
        width: 100%;
    }
    
    /* 标签名称行在移动端也保持横向 */
    .tag-name-row {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .tag-info-bar .tag-name {
        font-size: 18px;
        justify-content: flex-start;
    }
    
    .tag-stats {
        gap: 12px;
        font-size: 13px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .tag-stat-item {
        font-size: 13px;
    }
    
    .actor-details {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }
    
    .tag-info-right {
        margin-left: 0;
    }
    
    .btn-follow {
        padding: 5px 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tag-info-bar {
        padding: 12px;
        margin: 8px;
    }
    
    .tag-info-content {
        gap: 12px;
    }
    
    .tag-info-bar.is-actor .tag-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .tag-avatar {
        width: 50px;
        height: 50px;
    }
    
    .tag-name-row {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .tag-info-bar .tag-name {
        font-size: 16px;
    }
    
    .tag-stats {
        align-items: flex-start;
        gap: 15px;
    }
    
    .tag-stat-item {
        font-size: 12px;
        justify-content: flex-start;
    }
    
    .actor-details {
        font-size: 11px;
        line-height: 1.6;
        word-break: break-all;
    }
    
    .btn-follow {
        padding: 5px 10px;
        font-size: 12px;
    }
}

@media screen and (min-width: 768px) {
    #ainuo_foot_nav {
        display: none;
    }
}
.overlay .col-xs-6 a {
    font-size: 20px;
}

