@charset "utf-8";

.post-md
{
    width: 100%;
    font-size: 16px;
    letter-spacing: 0;
    color: var(--text-secondary, #8899aa);
}

.post-md h1,
.post-md h2,
.post-md h3,
.post-md h4,
.post-md h5,
.post-md h6
{
    color: var(--text-primary, #e8e8f0);
    margin: 12px 0;
}
.post-md h1
{
    font-size: 1.9rem;
    line-height: 1.2;
    padding: 22px 0;
    border-bottom: 2px solid var(--neon-cyan, #00f0ff);
}
.post-md h2
{
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 18px 0;
    border-left: 3px solid var(--neon-cyan, #00f0ff);
    padding-left: 10px;
}
.post-md h3
{
    font-size: 1.3rem;
    line-height: 1.2;
    padding: 16px 0;
}
.post-md h4
{
    font-size: 1.15rem;
    line-height: 1.2;
    padding: 14px 0;
}
.post-md h5
{
    font-size: 1.1rem;
    line-height: 1.2;
    padding: 12px 0;
}
.post-md h6
{
    font-size: 1.05rem;
    line-height: 1.2;
    padding: 10px 0;
}
.post-md a
{
    color: var(--neon-cyan, #00f0ff);
    transition: color ease-in-out .3s, box-shadow ease-in-out .3s;
}
.post-md a:hover
{
    color: var(--neon-cyan, #00f0ff);
    box-shadow: 0 2px 0 var(--neon-cyan, #00f0ff);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}
.post-md strong
{
    font-weight: 700;
    color: var(--text-primary, #e8e8f0);
}
.post-md em
{
    font-style: italic;
    color: var(--neon-gold, #ffd700);
}
.post-md kbd
{
    padding: 2px 6px;
    background: var(--bg-card, #1a1f2e);
    border: 1px solid var(--border-color, #1e2a3a);
    color: var(--text-secondary, #8899aa);
    font-size: 0.85rem;
}
.post-md ol
{
    list-style: decimal;
    padding-left: 24px;
}
.post-md ul
{
    list-style: disc;
    padding-left: 24px;
}
.post-md ol li,
.post-md ul li { margin: 4px 0; }
.post-md img
{
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color, #1e2a3a);
    margin: 14px 0;
}
.post-md hr
{
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan, #00f0ff), transparent);
    margin: 24px 0;
    opacity: 0.5;
}

.post-md p,
.post-md blockquote
{
    width: 100%;
    margin: 10px 0;
}
.post-md blockquote
{
    border-left: 3px solid var(--neon-purple, #aa00ff);
    padding-left: 14px;
    word-wrap: break-word;
    background: rgba(170, 0, 255, 0.04);
    padding: 10px 14px;
    color: var(--text-secondary, #8899aa);
}

.post-md .video-container
{
    background: #000;
    overflow: hidden;
}
.post-md iframe,
.post-md .video-container iframe
{
    width: 100%;
    height: 100vh;
    max-height: 360px;
    margin: 12px 0;
}

.post-md>table
{
    width: 100%;
    text-align: left;
    border-spacing: 0;
    border: 1px solid var(--border-color, #1e2a3a);
}
.post-md>table th
{
    padding: 10px 12px;
    border-bottom: 2px solid var(--neon-cyan, #00f0ff);
    background: var(--bg-card, #1a1f2e);
    color: var(--neon-cyan, #00f0ff);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.post-md>table tr:nth-child(odd) td
{
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color, #1e2a3a);
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary, #8899aa);
}
.post-md>table tr:nth-child(even) td
{
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color, #1e2a3a);
    background: transparent;
    color: var(--text-secondary, #8899aa);
}
.post-md>table tr:hover td { background: rgba(0, 240, 255, 0.04); }

.post-md code
{
    background: #1a1f2e;
    padding: 2px 6px;
    color: var(--neon-cyan, #00f0ff);
    font-size: 0.9rem;
    border: 1px solid var(--border-color, #1e2a3a);
}

.post-md .hljs-ln-numbers
{
    opacity: .5;
    padding-right: 12px;
}
