
/* 修复布局，确保内容可以滚动且控件可见 */
.u-content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    position: relative;
    margin-bottom: 0 !important;
}

.detail-image-container {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 120px;
    /* 留出底部控件空间 */
}

/* 强制显示底部控件 */
.detail-controls-overlay {
    margin-top: -12rem;
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 40px 16px 60px;
    /* 增加底部内边距，使内容上移 */
}

/* 确保评论区样式正确 */
.comment-section {
    display: block !important;
    padding: 24px 20px 40px;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    border-top: #008EFE solid 1px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.comment-title {
    font-size: 16px;
    font-weight: 700;
    color: #CFCDE4;
}

.comment-sort {
    font-size: 14px;
    color: #008EFE;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.sort-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #008EFE;
    margin-top: 2px;
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-body {
    flex: 1;
}

.comment-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-user {
    font-size: 14px;
    color: #CFCDE4;
    font-weight: 500;
}

.comment-time {
    font-size: 12px;
    color: #8C8EA6;
}

.comment-text {
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 20px;
}

.c-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8C8EA6;
    cursor: pointer;
}

.comment-footer {
    text-align: center;
    padding: 20px 0;
    color: #8C8EA6;
    font-size: 13px;
}

/* 进度条样式补充 */
.progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    margin-right: 1rem;
    padding-right: 10px;
}

.page-count {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    min-width: 36px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #008EFE;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-thumb {
    width: 10px;
    height: 10px;
    background: #008EFE;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* 评论输入框样式 */
.comment-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-input {
    flex: .9;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    height: 40px;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8533ED, #008EFE);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}