
.prompt-detail-page {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

/* 左侧区域 */
.left-wrap {
    width: 72%;
}
/* 右侧区域 */
.right-wrap {
    width: 28%;
    min-width: 320px;
}

/* 卡片公共样式 */
.card {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    border: 1px solid #f2f2f2;
}
.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* 提示词详情 */
.prompt-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
}
.prompt-cate {
    display: inline-block;
    background: #eaf3ff;
    color: #3370ff;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.prompt-content {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    background: #fafcff;
    padding: 25px;
    border-radius: 14px;
    white-space: pre-wrap;
    margin-bottom: 20px;
}

/* 数据统计 */
.prompt-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.meta-item i {
    color: #888;
    font-size: 16px;
}

/* 按钮靠右对齐 */
.prompt-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

/* 复制按钮 */
.copy-btn {
    background: #3370ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.copy-btn:hover {
    background: #285ff5;
}

/* 点赞按钮 */
.like-btn {
    background: #fafbfc;
    color: #666;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.like-btn:hover, .like-btn.active {
    background: #eef5ff;
    color: #3370ff;
    border-color: #dce8ff;
}

/* 列表样式 */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.item {
    display: block;
    padding: 14px 16px;
    background: #fafbfc;
    border-radius: 10px;
    color: #333;
    font-size: 15px;
    transition: 0.2s;
}
.item:hover {
    background: #eef5ff;
    color: #3370ff;
}

/* 右侧热门提示词 */
.hot-list {
    max-height: 750px;
    overflow-y: auto;
    padding-right: 8px;
}
.hot-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #fafbfc;
    border-radius: 10px;
    color: #333;
    font-size: 15px;
    transition: 0.2s;
    gap: 12px;
}
.hot-item:hover {
    background: #eef5ff;
    color: #3370ff;
}
.hot-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef5ff;
    color: #3370ff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hot-rank.top3 {
    background: #3370ff;
    color: #fff;
}
.hot-hot {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hot-icon {
    color: #ff7d00;
}

/* 滚动条美化 */
.hot-list::-webkit-scrollbar {
    width: 6px;
}
.hot-list::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 3px;
}


/* 响应式 */
@media (max-width: 992px) {
    .prompt-detail-page {
        flex-direction: column;
    }
    .left-wrap, .right-wrap {
        width: 100%;
    }
}