.post-page {
    position: relative;
    width: min(1320px, 97%);
    margin-top: 14px;
}

.post-modern {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(191, 219, 254, 0.42);
    background:
        radial-gradient(900px 280px at 8% -20%, rgba(99, 102, 241, 0.16), transparent 60%),
        radial-gradient(720px 240px at 90% -25%, rgba(56, 189, 248, 0.13), transparent 62%),
        rgba(255, 255, 255, 0.93);
    box-shadow:
        0 26px 50px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    border-radius: 22px;
    padding: 36px 38px;
    position: relative;
    overflow: hidden;
}

.post-modern::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -100px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0));
    pointer-events: none;
}

.post-title {
    letter-spacing: 0.2px;
    text-wrap: balance;
    font-size: clamp(30px, 4.2vw, 44px);
    line-height: 1.2;
    margin-bottom: 14px;
}

.post-modern .meta {
    gap: 10px;
}

.post-modern .meta span {
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.6);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.86));
    color: #1e3a8a;
    font-weight: 600;
    padding: 6px 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.post-modern .content {
    font-size: 18px;
    line-height: 2;
    color: #1f2937;
    margin-top: 30px;
    max-width: 88ch;
}

.post-modern .content p {
    margin: 0 0 1.2em;
    text-wrap: pretty;
}

.post-modern .content blockquote {
    margin: 1.2em 0;
    padding: 16px 18px;
    border-left: 4px solid #93c5fd;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(224, 242, 254, 0.78));
    color: #334155;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.post-modern .content ul,
.post-modern .content ol {
    padding-left: 1.45em;
}

.post-modern .content li + li {
    margin-top: 0.25em;
}

.post-modern .content img {
    margin: 14px 0;
    border-radius: 16px;
    border: 1px solid rgba(191, 219, 254, 0.45);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #dbeafe;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #dbeafe;
    padding: 8px 10px;
    text-align: left;
}

.markdown-content thead th {
    background: #eff6ff;
    color: #1e3a8a;
}

.post-toc-card {
    backdrop-filter: blur(4px);
    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(239,246,255,0.9));
}

.comment-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.post-nav-card {
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.comment-item {
    border-radius: 18px;
    border-color: rgba(191, 219, 254, 0.4);
}

.comment-form textarea.auth-input {
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.md-code-btn.is-success {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
}

@media (max-width: 800px) {
    .post-page {
        width: min(96%, 100%);
    }
    .post-modern {
        border-radius: 16px;
        padding: 20px 16px;
    }
    .post-modern .content {
        font-size: 15px;
        line-height: 1.82;
    }
    .post-title {
        font-size: 25px;
        line-height: 1.32;
    }
}
