/* 提示词详情页v4版本样式 - 基于原型 */

/* 背景设定 */
body {
    background: #f8fafc;
}

/* 主容器 */
.prompt-detail-v5-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 面包屑基础样式 */
.prompt-detail-v5-container .breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    align-items: center;
    padding: 0;
}

.prompt-detail-v5-container .breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.prompt-detail-v5-container .breadcrumb a:hover {
    color: #2563eb;
}

/* 两栏布局 */
.prompt-detail-v5-main {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

/* 左侧内容区 */
.prompt-detail-v5-left {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    min-width: 0;
    /* 防止溢出 */
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 右侧区域 */
.prompt-detail-v5-right {
    position: sticky;
    top: 84px;
    /* 距离顶部的距离，保持吸顶效果 */
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .prompt-detail-v5-main {
        grid-template-columns: 1fr;
    }

    .prompt-detail-v5-right {
        position: static;
        order: -1;
        /* 移动端可以把操作面板放前面，或者保留在后面 */
        padding: 20px;
    }

    .prompt-detail-v5-left {
        padding: 20px;
    }
}

/* 统一板块标题样式 - 与原型一致 */
.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, transparent);
    border-radius: 2px;
}

/* 敬请期待遮罩层 (Coming Soon) */
.coming-soon-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 32px 16px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.4) 0%, rgba(241, 245, 249, 0.4) 100%);
    border: 1px dashed rgba(203, 213, 225, 0.8);
    max-height: 400px;
    /* 限制由于内容太长导致的过长 */
}

/* 用遮罩做底部渐隐效果，让它看起来在往下消失 */
.coming-soon-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    z-index: 5;
}

.coming-soon-content {
    filter: blur(8px) grayscale(10%);
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
    transition: all 0.5s ease;
    /* 防止内容溢出遮罩 */
    max-height: 350px;
}

.coming-soon-wrapper:hover .coming-soon-content {
    filter: blur(5px) grayscale(0%);
    opacity: 0.8;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* 修改背景让渐变看起来更自然 */
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.coming-soon-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
    margin-bottom: 20px;
    animation: floatingBadge 3s ease-in-out infinite;
}

.coming-soon-text {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1), 0px 2px 4px rgba(255, 255, 255, 0.8);
    letter-spacing: -0.5px;
}

.coming-soon-subtext {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@keyframes floatingBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}