/* 龙猫风格 - 自然森林配色 */

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background: #f5f1e8;
}

/* 头部 - 天空蓝 */
header {
    background: linear-gradient(135deg, #87ceeb 0%, #b8e4f0 100%);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(135, 206, 235, 0.3);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
}

header h1 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

header h1 a {
    color: white;
    text-decoration: none;
}

.subtitle {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

/* 导航 */
nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 主容器 */
.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

main {
    min-height: 60vh;
}

/* 仪表盘布局 */
.dashboard {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* 漫画风仪表盘卡片 */
.dashboard-section {
    background: #fffef5;
    padding: 1.5rem;
    border-radius: 3px;
    border: 3px solid #333;
    box-shadow: 4px 4px 0 #333;
    position: relative;
}

.dashboard-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2em;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid #333;
    padding-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

/* 漫画风欢迎横幅 */
.welcome-section {
    grid-column: span 12;
    background: #fffef5;
    text-align: center;
    padding: 2.5rem;
    color: #333;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #ff6b9d 0px, #ff6b9d 20px,
        #5a8f5a 20px, #5a8f5a 40px,
        #87ceeb 40px, #87ceeb 60px,
        #d4a574 60px, #d4a574 80px
    );
}

.welcome-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #d4a574 0px, #d4a574 20px,
        #87ceeb 20px, #87ceeb 40px,
        #5a8f5a 40px, #5a8f5a 60px,
        #ff6b9d 60px, #ff6b9d 80px
    );
}

.welcome-section h2 {
    font-size: 2.2em;
    margin-bottom: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.welcome-section p {
    font-size: 1.1em;
    color: #6b5b5b;
    font-weight: 600;
}

/* 漫画风倒计时卡片 */
.countdown-card {
    background: #fffef5;
    border: 3px solid #333;
    border-radius: 3px;
    padding: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 3px 3px 0 #333;
    position: relative;
}

.countdown-card::before {
    content: '\2605';
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 1.2em;
    color: #ff6b9d;
}

.countdown-icon {
    font-size: 2em;
    margin-bottom: 0.3rem;
}

.countdown-title {
    color: #333;
    font-size: 0.95em;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.countdown-number {
    font-size: 2.8em;
    font-weight: 900;
    color: #333;
    line-height: 1;
}

.countdown-unit {
    color: #6b5b5b;
    font-size: 0.9em;
    margin-top: 0.2rem;
    font-weight: 700;
}

.countdown-date {
    color: #333;
    font-size: 0.8em;
    margin-top: 0.6rem;
    padding: 0.2rem 0.6rem;
    background: #f5f1e8;
    border: 2px solid #333;
    border-radius: 2px;
    display: inline-block;
    font-weight: 700;
}

/* 漫画风任务列表 */
.task-list {
    list-style: none;
}

.task-list li {
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    background: white;
    border: 2px solid #333;
    border-radius: 2px;
    border-left: 5px solid #5a8f5a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-weight: 600;
    color: #333;
}

.task-list li:hover {
    background: #f5f1e8;
    transform: translateX(3px);
    box-shadow: 2px 2px 0 #333;
}

.task-list li::before {
    content: '\25A1';
    font-size: 1.2em;
    color: #333;
}

/* 漫画风快速链接 */
.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: white;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    border-radius: 2px;
    transition: all 0.2s;
    font-weight: 700;
}

.quick-links a:hover {
    background: #f5f1e8;
    transform: translateX(3px);
    box-shadow: 2px 2px 0 #333;
}

.quick-links .emoji {
    font-size: 1.4em;
}

/* 漫画风内容列表 */
.content-list {
    list-style: none;
}

.content-list li {
    padding: 0.7rem 0;
    border-bottom: 2px dashed #d4a574;
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.content-list a:hover {
    color: #ff6b9d;
}

.content-list .date {
    color: #8a8a8a;
    font-size: 0.8em;
    margin-left: 0.5rem;
    font-weight: 600;
}

/* 漫画风灵感卡片 */
.inspiration-list {
    list-style: none;
}

.inspiration-list li {
    background: white;
    padding: 0.8rem 1rem;
    margin-bottom: 0.6rem;
    border: 2px solid #333;
    border-radius: 2px;
    border-left: 5px solid #d4a574;
    font-weight: 600;
    color: #333;
    box-shadow: 2px 2px 0 #333;
}

/* 漫画风统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.stat-item {
    background: white;
    padding: 1rem;
    text-align: center;
    border: 3px solid #333;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #333;
}

.stat-number {
    font-size: 2em;
    font-weight: 900;
    color: #333;
}

.stat-label {
    color: #6b5b5b;
    font-size: 0.85em;
    font-weight: 700;
}

/* 漫画风每日一句 */
.daily-quote {
    background: white;
    padding: 1rem;
    border: 3px solid #333;
    border-radius: 3px;
    margin-top: 1rem;
    text-align: center;
    box-shadow: 3px 3px 0 #333;
    position: relative;
}

.daily-quote::before {
    content: '\201C';
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 2em;
    color: #87ceeb;
    font-weight: 900;
}

.daily-quote p:first-child {
    color: #8a8a8a;
    font-size: 0.85em;
    font-weight: 700;
}

.daily-quote p:last-child {
    color: #333;
    font-style: italic;
    margin-top: 0.3rem;
    font-weight: 700;
    font-size: 1.05em;
}

/* 漫画风按钮 */
.manga-btn {
    float: right;
    font-size: 0.7em;
    padding: 0.3rem 0.8rem;
    background: #5a8f5a;
    color: white;
    border: 2px solid #333;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 900;
    box-shadow: 2px 2px 0 #333;
    transition: all 0.15s;
}

.manga-btn:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #333;
}

.manga-btn:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.manga-btn-add {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.6rem;
    background: white;
    border: 2px dashed #333;
    border-radius: 2px;
    cursor: pointer;
    color: #333;
    font-weight: 900;
    font-size: 0.95em;
    transition: all 0.15s;
}

.manga-btn-add:hover {
    background: #f5f1e8;
    box-shadow: 2px 2px 0 #333;
}

.manga-toast {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #e8f5e9;
    border: 2px solid #333;
    border-radius: 2px;
    text-align: center;
    color: #333;
    font-weight: 700;
    box-shadow: 2px 2px 0 #333;
}

.manga-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 900;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.manga-link:hover {
    border-bottom-color: #ff6b9d;
}

/* 列表页 */
.list-page {
    background: #fffef5;
    padding: 2rem;
    border-radius: 3px;
    border: 3px solid #333;
    box-shadow: 4px 4px 0 #333;
}

.list-page h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2em;
    font-weight: 900;
    border-bottom: 3px solid #333;
    padding-bottom: 0.5rem;
}

.list-page .content {
    margin-bottom: 2rem;
    color: #8a8a8a;
}

.post-list {
    list-style: none;
}

.post-list li {
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #5a8f5a;
    transition: all 0.3s;
}

.post-list li:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.post-list a {
    color: #5a8f5a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
}

.post-list a:hover {
    color: #4a7a4a;
}

.post-list .date {
    color: #8a8a8a;
    font-size: 0.9em;
    display: block;
    margin-top: 0.3rem;
}

.post-list .desc {
    color: #4a4a4a;
    font-size: 0.95em;
    margin-top: 0.5rem;
}

/* 文章页 */
.single-post {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.single-post h2 {
    color: #5a8f5a;
    margin-bottom: 1rem;
    font-size: 2em;
    font-weight: 600;
}

.meta {
    color: #8a8a8a;
    font-size: 0.9em;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8e4d9;
}

.tags {
    margin-top: 0.5rem;
}

.tag {
    display: inline-block;
    background: #e8f5e9;
    color: #5a8f5a;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85em;
    margin-right: 0.5rem;
}

.content {
    line-height: 1.9;
}

.content h2 {
    color: #5a8f5a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6em;
    font-weight: 600;
}

.content h3 {
    color: #d4a574;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.3em;
    font-weight: 600;
}

.content p {
    margin-bottom: 1rem;
}

.content ul, .content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
}

.content code {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.9em;
    border: 1px solid #e8e4d9;
}

.content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: none;
}

.content pre code {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 0.85em;
}

.content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    margin: 2rem 0;
}

.content blockquote {
    border-left: 4px solid #87ceeb;
    background: #f0f8ff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    color: #6b5b5b;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: white;
}

.content th, .content td {
    border: 1px solid #d4a574;
    padding: 0.8rem 1rem;
    text-align: left;
    color: #6b5b5b;
}

.content th {
    background: #e8f5e9;
    color: #5a8f5a;
    font-weight: 600;
}

.content tr:nth-child(even) {
    background: #faf9f6;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 2rem;
    color: #8a8a8a;
    margin-top: 3rem;
    border-top: 1px solid #e8e4d9;
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .dashboard-section {
        grid-column: span 1 !important;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.6em;
    }
    
    nav {
        gap: 0.5rem;
    }
    
    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.9em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-number {
        font-size: 2em;
    }
}

/* 项目进度追踪 */
.project-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 900;
    border: 2px solid #333;
    box-shadow: 2px 2px 0 #333;
    letter-spacing: 0.05em;
}

/* 状态机徽章（ticket 002）：meshing=灰、solving=琥珀、converged=绿 */
.status-meshing {
    background: #e0ddd4;
    color: #55524a;
}

.status-solving {
    background: #ffe9c2;
    color: #9a6b0f;
}

.status-converged {
    background: #c8e6c9;
    color: #2e7d32;
}

.page-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.last-tended {
    font-size: 0.75em;
    color: #8a877e;
}

.status-调研中 {
    background: #fff9e6;
    color: #333;
}

.status-进行中 {
    background: #e8f5e9;
    color: #333;
}

.status-已完成 {
    background: #c8e6c9;
    color: #333;
}

.status-暂停 {
    background: #f5f5f5;
    color: #333;
}

.progress-bar {
    flex: 1;
    min-width: 100px;
    height: 8px;
    background: #e8e4d9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar.large {
    height: 12px;
    margin: 1rem 0;
}

.progress-fill {
    height: 100% !important;
    background: #5a8f5a !important;
    border-radius: 4px;
    transition: width 0.3s;
    min-width: 2px;
}

.progress-text {
    font-size: 0.85em;
    color: #5a8f5a;
    font-weight: 600;
    min-width: 40px;
}

.phase-info {
    font-size: 0.85em;
    color: #8a8a8a;
}

/* 漫画风阶段追踪器 */
.phase-tracker {
    background: #fffef5;
    padding: 1.8rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border: 3px solid #333;
    box-shadow: 4px 4px 0 #333;
    position: relative;
}

.phase-tracker::before {
    content: '★';
    position: absolute;
    top: -14px;
    right: 20px;
    font-size: 1.5em;
    color: #ff6b9d;
    background: #fffef5;
    padding: 0 0.3rem;
}

.phase-tracker h3 {
    color: #333;
    margin-bottom: 1.2rem;
    font-size: 1.3em;
    font-weight: 900;
    letter-spacing: 0.05em;
    border-bottom: 3px solid #333;
    padding-bottom: 0.5rem;
}

/* 漫画风进度仪表盘 */
.progress-dashboard {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pie-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.pie-chart {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    border: 4px solid #333;
    box-shadow: 3px 3px 0 #333;
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    border: 3px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 900;
    color: #333;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85em;
    color: #333;
    font-weight: 600;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
    border: 2px solid #333;
}

.phase-detail {
    flex: 1;
    min-width: 280px;
}

/* 漫画风进度条 */
.progress-bar {
    flex: 1;
    min-width: 100px;
    height: 14px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    border: 2px solid #333;
}

.progress-bar.large {
    height: 18px;
    margin: 1rem 0;
}

.progress-fill {
    height: 100% !important;
    background: #5a8f5a !important;
    border-radius: 0;
    transition: width 0.3s;
    min-width: 2px;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 4px,
        rgba(255,255,255,0.3) 4px,
        rgba(255,255,255,0.3) 8px
    ) !important;
}

.progress-text {
    font-size: 0.85em;
    color: #333;
    font-weight: 900;
    min-width: 40px;
}

.phase-info {
    font-size: 0.85em;
    color: #333;
    font-weight: 700;
}

/* 漫画风阶段步骤 */
.phase-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    position: relative;
    gap: 0.3rem;
}

.phase-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: #333;
    z-index: 0;
}

.phase-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1em;
    margin-bottom: 0.5rem;
    border: 3px solid #333;
    box-shadow: 2px 2px 0 #333;
}

.phase-step.completed .step-number {
    background: #5a8f5a;
    color: white;
}

.phase-step.active .step-number {
    background: #ff6b9d;
    color: white;
    box-shadow: 2px 2px 0 #333, 0 0 0 3px rgba(255,107,157,0.3);
    animation: manga-pulse 1.5s ease-in-out infinite;
}

@keyframes manga-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.phase-step.pending .step-number {
    background: #f5f1e8;
    color: #999;
}

.step-label {
    font-size: 0.75em;
    color: #333;
    text-align: center;
    max-width: 75px;
    font-weight: 600;
    line-height: 1.3;
}

.phase-step.active .step-label {
    color: #ff6b9d;
    font-weight: 900;
}

@media (max-width: 768px) {
    .progress-dashboard {
        flex-direction: column;
        align-items: center;
    }
    .phase-detail {
        width: 100%;
    }
}

/* GitHub 仓库链接 */
.github-link-box {
    margin: 1rem 0;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #fffef5;
    border: 3px solid #333;
    border-radius: 3px;
    box-shadow: 4px 4px 0 #333;
    color: #333;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9em;
    transition: all 0.15s;
}

.github-link:hover {
    transform: translate(1px, 1px);
    box-shadow: 3px 3px 0 #333;
    background: #f5f1e8;
}

.github-icon {
    font-size: 1.2em;
}

.github-text {
    word-break: break-all;
}

.github-arrow {
    font-size: 1.1em;
    color: #5a8f5a;
}

/* 项目文档区域 */
.project-docs {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e8e4d9;
}

.project-docs h3 {
    color: #6b5b5b;
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.doc-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.doc-section {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    border: 2px solid #e8e4d9;
    transition: border-color 0.3s;
}

.doc-section:hover {
    border-color: #87ceeb;
}

.doc-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.doc-section-icon {
    font-size: 1.3em;
}

.doc-section-header h4 {
    margin: 0;
    color: #6b5b5b;
    font-size: 1.05em;
    flex: 1;
}

.doc-count {
    background: #e8f5e9;
    color: #5a8f5a;
    padding: 0.15rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 600;
}

.doc-desc {
    color: #8a8a8a;
    font-size: 0.85em;
    margin: 0 0 0.8rem 0;
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f5f5f5;
    flex-wrap: wrap;
}

.doc-list li:last-child {
    border-bottom: none;
}

.doc-list li a {
    color: #6b5b5b;
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

.doc-list li a:hover {
    color: #5a8f5a;
}

.doc-list .date {
    color: #8a8a8a;
    font-size: 0.8em;
}

.doc-status {
    padding: 0.1rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 600;
}

.doc-status.status-已完成 {
    background: #c8e6c9;
    color: #2e7d32;
}

.doc-status.status-进行中 {
    background: #e8f5e9;
    color: #5a8f5a;
}

.doc-status.status-评审中 {
    background: #fff9e6;
    color: #d4a574;
}

.doc-status.status-调研中 {
    background: #fff9e6;
    color: #d4a574;
}

.doc-priority {
    padding: 0.1rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 700;
}

.doc-priority.priority-P0 {
    background: #ffebee;
    color: #c62828;
}

.doc-priority.priority-P1 {
    background: #fff3e0;
    color: #e65100;
}

.doc-priority.priority-P2 {
    background: #e3f2fd;
    color: #1565c0;
}

/* ========== PM 转型项目互动样式 ========== */

/* 互动工具栏 */
.interactive-toolbar {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fffef5;
    border: 3px solid #333;
    border-radius: 3px;
    box-shadow: 4px 4px 0 #333;
}

.interactive-toolbar .manga-btn {
    float: none;
    font-size: 0.9em;
    padding: 0.5rem 1rem;
}

/* 弹窗 */
.pm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-modal-content {
    background: #fffef5;
    border: 3px solid #333;
    border-radius: 3px;
    box-shadow: 6px 6px 0 #333;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.pm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 3px solid #333;
}

.pm-modal-header h3 {
    margin: 0;
    color: #333;
    font-weight: 900;
    font-size: 1.2em;
}

.pm-close {
    background: none;
    border: 2px solid #333;
    border-radius: 3px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 900;
    box-shadow: 2px 2px 0 #333;
    transition: all 0.15s;
}

.pm-close:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #333;
}

.pm-close:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

/* 表单 */
.pm-form-area {
    padding: 1.5rem;
}

.pm-field {
    margin-bottom: 1rem;
}

.pm-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 900;
    color: #333;
    font-size: 0.9em;
}

.pm-field input,
.pm-field textarea,
.pm-field select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid #333;
    border-radius: 3px;
    font-size: 0.95em;
    background: white;
    font-family: inherit;
    box-sizing: border-box;
}

.pm-field input:focus,
.pm-field textarea:focus,
.pm-field select:focus {
    outline: none;
    border-color: #5a8f5a;
    box-shadow: 0 0 0 3px rgba(90, 143, 90, 0.2);
}

.pm-instructions {
    background: #fff9e6;
    border: 2px dashed #d4a574;
    border-radius: 3px;
    padding: 0.8rem;
    margin: 0.5rem 0;
}

.pm-instructions p {
    margin: 0;
    color: #6b5b5b;
    font-size: 0.85em;
}

/* 成功提示 */
.pm-success {
    text-align: center;
    padding: 1rem;
}

.pm-success-icon {
    font-size: 3em;
    margin-bottom: 0.5rem;
}

.pm-success h4 {
    color: #333;
    margin: 0.5rem 0;
    font-weight: 900;
}

.pm-success-path {
    color: #6b5b5b;
    font-weight: 700;
    margin-top: 1rem;
    text-align: left;
}

.pm-success-code {
    display: block;
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 0.8rem;
    border-radius: 3px;
    font-size: 0.85em;
    word-break: break-all;
    margin: 0.5rem 0;
    text-align: left;
}

.pm-success-tip {
    color: #6b5b5b;
    font-size: 0.85em;
    margin-top: 0.8rem;
}

/* 时间线 */
.project-timeline {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e8e4d9;
}

.project-timeline h3 {
    color: #333;
    font-size: 1.2em;
    font-weight: 900;
    margin-bottom: 1.2rem;
    border-bottom: 3px solid #333;
    padding-bottom: 0.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #333;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    background: #5a8f5a;
    border: 3px solid #333;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: #fffef5;
    border: 2px solid #333;
    border-radius: 3px;
    box-shadow: 3px 3px 0 #333;
    padding: 0.8rem 1rem;
}

.timeline-date {
    font-size: 0.8em;
    color: #999;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-title {
    color: #333;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.timeline-title:hover {
    color: #5a8f5a;
}

.timeline-tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.timeline-tag {
    background: #e8f5e9;
    color: #5a8f5a;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: 600;
}

/* ========== 编辑模式（htmltool2 式点击即改） ========== */

/* 悬浮保存条 */
.edit-save-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    background: #fffef5;
    border: 3px solid #333;
    border-radius: 3px;
    box-shadow: 5px 5px 0 #333;
    z-index: 999;
}

.edit-save-hint {
    font-weight: 900;
    font-size: 0.9em;
    color: #333;
}

/* 可编辑区域高亮 */
[contenteditable="true"] {
    outline: 2px dashed #5a8f5a;
    outline-offset: 4px;
    cursor: text;
}

[contenteditable="true"]:focus {
    outline: 2px solid #5a8f5a;
    background: #f5fbf5;
}

.edit-active {
    position: relative;
}

/* 编辑入口按钮行 */
.edit-entry-row {
    margin: 1rem 0;
}

.edit-entry-row .manga-btn {
    float: none;
    font-size: 0.85em;
    padding: 0.4rem 0.9rem;
}

/* 板块标题编辑链接 */
.doc-edit-link {
    font-size: 0.75em;
    font-weight: 700;
    color: #5a8f5a;
    text-decoration: none;
    border: 2px solid #5a8f5a;
    border-radius: 3px;
    padding: 0.15rem 0.5rem;
    margin-left: auto;
    transition: all 0.15s;
}

.doc-edit-link:hover {
    background: #5a8f5a;
    color: #fffef5;
    transform: translate(1px, 1px);
}

/* ============================================================
   深色 CFD 全站主题（ticket 003 定稿）：与门户首页统一的视觉语言
   tokens：bg #0b0e14 / panel #121826 / line #223047 / ink #e8ecf4 / dim #8fa0b8
   accents：viridis 绿 #5ec962 · 青 #21918c · amber #fca50a
   ============================================================ */
body {
    background: #0b0e14;
    color: #e8ecf4;
}
.container { background: transparent; }

/* ---- 页头 ---- */
header {
    background: #0d1320;
    border-bottom: 1px solid #223047;
}
header h1 a { color: #e8ecf4; }
.subtitle { color: #8fa0b8; }
nav {
    border-top: 1px solid #1b2436;
}
nav a {
    color: #aebbd2;
    border: 1px solid #223047;
    background: #121826;
}
nav a:hover {
    color: #5ec962;
    border-color: #5ec962;
}

/* ---- 页脚 ---- */
footer {
    background: #0d1320;
    color: #8fa0b8;
    border-top: 1px solid #223047;
}

/* ---- 文章与列表页 ---- */
.single-post, .list-page {
    background: transparent;
}
.single-post h2, .list-page h2 { color: #e8ecf4; }
.meta .date, .post-list .date, .content-list .date, .doc-list .date { color: #8fa0b8; }
.content { color: #c9d3e4; }
.content h2 { color: #e8ecf4; border-bottom: 1px solid #223047; }
.content h3 { color: #e8ecf4; }
.content h4 { color: #d6deec; }
.content a { color: #5ec962; }
.content a:hover { color: #8fe88f; }
.content p, .content li { color: #c9d3e4; }
.content strong { color: #e8ecf4; }
.content code {
    background: #16202f;
    color: #7ee0d0;
    border: 1px solid #223047;
}
.content pre {
    background: #0f1522;
    border: 1px solid #223047;
}
.content pre code { background: transparent; border: none; color: #c9d3e4; }
.content hr { background: #223047; }
.content blockquote {
    background: #101a2c;
    border-left: 4px solid #21918c;
    color: #aebbd2;
}
.content table { border-color: #223047; }
.content th {
    background: #16202f;
    color: #e8ecf4;
    border: 1px solid #223047;
}
.content td { border: 1px solid #1b2436; color: #c9d3e4; }
.content tr:nth-child(even) { background: #0f1522; }

/* ---- 列表 ---- */
.post-list li { border-bottom: 1px solid #1b2436; }
.post-list a { color: #e8ecf4; }
.post-list a:hover { color: #5ec962; }
.post-list .desc { color: #8fa0b8; }

/* ---- 标签与徽章 ---- */
.tag {
    background: #16202f;
    color: #8fa0b8;
    border: 1px solid #223047;
    box-shadow: none;
}
.status-badge {
    border: 1px solid #223047;
    box-shadow: none;
}
.status-meshing { background: #1c222e; color: #9aa3b2; }
.status-solving { background: #2a2413; color: #fca50a; }
.status-converged { background: #12291a; color: #5ec962; }

/* ---- 项目页：阶段条与饼图 ---- */
.phase-tracker {
    background: #121826;
    border: 1px solid #223047;
    box-shadow: none;
}
.phase-tracker h3 { color: #e8ecf4; }
.pie-chart { border: 1px solid #223047; }
.pie-center {
    background: #0f1522;
    color: #e8ecf4;
    border: 1px solid #223047;
}
.pie-legend { color: #8fa0b8; }
.legend-item { color: #8fa0b8; }
.progress-bar { background: #1b2436; border: 1px solid #223047; }
.progress-fill { background: linear-gradient(90deg, #21918c, #5ec962); }
.progress-text { color: #8fa0b8; }
.phase-info { color: #8fa0b8; }
.phase-steps::before { background: #223047; }
.phase-step.pending .step-number {
    background: #16202f;
    color: #6b7690;
    border: 1px solid #223047;
}
.phase-step.completed .step-number {
    background: #12291a;
    color: #5ec962;
    border: 1px solid #2a4a33;
}
.phase-step.active .step-number {
    background: #2a2413;
    color: #fca50a;
    border: 1px solid #5a4a1a;
}
.step-label { color: #8fa0b8; }
.phase-step.active .step-label { color: #fca50a; }
.phase-step.completed .step-label { color: #aebbd2; }

/* ---- 项目文档四板块 ---- */
.project-docs h3 { color: #e8ecf4; }
.doc-section {
    background: #121826;
    border: 1px solid #223047;
    box-shadow: none;
}
.doc-section:hover { border-color: #2c3a52; }
.doc-section-header h4 { color: #e8ecf4; }
.doc-count { background: #16202f; color: #8fa0b8; }
.doc-desc { color: #8fa0b8; }
.doc-list li a { color: #c9d3e4; }
.doc-list li a:hover { color: #5ec962; }
.doc-empty { color: #5b6878; }
.doc-status { border: 1px solid #223047; }
.doc-status.status-已完成 { background: #12291a; color: #5ec962; }
.doc-status.status-进行中 { background: #2a2413; color: #fca50a; }
.doc-status.status-调研中, .doc-status.status-评审中 { background: #2a2413; color: #fca50a; }
.doc-priority.priority-P0 { background: #2d1518; color: #f8765c; }

/* ---- GitHub 链接 ---- */
.github-link-box {
    background: #121826;
    border: 1px solid #223047;
}
.github-link { color: #aebbd2; }
.github-link:hover { color: #5ec962; }

/* ---- 时间线 ---- */
.project-timeline h3 { color: #e8ecf4; }
.timeline::before { background: #223047; }
.timeline-item { background: #121826; border: 1px solid #223047; }
.timeline-date { color: #8fa0b8; }
.timeline-title { color: #e8ecf4; }
.timeline-title:hover { color: #5ec962; }
.timeline-tag {
    background: #16202f;
    color: #8fa0b8;
    border: 1px solid #223047;
}

/* ---- 按钮 / 弹窗 / 编辑条 ---- */
.manga-btn {
    background: #16202f;
    color: #e8ecf4;
    border: 1px solid #2c3a52;
    box-shadow: none;
}
.manga-btn:hover { border-color: #5ec962; color: #5ec962; }
.manga-btn:active { transform: translateY(1px); }
.manga-btn-add { background: #12291a; color: #5ec962; border: 1px solid #2a4a33; box-shadow: none; }
.manga-link { color: #5ec962; }
.pm-modal { background: rgba(4, 6, 10, 0.7); }
.pm-modal-content {
    background: #121826;
    border: 1px solid #223047;
    color: #e8ecf4;
}
.pm-modal-header { border-bottom: 1px solid #223047; }
.pm-close { color: #8fa0b8; }
.pm-field label { color: #aebbd2; }
.pm-field input, .pm-field select, .pm-field textarea {
    background: #0f1522;
    color: #e8ecf4;
    border: 1px solid #223047;
}
.pm-instructions { background: #101a2c; }
.pm-instructions p { color: #8fa0b8; }
.interactive-toolbar .manga-btn { background: #16202f; }
.edit-save-bar { background: #121826; border: 1px solid #223047; }
.edit-save-hint { color: #8fa0b8; }
[contenteditable="true"] { background: #16202f; }
[contenteditable="true"]:focus { background: #0f1522; box-shadow: 0 0 0 1px #21918c; }

/* ---- 兼容：旧仪表盘残留类（当前未用，避免返潮） ---- */
.dashboard-section, .stat-item, .countdown-card, .daily-quote, .quick-links a, .task-list li {
    background: #121826;
    border-color: #223047;
    color: #c9d3e4;
}
.stat-number { color: #5ec962; }
.stat-label { color: #8fa0b8; }

/* ============================================================
   内容页排版增强（2026-09-16）——正文从"裸 markdown"升级为阅读版式
   作用域：single.html / list.html 渲染的全部内容页（前处理日记、知识地图、知识专题）
   ============================================================ */

/* 页头副标题（description） */
.page-lede {
    color: #9db1d0;
    font-size: 1.02rem;
    line-height: 1.8;
    margin: -0.4rem 0 1.4rem;
    padding-left: 1rem;
    border-left: 3px solid #21918c;
}

/* h2：viridis 强调条（替换原下边线，弱化分隔感、强化导航感） */
.content h2 {
    position: relative;
    padding-left: 1rem;
    border-bottom: none;
    margin-top: 2.4rem;
    letter-spacing: 0.02em;
}
.content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.24em;
    bottom: 0.24em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #5ec962, #21918c);
}
.content h2:first-child { margin-top: 0; }

/* h3：teal 段位标记 */
.content h3 {
    padding-left: 1.1rem;
    position: relative;
}
.content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    background: #21918c;
    border-radius: 2px;
    transform: rotate(45deg);
}

/* 引用块 → callout 卡片（"主线一句话"级别的强调） */
.content blockquote {
    background: #121826;
    border: 1px solid #223047;
    border-left: 3px solid #fca50a;
    border-radius: 10px;
    padding: 1rem 1.3rem;
    margin: 1.4rem 0;
}
.content blockquote p { color: #d6deec; margin-bottom: 0.4rem; }
.content blockquote p:last-child { margin-bottom: 0; }
.content blockquote strong { color: #fca50a; }

/* 表格 → 云图数据面板 */
.content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.4rem 0;
    font-size: 0.92rem;
    background: #121826;
    border: 1px solid #223047;
    border-radius: 10px;
    overflow: hidden;
}
.content thead th {
    background: #0f1522;
    color: #8fa0b8;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
    border-bottom: 2px solid #21918c;
    text-align: left;
    white-space: nowrap;
}
.content td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #1b2436;
    color: #c9d3e4;
    vertical-align: top;
}
.content tbody tr:last-child td { border-bottom: none; }
.content tbody tr:hover td { background: #162033; }

/* 链接：teal 底纹 → hover 变绿，带虚线下划线提示可点 */
.content a {
    color: #4fb3ae;
    text-decoration: none;
    border-bottom: 1px dashed #2a5a56;
    transition: color 0.15s, border-color 0.15s;
}
.content a:hover { color: #5ec962; border-bottom-color: #5ec962; }

/* 行内代码 & ASCII 链路图代码块 */
.content code {
    background: #0f1522;
    border: 1px solid #223047;
    color: #62b6a8;
}
.content pre {
    background: #0d1320;
    border: 1px solid #223047;
    border-left: 3px solid #21918c;
    line-height: 1.5;
}

/* 分隔线：渐变淡线，弱化"割裂感" */
.content hr {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, #223047 15%, #223047 85%, transparent);
    margin: 2.2rem 0;
}

/* 列表标记与强色 */
.content ul li::marker { color: #5ec962; }
.content ol li::marker { color: #21918c; }

/* ---- 列表页条目卡片化（前处理/知识区/日记列表） ---- */
.post-list li {
    background: #121826;
    border: 1px solid #223047;
    border-left: 3px solid #21918c;
    border-radius: 10px;
}
.post-list li:hover {
    background: #162033;
    border-left-color: #5ec962;
}
.post-list a { color: #e8ecf4; }
.post-list a:hover { color: #5ec962; }
.post-list .date { color: #8fa0b8; }
.post-list .desc { color: #9db1d0; }

/* ============================================================
   区控制台 /hub（2026-09-16）——前处理/求解/后处理入口页结构化
   动线条 + KPI 卡 + 模块卡网格 + 下游 CTA，与 /workbench 同语言
   ============================================================ */
.hub-root { max-width: 1120px; margin: 0 auto; }

/* 动线条：流水线三段指示 */
.hub-pipeline {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 1.8rem; padding: 0.85rem 1.2rem;
    background: #0f1522; border: 1px solid #223047; border-radius: 12px;
}
.hub-node { display: flex; flex-direction: column; text-decoration: none; padding: 0.3rem 0.95rem; border-radius: 9px; border: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.hub-node span { font-family: Consolas, monospace; font-size: 0.72rem; letter-spacing: 0.22em; color: #8fa0b8; }
.hub-node small { color: #5b6878; font-size: 0.68rem; margin-top: 0.1rem; }
.hub-node:hover span { color: #c9d3e4; }
.hub-node.hub-now { background: #16202f; border-color: #2a4a33; }
.hub-node.hub-now span { color: #5ec962; }
.hub-node.hub-now small { color: #9db1d0; }
.hub-flow { color: #3d4a63; font-family: Consolas, monospace; font-size: 0.75rem; }

/* KPI 条 */
.hub-kpis { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hub-kpi { flex: 1; min-width: 150px; background: #121826; border: 1px solid #223047; border-radius: 10px; padding: 0.7rem 1rem; }
.hub-kpi small { display: block; color: #8fa0b8; font-size: 0.68rem; letter-spacing: 0.12em; margin-bottom: 0.2rem; }
.hub-kpi b { font-size: 1.45rem; color: #e8ecf4; font-family: Consolas, monospace; }
.hub-kpi b.hub-amb { color: #fca50a; }
.hub-kpi b.hub-grn { color: #5ec962; }
.hub-kpi-sub { font-style: normal; color: #5b6878; font-size: 1rem; }

/* 模块卡网格 */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; margin-bottom: 1.8rem; }
.hub-card { background: #121826; border: 1px solid #223047; border-radius: 12px; padding-bottom: 0.6rem; display: flex; flex-direction: column; }
.hub-card h3 { margin: 0; padding: 0.7rem 1rem 0.55rem; border-bottom: 1px solid #1b2436; font-size: 0.78rem; letter-spacing: 0.18em; color: #8fa0b8; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.hub-card h3 b { color: #5ec962; font-family: Consolas, monospace; }
.hub-row { display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; padding: 0.44rem 1rem; border-bottom: 1px dashed #1b2436; font-size: 0.85rem; }
.hub-row a { color: #c9d3e4; }
.hub-row a:hover { color: #5ec962; }
.hub-dim { color: #5b6878; font-family: Consolas, monospace; font-size: 0.7rem; white-space: nowrap; }
.hub-more { display: block; padding: 0.5rem 1rem 0; color: #4fb3ae; font-size: 0.78rem; text-decoration: none; }
.hub-more:hover { color: #5ec962; }
.hub-projrow .hub-projbar { flex: 1; max-width: 130px; height: 4px; background: #1b2436; border-radius: 2px; position: relative; overflow: hidden; }
.hub-projrow .hub-projbar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #21918c, #5ec962); }
.hub-todo { color: #fca50a; font-family: Consolas, monospace; }
.hub-todo-text { color: #c9d3e4; flex: 1; }

/* 下游 CTA 卡 */
.hub-cta { border-color: #2a4a33; background: linear-gradient(135deg, #101a2c, #0d1320); }
.hub-cta h3 { border-bottom: none; color: #5ec962; letter-spacing: 0.22em; }
.hub-cta p { color: #9db1d0; font-size: 0.84rem; margin: 0.35rem 1rem; line-height: 1.65; }
.hub-cta-link { padding: 0 1rem 0.9rem; color: #fca50a; font-family: Consolas, monospace; font-size: 0.8rem; }
.hub-card.hub-cta:hover { border-color: #5ec962; }

/* 正文区与列表条目衔接 */
.hub-content { margin-top: 0.4rem; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; } .hub-pipeline { gap: 0.5rem; } }

/* ===== PROTOTYPE · ticket 005 · showcase 成果页（2026-09-17 定稿：变体 A 画廊，B/C 已删） ===== */
.sc-strip { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.6rem 1rem; background: #121826; border: 1px solid #223047; border-radius: 10px; margin-bottom: 1.25rem; }
.sc-count { font-size: 1.4rem; font-weight: 700; color: #5ec962; }
.sc-note { color: #8fa0b8; font-size: 0.85rem; }

/* 变体 A · 画廊 */
.sc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.sc-gcard { display: block; background: #121826; border: 1px solid #223047; border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; }
.sc-gcard:hover { border-color: #2a4a33; transform: translateY(-2px); }
.sc-fig { display: block; width: 100%; height: auto; }
.sc-gbody { padding: 0.9rem 1rem 1rem; }
.sc-kind { display: inline-block; font-size: 0.72rem; color: #8fa0b8; border: 1px solid #223047; border-radius: 999px; padding: 0.1rem 0.6rem; margin-bottom: 0.4rem; }
.sc-gbody h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: #e8ecf4; }
.sc-gconc { margin: 0 0 0.7rem; color: #8fa0b8; font-size: 0.88rem; line-height: 1.55; }
.sc-gfoot { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: #8fa0b8; }
.sc-open { margin-left: auto; color: #21918c; }

/* ===== 参考站借鉴小迭代（2026-09-17）：副题/相对时间/搁置检测/反链面板 ===== */
.hub-row-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hub-sub { margin: .12rem 0 0; font-size: .74rem; color: #8fa0b8; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stale-flag { font-size: .68rem; color: #fca50a; border: 1px solid rgba(252,165,10,.45); border-radius: 999px; padding: .04rem .45rem; flex: none; white-space: nowrap; }
.wb-stale { font-size: .65rem; color: #fca50a; border: 1px solid rgba(252,165,10,.45); border-radius: 999px; padding: .02rem .38rem; margin-left: .4rem; }
.backlinks-panel { margin-top: 2.2rem; background: #121826; border: 1px solid #223047; border-left: 3px solid #21918c; border-radius: 10px; padding: 1rem 1.25rem; }
.backlinks-panel h3 { margin: 0 0 .3rem; font-size: .95rem; color: #21918c; }
.backlinks-panel .bl-note { margin: 0 0 .6rem; font-size: .78rem; color: #8fa0b8; }
.backlinks-panel ul { list-style: none; margin: 0; padding: 0; }
.backlinks-panel li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed #1c2739; font-size: .88rem; }
.backlinks-panel li:last-child { border-bottom: none; }
.backlinks-panel li a { color: #e8ecf4; text-decoration: none; }
.backlinks-panel li a:hover { color: #5ec962; }
.backlinks-panel li .hub-dim { color: #8fa0b8; font-size: .75rem; flex: none; }
.bl-tag { font-size: .65rem; border-radius: 999px; padding: .04rem .4rem; flex: none; }
.bl-tend { color: #fca50a; border: 1px solid rgba(252,165,10,.45); }
.bl-cite { color: #21918c; border: 1px solid rgba(33,145,140,.45); }
