/* ===== 场景枢纽页（/guides/）=====
   由 scripts/build-guides.js 生成页面，本文件只放样式。
   颜色一律取 variables.css，禁止硬编码主题外色值。 */

.guide-hero {
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2.5rem;
}

.guide-crumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.guide-crumb a {
    color: var(--text-light);
    text-decoration: none;
}

.guide-crumb a:hover {
    color: var(--primary);
}

.guide-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 46em;
}

.guide-block {
    margin-bottom: 3rem;
}

.guide-block > h2 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--primary);
}

/* 30 秒判断：适合 / 不用 */
.guide-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
}

.guide-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.guide-card--use h3 {
    color: var(--success);
}

.guide-card--skip h3 {
    color: var(--text-light);
}

.guide-card ul {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.guide-card li {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

/* 三步路径 */
.guide-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.guide-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px dashed var(--border-light);
}

.guide-step:last-child {
    border-bottom: none;
}

.guide-step-no {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--accent-tint);
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-step-body {
    flex: 1 1 auto;
    min-width: 0;
}

.guide-step-body h3 {
    font-size: 1.02rem;
    margin-bottom: 0.4rem;
}

.guide-step-body p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.guide-step-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* 两条路 */
.guide-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.guide-path {
    display: block;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.guide-path:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.guide-path-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--accent-tint);
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.guide-path h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.guide-path p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

/* 常见失败原因 */
.guide-faq {
    margin: 0;
}

.guide-faq dt {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 1.1rem;
}

.guide-faq dt:first-child {
    margin-top: 0;
}

.guide-faq dd {
    margin: 0.4rem 0 0 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* 工具 / 文章清单 */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.guide-item {
    display: block;
    padding: 1.15rem 1.35rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.2s;
}

.guide-item:hover {
    border-color: var(--primary);
}

.guide-item h3 {
    font-size: 0.98rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.guide-item p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.guide-privacy {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-muted);
    padding: 1.25rem 1.5rem;
    background: var(--gold-tint);
    border-radius: var(--radius-md);
}

/* 场景总览 */
.guide-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* 尚未归入场景的工具/游戏入口 */
.guide-more {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border);
}

.guide-more-note {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.guide-scene-card {
    display: block;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.guide-scene-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.guide-scene-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.guide-scene-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-light);
    margin: 0 0 0.75rem;
}

.guide-scene-state {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--accent-tint);
    color: var(--primary);
}

.guide-scene-state--soon {
    background: var(--bg-light);
    color: var(--text-muted);
}

/* ===== 关于我页面的联系链接 ===== */

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}

.about-links a {
    text-decoration: none;
    color: var(--primary, #C0281E);
    font-weight: 500;
}

.about-links a:hover {
    text-decoration: underline;
}

/* 区块导语：标题下的一行引导 */
.guide-block-lead {
    margin: -0.5rem 0 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== PC 固定列数：条目增加后每行自动对齐 ===== */
@media (min-width: 1024px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
