.thoughts-page {
    min-height: 100vh;
    background: #fafafa;
    padding-bottom: 4rem;
}

.thoughts-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
    margin-bottom: 3rem;
}

.thoughts-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 编辑器 */
.post-editor {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.auth-gate {
    text-align: center;
    padding: 2rem;
}

.editor-form h3 {
    margin-bottom: 1rem;
    color: #333;
}

.editor-form textarea {
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.editor-form textarea:focus {
    outline: none;
    border-color: #fa709a;
}

.editor-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.5rem;
}

.checkbox-wrapper input {
    width: 18px;
    height: 18px;
    accent-color: #fa709a;
}

/* 过滤器 */
.thoughts-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-chip {
    padding: 0.5rem 1.5rem;
    border: none;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-chip.active,
.filter-chip:hover {
    background: #fa709a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250,112,154,0.3);
}

/* 想法列表 */
.thoughts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.thought-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
    border-left: 4px solid transparent;
}

.thought-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.thought-card.public {
    border-left-color: #4caf50;
}

.thought-card.private {
    border-left-color: #ff9800;
    background: linear-gradient(to right, #fffbf0, white);
}

.thought-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.thought-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.thought-date {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.thought-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.thought-badge.public {
    background: #e8f5e9;
    color: #4caf50;
}

.thought-badge.private {
    background: #fff3e0;
    color: #ff9800;
}

.thought-content {
    color: #333;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.thought-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.action-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s;
    cursor: pointer;
}

.action-link:hover {
    color: #fa709a;
}

.thought-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag-pill {
    padding: 0.2rem 0.8rem;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
}

/* 评论模态框 */
.comment-modal {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
    margin: 1rem 0;
    padding-right: 0.5rem;
}

.comment-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-time {
    color: #999;
    font-size: 0.8rem;
}

.comment-content {
    color: #555;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-style: italic;
}

.comment-input-area {
    border-top: 2px solid #f0f0f0;
    padding-top: 1rem;
}

/* 空状态 */
.empty-thoughts {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* 删除按钮 */
.delete-thought {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.3rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.thought-card:hover .delete-thought {
    opacity: 1;
}

.delete-thought:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .delete-thought {
        opacity: 1;
    }
    
    .thought-card {
        padding: 1.2rem;
    }
}