/* 右侧信息栏样式补充 */
.prompt-info-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chip-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    text-decoration: none;
}

.chip-member {
    background-color: #fffbeb;
    color: #d97706;
}

.prompt-actions-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #6b7280;
    font-size: 13px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.author-name {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
}

.stats-info {
    display: flex;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.update-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.intro-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* 内容盒子样式 */
.content-wrapper {
    position: relative;
}

.copy-box {
    position: relative;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    min-height: 120px;
    overflow: hidden;
}

.copy-box.collapsed {
    max-height: 240px;
}

.copy-box.locked .copy-content {
    user-select: none;
}

.copy-content {
    font-family: monospace;
    font-size: 14px;
    color: #374151;
    white-space: pre-wrap;
    word-break: break-all;
}

/* 折叠态渐变遮罩 - 在 copy-box 外部 */
.content-fade-overlay {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 32px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0) 0%, rgba(249, 250, 251, 1) 100%);
    z-index: 5;
    pointer-events: none;
    border-radius: 0 0 12px 12px;
}

.content-fade-overlay.hidden {
    display: none;
}

.toggle-expand-btn {
    display: block;
    text-align: center;
    padding: 8px 0 4px;
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
}

.toggle-expand-btn:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.toggle-expand-btn.hidden {
    display: none;
}

.copy-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80%;
    background: linear-gradient(to bottom,
            rgba(249, 250, 251, 0) 0%,
            rgba(249, 250, 251, 0.5) 20%,
            rgba(249, 250, 251, 0.85) 40%,
            rgba(249, 250, 251, 0.95) 60%,
            rgba(249, 250, 251, 1) 80%);
    z-index: 10;
    display: none;
}

.copy-box.locked .copy-overlay {
    display: block;
}

.copy-actions {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.view-content-btn {
    background-color: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.view-content-btn:hover {
    background-color: #1d4ed8;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: #1d4ed8;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.copy-btn.hidden {
    display: none;
}

/* 会员卡片 */
.member-promo-card {
    background: linear-gradient(to right, #f8fafc, #eff6ff);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.member-promo-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.promo-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 2px;
}

.promo-subtitle {
    font-size: 12px;
    color: #64748b;
}

.promo-link-arrow {
    color: #2563eb;
    font-size: 18px;
    font-weight: bold;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #334155;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification i {
    color: #4ade80;
}