/**
 * 午夜树洞主题专属样式
 * 深空星空风格
 */

/* ================= 基础覆盖 ================= */
html, body {
    font-family: "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    background: linear-gradient(150deg, #0a0e1f, #141a33, #0b1025) !important;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 隐藏原有侧边栏 */
.blog-container .row {
    display: block;
}
.blog-container .column-big {
    max-width: 100%;
    flex: 0 0 100%;
}
.blog-container .column-small,
.side-toolbar,
.blog-footer .footinfo .widget,
footer .side-toolbar {
    display: none !important;
}

/* ================= 星空背景 ================= */
.star-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 4s infinite ease-in-out;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ================= 导航栏 ================= */
.site-header {
    background: rgba(10, 14, 31, 0.6) !important;
    backdrop-filter: blur(12px);
    box-shadow: none !important;
    border-bottom: 1px solid rgba(150, 135, 220, 0.12) !important;
    padding: 16px 0;
    position: sticky !important;
    top: 0;
    z-index: 100;
}
.header-wrap {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 22px;
    font-weight: 600;
    color: #c3b9ff;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
}
.nav-menu a {
    color: #b4bdd8;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #e0d9ff;
}
.btn-nav-submit {
    padding: 8px 22px;
    background: #7c5ce8;
    color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 0 16px rgba(124, 92, 232, 0.35);
}
.btn-nav-submit:hover {
    background: #8e6ef5;
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(124, 92, 232, 0.5);
}
.nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(150, 135, 220, 0.4);
    background: rgba(11, 15, 35, 0.6);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 4px;
    vertical-align: middle;
}
.nav-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(124, 92, 232, 0.4);
}
.nav-avatar-link {
    display: inline-flex;
    text-decoration: none;
    margin-left: 4px;
}

/* ================= 首屏区域 ================= */
.hero-block {
    text-align: center;
    padding: 50px 0 40px;
}
.hero-block h1 {
    font-size: 42px;
    margin-bottom: 18px;
    color: #f0ebff;
    font-weight: 600;
    letter-spacing: 1px;
}
.hero-desc {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: 17px;
    line-height: 1.8;
    color: #a9b2d3;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-fill {
    display: inline-block;
    padding: 14px 38px;
    background: #7c5ce8;
    color: #fff;
    border-radius: 50px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(124, 92, 232, 0.35);
    border: none;
    cursor: pointer;
}
.btn-fill:hover {
    background: #8e6ef5;
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(124, 92, 232, 0.5);
}
.btn-outline-light {
    display: inline-block;
    padding: 14px 38px;
    background: transparent;
    color: #c3b9ff;
    border: 1px solid #7c5ce8;
    border-radius: 50px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background: rgba(124, 92, 232, 0.12);
    color: #e0d9ff;
}

/* 快速投稿卡片 */
.quick-submit-card {
    max-width: 700px;
    margin: 50px auto 0;
    background: rgba(25, 30, 60, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(150, 135, 220, 0.18);
    border-radius: 18px;
    padding: 28px;
}
.quick-submit-card h3 {
    margin-bottom: 16px;
    color: #d4ccff;
    font-size: 18px;
}
.quick-submit-card textarea,
.quick-submit-card input[type="text"] {
    width: 100%;
    background: rgba(11, 15, 35, 0.6);
    border: 1px solid #383e66;
    border-radius: 12px;
    padding: 14px;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
    font-family: inherit;
}
.quick-submit-card textarea {
    min-height: 120px;
    resize: none;
}
.quick-submit-card textarea:focus,
.quick-submit-card input[type="text"]:focus {
    border-color: #7c5ce8;
}
.quick-submit-card textarea::placeholder,
.quick-submit-card input[type="text"]::placeholder {
    color: #6b7299;
}
.quick-submit-card .btn-submit-small {
    margin-top: 14px;
    padding: 10px 28px;
    background: #7c5ce8;
    border: none;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}
.quick-submit-card .btn-submit-small:hover {
    background: #8e6ef5;
    box-shadow: 0 0 16px rgba(124, 92, 232, 0.4);
}

/* ================= 情绪标签 ================= */
.tag-row {
    padding: 10px 0 30px;
    text-align: center;
}
.tag-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.tag-item {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(124, 115, 216, 0.15);
    color: #b4a8f0;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(124, 115, 216, 0.25);
}
.tag-item:hover {
    background: rgba(124, 115, 216, 0.35);
    color: #e0d9ff;
    transform: translateY(-1px);
}

/* 标签页头部 */
.tag-page-header {
    text-align: center;
    padding: 40px 0 20px;
}
.tag-page-header h1 {
    font-size: 32px;
    color: #f0ebff;
    margin-bottom: 8px;
}
.tag-page-header p {
    color: #8892b0;
    font-size: 15px;
}

/* ================= 心事内容区 ================= */
.content-block {
    padding: 20px 0 60px;
}
.block-title {
    font-size: 20px;
    font-weight: 600;
    color: #d4ccff;
    margin-bottom: 24px;
    text-align: center;
}

/* ================= 时间线列表 ================= */
.timeline-list {
    position: relative;
    padding-left: 30px;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #7c73d8, #b4a8f0, #7c73d8);
    opacity: 0.5;
    border-radius: 2px;
}
.timeline-item {
    display: block;
    position: relative;
    margin-bottom: 24px;
    text-decoration: none;
    color: inherit;
}
.timeline-dot {
    position: absolute;
    left: -30px;
    top: 14px;
    width: 10px;
    height: 10px;
    background: #7c73d8;
    border-radius: 50%;
    border: 2.5px solid #141a33;
}
.timeline-content {
    background: rgba(25, 30, 60, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(150, 135, 220, 0.15);
    border-radius: 12px;
    padding: 18px 22px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.timeline-item:hover .timeline-content {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 115, 216, 0.15);
    border-color: rgba(150, 135, 220, 0.3);
}
.timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: #f0ebff;
    margin: 0 0 6px;
}
.timeline-text {
    font-size: 14px;
    color: #a9b2d3;
    margin: 0 0 10px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.timeline-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= 便利贴墙 ================= */
.sticky-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 10px 0;
}
.sticky-card {
    display: block;
    border-radius: 4px;
    padding: 22px;
    box-shadow: 3px 4px 10px rgba(0,0,0,0.25);
    text-decoration: none;
    color: #222;
    transition: transform 0.25s, box-shadow 0.25s;
    font-family: "Microsoft YaHei", system-ui, sans-serif;
}
.sticky-card:hover {
    transform: rotate(0deg) scale(1.04) !important;
    box-shadow: 5px 8px 18px rgba(0,0,0,0.35);
    z-index: 2;
}
.sticky-text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sticky-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= Pinterest 瀑布流 ================= */
.masonry-grid::after {
    content: '';
    display: block;
    clear: both;
}
.masonry-item {
    display: block;
    width: calc(33.333% - 15px);
    margin-bottom: 22px;
    text-decoration: none;
    color: inherit;
    float: left;
}
.masonry-content {
    background: rgba(25, 30, 60, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(150, 135, 220, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.masonry-item:hover .masonry-content {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(124, 115, 216, 0.15);
    border-color: rgba(150, 135, 220, 0.3);
}
.masonry-title {
    font-size: 15px;
    font-weight: 600;
    color: #f0ebff;
    margin: 0 0 8px;
    line-height: 1.4;
}
.masonry-text {
    font-size: 14px;
    color: #a9b2d3;
    margin: 0 0 12px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.masonry-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= 对话气泡 ================= */
.chat-list {
    max-width: 780px;
    margin: 0 auto;
    padding: 10px 0;
}
.chat-item {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}
.chat-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #2a2f4a;
}
.chat-avatar svg {
    display: block;
    width: 100%;
    height: 100%;
}
.chat-body {
    flex: 1;
    min-width: 0;
}
.chat-bubble {
    background: rgba(25, 30, 60, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    border: 1px solid rgba(150, 135, 220, 0.15);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.chat-item:hover .chat-bubble {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 115, 216, 0.15);
    border-color: rgba(150, 135, 220, 0.3);
}
.chat-title {
    font-size: 15px;
    font-weight: 600;
    color: #f0ebff;
    margin: 0 0 6px;
    line-height: 1.4;
}
.chat-text {
    font-size: 14px;
    color: #a9b2d3;
    margin: 0;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chat-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 0 4px;
    font-size: 12px;
}

/* ================= 单栏沉浸卡片 ================= */
.bigcard-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0;
}
.bigcard-item {
    display: block;
    margin-bottom: 24px;
    text-decoration: none;
    color: inherit;
}
.bigcard-content {
    background: rgba(25, 30, 60, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(150, 135, 220, 0.18);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}
.bigcard-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c5ce8, #b4a8f0, #7c5ce8);
    opacity: 0.7;
}
.bigcard-item:hover .bigcard-content {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 115, 216, 0.2);
    border-color: rgba(150, 135, 220, 0.35);
}
.bigcard-title {
    font-size: 18px;
    font-weight: 600;
    color: #f0ebff;
    margin: 0 0 10px;
    line-height: 1.4;
}
.bigcard-text {
    font-size: 15px;
    color: #a9b2d3;
    margin: 0 0 16px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bigcard-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= 极简纯文字列表 ================= */
.minimal-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0;
}
.minimal-item {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid rgba(150, 135, 220, 0.1);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.2s;
}
.minimal-item:hover {
    padding-left: 8px;
}
.minimal-title {
    font-size: 16px;
    font-weight: 600;
    color: #f0ebff;
    margin: 0 0 6px;
    line-height: 1.4;
}
.minimal-text {
    font-size: 14px;
    color: #a9b2d3;
    margin: 0 0 10px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.minimal-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= 便签瀑布流 ================= */
.sticky-masonry-grid::after {
    content: '';
    display: block;
    clear: both;
}
.sticky-masonry-item {
    display: block;
    width: calc(33.333% - 15px);
    margin-bottom: 22px;
    text-decoration: none;
    color: #222;
    float: left;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 3px 4px 10px rgba(0,0,0,0.25);
    font-family: "Microsoft YaHei", system-ui, sans-serif;
    transition: transform 0.25s, box-shadow 0.25s;
}
.sticky-masonry-item:hover {
    transform: rotate(0deg) scale(1.04) !important;
    box-shadow: 5px 8px 18px rgba(0,0,0,0.35);
    z-index: 2;
}
.sticky-masonry-text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sticky-masonry-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= 日记本卷轴 ================= */
.diary-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0;
}
.diary-item {
    display: block;
    margin-bottom: 24px;
    text-decoration: none;
    color: inherit;
}
.diary-date {
    font-size: 13px;
    color: #7c73d8;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.diary-item .diary-content {
    background: rgba(25, 30, 60, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(150, 135, 220, 0.12);
    border-radius: 12px;
    padding: 22px 26px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 31px,
        rgba(150, 135, 220, 0.06) 31px,
        rgba(150, 135, 220, 0.06) 32px
    );
    background-size: 100% 32px;
}
.diary-item:hover .diary-content {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 115, 216, 0.12);
    border-color: rgba(150, 135, 220, 0.25);
}
.diary-title {
    font-size: 16px;
    font-weight: 600;
    color: #f0ebff;
    margin: 0 0 8px;
    line-height: 1.4;
}
.diary-text {
    font-size: 14px;
    color: #a9b2d3;
    margin: 0 0 12px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.diary-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* ================= 通用标签/时间样式 ================= */
.card-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(124, 115, 216, 0.2);
    color: #b4a8f0;
    font-size: 12px;
}
.card-time {
    color: #6b7299;
    font-size: 12px;
}

/* ================= 查看更多 ================= */
.more-link {
    text-align: center;
    margin: 30px 0 10px;
}
.more-link a {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid rgba(150, 135, 220, 0.3);
    color: #b4a8f0;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 14px;
}
.more-link a:hover {
    background: rgba(124, 92, 232, 0.15);
    color: #e0d9ff;
    border-color: #7c5ce8;
}

/* ================= 分页 ================= */
.pagination {
    text-align: center;
    margin-top: 30px;
}
.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 4px;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    color: #a9b2d3;
    background: rgba(25, 30, 60, 0.4);
    border: 1px solid rgba(150, 135, 220, 0.15);
    transition: all 0.3s;
}
.pagination a:hover,
.pagination .current {
    background: #7c5ce8;
    color: #fff;
    border-color: #7c5ce8;
    box-shadow: 0 0 12px rgba(124, 92, 232, 0.4);
}

/* ================= 隐私框 & 页脚 ================= */
.privacy-box-wrap {
    padding: 20px 0;
}
.privacy-box {
    background: rgba(25, 30, 60, 0.4);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(150, 135, 220, 0.12);
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 13px;
    color: #8892b0;
    text-align: center;
}
.site-footer {
    background: transparent !important;
    border-top: 1px solid rgba(150, 135, 220, 0.1) !important;
    padding: 25px 0 35px;
    text-align: center;
    font-size: 13px;
    color: #5c6285;
}
.site-footer a {
    color: #6b7299;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.3s;
}
.site-footer a:hover {
    color: #b4a8f0;
}

/* ================= 详情页 ================= */
/* 阅读进度条 */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #7c5ce8, #b4a8f0, #7c5ce8);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(124, 92, 232, 0.5);
}

/* 详情页容器 */
.log-con {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(25, 30, 60, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(150, 135, 220, 0.15);
    border-radius: 20px;
    padding: 48px 50px;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: visible;
}

/* 情绪标签大徽章 */
.log-emotion-badge {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 50px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 标题 */
.log-title {
    font-size: 32px;
    font-weight: 700;
    color: #f0ebff;
    margin-bottom: 24px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* 元信息 pill 行 */
.log-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.log-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(11, 15, 35, 0.5);
    border: 1px solid rgba(150, 135, 220, 0.15);
    color: #a9b2d3;
    font-size: 12px;
}
.log-meta-pill svg {
    opacity: 0.7;
}
.log-meta-location {
    color: #b4a8f0;
    border-color: rgba(124, 115, 216, 0.3);
}
.log-meta-anon {
    color: #7c73d8;
    border-color: rgba(124, 115, 216, 0.3);
}

/* 分割线 */
.log-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(150, 135, 220, 0.25), transparent);
    margin: 28px 0;
}

/* 文章内容 */
.log-content-markdown {
    font-size: 16px;
    line-height: 1.9;
    color: #c3c8e0;
}
.log-content-markdown p {
    margin-bottom: 18px;
}
.log-content-markdown h1,
.log-content-markdown h2,
.log-content-markdown h3 {
    color: #f0ebff;
    margin-top: 28px;
    margin-bottom: 14px;
}
.log-content-markdown blockquote {
    border-left: 3px solid #7c5ce8;
    background: rgba(124, 92, 232, 0.08);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin: 18px 0;
    color: #b4bdd8;
}
.log-content-markdown blockquote p:last-child {
    margin-bottom: 0;
}

/* 标签区域 */
.log-tags-section {
    margin: 30px 0 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(150, 135, 220, 0.1);
}
.log-tags-label {
    display: inline-block;
    font-size: 12px;
    color: #6b7299;
    margin-right: 8px;
    margin-bottom: 8px;
}
.log-tag-chip {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 5px 16px;
    background: rgba(124, 115, 216, 0.12);
    color: #b4a8f0;
    border-radius: 50px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid rgba(124, 115, 216, 0.2);
    transition: all 0.3s;
}
.log-tag-chip:hover {
    background: rgba(124, 115, 216, 0.3);
    color: #e0d9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 115, 216, 0.15);
}

/* 上下篇导航卡片 */
.neighbor-log {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
    padding-top: 0;
    border-top: none;
}
.neighbor-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(11, 15, 35, 0.4);
    border: 1px solid rgba(150, 135, 220, 0.12);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.neighbor-card:hover {
    background: rgba(11, 15, 35, 0.6);
    border-color: rgba(150, 135, 220, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 115, 216, 0.1);
}
.neighbor-prev {
    text-align: left;
}
.neighbor-next {
    text-align: right;
    flex-direction: row-reverse;
}
.neighbor-empty {
    opacity: 0.5;
    pointer-events: none;
}
.neighbor-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(124, 115, 216, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b4a8f0;
}
.neighbor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.neighbor-label {
    font-size: 11px;
    color: #6b7299;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.neighbor-title {
    font-size: 14px;
    color: #c3c8e0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.neighbor-card:hover .neighbor-title {
    color: #e0d9ff;
}

/* ================= 评论 ================= */
.comment-box {
    max-width: 800px;
    margin: 0 auto 60px;
}
.comment-box h3 {
    font-size: 18px;
    color: #d4ccff;
    margin-bottom: 20px;
}

/* 评论表单容器 */
.comment-post {
    background: rgba(25, 30, 60, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(150, 135, 220, 0.12);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 30px;
}
.commentform {
    margin: 0;
}

/* 评论输入框 - 覆盖默认白底 */
.commentform .form-control,
.commentform .com_control,
.commentform textarea,
.commentform input[type="text"],
.commentform input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #383e66;
    border-radius: 10px;
    font-size: 14px;
    background: rgba(11, 15, 35, 0.5) !important;
    color: #e2e8f0 !important;
    outline: none;
    transition: border 0.3s;
    font-family: inherit;
    box-shadow: none !important;
}
.commentform textarea {
    min-height: 100px;
    resize: vertical;
}
.commentform .form-control::placeholder,
.commentform .com_control::placeholder,
.commentform textarea::placeholder,
.commentform input::placeholder {
    color: #6b7299 !important;
}
.commentform .form-control:focus,
.commentform .com_control:focus,
.commentform textarea:focus,
.commentform input:focus {
    border-color: #7c5ce8;
    background: rgba(11, 15, 35, 0.6) !important;
}

/* 评论信息行 */
.comment-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}

/* 提交按钮 */
.com_submit_p {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
}
.com_submit_p .btn {
    padding: 10px 28px;
    background: #7c5ce8;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.com_submit_p .btn:hover {
    background: #8e6ef5;
    box-shadow: 0 0 16px rgba(124, 92, 232, 0.4);
}
.com_submit_p .cancel-reply {
    background: rgba(150, 135, 220, 0.15);
    color: #b4a8f0;
}
.com_submit_p .cancel-reply:hover {
    background: rgba(150, 135, 220, 0.3);
    color: #e0d9ff;
    box-shadow: none;
}

/* 评论列表 */
.comment-list .comment {
    background: rgba(25, 30, 60, 0.35);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(150, 135, 220, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 14px;
}
.comment-list .comment-name {
    font-weight: 600;
    color: #b4a8f0;
    font-size: 14px;
    margin-bottom: 6px;
}
.comment-list .comment-content {
    font-size: 14px;
    color: #a9b2d3;
    line-height: 1.6;
}
.comment-list .comment-time {
    font-size: 12px;
    color: #6b7299;
    margin-top: 8px;
}

/* ================= 投稿页 & 隐私页 ================= */
.submit-form,
.privacy-con {
    max-width: 700px;
    margin: 30px auto 60px;
    background: rgba(25, 30, 60, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(150, 135, 220, 0.15);
    border-radius: 16px;
    padding: 35px;
}
.submit-form h2,
.privacy-con h2 {
    font-size: 22px;
    color: #f0ebff;
    margin-bottom: 20px;
}
.submit-form label {
    display: block;
    margin: 16px 0 6px;
    font-size: 14px;
    color: #b4bdd8;
}
.submit-form input[type="text"],
.submit-form textarea,
.submit-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #383e66;
    border-radius: 10px;
    font-size: 14px;
    background: rgba(11, 15, 35, 0.5);
    color: #e2e8f0;
    outline: none;
    transition: border 0.3s;
    font-family: inherit;
}
.submit-form input[type="text"]::placeholder,
.submit-form textarea::placeholder {
    color: #6b7299;
}
.submit-form input[type="text"]:focus,
.submit-form textarea:focus,
.submit-form select:focus {
    border-color: #7c5ce8;
}
.submit-form select {
    appearance: auto;
}
.submit-form select option {
    background: #141a33;
    color: #e2e8f0;
}
.submit-form button,
.submit-btn {
    padding: 12px 32px;
    background: #7c5ce8;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.submit-form button:hover,
.submit-btn:hover {
    background: #8e6ef5;
    box-shadow: 0 0 20px rgba(124, 92, 232, 0.4);
}
.submit-wrap,
.privacy-wrap {
    max-width: 700px;
    margin: 30px auto 60px;
    background: rgba(25, 30, 60, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(150, 135, 220, 0.15);
    border-radius: 16px;
    padding: 35px;
}
.submit-title {
    font-size: 22px;
    color: #f0ebff;
    margin-bottom: 20px;
}
.submit-msg {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}
.submit-msg.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #a5d6a7;
}
.submit-msg.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
}
.form-row {
    margin-bottom: 16px;
}
.form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #b4bdd8;
}
.form-row input[type="text"],
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #383e66;
    border-radius: 10px;
    font-size: 14px;
    background: rgba(11, 15, 35, 0.5);
    color: #e2e8f0;
    outline: none;
    transition: border 0.3s;
    font-family: inherit;
}
.form-row input[type="text"]::placeholder,
.form-row textarea::placeholder {
    color: #6b7299;
}
.form-row input[type="text"]:focus,
.form-row textarea:focus {
    border-color: #7c5ce8;
}
.submit-tips {
    margin-top: 24px;
    padding: 16px;
    background: rgba(25, 30, 60, 0.35);
    border: 1px solid rgba(150, 135, 220, 0.12);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #8892b0;
}
.privacy-wrap h2 {
    font-size: 20px;
    color: #f0ebff;
    margin: 24px 0 12px;
}
.privacy-wrap h2:first-child {
    margin-top: 0;
}
.privacy-wrap p,
.privacy-wrap li {
    font-size: 14px;
    line-height: 1.8;
    color: #a9b2d3;
}
.privacy-wrap ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.log-divider {
    border: 0;
    border-top: 1px solid rgba(150, 135, 220, 0.15);
    margin: 20px 0;
}

/* ================= 登录模态框 ================= */
.auth-modal-card {
    background: rgba(25, 30, 60, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(150, 135, 220, 0.2) !important;
    border-radius: 16px !important;
    color: #e2e8f0;
}
.auth-modal-head h3 {
    color: #f0ebff;
}
.auth-form-row input {
    background: rgba(11, 15, 35, 0.6) !important;
    border: 1px solid #383e66 !important;
    color: #e2e8f0 !important;
}
.auth-form-row input::placeholder {
    color: #6b7299 !important;
}
.auth-form-row input:focus {
    border-color: #7c5ce8 !important;
}
.auth-submit {
    background: #7c5ce8 !important;
    border: none !important;
}
.auth-submit:hover {
    background: #8e6ef5 !important;
    box-shadow: 0 0 16px rgba(124, 92, 232, 0.4) !important;
}
.auth-modal-switch a {
    color: #b4a8f0 !important;
}
.auth-modal-switch a:hover {
    color: #e0d9ff !important;
}

/* ================= 移动端自适应 ================= */
@media (max-width: 860px) {
    .hero-block h1 {
        font-size: 30px;
    }
    .sticky-wall {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .masonry-item {
        width: calc(50% - 11px);
    }
    .sticky-masonry-item {
        width: calc(50% - 11px);
    }
    .blog-header-nav .nav-list {
        gap: 14px;
    }
    .header-wrap {
        flex-wrap: wrap;
        gap: 10px;
    }
}
@media (max-width: 560px) {
    .hero-block h1 {
        font-size: 26px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-fill, .btn-outline-light {
        width: 80%;
        text-align: center;
    }
    .nav-menu {
        gap: 14px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-avatar {
        width: 30px;
        height: 30px;
    }
    .header-wrap {
        flex-direction: column;
        text-align: center;
    }
    .timeline-list {
        padding-left: 22px;
    }
    .timeline-dot {
        left: -22px;
        width: 9px;
        height: 9px;
    }
    .sticky-wall {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sticky-card {
        transform: rotate(0deg) !important;
    }
    .masonry-item {
        width: 100%;
        float: none;
    }
    .chat-item {
        gap: 10px;
        margin-bottom: 20px;
    }
    .chat-avatar {
        width: 34px;
        height: 34px;
    }
    .chat-bubble {
        padding: 12px 14px;
        border-radius: 14px;
        border-bottom-left-radius: 3px;
    }
    .chat-title {
        font-size: 14px;
    }
    .chat-text {
        font-size: 13px;
    }
    .bigcard-content {
        padding: 20px 22px;
    }
    .bigcard-title {
        font-size: 16px;
    }
    .bigcard-text {
        font-size: 14px;
    }
    .sticky-masonry-item {
        width: 100%;
        float: none;
        transform: rotate(0deg) !important;
    }
    .diary-content {
        padding: 16px 18px;
    }
    .diary-title {
        font-size: 15px;
    }
    .log-con {
        padding: 28px 22px;
        border-radius: 16px;
    }
    .log-title {
        font-size: 22px;
    }
    .log-meta-row {
        gap: 8px;
    }
    .log-meta-pill {
        font-size: 11px;
        padding: 4px 10px;
    }
    .neighbor-log {
        grid-template-columns: 1fr;
    }
    .neighbor-next {
        flex-direction: row-reverse;
    }
    .comment-post {
        padding: 18px;
    }
    .comment-info {
        grid-template-columns: 1fr;
    }
    .com_submit_p {
        flex-wrap: wrap;
    }
    .submit-form,
    .privacy-con {
        padding: 22px;
    }
}
