* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    padding: 2rem 1rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.vision {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}
.vision-line {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #e67e22;
}
.vision-line:first-child {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: #888;
}

.three-ports {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
    flex-wrap: wrap;
}
.port-btn {
    background: none;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}
.port-btn:hover, .port-btn.active {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
}

.tags-cloud {
    text-align: center;
    margin: 1rem 0 2rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}
.cloud-tag {
    display: inline-block;
    background: #eee;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}
.cloud-tag:hover, .cloud-tag.active {
    background: #e67e22;
    color: white;
}

.story-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.story-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid transparent;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.story-item:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
    transform: translateX(4px);
}
.story-num {
    width: 50px;
    font-size: 0.85rem;
    color: #e67e22;
    font-weight: 500;
}
.story-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
}
.story-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    background: #eee;
    color: #555;
}
.tag-life {
    background: #e8f5e9;
    color: #2e7d32;
}
.tag-creative {
    background: #e3f2fd;
    color: #1565c0;
}
.tag-dharma {
    background: #fce4ec;
    color: #c2185b;
}

.footer {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid #eaeaea;
    color: #999;
    font-size: 0.8rem;
}
.footer-links {
    margin-top: 0.5rem;
}
.footer-links a {
    color: #e67e22;
    text-decoration: none;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .story-num {
        width: 40px;
        font-size: 0.75rem;
    }
    .story-title {
        font-size: 0.9rem;
    }
}

/* Logo + 愿景行（左图右文，整体居中） */
.logo-vision-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 0.5rem;
}
.vision-text {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #e67e22;
}

/* 主标题居中 */
.site-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0.5rem 0 0.25rem;
}

/* 一句话定位 */
.site-tagline {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* 移除旧的 brand-header 样式（避免冲突） */
.brand-header {
    display: none;
}

/* 页脚链接样式 */
.footer-links {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}
.footer-links a {
    color: #e67e22;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-sep {
    margin: 0 0.5rem;
    color: #ccc;
}

/* 调整 Logo 区域靠左对齐（类似 DeepSeek 顶部导航） */
.logo-vision-row {
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 0;
}

/* 页脚链接统一为黑色 */
.footer-links a {
    color: #333 !important;
    text-decoration: none;
}
.footer-links a:hover {
    color: #000 !important;
    text-decoration: underline;
}
.footer-links span {
    color: #555;
}
.footer-sep {
    color: #999;
}

/* 词汇云区域优化 - 更紧凑，减少占用空间 */
.tags-cloud {
    max-height: 100px;
    overflow-y: auto;
    margin: 0.5rem 0 1rem;
    padding: 0.5rem;
    gap: 0.4rem;
}

.cloud-tag {
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
}

/* 三入口按钮间距优化 */
.three-ports {
    margin: 0.5rem 0 0.5rem;
    gap: 0.8rem;
}

.port-btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
}

/* 故事列表间距微调 */
.story-list {
    gap: 0.5rem;
}

.story-item {
    padding: 0.6rem 0.8rem;
}

.story-num {
    width: 45px;
    font-size: 0.8rem;
}

.story-title {
    font-size: 0.95rem;
}

.tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.6rem;
}

/* 分页页码按钮样式 */
.page-btn.active-page {
    background: #e67e22;
    color: white;
    border-color: #e67e22;
}

.page-dots {
    padding: 0 0.25rem;
    color: #999;
}
