/* Extracted from guide.html style block 1. */
.guide-section {
            margin-bottom: 2rem;
        }
        .guide-section h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 1.25rem;
        }
        .guide-section h2 span {
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .guide-block {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }
        .guide-block:hover {
            border-color: var(--border-glow);
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
        }
        .guide-block h3 {
            font-family: 'Share Tech Mono', monospace;
            font-size: 1.05rem;
            letter-spacing: 1px;
            color: var(--text-bright);
            margin-bottom: 0.75rem;
        }
        .guide-block p, .guide-block li {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.8;
        }
        .guide-block ul, .guide-block ol {
            padding-left: 1.25rem;
            margin: 0.5rem 0;
        }
        .guide-block li {
            margin-bottom: 0.4rem;
        }
        .guide-block code {
            font-family: 'Share Tech Mono', monospace;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 3px;
            padding: 0.15rem 0.4rem;
            font-size: 0.9rem;
            color: var(--neon-blue);
            word-break: break-all;
        }
        .guide-block a {
            color: var(--neon-purple);
            text-decoration: none;
            border-bottom: 1px solid rgba(139, 92, 246, 0.3);
            transition: all 0.2s;
        }
        .guide-block a:hover {
            color: var(--text-bright);
            border-bottom-color: var(--neon-purple);
        }
        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--neon-purple), var(--bitcoin));
            border-radius: 50%;
            font-family: 'Orbitron', sans-serif;
            font-size: 0.8rem;
            font-weight: 700;
            color: #fff;
            margin-right: 0.5rem;
            flex-shrink: 0;
        }
        .step-row {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.75rem;
        }
        .step-row p {
            margin: 0;
        }
        .toc {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            position: sticky;
            top: 60px;
            z-index: 5;
            background: rgba(10,10,15,0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(139,92,246,0.06);
        }
        .toc a {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.75rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--text-muted);
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 0.35rem 0.7rem;
            text-decoration: none;
            transition: all 0.2s;
        }
        .toc a:hover {
            color: var(--text-bright);
            border-color: var(--border-glow);
            background: rgba(139, 92, 246, 0.05);
        }
        .toc a.active {
            color: var(--text-bright);
            border-color: var(--neon-purple);
            background: rgba(139, 92, 246, 0.1);
            box-shadow: 0 0 8px rgba(139,92,246,0.15);
        }
        .toc a::after { display: none; }
        .guide-note {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.85rem;
            color: var(--text-muted);
            border-left: 2px solid var(--neon-purple);
            padding-left: 0.75rem;
            margin-top: 0.75rem;
        }
        .feature-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin-top: 0.75rem;
        }
        .feature-mini {
            background: rgba(139, 92, 246, 0.04);
            border: 1px solid rgba(139, 92, 246, 0.1);
            border-radius: 4px;
            padding: 0.75rem;
        }
        .feature-mini strong {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.95rem;
            color: var(--text-bright);
            display: block;
            margin-bottom: 0.25rem;
        }
        .feature-mini span {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.5;
        }
        @media (max-width: 600px) {
            .feature-grid { grid-template-columns: 1fr; }
            /* Horizontal scroll-carousel on mobile — keeps the sticky TOC
               to a single line (~42px) instead of stacking 9 chips vertically
               and eating half the viewport. Scroll-snap gives chip-by-chip
               flick feel; webkit scrollbar hidden for cleanliness. */
            .toc {
                flex-direction: row;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x proximity;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                padding: 0.45rem 0.5rem;
                gap: 0.35rem;
            }
            .toc::-webkit-scrollbar { display: none; }
            .toc a {
                flex: 0 0 auto;
                scroll-snap-align: start;
                font-size: 0.7rem;
                padding: 0.3rem 0.6rem;
            }
        }

/* ============================================================
   GUIDE HERO — reuses the directory's NOSTR/{word} title style
   for visual continuity. Just a centering wrapper here; the
   actual NOSTR-glitch + GUIDE-gradient styles live in style.css
   under .dir-hero-h1.
   ============================================================ */

.guide-hero {
    margin: 1.5rem 0 2.25rem;
    display: flex;
    justify-content: center;
    text-align: center;
}
.guide-hero-h1 {
    align-items: center;
    margin: 0;
}
.guide-hero-h1 .dir-hero-h1-main {
    justify-content: center;
}

@media (max-width: 720px) {
    .guide-hero { margin: 1rem 0 1.75rem; }
}
