/* ================= 有声书专属样式 (Album View) ================= */

/* 1. 专辑头部 (Product Header) */
.product-header {
    background: #fff; padding: 30px; border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06); display: flex; gap: 30px; position: relative;
}
.cover-wrapper { width: 170px; flex-shrink: 0; position: relative; }
.album-cover { width: 170px; height: 170px; border-radius: 8px; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.vip-corner { position: absolute; top: 0; left: 0; background: linear-gradient(135deg, #ff4d4f, #cf1322); color: #fff; padding: 2px 8px; border-radius: 8px 0 8px 0; font-size: 12px; font-weight: bold; }

.info-wrapper { flex: 1; display: flex; flex-direction: column; padding-bottom: 2px; padding-right: 24px; border-right: 1px dashed #eee; }
.album-title { font-size: 20px; font-weight: 800; color: #000; margin-bottom: 12px; display: block; line-height: 1.4 }
.badge-score {
    display: inline-block !important; background: #fff7e6; color: #faad14; padding: 1px 6px; border-radius: 4px;
    font-size: 13px; font-weight: 800; border: 1px solid #ffe58f; margin-left: 8px; vertical-align: 2px;
}

.album-meta-row { color: #666; font-size: 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; }
.meta-divider { color: #e8e8e8; }
.simple-tags span { color: #888; background: #f7f7f7; padding: 2px 6px; border-radius: 4px; font-size: 12px; margin-right: 4px; }

.promo-bar { background: #fffbe6; border: 1px solid #ffe58f; padding: 0 12px; height: 36px; border-radius: 6px; color: #d48806; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.btn-vote { background: #faad14; color: #fff; border: none; padding: 2px 10px; border-radius: 20px; cursor: pointer; font-size: 12px; font-weight: bold;}

.action-row { display: flex; align-items: center; gap: 30px; margin-top: 30px; width: 100%; }
.btn-play-premium {
    background: linear-gradient(135deg, #4DE3E0 0%, #13c2c2 100%); color: #fff; border: none; padding: 0 28px; height: 42px; border-radius: 42px; font-size: 16px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: 0 6px 12px rgba(19, 194, 194, 0.25), inset 0 2px 4px rgba(255,255,255,0.3); transition: all 0.3s;
}
.btn-play-premium:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(19, 194, 194, 0.4), inset 0 2px 4px rgba(255,255,255,0.4); }

.btn-action { background: #fff; border: 1px solid #e0e0e0; color: #555; padding: 0 12px; height: 32px; border-radius: 32px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: all 0.2s; font-weight: 500; white-space: nowrap; }
.btn-action:hover { border-color: var(--primary); color: var(--primary); background: #f0fcfc; }
.btn-action .icon { width: 13px; height: 13px; fill: currentColor; }

.btn-share { margin-left: auto; color: #999; border-color: transparent; }
.btn-share:hover { background: #f5f5f5; color: #666; border-color: transparent;}
.btn-action.is-collected { background: #fff7e6; border-color: #fff7e6; color: #faad14; }
.btn-action.is-collected .icon { fill: #faad14; }
.btn-action.btn-order { border-color: #ff4d4f; color: #ff4d4f; }
.btn-action.btn-order:hover { background: #fff1f0; border-color: #cf1322; color: #cf1322; }
.btn-action.is-purchased { background: #f5f5f5; border-color: #e8e8e8; color: #999; cursor: default; }
.btn-action.is-purchased:hover { color: #999; border-color: #e8e8e8; }
.btn-gift { border-color: #ffadd2; color: #eb2f96; background: #fff0f6; }
.btn-gift:hover { border-color: #c41d7f; color: #c41d7f; background: #ffadd2; }

/* 2. 主播简区 (Host Card in Header) */
.host-wrapper { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-left: 10px; }
.host-avatar-box { position: relative; margin-bottom: 8px; }
.host-avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.host-v { position: absolute; bottom: 0; right: 0; background: #faad14; color: #fff; width: 16px; height: 16px; border-radius: 50%; font-size: 10px; border: 2px solid #fff; font-weight: bold; }
.host-name { font-size: 15px; font-weight: bold; margin-bottom: 4px; color: #333; }
.host-tagline { font-size: 12px; color: #999; margin-bottom: 10px; }
.host-stats { display: flex; gap: 15px; margin-bottom: 12px; font-size: 12px; color: #666; }
.host-stat-item b { display: block; color: #333; font-size: 14px; }
.btn-follow-host { width: 90%; padding: 5px 0; border: 1px solid var(--primary); color: var(--primary); background: #fff; border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 12px; }
.btn-follow-host:hover { background: var(--primary); color: #fff; }
.btn-followed { background: #f5f5f5; border-color: transparent; color: #999; }

/* 3. 主体布局 & Tab */
.main-body { display: grid; grid-template-columns: 880px 296px; gap: 24px; margin-top: 24px; padding-bottom: 50px;}
.bg-white { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.tab-nav { display: flex; gap: 40px; border-bottom: 1px solid #eee; margin-bottom: 24px; }
.tab-item { padding-bottom: 15px; font-size: 16px; color: #666; cursor: pointer; font-weight: 500; position: relative; transition: 0.2s;}
.tab-item:hover { color: var(--primary); }
.tab-item.active { color: var(--primary); font-weight: bold; }
.tab-item.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 2px; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* 4. 详情 & 剧组团队 (Cast) */
.section-title { font-size: 18px; font-weight: bold; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; border-left: 4px solid var(--primary); padding-left: 10px; }
.title-extra { font-size: 12px; color: #999; font-weight: normal; }
.intro-text { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 40px; text-align: justify; }

.cast-grid-compact { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 40px; }
.cast-card-mini { border: 1px solid #f5f5f5; border-radius: 8px; overflow: hidden; text-align: center; transition: all 0.2s; padding-bottom: 8px; position: relative; }
.cast-card-mini:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-3px); }
.cast-bg-mini { height: 35px; background: #f0fcfc; }
.cast-avatar-mini { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #fff; margin-top: -22px; object-fit: cover; background: #eee; }
.cast-name-mini { font-weight: bold; font-size: 12px; margin: 4px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cast-role-mini { font-size: 12px; color: #999; margin-bottom: 6px; display: block; transform: scale(0.9); }

.btn-cast-follow { font-size: 12px; color: var(--primary); border: 1px solid var(--primary); background: #fff; padding: 1px 8px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; transform: scale(0.9); transition: 0.2s; }
.btn-cast-follow:hover { background: var(--primary); color: #fff; }
.btn-cast-follow.followed { background: #f5f5f5; border-color: transparent; color: #999; }
.poster-zone { margin-top: 30px; border-top: 1px solid #f0f0f0; padding-top: 20px; text-align: center; }
.poster-label { color: #ccc; margin-bottom: 15px; font-size: 12px; letter-spacing: 2px; display: block; }
.full-poster { width: 100%; border-radius: 8px; display: block; }

/* 5. 节目列表 (Table) */
.episode-list { width: 100%; border-collapse: collapse; }
.episode-list tr { border-bottom: 1px solid #f9f9f9; transition: 0.2s; }
.episode-list tr:hover { background: #f5faff; }
.episode-list td { padding: 15px 10px; font-size: 14px; color: #555; }
.ep-idx { color: #999; font-size: 13px; width: 50px; text-align: center; }
.ep-title { color: #333; font-weight: 500; }
.ep-title:hover { color: var(--primary); cursor: pointer; }
.ep-meta { font-size: 12px; color: #aaa; text-align: right; width: 180px; }
.icon-play-small { width: 14px; height: 14px; margin-right: 5px; fill: #ccc; vertical-align: -2px; }
.episode-list tr:hover .icon-play-small { fill: var(--primary); }

/* 6. 评论区 (Comments) */
.comment-input-area { background: #f9f9f9; padding: 20px; border-radius: 8px; margin-bottom: 30px; display: flex; gap: 15px; }
.my-avatar { width: 40px; height: 40px; border-radius: 50%; background: #ddd; flex-shrink: 0; }
.my-avatar img {width: 100%; height: 100%; border-radius: 50%; }
.input-wrapper { flex: 1; }
.cmt-textarea { width: 100%; height: 80px; padding: 10px; border: 1px solid #eee; border-radius: 6px; font-size: 14px; outline: none; resize: none; background: #fff; transition: 0.3s; }
.cmt-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(19, 194, 194, 0.1); }
.cmt-tools { display: flex; justify-content: flex-end; align-items: center; margin-top: 10px; gap: 15px; }
.char-count { font-size: 12px; color: #999; }
.char-count.limit-reached { color: #ff4d4f; font-weight: bold; }
.btn-submit-cmt { background: var(--primary); color: #fff; border: none; padding: 6px 20px; border-radius: 20px; font-size: 13px; cursor: pointer; font-weight: bold; }

.comment-item { display: flex; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid #f9f9f9; padding-bottom: 20px; }
.cmt-avatar { width: 40px; height: 40px; border-radius: 50%; background: #eee; }
.cmt-content { flex: 1; }
.cmt-user { font-weight: bold; font-size: 14px; margin-bottom: 5px; display: flex; justify-content: space-between;}
.cmt-user-wrapper { display: flex; align-items: center; gap: 8px; }
.cmt-time { font-size: 12px; color: #999; font-weight: normal; }
.cmt-text { font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 10px; }
.cmt-actions { font-size: 12px; color: #999; display: flex; gap: 15px; cursor: pointer; }
.cmt-actions span:hover { color: var(--primary); }

/* 身份徽章 */
.badge-capsule { display: inline-flex; align-items: center; padding: 1px 6px 1px 2px; border-radius: 12px; font-size: 11px; font-weight: bold; height: 18px; line-height: 1; border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 1px 2px rgba(0,0,0,0.03); vertical-align: middle; }
.badge-icon-box { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; margin-right: 4px; }
.badge-icon-svg { width: 100%; height: 100%; fill: currentColor; }
.badge-zhubo { background: linear-gradient(90deg, #fff0f6 0%, #ffe4ed 100%); color: #eb2f96; border-color: #ffadd2; }
.badge-yunyin { background: linear-gradient(90deg, #e6f7ff 0%, #d6f0ff 100%); color: #1890ff; border-color: #91d5ff; }

/* 楼中楼回复 */
.reply-box { background: #f8f8f8; padding: 15px; border-radius: 6px; margin-top: 10px; }
.reply-item { display: flex; gap: 10px; margin-bottom: 12px; border-bottom: 1px dashed #eee; padding-bottom: 12px; }
.reply-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.reply-content { flex: 1; font-size: 13px; line-height: 1.5; }
.reply-user { font-weight: bold; color: #555; margin-right: 5px; }
.reply-text { color: #666; }

/* 7. 侧边栏 (Side Box) */
.side-box { margin-bottom: 24px; }
.side-header { font-weight: bold; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; border-left: 3px solid var(--primary); padding-left: 10px; }
.rank-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #fafafa; }
.rank-num { width: 24px; height: 24px; line-height: 24px; text-align: center; background: #eee; border-radius: 4px; font-size: 12px; font-weight: bold; color: #666; }
.rank-num.top1 { background: #ffec3d; color: #d48806; }
.rank-num.top2 { background: #d9d9d9; color: #555; }
.rank-num.top3 { background: #e6ccb2; color: #874d00; }
.icon { fill: currentColor; }