/* ===================== 主题 CSS 变量 ===================== */
:root {
    --jc-bg-primary: linear-gradient(360deg, #ffd5df 0%, #9494a8 0%);
    --jc-glass-bg: rgba(255, 255, 255, 0.7);
    --jc-glass-bg-hover: rgba(255, 255, 255, 0.9);
    --jc-glass-border: rgba(255, 140, 158, 0.2);
    --jc-glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.1), 0 2px 8px rgba(255, 140, 158, 0.15);
    --jc-glass-shadow-accent: 0 8px 32px rgba(255, 140, 158, 0.2), 0 2px 8px rgba(255, 140, 158, 0.25);
    --jc-text-primary: #4a4a68;
    --jc-text-secondary: #6b6b88;
    --jc-text-tertiary: #9494a8;
    --jc-accent-primary: #ff94a8;
    --jc-accent-light: #ffc5d0;
    --jc-accent-pale: #ffeef2;
    --jc-pinkbackground: #f3ecf2;
    --jc-sunlight-darkness: #ffffff;
    --jc-pink-background: #ffebef;
    --jc-border-light: rgba(255, 255, 255, 0.6);
    --jc-border-divider: rgba(255, 140, 158, 0.1);
    --jc-radius: 16px;
    --jc-radius-sm: 12px;
    --jc-radius-pill: 24px;
    --jc-transition-duration: 0.4s;
}

.dark-mode {
    --jc-bg-primary: linear-gradient(135deg, #1a1a3a 0%, #222244 100%);
    --jc-glass-bg: rgba(38, 38, 70, 0.7);
    --jc-glass-bg-hover: rgba(45, 45, 80, 0.9);
    --jc-glass-border: rgba(255, 255, 255, 0.1);
    --jc-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    --jc-glass-shadow-accent: 0 8px 32px rgba(255, 140, 158, 0.15), 0 2px 8px rgba(255, 140, 158, 0.2);
    --jc-text-primary: #f5f5ff;
    --jc-text-secondary: #e0e0f0;
    --jc-text-tertiary: #b0b0d0;
    --jc-accent-primary: #ffa0b0;
    --jc-accent-light: #ffb8c4;
    --jc-accent-pale: #ffd8e0;
    --jc-pinkbackground: #262646;
    --jc-sunlight-darkness: #161829;
    --jc-pink-background: rgba(45, 45, 80, 0.9);
    --jc-border-light: rgba(255, 255, 255, 0.1);
    --jc-border-divider: rgba(255, 140, 158, 0.08);
}

/* ===================== 全局重置与页面背景 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

input[type=hidden] {
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* 页面背景 */
.global-bg {
    position: fixed;
    z-index: -999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-attachment: local;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/beijinga.png);
}

.dark-mode .global-bg {
    filter: brightness(0.6);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Loader Wrapper - 半透明遮罩，阻止点击和滚动 */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s;
    background: rgba(255, 255, 255, 0.4);
}

.loader-wrapper.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-wrapper.hide .loader-progress {
    animation: none !important;
    -webkit-animation: none !important;
}

body.loader-active {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
    scrollbar-gutter: stable;
}

/* Loader */
.loader {
    position: relative;
    opacity: 1;
    transition: opacity 0.2s ease;
    z-index: 1000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* Loader 3D 旋转方块已移除 - 减少 GPU 合成开销 */

/* Loader Progress - 进度数字 */
.loader-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #ff94a8;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 1;
    border: 1px solid #ffc8d3;
}

/* rotate-one/two/three keyframes 已移除 */

/* ===================== 全局基础与通用玻璃拟态 ===================== */
::selection {
    background: var(--jc-text-primary);
    color: var(--jc-accent-primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: var(--jc-radius-sm);
    background: var(--jc-glass-bg-hover);
    transition: all 0.3s;
}

.meta-author:hover {
    background: var(--jc-glass-bg-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.15);
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--jc-glass-border);
}

.author-name {
    font-size: 12px;
    color: var(--jc-text-secondary);
    font-weight: 500;
}

.post-sticky-icon {
    color: var(--jc-accent-primary);
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.post-sticky-icon:hover {
    color: #ff6b81;
    transform: scale(1.1);
}

body {
    background: var(--jc-bg-primary);
    color: var(--jc-text-primary);
    line-height: 1.6;
    padding-top: 105px;
    min-height: 100vh;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    overscroll-behavior-y: none;
    -webkit-overscroll-behavior-y: none;
}

body::-webkit-scrollbar {
    width: 0;
}

.header,
.left-sidebar,
.main-content,
.right-sidebar,
.footer,
.search,
.user-avatar,
.side-nav a,
.page-btn,
.form-control,
.submit-btn,
.comment-title,
.profile-tag,
.tag,
.post-item,
.jc-setting-modal,
.pagination,
.captcha-container {
    background: var(--jc-glass-bg);
    /* backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(4px); */
    border: 1px solid var(--jc-glass-border);
}

/* ===================== 顶部导航栏 ===================== */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 999;
    max-width: 1080px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 8px 20px;
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
}

.header.fixed {
    top: 0;
    border-radius: 0 0 var(--jc-radius) var(--jc-radius);
    box-shadow: var(--jc-glass-shadow-accent);
    background: rgb(255 255 255 / 90%);
}

.dark-mode .header.fixed {
    background: rgb(38 38 70 / 95%);
}

.logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--jc-glass-shadow-accent);
    transition: transform 0.3s;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05);
}

.logo a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    display: block;
}

.logo-text {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.nav-scroll-container {
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-scroll-container::-webkit-scrollbar {
    display: none;
}

.nav {
    display: flex;
    gap: 28px;
    padding: 4px 0;
}

.nav a {
    text-decoration: none;
    color: var(--jc-text-secondary);
    font-size: 17px;
    padding: 8px 0;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.nav a:hover {
    color: var(--jc-accent-primary);
}

.nav a.active {
    color: var(--jc-accent-primary);
    font-weight: 600;
}

.nav a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--jc-accent-light), var(--jc-accent-primary));
    border-radius: var(--jc-radius-sm);
    box-shadow: 0 2px 4px rgba(255, 140, 158, 0.2);
}

/* 二级导航下拉 */
.nav .nav-item {
    position: relative;
    display: inline-block;
}

.nav .nav-item>a {
    text-decoration: none;
    color: var(--jc-text-secondary);
    font-size: 17px;
    padding: 8px 0;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.nav .nav-item>a:hover,
.nav .nav-item>a.active {
    color: var(--jc-accent-primary);
}

.nav .nav-item>.sub-arrow {
    font-size: 16px;
    color: var(--jc-text-tertiary);
    cursor: pointer;
    margin-left: 2px;
    vertical-align: -2px;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.nav .nav-item:hover>.sub-arrow {
    transform: rotate(180deg);
    color: var(--jc-accent-primary);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 170px;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius-sm);
    box-shadow: var(--jc-glass-shadow-accent);
    padding: 6px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 120;
}

.nav .nav-item:hover .sub-menu,
.nav .nav-item:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 9px 14px;
    color: var(--jc-text-secondary);
    font-size: 14px;
    white-space: nowrap;
    border-radius: var(--jc-radius-sm);
    transition: all 0.2s;
    font-weight: 400;
}

.sub-menu li a:hover,
.sub-menu li a.active {
    color: var(--jc-accent-primary);
    background: rgba(255, 140, 158, 0.08);
}

/* 汉堡菜单按钮（移动端显示） */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--jc-radius);
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    color: var(--jc-text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    flex: none;
}

.nav-toggle:hover {
    color: var(--jc-accent-primary);
    background: var(--jc-glass-bg-hover);
}

/* 桌面端：允许二级下拉菜单不被横向滚动容器裁剪 */
@media (min-width: 769px) {
    .nav-scroll-container {
        overflow: visible;
    }
}

/* Pjax 顶部加载进度条 */
.pjax-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 10000;
    background: linear-gradient(90deg, var(--jc-accent-light), var(--jc-accent-primary));
    box-shadow: 0 0 8px rgba(255, 140, 158, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pjax-loading-bar.show {
    opacity: 1;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search {
    width: 165px;
    height: 40px;
    border-radius: var(--jc-radius);
    padding: 0 16px;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

.search:focus-within {
    width: 265px;
}

.search:hover,
.search:focus-within {
    background: var(--jc-glass-bg-hover);
    transform: scale(1.02);
    box-shadow: var(--jc-glass-shadow-accent);
}

.search-icon {
    color: var(--jc-accent-primary);
    font-size: 16px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--jc-text-primary);
    min-height: 30px;
    width: 110px;
}

.search-input::placeholder {
    color: var(--jc-text-tertiary);
}

.user-avatar {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-text-tertiary);
    border-radius: var(--jc-radius);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.user-avatar:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    transform: scale(1.1);
    box-shadow: var(--jc-glass-shadow-accent);
}

.deco-stickerf,
.deco-stickerg {
    position: absolute
}

/* 评论表单元素默认焦点环移除（用户主动点击时通过 :focus-visible 全局规则显示） */
.comment_xin_box .text:focus,
.comment_xin_box .text:focus-visible,
.comment_body #comment:focus,
.comment_body #comment:focus-visible,
.comment-modal .form-group .text:focus,
.comment-modal .form-group .text:focus-visible,
.comment-modal .comment_body #comment:focus,
.comment-modal .comment_body #comment:focus-visible {
    outline: none;
    box-shadow: none;
}

/* ===================== 布局容器与左侧边栏 ===================== */
.container.wrapper {
    max-width: 1080px;
    width: 95%;
    margin: 0 auto 20px;
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.left-sidebar {
    width: 80px;
    border-radius: var(--jc-radius);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--jc-glass-shadow);
    justify-content: space-between;
    position: sticky;
    top: 85px;
    align-self: flex-start;
    height: calc(100vh - 10px);
    z-index: 1000;
}

.side-nav-top,
.side-nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-nav a {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: var(--jc-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-text-tertiary);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    cursor: pointer;
}

.side-nav a::before {
    content: attr(title);
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--jc-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: var(--jc-glass-shadow-accent);
}

.side-nav a::after {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 6px 5px 0;
    border-style: solid;
    border-color: transparent var(--jc-accent-primary) transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.side-nav a:hover::before,
.side-nav a:hover::after {
    opacity: 1;
    visibility: visible;
}

.side-nav a:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-accent-primary);
    transform: scale(1.1);
    box-shadow: var(--jc-glass-shadow-accent);
}

.right-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    /* 新增 */
}

.main-right-wrapper {
    display: flex;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.main-content {
    flex: 1;
    border-radius: var(--jc-radius);
    padding: 20px;
    box-shadow: var(--jc-glass-shadow);
    min-width: 0;
}

/* ===================== 首页文章列表与分页 ===================== */
.post-item {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px;
    border-radius: var(--jc-radius);
    margin-bottom: 20px;
    box-shadow: var(--jc-glass-shadow);
}

.post-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.post-item:last-child {
    margin-bottom: 0;
}

.post-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-item-contenta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--jc-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.post-title a {
    color: var(--jc-text-primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--jc-accent-primary);
}

.post-title-text {
    display: inline;
}

.log-topflg {
    display: inline-block;
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 1px 8px;
    border-radius: var(--jc-radius-sm);
    margin-right: 8px;
    vertical-align: 2px;
}

.list-item-content>.post-title a strong {
    color: var(--jc-accent-primary);
    padding: 0 4px;
}

.post-excerpt {
    font-size: 15px;
    color: var(--jc-text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--jc-text-tertiary);
}

.post-meta-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.text-comment {
    text-align: right;
    background: var(--jc-pink-background);
    padding: 0px 10px;
    border-radius: var(--jc-radius-sm);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--jc-text-tertiary);
    text-decoration: none;
    transition: all 0.3s;
}

.meta-item i {
    font-size: 11px;
    color: var(--jc-accent-primary);
}

.post-meta-left a.meta-item:hover {
    color: var(--jc-accent-primary);
    transform: translateY(-1px);
}

.post-item-img {
    width: 140px;
    height: 140px;
    margin-left: 20px;
    flex-shrink: 0;
    border-radius: var(--jc-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.post-item-img::after {
    content: "\ea6e";
    font-family: 'remixicon';
    font-weight: 500;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.post-item-img:hover::after {
    opacity: 1;
}

.post-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.post-item-img:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.post-item-img:hover img {
    transform: scale(1.1);
}

#post_pager {
    display: flex;
    justify-content: space-between;
    padding: 0px 2px 0px 2px;
    align-items: center;
}

.pagerpl {
    padding: 0px 0px 0px 0px !important;
}

#post_pager a {
    display: flex;
    align-content: center;
    align-items: center;
    font-size: 13px;
    padding: 5px 8px;
    background: var(--jc-glass-bg);
    color: var(--jc-text-secondary);
    border-radius: 5px;
    padding-left: 12px;
    margin-right: 5px;
    text-decoration: none;
}

#post_pager a i {
    font-size: 1px;
}

.pager_inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#post_pager .c_paged {
    font-size: 14px;
    color: var(--jc-text-secondary);
}

.ias_triggera {
    padding: 0px;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.ias_triggera a {
    padding: 5px 15px;
    background: var(--jc-glass-bg);
    color: var(--jc-text-secondary);
    border-radius: 8px;
    text-decoration: none;
}

/* ===== 分页 ===== */
.pagination {
    margin-top: 20px;
    padding: 10px 0;
    border-radius: var(--jc-radius);
    text-align: center;
    box-shadow: var(--jc-glass-shadow);
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    border-radius: var(--jc-radius-pill);
    color: var(--jc-text-secondary);
    font-size: 13px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination span {
    color: #fff;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    box-shadow: var(--jc-glass-shadow-accent);
}

#pagenavi {
    margin-top: 12px;
    text-align: center;
}

#pagenavi a,
#pagenavi span {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px;
    border-radius: var(--jc-radius-pill);
    font-size: 13px;
    color: var(--jc-text-secondary);
}

#pagenavi span,
#pagenavi a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
}

/* ===================== 右侧边栏 ===================== */
.right-sidebar {
    width: 260px;
    border-radius: var(--jc-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--jc-glass-shadow);
    flex-shrink: 0;
    z-index: 1;
    position: sticky;
    top: 85px;
    height: fit-content;
}

.profilea {
    text-align: center;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--jc-border-divider);
    position: relative;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: var(--jc-radius);
    background: linear-gradient(135deg, var(--jc-accent-pale), var(--jc-accent-light));
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--jc-glass-shadow-accent);
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.avatar::after {
    content: "\f389";
    font-family: 'remixicon';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.avatar:hover::after {
    opacity: 1;
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    border-radius: 5px;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--jc-text-primary);
}

.profile-desc {
    font-size: 13px;
    color: var(--jc-text-secondary);
    margin-bottom: 16px;
}

.profile-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-tag {
    padding: 6px 10px;
    border-radius: var(--jc-radius-pill);
    font-size: 12px;
    color: var(--jc-text-secondary);
    transition: all 0.3s;
    font-weight: 500;
}

.profile-tag:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-accent-primary);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.1);
}

.side-section {
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius);
    padding: 16px;
    box-shadow: var(--jc-glass-shadow);
}

.side-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--jc-text-primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--jc-glass-border);
}

.side-title i {
    color: var(--jc-accent-primary);
    font-size: 14px;
}

.randomsxtb,
.randomsxbq {
    margin-left: auto;
    cursor: pointer;
    transition: transform 0.5s;
}

.randomsxtb:hover,
.randomsxbq:hover {
    transform: rotate(180deg);
}

.latest-posts li {
    list-style: none;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: var(--jc-radius-sm);
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-border-divider);
}

.latest-posts li:hover {
    background: var(--jc-glass-bg-hover);
    border-color: var(--jc-accent-primary);
}

.latest-posts a {
    color: var(--jc-text-secondary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    display: block;
}

.latest-posts a:hover {
    color: var(--jc-accent-primary);
    padding-left: 0;
}

/* ===== 标签 ===== */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    color: var(--jc-text-secondary);
    font-size: 12px;
    padding: 4px 14px;
    border-radius: var(--jc-radius-pill);
    transition: all 0.3s;
}

.tag:hover {
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: #fff;
    transform: translateY(-1px);
}

/* ===== 搜索 ===== */
.side-search {
    display: flex;
    gap: 8px;
}

.side-search .search-input {
    flex: 1;
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius-sm);
    padding: 8px 12px;
    background: var(--jc-glass-bg);
    color: var(--jc-text-primary);
    font-size: 13px;
    outline: none;
    min-width: 0;
}

.side-search button {
    border: none;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: #fff;
    font-size: 13px;
    padding: 0 14px;
    border-radius: var(--jc-radius-sm);
    cursor: pointer;
}

/* ===================== 页脚 ===================== */
.footer {
    width: 100%;
    padding: 16px;
    border-radius: var(--jc-radius);
    text-align: center;
    font-size: 13px;
    color: var(--jc-text-tertiary);
    box-shadow: var(--jc-glass-shadow);
    position: relative;
}

.footer p {
    margin-bottom: 8px;
}

.footer .copyright {
    color: var(--jc-accent-primary);
    font-weight: 500;
}

/* ===================== 文章详情页：标题与正文排版 ===================== */
.article-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--jc-text-primary);
    line-height: 1.4;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    padding: 20px;
    box-shadow: var(--jc-glass-shadow);
    position: relative;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--jc-text-tertiary);
    /*margin-bottom: 24px;*/
    padding-bottom: 12px;
    border-bottom: 1px solid var(--jc-border-divider);
}

.article-title:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.article-content {
    font-size: 16px;
    color: var(--jc-text-primary);
    line-height: 1.8;
    margin-bottom: 30px;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    padding: 20px;
    box-shadow: var(--jc-glass-shadow);
    position: relative;
}

.article-content:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content h1 {
    font-size: 22px;
    margin: 30px 0 15px;
    font-weight: 700;
    border-left: 4px solid var(--jc-accent-primary);
    padding-left: 10px;
    background: linear-gradient(90deg, var(--jc-accent-pale), transparent);
    padding: 8px 12px;
    border-radius: 0 var(--jc-radius-sm) var(--jc-radius-sm) 0;
}

.article-content h2 {
    font-size: 20px;
    margin: 28px 0 14px;
    font-weight: 700;
    border-left: 3px solid var(--jc-accent-primary);
    padding-left: 10px;
}

.article-content h3 {
    font-size: 18px;
    margin: 26px 0 13px;
    font-weight: 600;
    color: var(--jc-accent-primary);
}

.article-content .bold,
.article-content strong {
    color: var(--jc-accent-primary);
    font-weight: 700;
}

.article-content del {
    color: var(--jc-text-tertiary);
    text-decoration: line-through var(--jc-accent-primary);
}

.article-content u {
    text-decoration: underline var(--jc-accent-primary) 2px;
}

.article-content em {
    color: var(--jc-accent-primary);
    font-style: italic;
}

.inlinkgl {
    color: var(--jc-accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--jc-accent-light);
    transition: all 0.3s;
    padding: 0 4px;
}

.inlinkgl:hover {
    color: #ff6b81;
    border-bottom: 1px solid #ff6b81;
}

.article-content pre {
    position: relative;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    padding: 16px;
    margin: 20px 0;
    overflow-x: auto;
    border: 1px solid var(--jc-border-light);
    box-shadow: var(--jc-glass-shadow);
}

.article-content code {
    background: var(--jc-glass-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--jc-accent-primary);
}

.article-content pre code {
    background: transparent;
    padding: 0;
    color: var(--jc-text-primary);
}

.article-content ul,
.article-content ol {
    margin: 15px 0 20px 25px;
}

.article-content ul li {
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 15px;
}

.article-content ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    left: 0;
    bottom: 10px;
    font-size: 10px;
    background-color: var(--jc-accent-primary);
    border-radius: 50%;
}

.article-content ol {
    counter-reset: li-counter;
}

.article-content ol li {
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.article-content ol li::before {
    counter-increment: li-counter;
    content: counter(li-counter);
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(255, 140, 158, 0.2);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: var(--jc-radius);
    overflow: hidden;
    box-shadow: var(--jc-glass-shadow);
    background: var(--jc-glass-bg);
}

.article-content th,
.article-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--jc-border-light);
}

.article-content th {
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: white;
    font-weight: 600;
}

.modal-content>.comment-body>.article>.article-header {
    background: var(--jc-glass-bg);
    box-shadow: var(--jc-glass-shadow);
    border-radius: var(--jc-radius);
}

.modal-content>.comment-body>.article>.article-header>.article-meta {
    padding: 10px;
    margin-top: 9px;
}

.modal-content>.comment-body>.article>.article-header h1 {
    margin-bottom: 0px;
}

.article-content tr:nth-child(even) {
    /*background: var(--jc-glass-bg-hover);/*
}
.article-content tr:hover {
    /*background: var(--jc-accent-pale);*/
}

.article-content img {
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
    /* border-radius: var(--jc-radius); c
    /* margin: 15px 0; */
    /* box-shadow: var(--jc-glass-shadow); */
    /* transition: transform 0.3s; */
}

.post-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px 0;
}

.post-images-grid a {
    display: block;
    border-radius: var(--jc-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    /* 新增：为绝对定位的span做准备 */
}

.post-images-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.post-images-grid a:hover img {
    transform: scale(1.05);
}

.post-images-grid a span {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background: #0000006e;
    top: 0px;
    color: #fff;
    z-index: 1;
    font-size: 18px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

/* 移动端适配 - 图片网格 */
@media (max-width: 768px) {
    .post-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .post-images-grid img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .post-images-grid img {
        height: 150px;
    }
}

/* ===================== 文章标签与上下篇导航 ===================== */
.post-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--jc-border-divider);
    border-bottom: 1px solid var(--jc-border-divider);
    margin-bottom: 24px;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--jc-border-divider);
    border-bottom: 1px solid var(--jc-border-divider);
    margin-bottom: 30px;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    padding: 20px;
    box-shadow: var(--jc-glass-shadow);
    margin-top: 30px;
}

.post-nav a {
    color: var(--jc-text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    cursor: pointer;
}

.post-nav a:hover {
    color: var(--jc-accent-primary);
}

.prev-post:hover {
    transform: translateX(-3px) !important;
}

.next-post:hover {
    transform: translateX(3px) !important;
}

/* ===================== 评论标题与表单 ===================== */
.comment-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text-primary);
    padding: 4px 20px;
    border-radius: var(--jc-radius);
    border-left: 4px solid var(--jc-accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--jc-glass-shadow);
}

.comment-title::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--jc-accent-primary);
    border-radius: 50%;
}

.comment-count {
    font-size: 12px;
    color: var(--jc-text-tertiary);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-control {
    flex: 1;
    min-width: 120px;
    padding: 14px 16px;
    border-radius: var(--jc-radius);
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    color: var(--jc-text-primary);
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--jc-accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 158, 0.1);
    background: var(--jc-glass-bg-hover);
}


.comment-textarea-wrapper {
    display: inline-flex;
    position: relative;
    width: 100%;
    padding: 15px 20px 50px 20px;
    border: 1px solid var(--jc-border-divider);
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.comment-textarea-wrapper:focus-within {
    border-color: var(--jc-accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 158, 0.1);
    background: var(--jc-glass-bg-hover);
}

/* 评论提交按钮区：与输入框底部对齐，两个按钮并排 */
.comment-submit-wrap {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.comment-textarea {
    width: 100%;
    height: auto;
    min-height: 70px;
    resize: none;
    padding: 0;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    color: var(--jc-text-primary);
    line-height: 1.6;
}

#comment {
    white-space: pre-wrap;
    word-break: break-word;
    outline: none;
    line-height: 1.6;
    cursor: text;
}

#comment:not(.has-content):before {
    content: attr(data-placeholder);
    color: var(--jc-text-tertiary, #999);
    pointer-events: none;
}

#comment img.emoji-inline {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% / 10 - 4px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 2px;
    box-sizing: border-box;
    -webkit-user-drag: none;
    user-select: none;
}

/* 取消回复按钮：与提交按钮风格统一 */
.comment-submit-wrap .cancel-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--jc-border-divider);
    border-radius: var(--jc-radius);
    color: var(--jc-text-secondary);
    cursor: pointer;
    font-size: 14px;
    min-height: 36px;
    transition: all 0.3s;
}

.comment-submit-wrap .cancel-btn:hover {
    border-color: var(--jc-accent-primary);
    color: var(--jc-accent-primary);
}

.emoji-icon {
    position: absolute;
    left: 15px;
    bottom: 15px;
    color: var(--jc-text-tertiary);
    font-size: 18px;
    transition: all 0.3s;
    cursor: pointer;
}

.emoji-icon:hover {
    color: var(--jc-accent-primary);
    transform: scale(1.1);
}

.submit-btn {
    position: static;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
    border: none;
    border-radius: var(--jc-radius);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: var(--jc-glass-shadow-accent);
    min-height: 36px;
    font-weight: 500;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff6b81, var(--jc-accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 140, 158, 0.25);
}

.captcha-container {
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    border: none;
    border-radius: var(--jc-radius);
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: var(--jc-glass-shadow-accent);
}

.captcha-container .captcha {
    height: 36px;
    border-top-left-radius: var(--jc-radius);
    border-bottom-left-radius: var(--jc-radius);
    cursor: pointer;
    display: block;
}

.captcha_input {
    color: #fff;
    padding: 10px 12px;
    background: none;
    font-size: 0.9rem;
    border: none;
    border-top-right-radius: var(--jc-radius);
    border-bottom-right-radius: var(--jc-radius);
    width: 80px;
}

.captcha_input:focus {
    background: linear-gradient(135deg, #ff6b81, var(--jc-accent-primary));
    box-shadow: 0 3px 10px rgba(255, 140, 158, 0.25);
}

/* ===================== 评论列表 ===================== */
.comments-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: var(--jc-radius);
    transition: all 0.3s;
    background: var(--jc-glass-bg);
}

.comment-item-border {
    border: 1px solid var(--jc-border-light);
}

.comment-item:hover {
    border-color: var(--jc-accent-primary);
    box-shadow: var(--jc-glass-shadow-accent);
}

.child-comment {
    margin-left: 55px;
    margin-top: 10px;
    padding: 15px;
    border-radius: var(--jc-radius);
    background: var(--jc-glass-bg);
    transition: all 0.3s;
}

.child-comment:hover {
    border-color: var(--jc-accent-primary);
    box-shadow: var(--jc-glass-shadow-accent);
}

.comment-avatar-link {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: var(--jc-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--jc-glass-shadow);
    transition: all 0.3s;
    border: 2px solid var(--jc-glass-border);
}

.comment-avatar-link:hover {
    transform: scale(1.1);
    box-shadow: var(--jc-glass-shadow-accent);
}

.comment-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-author-details {
    display: flex;
    flex-direction: column;
}

.comment-nickname-time {
    display: flex;
    flex-direction: column;
}

.comment-nickname {
    font-weight: 600;
    color: var(--jc-text-primary);
    font-size: 14px;
}

.comment-time {
    font-size: 12px;
    color: var(--jc-text-tertiary);
}

.comment-floor {
    font-size: 12px;
    color: var(--jc-text-tertiary);
    font-weight: 500;
    align-self: flex-start;
}

.comment-body {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--jc-text-secondary);
}

.comment-location {
    font-size: 12px;
    color: var(--jc-text-tertiary);
    margin-bottom: 8px;
}

.comment-actions {
    font-size: 12px;
}

.comment-reply {
    color: var(--jc-accent-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.comment-reply:hover {
    color: #ff6b81;
    text-decoration: underline;
}

/* ===================== 自定义页面 ===================== */
/* 标签云 */
.page-tags .page-intro {
    margin: 16px 0 6px;
}

.page-tags .tag-cloud {
    gap: 12px;
    margin-top: 8px;
}

.page-tags .tag-cloud .tag {
    gap: 4px;
    transition: all .3s ease;
}

.page-tags .tag-cloud .tag:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

/* ===================== 文章加密页面 ===================== */
.pw-card {
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    margin: 20px auto;
    animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pw-title {
    text-align: center;
    color: var(--jc-text-primary);
    font-size: 20px;
    margin: 0 0 8px;
}

.pw-title::before {
    content: "\eed0";
    font-family: 'remixicon';
    margin-right: 8px;
    font-size: 22px;
    vertical-align: -2px;
    font-weight: 400;
}

.pw-sub {
    text-align: center;
    color: var(--jc-text-tertiary);
    font-size: 13px;
    margin: 0 0 24px;
}

.pw-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: var(--jc-radius-sm);
    border: 1px solid var(--jc-glass-border);
    background: var(--jc-glass-bg);
    color: var(--jc-text-primary);
    font-size: 14px;
    outline: none;
    margin-bottom: 16px;
}

.pw-input:focus {
    border-color: var(--jc-accent-primary);
    box-shadow: var(--jc-glass-shadow-accent);
}

.pw-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--jc-radius-sm);
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pw-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--jc-glass-shadow-accent);
}

.pw-back {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--jc-text-tertiary);
    text-decoration: none;
    font-size: 13px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== 404页面 ===================== */
.page-404 {
    text-align: center;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
    padding: 64px 48px;
    max-width: 520px;
    width: 90%;
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.error-code {
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    margin: 0;
    margin-bottom: 16px;
    line-height: 1;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-msg {
    color: var(--jc-text-secondary);
    margin: 16px 0 28px;
    margin-bottom: 32px;
    font-size: 15px;
    color: var(--jc-text-secondary);
}

.btn-home {
    display: inline-block;
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: #fff;
    padding: 10px 28px;
    border-radius: var(--jc-radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--jc-glass-shadow-accent);
}

.btn-home:hover {
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== 移动端响应式 ===================== */
@media (max-width: 768px) {
    .header {
        top: 15px;
        padding: 10px 16px;
        gap: 16px;
        width: 96%;
    }

    .header.fixed {
        top: 0;
        border-radius: 0 0 var(--jc-radius) var(--jc-radius);
    }

    .logo {
        width: 34px;
        height: 34px;
    }

    .nav {
        gap: 20px;
    }

    .nav a {
        padding: 6px 0;
    }

    .header-right {
        gap: 8px;
    }

    .search {
        width: 140px;
        height: 38px;
        padding: 0 12px;
    }

    .login-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .container.wrapper {
        margin: 0 auto 10px;
        flex-direction: column;
        gap: 12px;
        width: 96%;
    }

    body {
        padding-top: 95px;
    }

    .left-sidebar,
    .right-sidebar {
        display: none;
    }

    .main-right-wrapper {
        flex-direction: column;
    }

    .main-content {
        width: 100%;
        padding: 16px;
    }

    .post-item {
        flex-direction: row;
        padding: 16px;
        margin-bottom: 16px;
    }

    .post-item-content {
        margin-right: 16px;
    }

    .post-item-img {
        width: 110px;
        height: auto;
        border-radius: var(--jc-radius-sm);
    }

    .post-meta-left {
        gap: 12px;
    }

    .footer {
        margin: 0 auto 10px;
        padding: 16px 12px;
    }

    .form-group {
        flex-direction: column;
        gap: 12px;
    }

    .submit-btn {
        width: auto;
    }

    .comment-item {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .child-comment {
        margin-left: 20px;
    }

    .comment-title {
        font-size: 18px;
        padding: 10px 16px;
    }

    .comment-section>div[style*="display: flex"] {
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px;
    }

    .mobile-comment-btn {
        display: block !important;
    }

    .comment-title {
        font-size: 18px;
        padding: 5px 16px;
    }

    .comment-count {
        font-size: 14px;
    }
}

/* 移动端：汉堡菜单 + 下拉导航抽屉 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .nav-scroll-container {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        flex: none;
        width: auto;
        overflow: hidden;
        overflow-y: auto;
        white-space: normal;
        background: var(--jc-glass-bg);
        border: 1px solid var(--jc-glass-border);
        border-radius: var(--jc-radius);
        box-shadow: var(--jc-glass-shadow-accent);
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-scroll-container.open {
        max-height: 70vh;
        opacity: 1;
        visibility: visible;
    }

    .nav {
        flex-direction: column;
        gap: 0;
        padding: 6px 0;
    }

    .nav>a,
    .nav>.nav-item>a {
        display: block;
        width: 100%;
        padding: 13px 18px;
        font-size: 15px;
        font-weight: 500;
        box-sizing: border-box;
        border-bottom: 1px solid var(--jc-border-divider);
    }

    .nav>a.active::after {
        display: none;
    }

    .nav>a.active,
    .nav>.nav-item>a.active {
        color: var(--jc-accent-primary);
    }

    .nav>.nav-item {
        position: relative;
    }

    .nav>.nav-item>.sub-arrow {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        padding: 4px;
        z-index: 2;
        margin: 0;
    }

    .nav>.nav-item>.sub-arrow.open {
        transform: translateY(-50%) rotate(180deg);
        color: var(--jc-accent-primary);
    }

    .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        transition: max-height 0.3s ease;
        background: transparent;
    }

    .nav>.nav-item.open .sub-menu {
        max-height: 60vh;
    }

    .sub-menu li a {
        padding: 11px 18px 11px 34px;
        font-size: 14px;
        white-space: normal;
        border-bottom: 1px solid var(--jc-border-divider);
        border-radius: 0;
    }

    /* 搜索框聚焦不再撑大头部，避免错位 */
    .search:focus-within,
    .search:hover {
        width: 150px;
        transform: none;
    }
}

/* 更小屏幕适配（480px以下） */
@media (max-width: 580px) {
    .header {
        gap: 10px;
    }

    .search {
        width: 120px;
        height: 34px;
    }

    .search:focus-within,
    .search:hover {
        width: 120px;
        transform: none;
    }

    .post-item {
        flex-direction: column;
    }

    .post-item-content {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .post-item-img {
        width: 100%;
        height: 180px;
    }

    .comment-title {
        font-size: 16px;
        padding: 8px 12px;
    }

    .comment-textarea {
        min-height: 100px;
        padding-right: 90px;
        padding-left: 30px;
    }

    .submit-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .page-404 {
        padding: 48px 28px;
    }
}

/* 打印样式 */
@media print {

    .header,
    .left-sidebar,
    .right-sidebar,
    .pagination,
    .comment-section {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }

    .main-content,
    .footer,
    .post-item {
        background: white !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .main-content {
        padding: 0 !important;
    }

    .article-content {
        font-size: 14px;
        line-height: 1.5;
    }

    * {
        background: transparent !important;
        box-shadow: none !important;
        color: black !important;
    }

    .article-content table {
        border: 1px solid #ddd !important;
    }

    .article-content th,
    .article-content td {
        border-bottom: 1px solid #ddd !important;
    }

    .article-content h1,
    .article-content h2,
    .article-content h3 {
        color: black !important;
        border-left: 4px solid #ff94a8 !important;
    }
}

/* ===================== 列表卡片与复制高亮 ===================== */
.highlightable {
    background: var(--jc-glass-bg);
    padding: 4px 8px;
    border-radius: var(--jc-radius-sm);
    transition: all 0.3s ease;
}

.highlightable:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-text-primary) !important;
    transform: translateY(-1px);
    box-shadow: var(--jc-glass-shadow-accent);
}

.highlightable:hover i {
    color: var(--jc-text-primary) !important;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.list-item {
    display: flex;
    flex-direction: column;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
    transition: all 0.3s;
    overflow: hidden;
}

.list-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.list-item-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.list-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.list-item-img:hover img {
    transform: scale(1.1);
}

.list-item-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-item-description {
    flex: 1;
    margin-bottom: 12px;
    color: var(--jc-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.list-item-footer {
    border-top: 1px solid var(--jc-border-divider);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-item-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.list-item-author {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.list-item-author .author-avatar {
    width: 20px;
    height: 20px;
}

.list-item-author .author-name {
    font-size: 12px;
    color: var(--jc-text-secondary);
}

.list-item-info {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--jc-text-tertiary);
}

.list-item-info .meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ===================== 悬浮按钮（返回顶部等） ===================== */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.floating-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--jc-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-text-tertiary);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    position: relative;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    /*
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    */
}

#back-to-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

#back-to-top i {
    font-size: 20px;
    line-height: 1;
}

.backtop-num {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--jc-accent-primary);
    font-family: inherit;
}

.floating-btn::before {
    content: attr(title);
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--jc-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: var(--jc-glass-shadow-accent);
}

.floating-btn::after {
    content: "";
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--jc-accent-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.floating-btn:hover::before,
.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.floating-btn:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-accent-primary);
    transform: scale(1.1);
    box-shadow: var(--jc-glass-shadow-accent);
}

.home-icon {
    color: var(--jc-accent-primary) !important;
}

@media (max-width: 768px) {
    .backtop-num {
        font-size: 9px;
        margin-top: -8px;
    }

    .floating-btn {
        width: 34px;
        height: 34px;
    }

    .floating-btn i {
        font-size: 20px;
    }

    .floating-buttons {
        right: 10px;
        bottom: 80px;
    }

    .floating-btn::before {
        display: none;
    }

    .floating-btn::after {
        display: none;
    }
}

/* ===================== 友链筛选按钮 ===================== */
.friend-links-filters {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0px 16px 5px;
}

.filter-btn {
    padding: 4px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--jc-text-secondary);
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-border-light);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-accent-primary);
    border-color: var(--jc-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #ffffff;
    border-color: var(--jc-accent-primary);
    box-shadow: var(--jc-glass-shadow-accent);
}

.friend-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* 代码复制按钮 */
.code-block {
    position: relative;
}

.code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 12px;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-border-light);
    border-radius: 4px;
    color: var(--jc-text-secondary);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.code-block:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: var(--jc-accent-primary);
    color: #fff;
    border-color: var(--jc-accent-primary);
}

.code-copy-btn.copied {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
}

.links-copy-btn.copied {
    background: #4caf50;
    color: #fff;
    border-color: #4caf50;
}

/* 评论内容 @用户名高亮 */
.at-highlight {
    color: var(--jc-accent-primary);
    font-weight: 600;
    background: rgba(255, 140, 158, 0.15);
    padding: 1px 4px;
    border-radius: 3px;
    margin: 0 2px;
}

/* 被回复的评论高亮提示 */
.comment-replying {
    animation: reply-flash 1.2s ease 2;
    border-radius: var(--jc-radius-sm);
}

@keyframes reply-flash {

    0%,
    100% {
        background: transparent;
    }

    50% {
        background: rgba(255, 140, 158, 0.18);
    }
}

/* ===================== 友链卡片 ===================== */
.friend-link-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: var(--jc-radius);
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-border-light);
    transition: all 0.3s;
    box-shadow: var(--jc-glass-shadow);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.friend-link-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.friend-link-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--jc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--jc-text-tertiary);
    box-shadow: var(--jc-glass-shadow);
}

.friend-link-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-link-item::after {
    content: "\ea70";
    font-family: 'remixicon';
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 24px;
    color: var(--jc-accent-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.friend-link-item:hover::after {
    opacity: 1;
}

.friend-link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.friend-link-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text-primary);
    margin-bottom: 6px;
}

.friend-link-desc {
    font-size: 13px;
    color: var(--jc-text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.friend-link-category {
    display: inline-block;
    font-size: 11px;
    color: var(--jc-text-tertiary);
    background: var(--jc-glass-bg-hover);
    padding: 3px 8px;
    border-radius: var(--jc-radius-pill);
    align-self: flex-end;
    margin-left: auto;
    margin-top: 4px;
}

/* ===================== 分类菜单 ===================== */
.category-menu-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--jc-glass-bg);
    padding: 8px 16px;
    border-radius: var(--jc-radius);
    border: 1px solid var(--jc-glass-border);
    box-shadow: var(--jc-glass-shadow);
    z-index: 100;
    gap: 12px;
}

.category-menu::-webkit-scrollbar {
    display: none;
}

.category-menu {
    flex: 1;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.category-item {
    padding: 4px 16px;
    border-radius: var(--jc-radius-pill);
    font-size: 15px;
    color: var(--jc-text-secondary);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-item:hover {
    background: var(--jc-accent-pale);
    color: var(--jc-accent-primary);
    border-color: var(--jc-accent-light);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.1);
}

.category-item.active {
    background: linear-gradient(135deg, var(--jc-accent-light), var(--jc-accent-primary));
    color: #fff;
    border-color: var(--jc-accent-light);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.1);
}

.category-dropdown-btn {
    background: transparent;
    border: 1px solid var(--jc-border-light);
    border-radius: var(--jc-radius-sm);
    padding: 8px 12px;
    margin-left: auto;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--jc-text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.category-dropdown-btn:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-accent-primary);
    border-color: var(--jc-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.1);
}

.category-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow-accent);
    padding: 8px 0;
    min-width: 60px;
    z-index: 10001;
    display: none;
    margin-top: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-origin: top right;
    list-style-type: none;
}

.category-dropdown-menu li .current {
    color: var(--jc-accent-primary);
    border-color: var(--jc-accent-light);
    box-shadow: 0 2px 8px rgba(255, 140, 158, 0.1);
    border-radius: 15px;
}

.category-dropdown-menu li a i {
    display: none;
}

.category-dropdown-menu li .current i {
    display: inline-block;
}

.category-dropdown-menu.active {
    display: block;
    animation: fadeInDown 0.25s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* 文章封面图样式 */
.article-cover {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 12px;
    border-radius: var(--jc-radius);
    overflow: hidden;
    box-shadow: var(--jc-glass-shadow);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.cover-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #00000005;
    z-index: 1;
}

.cover-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    text-align: center;
    z-index: 2;
    padding: 0px 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgb(0 0 0);
}

.cover-dropdown {
    position: absolute;
    top: 10px;
    right: 16px;
    z-index: 3;
}

.cover-dropdowna {
    position: absolute;
    bottom: 10px;
    right: 16px;
    z-index: 3;
}

.cover-dropdownb {
    position: absolute;
    bottom: 10px;
    left: 16px;
    z-index: 3;
    display: none;
}

.dropdown-icon {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgb(0 0 0);
}

.dropdown-icon:hover {
    color: var(--jc-accent-primary);
    text-shadow: 2px 2px 4px rgb(0 0 0);
}

.shejiaofenxiang a {
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgb(0 0 0);
}

.shejiaofenxiang a:hover {
    color: var(--jc-accent-primary);
    text-shadow: 2px 2px 4px rgb(0 0 0);
}

.shejiaofenxiang i {
    font-size: 20px;
}

.quotea {
    position: relative;
    top: -6px;
    margin-right: 10px;
    color: var(--jc-accent-primary);
    font-size: 18px;
}

.quoteb {
    position: relative;
    top: 5px;
    margin-left: 10px;
    color: var(--jc-accent-primary);
    font-size: 18px;
}

.dropdown-menu {
    position: absolute;
    top: 30px;
    right: 0;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow-accent);
    padding: 8px 0;
    min-width: 80px;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 24px;
    color: var(--jc-text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--jc-glass-bg-hover);
    color: var(--jc-accent-primary);
}

/* ===================== 时间线/瞬间动态 ===================== */
.timeline-list {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    margin-bottom: 40px;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: 100px;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    background: linear-gradient(to bottom, var(--jc-accent-primary), var(--jc-accent-light));
    z-index: 0;
}

.timeline-item {
    width: 50%;
    padding-top: 60px;
    position: relative;
    animation: fadeInUp 1s ease both;
    list-style: none;
}

.timeline-item:nth-child(odd) {
    float: left;
    clear: left;
    padding-right: 20px;
}

.timeline-item:nth-child(even) {
    float: right;
    clear: right;
    padding-left: 20px;
    margin-top: 100px;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.timeline-header {
    margin-bottom: 10px;
}

.timeline-tag {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    margin-right: 10px;
    font-size: 12px;
    color: var(--jc-text-secondary);
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius-sm);
    box-shadow: var(--jc-glass-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--jc-glass-border);
    text-decoration: none;
}

.timeline-tag a {
    text-decoration: none;
}

.timeline-item:nth-child(odd) .timeline-tag {
    float: right;
    margin-right: 0;
    margin-left: 10px;
}

.timeline-tag.type i {
    font-size: 20px;
    color: var(--jc-text-secondary);
}

.timeline-card {
    padding: 15px;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
    word-break: break-all;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--jc-glass-border);
}

.timeline-card::before {
    content: "";
    position: absolute;
    right: -28px;
    top: -12px;
    width: 12px;
    height: 4px;
    border: 4px solid var(--jc-glass-border);
    border-radius: 8px;
    background-color: var(--jc-accent-primary);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-card::before {
    left: -28px;
    right: auto;
}

.timeline-title {
    font-size: 16px;
    line-height: 30px;
    font-weight: bold;
    color: var(--jc-text-primary);
    margin: 0 0 10px 0;
}

.timeline-title a {
    color: var(--jc-text-primary);
    text-decoration: none;
}

.timeline-content {
    font-size: 16px;
    line-height: 26px;
    color: var(--jc-text-secondary);
    overflow: hidden;
}

.timeline-content a {
    color: var(--jc-text-secondary);
    text-decoration: none;
    cursor: pointer;
}

.timeline-content a:hover {
    color: var(--jc-text-secondary);
}

.timeline-footer {
    margin-top: 10px;
    color: var(--jc-text-tertiary);
}

.timeline-item:nth-child(even) .timeline-footer {
    text-align: right;
}

.timeline-action {
    display: inline-block;
    margin-right: 20px;
    transition: all 0.3s ease;
    color: var(--jc-text-tertiary);
}

.text-comment {
    cursor: pointer;
}

.timeline-item:nth-child(even) .timeline-action {
    margin-right: 0;
    margin-left: 20px;
}

.timeline-action i {
    font-size: 16px;
    margin-right: 5px;
    color: var(--jc-accent-primary);
}

.shunjian-dti {
    color: var(--jc-text-tertiary) !important;
}

.like-active {
    color: #ff5f53;
}

.timeline-tag:hover,
.timeline-card:hover {
    /* transform: translateY(-4px); */
    /* background: var(--jc-glass-bg-hover); */
    box-shadow: var(--jc-glass-shadow-accent);
}

.timeline-action:hover {
    transform: translateY(0);
    background: transparent;
    box-shadow: none;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

@media screen and (max-width: 768px) {
    .timeline-list::before {
        left: 11px;
        margin-left: 0;
    }

    .timeline-item {
        width: 100%;
        padding: 40px 10px 0 50px !important;
        float: none !important;
        clear: both !important;
        margin-top: 0 !important;
    }

    .timeline-card::before {
        left: -48px !important;
        right: auto !important;
    }

    .timeline-tag {
        float: left !important;
        margin-left: 0 !important;
        margin-right: 10px !important;
    }

    .timeline-footer {
        text-align: left !important;
    }

    .timeline-action {
        margin-left: 0 !important;
        margin-right: 20px !important;
    }

    .image-list.type-a a,
    .image-list.type-b a,
    .image-list.type-c a,
    .image-list.type-d a {
        width: calc((100% - 15px) / 2);
        height: 100px;
        margin-right: 15px;
    }

    .image-list.type-a a:nth-child(2n),
    .image-list.type-b a:nth-child(2n),
    .image-list.type-c a:nth-child(2n),
    .image-list.type-d a:nth-child(2n) {
        margin-right: 0;
    }

    .timeline-card iframe {
        height: 200px;
    }

    .cover-dropdownb {
        display: block;
    }
}

/* 时间线图片网格布局 */
.timeline-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 12px;
    justify-items: center;
}

/* 新增：时间线图片网格自适应布局规则 */
.timeline-images-grid[num='1'] {
    grid-template-columns: repeat(1, 1fr);
}

.timeline-images-grid[num='1'] img {
    aspect-ratio: unset;
    max-height: 15rem;
    max-width: 25rem;
}

.timeline-images-grid[num='2'],
.timeline-images-grid[num='4'] {
    grid-template-columns: repeat(2, 1fr);
}

.timeline-images-grid[num='3'],
.timeline-images-grid[num='6'],
.timeline-images-grid[num='8'] {
    grid-template-columns: repeat(3, 1fr);
}

.timeline-images-grid[num='5'] {
    grid-template-columns: repeat(6, 1fr);
}

.timeline-images-grid[num='7'] {
    grid-template-columns: repeat(4, 1fr);
}

/* 特殊布局规则 */
.timeline-images-grid[num='3'] a:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
}

.timeline-images-grid[num='3'] a:nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
}

.timeline-images-grid[num='3'] a:nth-child(3) {
    grid-area: 2 / 3 / 3 / 4;
}

.timeline-images-grid[num='5'] a:nth-child(1) {
    grid-area: 1 / 1 / 5 / 5;
}

.timeline-images-grid[num='5'] a:nth-child(2) {
    grid-area: 1 / 5 / 3 / 7;
}

.timeline-images-grid[num='5'] a:nth-child(3) {
    grid-area: 3 / 5 / 5 / 7;
}

.timeline-images-grid[num='5'] a:nth-child(4) {
    grid-area: 5 / 1 / 7 / 4;
}

.timeline-images-grid[num='5'] a:nth-child(5) {
    grid-area: 5 / 4 / 7 / 7;
}

.timeline-images-grid[num='5'] a:nth-child(4) img {
    aspect-ratio: 1.5;
    height: auto;
}

.timeline-images-grid[num='5'] a:nth-child(5) img {
    aspect-ratio: 1.5;
    height: auto;
}

.timeline-images-grid[num='6'] a:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
}

.timeline-images-grid[num='6'] a:nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
}

.timeline-images-grid[num='6'] a:nth-child(3) {
    grid-area: 2 / 3 / 3 / 4;
}

.timeline-images-grid[num='6'] a:nth-child(4) {
    grid-area: 3 / 1 / 4 / 2;
}

.timeline-images-grid[num='6'] a:nth-child(5) {
    grid-area: 3 / 2 / 4 / 3;
}

.timeline-images-grid[num='6'] a:nth-child(6) {
    grid-area: 3 / 3 / 4 / 4;
}

.timeline-images-grid[num='7'] a:nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
}

.timeline-images-grid[num='7'] a:nth-child(2) {
    grid-area: 1 / 3 / 3 / 5;
}

.timeline-images-grid[num='7'] a:nth-child(3) {
    grid-area: 3 / 1 / 5 / 3;
}

.timeline-images-grid[num='7'] a:nth-child(4) {
    grid-area: 3 / 3 / 4 / 4;
}

.timeline-images-grid[num='7'] a:nth-child(5) {
    grid-area: 3 / 4 / 4 / 5;
}

.timeline-images-grid[num='7'] a:nth-child(6) {
    grid-area: 4 / 3 / 5 / 4;
}

.timeline-images-grid[num='7'] a:nth-child(7) {
    grid-area: 4 / 4 / 5 / 5;
}

.timeline-images-grid[num='8'] a:nth-child(8) {
    grid-area: 3 / 2 / 4 / 4;
}

.timeline-images-grid[num='8'] a:nth-child(8) img {
    aspect-ratio: 3;
}

.timeline-images-grid a {
    display: flex;
    border-radius: var(--jc-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    width: 100%;
}

.timeline-images-grid a:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.timeline-images-grid img {
    width: 100%;
    /* height: 80px; */
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.timeline-images-grid a:hover img {
    transform: scale(1.05);
}

/* ===================== 相册 ===================== */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.album-item {
    display: flex;
    flex-direction: column;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
    transition: all 0.3s;
    overflow: hidden;
    border: 1px solid var(--jc-glass-border);
}

.album-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.album-cover {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.album-item:hover .album-cover img {
    transform: scale(1.05);
}

.album-cover .log-topflg {
    position: absolute;
    top: 5px;
    left: 8px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.album-cover .album-title-overlay {
    position: absolute;
    bottom: 5px;
    right: 8px;
    background: rgb(0 0 0 / 20%);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: var(--jc-radius-sm);
    font-size: 14px;
    font-weight: 100;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.album-content {
    padding: 0px 10px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.album-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text-primary);
    margin-bottom: 12px;
}

.album-footer {
    border-top: 1px solid var(--jc-border-divider);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.album-author {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.album-author .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--jc-glass-border);
}

.album-author .author-name {
    font-size: 12px;
    color: var(--jc-text-secondary);
    font-weight: 500;
}

.album-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--jc-text-tertiary);
}

.album-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.album-stats .stat-item i {
    font-size: 11px;
    color: var(--jc-accent-primary);
}

/* ===================== 评论系统主区 ===================== */
.comments {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comments-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f2f2f2;
    color: #1d2129;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-title .noticom {
    font-size: 15px;
    font-weight: normal;
    color: #86909c;
    margin-left: 10px;
}

.comments-title i {
    color: #07C160;
    font-size: 20px;
}

.popabxxk {
    margin-bottom: 15px;
}

.popabxxk-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popabxxk-content p {
    color: #86909c;
    font-size: 13px;
}

.popabxxk-content input {
    padding: 10px 12px;
    border: 1px solid #e5e6eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.popabxxk-content input:focus {
    outline: none;
    border-color: #07C160;
}

.respond_box {
    width: 100%;
}

.commentform {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.avatar_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar_box img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.avatar_box #btntck {
    color: #86909c;
    font-size: 13px;
}

.comarea {
    width: 100%;
}

.comarea textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e6eb;
    border-radius: 18px;
    resize: none;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s;
}

.comarea textarea:focus {
    outline: none;
    border-color: #07C160;
    box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.1);
}

.com_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.com_tools {
    display: flex;
    gap: 10px;
    align-items: center;
}

.com_tools a {
    text-decoration: none;
    color: #86909c;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.2s;
}

.com_tools a:hover {
    background-color: #e9eaeb;
    color: #1d2129;
}

.com_tools .smile_btn-a {
    font-size: 18px;
}

.com_tools .spothighlight {
    color: #07C160;
    background-color: rgba(7, 193, 96, 0.1);
}

.com_push {
    display: flex;
    align-items: center;
    gap: 10px;
}

.commentreply a {
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
}

.push_comment {
    background-color: #07C160;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.push_comment:hover {
    background-color: #06a852;
    transform: translateY(-1px);
}

.push_comment:active {
    transform: translateY(0);
}

.comment {
    position: relative;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    padding: 20px;
    box-shadow: var(--jc-glass-shadow);
}

.comment:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.comment-children {
    background: unset;
    box-shadow: none;
    padding: 0px;
}

.comment-children:hover {
    box-shadow: none;
}

#AjaxCommentBegin {
    margin: -13px;
}

.comment_list {
    list-style: none;
}

.comment_item {
    display: flex;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

.comment_list.level-1 .comment_item {
    justify-content: flex-start;
}

.comment_list.level-1 .profile img {
    width: 42px;
    height: 42px;
}

.comment_list.level-2 .comment_item {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.comment_list.level-2 .profile {
    margin-right: 0;
    margin-left: 15px;
}

.comment_list.level-2 .profile img {
    width: 42px;
    height: 42px;
}

.profile {
    margin-right: 15px;
    flex-shrink: 0;
}

.profile a {
    position: relative;
    display: flex;
}

.profile img {
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.profile img:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.prove {
    position: absolute;
    bottom: 2px;
    right: 2px;
}

.rztb {
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

.at-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    background: rgb(52 73 94 / 41%);
    font-size: 1.5rem;
}

.profile a:hover .at-symbol {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.profile a:hover img {
    opacity: 0.7;
}

.info {
    max-width: 70%;
}

.comment_list.level-2 .info {
    text-align: left;
}

.info_header {
    margin-bottom: 6px;
    font-size: 13px;
}

.info_header .left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.comment_list.level-2 .info_header .left {
    justify-content: flex-end;
}

.comment_list.level-1 .author {
    order: 1;
    white-space: nowrap;
}

.comment_list.level-1 .info_header span {
    order: 2;
    white-space: nowrap;
    color: var(--jc-text-secondary);
}

.comment_list.level-2 .author {
    order: 3;
    white-space: nowrap;
}

.comment_list.level-2 .info_header span {
    order: 1;
    color: #86909c;
    white-space: nowrap;
}

.comment_list.level-2 .info_header span {
    position: relative;
}

.comment_list.level-2 .author {
    position: relative;
}

.author a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.comment_list.level-1 .author a {
    color: var(--jc-text-secondary);
    font-weight: 600;
    padding-right: 8px;
}

.comment_list.level-2 .author a {
    color: var(--jc-text-secondary);
    font-weight: 600;
    padding-left: 8px;
}

.lhpl-comment-list {
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    box-shadow: var(--jc-glass-shadow);
}

.lhpl-empty-page {
    text-align: center;
    padding: 20px;
    margin: 0 auto;
}

.lhpl-empty-page i {
    font-size: 40px;
    color: #999;
}

.lhpl-empty-page p {
    font-size: 12px;
    color: var(--jc-text-primary);
}

.comment_body {
    position: relative;
}

.comment_body p {
    padding: 12px 18px;
    border-radius: 18px;
    line-height: 1.6;
    word-break: break-word;
    font-size: 15px;
}

.comment_list.level-1 .comment_body p {
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-border-divider);
    color: var(--jc-text-primary);
}

.comment_list.level-2 .comment_body p {
    background: var(--jc-glass-bg);
    color: var(--jc-text-secondary);
    border: 1px solid var(--jc-border-divider);
}

.comment_list.level-1 .comment_body::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 10px solid var(--jc-border-divider);
    border-bottom: 8px solid transparent;
}

.comment_list.level-2 .comment_body::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 10px solid var(--jc-border-divider);
    border-bottom: 8px solid transparent;
}

.commentcut>.comment_list>.comment_item>.info>.comment_body>.expression>.comment-children>.level-2>.comment_item>.info>.comment_body::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 0;
    height: 0;
    border-top: 0px solid transparent;
    border-right: 0px solid var(--jc-border-divider);
    border-bottom: 0px solid transparent;
}

.commentcut>.comment_list>.comment_item>.info>.comment_body>.expression>.comment-children .level-2>.comment_item {
    padding-top: 20px;
}

.commentcut>.comment_list>.comment_item>.info>.comment_body>.expression>.comment-children>.level-2>.comment_item>.info {
    max-width: 100%;
}

.commentat {
    font-weight: 600;
    margin-right: 0px;
}

.comment_list.level-1 .commentat {
    color: var(--jc-text-primary);
}

.comment_list.level-2 .commentat {
    color: var(--jc-text-primary);
    margin-right: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .comments {
        padding: 15px;
        border-radius: 12px;
    }

    .info {
        max-width: 80%;
    }

    .comment:not(:last-child):after {
        left: 60px;
        right: 60px;
    }

    .comment_body p {
        padding: 10px 15px;
    }

    .com_tools {
        flex-wrap: wrap;
    }

    .push_comment {
        padding: 6px 15px;
        font-size: 14px;
    }
}

/* ===================== 评论弹窗 ===================== */
.comment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 20%);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.comment-modal-overlay.activeplk {
    opacity: 1;
    visibility: visible;
}

.comment-modal-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.comment-modal {
    background: var(--jc-sunlight-darkness);
    border: 1px solid var(--jc-border-divider);
    border-radius: 8px;
    width: 90%;
    max-width: 350px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.comment-modal-container>.comment-modal>#modal-comment-container>#divCommentPost>.form-horizontal>.avacontent>.popabxxk-content {
    margin-top: 0px;
}

.comment-modal-container>.comment-modal>#modal-comment-container>#divCommentPost>.form-horizontal>.respond_box>.commentform>.avatar_box {
    padding-top: 0px;
}

.comment-modal-container>.comment-modal>#modal-comment-container>#divCommentPost {
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .comment-modal-container {
        align-items: flex-end;
        justify-content: center;
    }

    .comment-modal {
        width: 100%;
        max-width: none;
        border-radius: 16px 16px 0 0;
        padding: 20px 15px;
        transform: translateY(100%);
        max-height: 80vh;
        overflow-y: auto;
    }

    .comment-modal-overlay.activeplk .comment-modal {
        transform: translateY(0);
    }
}

/* ===================== 设置弹窗 ===================== */
.jc-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    will-change: opacity;
    opacity: 0;
    padding: 20px;
    transition: opacity 0.28s ease;
}

.jc-modal-mask.jc-show {
    opacity: 1;
}

.jc-setting-modal {
    width: 680px;
    height: 560px;
    background: var(--jc-sunlight-darkness);
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
    will-change: transform;
    transform: translateY(0);
    backface-visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    overflow: hidden;
    border: 1px solid var(--jc-border-divider);
}

.jc-modal-mask.jc-show .jc-setting-modal {
    transform: translateY(0);
}

.jc-modal-left {
    width: 180px;
    border-right: 1px solid var(--jc-border-divider);
    padding: 28px 0;
    display: flex;
    flex-direction: column;
}

.jc-modal-left h2 {
    padding: 0 25px 25px;
    font-size: 16px;
    color: var(--jc-accent-primary);
    border-bottom: 1px solid var(--jc-border-divider);
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jc-menu-item {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--jc-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin: 2px 12px;
    gap: 5px;
}

.jc-menu-item.jc-active {
    background: var(--jc-pink-background);
    font-weight: 500;
    color: var(--jc-accent-primary);
}

.jc-menu-item:hover:not(.jc-active) {
    background: #f2f3f5;
    color: var(--jc-accent-primary);
}

.jc-modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jc-modal-header {
    padding: 23px 28px;
    border-bottom: 1px solid var(--jc-border-divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jc-modal-header h2 {
    font-size: 16px;
    color: var(--jc-accent-primary);
    font-weight: 600;
}

.jc-close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #8c8c8c;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.jc-close-btn:hover {
    color: #f56c6c;
    transform: rotate(90deg);
}

.jc-modal-content {
    flex: 1;
    padding: 28px;
    overflow-y: auto;
}

.jc-modal-content::-webkit-scrollbar {
    width: 0;
}

.jc-content-panel {
    display: none;
}

.jc-content-panel.jc-active {
    display: block;
}

.jc-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.jc-setting-item:last-child {
    border-bottom: none;
}

.jc-setting-item span {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.jc-switch {
    width: 50px;
    height: 26px;
    background: #dcdfe6;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.jc-switch::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.jc-switch.jc-on {
    background: var(--jc-accent-primary);
}

.jc-switch.jc-on::after {
    left: 26px;
}

.jc-section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jc-section-title {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}

.jc-tips {
    color: #f56c6c;
    font-size: 12px;
    display: none;
}

.jc-tips.jc-show {
    display: block;
}

.jc-bg-upload-area {
    width: 100%;
    height: 180px;
    border: 2px dashed #dcdfe6;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    transition: all 0.2s;
}

.jc-bg-upload-area:hover {
    border-color: #409eff;
    background: rgba(64, 158, 255, 0.05);
}

.jc-bg-upload-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.jc-upload-text,
.jc-plus-icon {
    position: relative;
    z-index: 3;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.jc-bg-upload-area:hover .jc-upload-text,
.jc-bg-upload-area:hover .jc-plus-icon {
    opacity: 1;
}

.jc-plus-icon {
    font-size: 48px;
    font-weight: 200;
}

#jcBgFileInput {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.jc-bg-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.jc-bg-item {
    height: 105px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
}

.jc-bg-item:hover {
    border-color: #ffa3b4;
}

.jc-bg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jc-bg-item .jc-hover-tip {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 8px;
}

.jc-bg-item:hover .jc-hover-tip {
    opacity: 1;
}

.jc-bg-url-input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #e8e9ed;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.jc-bg-url-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.12);
}

.jc-hidden {
    display: none !important;
}

.jc-color-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.jc-color-item {
    height: 105px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.jc-color-item .jc-hover-tip {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.jc-color-item:hover .jc-hover-tip {
    opacity: 1;
}

.jc-color-slider {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, #ff9a9e, #fad0c4, #fecfef, #a8edea, #fed6e3, #d4fc79, #96e6a1);
    cursor: pointer;
    position: relative;
    margin: 20px 0 32px 0;
}

.jc-color-slider-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* 设置弹窗暗色适配 */
.dark-mode .jc-menu-item:hover:not(.jc-active) {
    background: rgba(255, 255, 255, 0.06);
}

.dark-mode .jc-setting-item span,
.dark-mode .jc-section-title {
    color: var(--jc-text-secondary);
}

.dark-mode .jc-bg-url-input {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--jc-text-primary);
}

.dark-mode .jc-bg-upload-area {
    border-color: rgba(255, 255, 255, 0.18);
}

.dark-mode .jc-color-slider-thumb {
    background: #f0f0f0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .jc-setting-modal {
        flex-direction: column;
        width: 92vw;
        height: auto;
        max-height: 86vh;
        border-radius: 18px;
    }

    .jc-modal-left {
        width: 100%;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--jc-border-divider);
        padding: 12px 16px;
        align-items: center;
        gap: 8px;
    }

    .jc-modal-left h2 {
        padding: 0 12px 0 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    .jc-menu-item {
        margin: 0;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .jc-modal-content {
        padding: 18px 16px;
    }

    .jc-bg-list,
    .jc-color-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================== 旧版评论弹窗（兼容保留） ===================== */
.comment-modala {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1200;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 100px auto;
    background: var(--jc-sunlight-darkness);
    border: 1px solid var(--jc-border-divider);
    border-radius: var(--jc-radius);
    padding: 15px;
    height: calc(100% - 200px);
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 0;
}

.comment-body {
    min-height: 100px;
}

/* 其他 */
#wrap-load {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.randomsxtb {
    margin-left: auto;
    font-size: 16px;
    opacity: 0.8;
    color: var(--jc-text-primary);
    cursor: pointer;
}

.randomsxbq {
    margin-left: auto;
    font-size: 16px;
    opacity: 0.8;
    color: var(--jc-text-primary);
    cursor: pointer;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, background-color 0.6s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.popup-overlay.activesd {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.ejectnr {
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
}

.popup-overlay.activesd .ejectnr {
    transform: translateY(0);
}

@media (min-width: 1100px) {
    .ejectnr {
        width: 1080px;
    }
}

@-webkit-keyframes slideUpab {
    from {
        -webkit-transform: translateY(100%);
    }

    to {
        -webkit-transform: translateY(0);
    }
}

@keyframes slideUpab {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.contentk {
    text-align: center;
    padding: 0px 0px 60px 0px;
    max-width: 400px;
    margin: 0 auto;
}

.contentk img {
    max-width: 350px;
    height: auto;
    display: inline-block;
}

.contentk .comment-list {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.mobile-comment-btn {
    display: none;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--jc-glass-shadow-accent);
    transition: all 0.3s;
    white-space: nowrap;
    color: var(--jc-accent-primary);
    background: var(--jc-glass-bg);
}

.mobile-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 158, 0.3);
}

.xianzan-gd {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    background: var(--jc-glass-bg);
    border-radius: var(--jc-radius);
    padding: 10px 6px;
}

#commentModal>.modal-content>#commentContainer>.comments-list>#divCommentPost>.comment-form>.commentform>.xianzan-gd {
    grid-template-columns: repeat(7, 1fr);
}

#comment-modal-overlay>.comment-modal-container>.comment-modal>#modal-comment-container>#divCommentPost>.comment-form>.commentform>.xianzan-gd {
    grid-template-columns: repeat(5, 1fr);
}

#commentModal>.modal-content>#commentContainer>.article>.comment-section>.comments-list>#divCommentPost>.comment-form>.commentform>.xianzan-gd {
    grid-template-columns: repeat(7, 1fr);
}

.xianzan-gd img {
    cursor: pointer;
    border: 1px solid #ffffff00;
    width: 100%;
    height: auto;
    display: block;
}

.xianzan-gd img:hover {
    border: 1px solid var(--jc-accent-primary);
}

.info>.comment_body>.expression>img {
    position: relative;
    padding: 0 5px;
    max-width: 65px;
    max-height: 65px;
    top: 5px;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5201314;
    pointer-events: none;
}

@media (max-width: 480px) {
    .info>.comment_body>.expression>img {
        max-width: 65px;
        max-height: 65px;
    }
}

/* ############################################################### */
#header-waves {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    z-index: 2;
    margin-bottom: -1px;
}

#header-waves svg {
    width: 100%;
    height: 100%;
    display: block;
}

.parallax>use {
    fill: var(--jc-pinkbackground);
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    opacity: 0.7;
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    opacity: 0.5;
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    opacity: 0.3;
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    opacity: 1;
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    #header-waves {
        height: 40px;
        min-height: 40px;
    }
}

/* ############################################################### */
.delete-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.25s ease-out;
}

.delete-popup {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 300px;
    padding: 28px 24px;
    position: relative;
    text-align: center;
    animation: popIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delete-popup h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 600;
    color: #222;
}

.delete-popup p {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.delete-popup .button-container {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.delete-popup button {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100px;
}

.delete-popup .confirm-btn {
    background: #f53f3f;
    color: #fff;
}

.delete-popup .confirm-btn:hover {
    background: #d93636;
    transform: translateY(-1px);
}

.delete-popup .cancel-btn {
    background: #f2f2f2;
    color: #333;
}

.delete-popup .cancel-btn:hover {
    background: #e6e6e6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ############################################################### */
.links-apply-container {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.links-apply-card {
    border-radius: var(--jc-radius);
    padding: 20px;
    transition: all var(--jc-transition-duration) ease;
    background: var(--jc-glass-bg);
    box-shadow: var(--jc-glass-shadow);
    position: relative;
}

.links-apply-card:hover {
    border-color: var(--jc-accent-primary);
}

.links-apply-full {
    grid-column: 1 / -1;
}

.links-site-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.links-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.links-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--jc-radius-sm);
    object-fit: cover;
    border: 1px solid var(--jc-accent-light);
}

.links-check-badge {
    position: absolute;
    bottom: -1px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--jc-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    border: 2px solid var(--jc-sunlight-darkness);
}

.links-site-info h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text-primary);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.links-site-info p {
    font-size: 13px;
    color: var(--jc-text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.links-info-item {
    margin-bottom: 14px;
}

.links-info-item:last-child {
    margin-bottom: 0;
}

.links-info-label {
    font-size: 12px;
    color: var(--jc-text-tertiary);
    margin-bottom: 4px;
    font-weight: 500;
}

.links-info-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--jc-pinkbackground);
    border: none;
    border-radius: var(--jc-radius-sm);
    font-size: 13px;
    color: var(--jc-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--jc-border-divider);
}

.links-info-input>span {
    flex: 1;
    min-width: 0;
    word-break: break-all;
    line-height: 1.4;
}

.links-copy-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--jc-border-divider);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-text-tertiary);
    font-size: 12px;
    transition: all var(--jc-transition-duration) ease;
}

.links-copy-btn:hover {
    background: var(--jc-accent-primary);
    color: white;
    border-color: var(--jc-accent-primary);
}

.links-apply-card:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.links-apply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.links-apply-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--jc-accent-pale);
    border-radius: var(--jc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-accent-primary);
    font-size: 16px;
}

.links-apply-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text-primary);
}

.links-steps {
    position: relative;
    padding-left: 44px;
}

.links-steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--jc-border-divider);
}

.links-step {
    position: relative;
    margin-bottom: 20px;
}

.links-step:last-child {
    margin-bottom: 0;
}

.links-step-number {
    position: absolute;
    left: -42px;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--jc-accent-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    z-index: 1;
}

.links-step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--jc-text-primary);
    margin-bottom: 6px;
}

.links-step-desc {
    font-size: 13px;
    color: var(--jc-text-secondary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.links-template-box {
    background: var(--jc-pinkbackground);
    border-radius: var(--jc-radius-sm);
    padding: 14px;
    font-family: ui-monospace, 'SFMono-Regular', monospace;
    font-size: 12px;
    color: var(--jc-text-primary);
    position: relative;
    line-height: 1.6;
    border: 1px solid var(--jc-border-light);
    word-break: break-all;
    min-height: 110px;
    outline: none;
}

.links-template-box:focus {
    border-color: var(--jc-accent-primary);
}

.links-template-box .links-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.links-notes-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.links-notes-icon {
    width: 22px;
    height: 22px;
    color: var(--jc-accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.links-notes-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--jc-text-primary);
}

.links-notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-notes-list p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--jc-text-primary);
    line-height: 1.5;
}

.links-notes-list p::before {
    content: "\eb7c";
    font-family: 'remixicon';
    color: var(--jc-accent-primary);
    font-size: 8px;
    flex-shrink: 0;
}

.links-notes-list p strong {
    color: var(--jc-text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .links-apply-container {
        grid-template-columns: 1fr;
    }

    .links-apply-card {
        padding: 18px;
    }
}


/* ===================== 归档页整体 ===================== */
.page-archives {
    padding: 0;
}

.arch-header {
    margin-bottom: 24px;
}

.arch-header-main {
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius);
    padding: 24px 28px;
    box-shadow: var(--jc-glass-shadow);
}

.arch-header .article-title {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-bottom: 12px;
    font-size: 20px;
}

.arch-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.arch-stat,
.arch-range {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--jc-text-tertiary);
    background: var(--jc-glass-bg-hover);
    padding: 6px 14px;
    border-radius: var(--jc-radius-pill);
    border: 1px solid var(--jc-border-divider);
}

.arch-stat i,
.arch-range i {
    color: var(--jc-accent-primary);
    font-size: 14px;
}

.page-intro {
    margin: 0 0 24px 0;
    padding: 20px 24px;
}

.arch-timeline {
    position: relative;
    padding-left: 24px;
}

.arch-timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            var(--jc-accent-primary),
            var(--jc-accent-light) 60%,
            transparent);
    border-radius: 1px;
}

.arch-year-block {
    position: relative;
    margin-bottom: 32px;
}

.arch-year-block:last-child {
    margin-bottom: 0;
}

.arch-year-node {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
}

.arch-year-dot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-year-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 34px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--jc-radius-pill);
    box-shadow: 0 2px 10px rgba(255, 140, 158, 0.3);
    letter-spacing: 1px;
}

.arch-year-count {
    font-size: 12px;
    color: var(--jc-text-tertiary);
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    padding: 3px 10px;
    border-radius: var(--jc-radius-pill);
}

.arch-year-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arch-month-group {
    position: relative;
}

.arch-month-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding-left: 4px;
}

.arch-month-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 26px;
    background: var(--jc-accent-pale);
    color: var(--jc-accent-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--jc-radius-sm);
    flex-shrink: 0;
}

.arch-month-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right,
            var(--jc-border-divider),
            transparent);
}

.arch-month-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arch-item {
    position: relative;
}

.arch-item-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius-sm);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--jc-glass-shadow);
}

.arch-item-link:hover {
    background: var(--jc-glass-bg-hover);
    border-color: var(--jc-accent-light);
    transform: translateX(6px);
    box-shadow: var(--jc-glass-shadow-accent);
}

.arch-item-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--jc-text-tertiary);
    background: var(--jc-pink-background);
    padding: 4px 10px;
    border-radius: var(--jc-radius-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.arch-item-date i {
    color: var(--jc-accent-primary);
    font-size: 12px;
}

.arch-item-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--jc-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.arch-item-link:hover .arch-item-title {
    color: var(--jc-accent-primary);
}

.arch-item-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--jc-glass-bg-hover);
    color: var(--jc-text-tertiary);
    font-size: 14px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateX(-4px);
}

.arch-item-link:hover .arch-item-arrow {
    opacity: 1;
    transform: translateX(0);
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
}

.arch-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.arch-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jc-accent-pale), var(--jc-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--jc-glass-shadow);
}

.arch-empty-icon i {
    font-size: 36px;
    color: var(--jc-accent-primary);
}

.arch-empty p {
    font-size: 14px;
    color: var(--jc-text-tertiary);
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    .arch-timeline {
        padding-left: 16px;
    }

    .arch-timeline::before {
        left: 4px;
    }

    .arch-header-main {
        padding: 18px 20px;
    }

    .arch-header .article-title {
        font-size: 18px;
    }

    .arch-meta {
        gap: 10px;
    }

    .arch-year-num {
        min-width: 56px;
        height: 30px;
        font-size: 14px;
        padding: 0 12px;
    }

    .arch-year-node {
        gap: 10px;
        margin-bottom: 16px;
    }

    .arch-item-link {
        padding: 10px 12px;
        gap: 10px;
    }

    .arch-item-title {
        font-size: 13px;
    }

    .arch-item-arrow {
        display: none;
    }

    .arch-item-link:hover {
        transform: translateX(4px);
    }
}

/* ############################################################### */
.main-content {
    transform: translateX(0);
    width: 100%;
}

/* 动画只在移动端生效，PC端不生效 */
@media (max-width: 768px) {
    .main-content {
        transition: transform 0.6s ease;
    }
}

/* ############################################################### */
.jc-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jc-contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.jc-contact-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jc-contact-modal.active .jc-contact-mask {
    opacity: 1;
}

.jc-contact-wrapper {
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: var(--jc-radius);
}

.jc-contact-modal.active .jc-contact-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* ====================== 移动端终极丝滑 + 文字清晰 ====================== */
@media (max-width: 768px) {
    .jc-contact-wrapper {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: none !important;
        border-radius: 20px 20px 0 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(100%);
        transition: transform 0.32s ease-out;
        top: auto !important;
    }

    .jc-contact-modal.active .jc-contact-wrapper {
        transform: translateY(0);
    }
}

.jc-contact-map-box {
    width: 100%;
    height: 200px;
    background: var(--jc-sunlight-darkness) url('../images/ditu.png') no-repeat center;
    background-size: cover;
    position: relative;
}

.jc-contact-map-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(#ffffff00, var(--jc-sunlight-darkness));
}

.jc-contact-address-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px 20px;
    color: var(--jc-text-primary);
}

.jc-contact-address-title {
    font-size: 16px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.jc-contact-address-title::before {
    content: "\e63f";
    font-family: "icon";
    margin-right: 8px;
}

.jc-contact-address-detail {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.jc-contact-card-group {
    display: flex;
    padding: 12px;
    gap: 10px;
    background: var(--jc-sunlight-darkness);
}

.jc-contact-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--jc-accent-light);
    min-height: 190px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--jc-glass-bg-hover);
}

.jc-contact-card:hover {
    border-color: var(--jc-accent-primary);
}

.jc-contact-card-default {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 16px;
}

.jc-contact-card:hover .jc-contact-card-default {
    display: none;
}

.jc-contact-card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    transition: transform 0.2s;
}

.jc-contact-card:hover .jc-contact-card-icon {
    transform: scale(1.05);
}

.jc-contact-qq-icon {
    background: #12b7f5;
}

.jc-contact-wx-icon {
    background: #07c160;
}

.jc-contact-card-default h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--jc-text-primary);
}

.jc-contact-copy-text {
    color: var(--jc-accent-primary);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 18px;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
    display: inline-block;
}

.jc-contact-copy-text:hover {
    background: #d6e8ff;
}

.jc-contact-card-qrcode {
    display: none;
    position: absolute;
    inset: 0;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.jc-contact-card:hover .jc-contact-card-qrcode {
    display: flex;
}

.jc-contact-card-qrcode img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border: 4px solid #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
}

.alert.show {
    opacity: 1;
}

/* ############################################################### */
.cl:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.vm {
    vertical-align: middle
}

em,
i {
    font-style: normal
}

.jc_poster_box {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    z-index: 1300;
    transition: all 0.4s ease;
    opacity: 0;
}

.jc_poster_box_show {
    opacity: 1
}

.jc_poster_box img {
    display: initial
}

.jc_poster_okimg {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

.poster_image_wrap {
    position: relative;
    display: inline-block;
}

.poster_inner_btns {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.poster_btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.poster_btn:hover {
    background: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.poster_btn i {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.poster_btn:active {
    text-decoration: none;
}

.close_btn i {
    color: #ffffff;
}

.jc_poster_okimg img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 14px;
    display: block;
}

.jc_poster_oktit {
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    color: #eee;
    width: 100%;
}

.jc_poster_load {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.loading_color {
    width: 200px;
    height: 80px;
    margin: 0 auto;
    text-align: center;
}

.loading_color span {
    display: inline-block;
    width: 3px;
    height: 30px;
    animation-name: scale;
    -webkit-animation-name: scale;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
}

.loading_color span.loading_color1 {
    background: #2ecc71
}

.loading_color span.loading_color2 {
    background: #3498db
}

.loading_color span.loading_color3 {
    background: #9b59b6
}

.loading_color span.loading_color4 {
    background: #e67e22
}

.loading_color span.loading_color5 {
    background: #c0392b
}

.loading_color span.loading_color6 {
    background: #e74c3c
}

.loading_color span.loading_color7 {
    background: #e74c8c
}

.loading_color1 {
    animation-delay: -1s;
}

.loading_color2 {
    animation-delay: -0.9s;
}

.loading_color3 {
    animation-delay: -0.8s;
}

.loading_color4 {
    animation-delay: -0.7s;
}

.loading_color5 {
    animation-delay: -0.6s;
}

.loading_color6 {
    animation-delay: -0.5s;
}

.loading_color7 {
    animation-delay: -0.4s;
}

@-webkit-keyframes scale {

    0%,
    40%,
    100% {
        transform: scaleY(0.2)
    }

    20%,
    60% {
        transform: scaleY(1)
    }
}

@keyframes scale {

    0%,
    40%,
    100% {
        transform: scaleY(0.2)
    }

    20%,
    60% {
        transform: scaleY(1)
    }
}

.jc_poster_box_img {
    position: fixed;
    top: -9999px;
    width: 360px;
    background: #fff;
    overflow: hidden
}

.jc_poster_img {
    width: 100%;
    max-height: 280px;
    position: relative;
    overflow: hidden
}

.jc_poster_img img {
    width: 100%;
    height: auto
}

.jc_poster_img .img_time {
    position: absolute;
    left: 30px;
    bottom: 20px;
    width: 96px;
    line-height: 36px;
    font-size: 70px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.2)
}

.jc_poster_img .img_time span {
    display: block;
    margin-top: 16px;
    border-top: 3px solid #fff;
    font-size: 24px
}

.jc_poster_tita {
    padding: 10px 30px;
    max-height: 88px;
    line-height: 32px;
    font-size: 24px;
    color: #222;
}

.jc_poster_txta {
    margin: 0 28px;
    min-height: 68px;
    max-height: 136px;
    line-height: 34px;
    font-size: 18px;
    color: #aaa;
}

.jc_poster_foot {
    padding: 10px 28px;
    height: 100px;
    overflow: hidden
}

.jc_poster_foot .kmzw {
    float: left;
    width: 80px;
    height: 80px;
    margin-right: 12px
}

.jc_poster_foot .kmzwtip {
    margin-top: 13px;
    line-height: 26px;
    font-size: 20px;
    color: #aaa
}

.jc_poster_foot .kmewm {
    float: right;
    width: 80px;
    height: 80px
}

.jc_poster_fdico * {
    box-sizing: content-box
}

/* ############################################################### */
.jc-rank-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1080px;
    width: 100%;
    z-index: 1010;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-out;
    /* 👆 完全保留你原来的所有样式 */
}

body.modal-scroll-lock {
    overflow: hidden !important;
}

.jc-rank-modal.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.jc-modal-contenta {
    max-height: 450px;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    background: var(--jc-pinkbackground);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.jc-modal-contenta::-webkit-scrollbar {
    display: none;
}

.jc-rank-container {
    padding: 20px;
}

.jc-rank-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.jc-rank-item {
    display: block;
    background: var(--jc-glass-bg);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    transition: 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--jc-border-divider);
    cursor: pointer;
    box-shadow: var(--jc-glass-shadow);
}

.jc-rank-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.jc-rank-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    transition: 0.3s;
}

.jc-rank-item:hover .jc-rank-number {
    transform: scale(1.2);
}

.jc-rank-item:nth-child(1) .jc-rank-number {
    background: #f55;
}

.jc-rank-item:nth-child(2) .jc-rank-number {
    background: #f90;
}

.jc-rank-item:nth-child(3) .jc-rank-number {
    background: #03a9f4;
    ;
}

.jc-rank-item:nth-child(n+4) .jc-rank-number {
    background: #a9a9a9;
}

.jc-rank-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--jc-text-primary);
    line-height: 1.6;
    margin-bottom: 14px;
    padding-right: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jc-rank-desc {
    font-size: 14px;
    color: var(--jc-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jc-rank-meta {
    width: 100%;
    font-size: 12.5px;
    color: #9494a8;
}

.jc-rank-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.jc-rank-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jc-rank-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffc5d0;
}

.jc-rank-username {
    font-size: 13px;
    font-weight: 500;
    color: var(--jc-text-secondary);
}

.jc-rank-category span i {
    color: var(--jc-text-tertiary);
    font-size: 14px;
}

.jc-rank-category span {
    color: var(--jc-text-secondary);
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
}

.jc-rank-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.jc-rank-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--jc-text-secondary);
}

.jc-rank-icon {
    font-size: 12px;
    color: #9494a8;
}

.jc-rank-stats span i {
    color: var(--jc-text-tertiary);
    font-size: 14px;
}

@media (max-width:768px) {
    .jc-rank-modal {
        padding: 0 10px;
    }

    .jc-rank-list {
        grid-template-columns: 1fr;
    }

    .jc-modal-contenta {
        max-height: 500px;
    }
}

/* ############################################################### */
.hot-active {
    color: var(--jc-accent-primary) !important;
}

.jc-bottom-fixed-menu {
    position: fixed;
    top: -44px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
}

.menu-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 5px 10px;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    margin: 0 auto;
    width: fit-content;
    cursor: pointer;
    background: var(--jc-pinkbackground);
}

.menu-nav-list a {
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    color: var(--jc-text-secondary);
}

.menu-nav-list a i {
    font-size: 15px;
    line-height: 1;
}

.menu-nav-list a:hover {
    color: var(--jc-accent-primary);
}

.menu-close-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
    color: #8c8c8c;
}

.menu-close-icon:hover {
    color: #f56c6c;
    transform: rotate(90deg);
}

/* ############################################################### */
.jc-hot-comment {
    max-width: 100%;
    width: 100%;
}

.jc-comment-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.jc-comment-item {
    display: block;
    padding: 20px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--jc-border-divider);
    box-shadow: var(--jc-glass-shadow);
    background: var(--jc-glass-bg);
    border-radius: 16px;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: box-shadow 0.3s;
}

.jc-comment-item::after {
    content: "\e62f";
    font-family: "icon";
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 14px;
    color: var(--jc-accent-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.jc-comment-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.jc-comment-item:hover::after {
    opacity: 1;
}

.jc-comment-user {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    min-width: 0;
}

.jc-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffc5d0;
    flex-shrink: 0;
}

.jc-comment-userinfo {
    flex: 1;
    min-width: 0;
}

.jc-comment-name {
    font-size: 14px;
    display: block;
    color: var(--jc-text-secondary);
}

.jc-comment-time {
    font-size: 12px;
    margin-top: 2px;
    color: var(--jc-text-secondary);
}

.jc-comment-article {
    font-size: 13px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--jc-text-primary);
    min-width: 0;
    max-width: 100%;
}

.jc-comment-content {
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--jc-text-secondary);
    word-break: break-word;
    min-width: 0;
}

.jc-comment-content img {
    position: relative;
    padding: 0 5px;
    max-width: 65px;
    max-height: 65px;
    vertical-align: middle;
}

@media(max-width:992px) {
    .jc-comment-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px) {
    .jc-comment-list {
        grid-template-columns: 1fr;
    }
}

/* ############################################################### */
.jc-hot-tags {
    width: 100%;
}

.jc-comment-tag-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.jc-comment-tag-item {
    padding: 18px 12px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--jc-border-divider);
    box-shadow: var(--jc-glass-shadow);
    background: var(--jc-glass-bg);
    border-radius: 16px;
    cursor: pointer;
}

.jc-comment-tag-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.jc-comment-tag-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--jc-text-primary);
}

.jc-comment-tag-num {
    font-size: 13px;
    color: var(--jc-text-secondary);
}

.jc-comment-tag-num b {
    margin: 0 4px;
    color: var(--jc-accent-primary);
}

@media (max-width: 768px) {
    .jc-comment-tag-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .jc-comment-tag-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ############################################################### */
.info-icon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 24px;
    color: var(--jc-accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

.info-icon-wrapper i {
    font-size: 22px;
}

.info-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--jc-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--jc-glass-shadow-accent);
    margin-bottom: 8px;
}

.info-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 6px 0 6px;
    border-style: solid;
    border-color: var(--jc-accent-primary) transparent transparent transparent;
}

.info-icon-wrapper:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===================== 站点统计弹窗 ===================== */
.jc-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.jc-mask.show {
    display: flex;
}

.jc-pop-box {
    width: 520px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--jc-glass-shadow);
    border: 1px solid var(--jc-glass-border);
    background: var(--jc-sunlight-darkness);
}

.jc-pop-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jc-pop-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 550;
    color: var(--jc-accent-primary);
}

.jc-pop-title i {
    font-size: 20px;
    color: var(--jc-accent-primary);
}

.jc-pop-desc {
    font-size: 15px;
    padding: 5px 14px;
    border-radius: 30px;
    color: var(--jc-text-primary);
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-glass-border);
}

.jc-pop-desc k {
    color: var(--jc-accent-primary);
}

.jc-pop-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.jc-pop-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 18px 15px;
    border: 1px solid var(--jc-border-divider);
    box-shadow: var(--jc-glass-shadow);
    background: var(--jc-glass-bg);
}

.jc-pop-item:hover {
    box-shadow: var(--jc-glass-shadow-accent);
}

.jc-pop-item>i {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 20px;
    opacity: 0.3;
    transition: opacity 0.28s ease;
    pointer-events: none;
    color: var(--jc-accent-primary);
}

.jc-pop-item:hover>i {
    opacity: 1;
}

.jc-pop-label {
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--jc-text-primary);
}

.jc-pop-num {
    font-size: 17px;
    font-weight: 600;
    color: var(--jc-accent-primary);
}

/* ############################################################### */
.beian-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 15px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    line-height: 1.5;
}

.beian-wrapper a {
    cursor: pointer;
    color: var(--jc-text-tertiary);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.beian-wrapper .gongan-link img {
    width: auto;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    border: none;
    display: inline-block;
}

/* ===================== 移动端性能优化 ===================== */
@media (max-width: 768px) {

    /* 禁用波浪 SVG 动画，减少持续重绘 */
    .parallax>use {
        animation: none !important;
        -webkit-animation: none !important;
    }

    /* 禁用 loading_color 无限动画 */
    .loading_color span {
        animation: none !important;
        -webkit-animation: none !important;
    }

    /* 禁用 APlayer 旋转动画（仅视觉，不影响播放） */
    .aplayer-cover {
        animation: none !important;
        -webkit-animation: none !important;
    }

    /* 禁用 fancybox 加载旋转动画 */
    .fancybox-loader,
    .fancybox-progress {
        animation: none !important;
        -webkit-animation: none !important;
    }

    /* 移动端：移除 will-change 和 translateZ(0)，避免强制 GPU 合成层导致持续耗电 */

    /* 移动端优化：减少阴影模糊效果 */
    .card,
    .article-item,
    .post-item {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    /* 移动端优化：禁用 backdrop-filter（如果存在） */
    .glass,
    .glass-bg,
    .jc-pop-box {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 移动端优化：减少 transition 复杂度 */
    .transition-all,
    [class*="transition"] {
        transition-duration: 0.15s !important;
    }

    /* 移动端优化：防止大规模 DOM 查询时的回流 */
    body {
        -webkit-tap-highlight-color: transparent;
    }

    /* 移动端：禁用 header fixed 过渡动画 */
    #header.fixed {
        transition: none !important;
    }
}

/* ===================== 登录 / 注册 / 找回密码弹窗 ===================== */
.jc-auth-mask {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.jc-auth-mask.open {
    display: flex;
}

.jc-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
}

.jc-auth-modal.open {
    display: flex;
    pointer-events: auto;
}

.jc-auth-card {
    width: 420px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--jc-sunlight-darkness);
    border: 1px solid var(--jc-border-divider);
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
    padding: 36px 32px 30px;
    position: relative;
    pointer-events: auto;
    will-change: transform, opacity;
    animation: jcAuthPop 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.jc-auth-card::-webkit-scrollbar {
    width: 0;
}

@keyframes jcAuthPop {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.jc-auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--jc-text-tertiary);
    cursor: pointer;
    transition: all 0.2s;
}

.jc-auth-close:hover {
    color: var(--jc-accent-primary);
    transform: rotate(90deg);
}

.jc-auth-head {
    text-align: center;
    margin-bottom: 22px;
}

.jc-auth-head h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--jc-accent-primary);
    letter-spacing: 1px;
}

.jc-auth-alert {
    display: none;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: var(--jc-radius-sm);
    font-size: 13px;
    line-height: 1.5;
    color: #d46b6b;
    background: rgba(255, 107, 129, 0.1);
    border: 1px solid rgba(255, 107, 129, 0.25);
    text-align: center;
}

.jc-auth-alert.show {
    display: block;
}

.jc-auth-alert.success {
    color: #3aa876;
    background: rgba(58, 168, 118, 0.1);
    border-color: rgba(58, 168, 118, 0.25);
}

.jc-auth-panel {
    display: none;
}

.jc-auth-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 0 14px;
    min-height: 48px;
    background: var(--jc-glass-bg);
    border: 1px solid var(--jc-border-divider);
    border-radius: var(--jc-radius);
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.jc-auth-row:focus-within {
    border-color: var(--jc-accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 158, 0.1);
    background: var(--jc-glass-bg-hover);
}

.jc-auth-row>i {
    font-size: 18px;
    color: var(--jc-text-tertiary);
    flex: none;
}

.jc-auth-row input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    font-size: 15px;
    color: var(--jc-text-primary);
}

.jc-auth-row input::placeholder {
    color: var(--jc-text-tertiary);
}

.jc-auth-captcha-row {
    padding-right: 8px;
}

.jc-auth-captcha-row img {
    height: 38px;
    width: auto;
    min-width: 88px;
    border-radius: var(--jc-radius-sm);
    cursor: pointer;
    flex: none;
    display: block;
    transition: opacity 0.2s, transform 0.2s;
}

.jc-auth-captcha-row img:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

.jc-auth-inline {
    padding-right: 8px;
}

.jc-auth-mail-btn {
    flex: none;
    min-width: 96px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.jc-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 16px;
    font-size: 13px;
    color: var(--jc-text-secondary);
    cursor: pointer;
    user-select: none;
}

.jc-auth-checkbox input {
    accent-color: var(--jc-accent-primary);
    cursor: pointer;
}

.jc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--jc-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.jc-btn-primary {
    width: 100%;
    min-height: 46px;
    background: linear-gradient(135deg, var(--jc-accent-primary), var(--jc-accent-light));
    color: #fff;
    box-shadow: var(--jc-glass-shadow-accent);
}

.jc-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b81, var(--jc-accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 158, 0.28);
}

.jc-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.jc-auth-submit {
    margin-top: 4px;
}

.jc-auth-switch {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
    font-size: 13px;
}

.jc-auth-switch a {
    color: var(--jc-text-secondary);
    transition: color 0.2s;
}

.jc-auth-switch a:hover {
    color: var(--jc-accent-primary);
}

.jc-auth-ext {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--jc-text-tertiary);
}

.jc-auth-subtitle {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--jc-text-secondary);
    text-align: center;
}

@media (max-width: 480px) {
    .jc-auth-card {
        padding: 30px 22px 24px;
        border-radius: 20px;
    }
}

/* ===================== 移动端评论底部弹出层 ===================== */
.mobile-comment-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-comment-mask.active {
    opacity: 1;
    visibility: visible;
}

.comment-emoji-icon {
    display: none;
}

@media (max-width: 768px) {
    /* 移动端评论编辑区默认收起，作为底部弹出层 */
    .article-comment .comment-form {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3000;
        margin: 0;
        gap: 12px;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        background: var(--jc-sunlight-darkness);
        border: none;
        border-top: 1px solid var(--jc-border-divider);
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.16);
        transform: translateY(110%);
        visibility: hidden;
        transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.32s;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-comment .comment-form.mobile-open {
        transform: translateY(0);
        visibility: visible;
        transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0s;
    }

    /* 身份信息输入框：全宽圆角、浅色边框、间距舒展 */
    .article-comment .comment-form .comment_xin_box {
        gap: 10px;
    }

    .article-comment .comment-form .comment_xin_box .form-control {
        width: 100%;
        min-height: 44px;
        padding: 12px 14px;
        font-size: 14px;
        background: var(--jc-glass-bg);
        border: 1px solid var(--jc-border-light);
        border-radius: 12px;
    }

    /* 输入区：大号内容框，底部预留表情与按钮位 */
    .article-comment .comment-form .comment-textarea-wrapper {
        padding: 14px 12px 52px 12px;
        border-radius: 12px;
    }

    .article-comment .comment-form .comment-textarea {
        min-height: 116px;
        padding: 4px 4px 0 4px;
        font-size: 15px;
    }

    /* 表情图标：左下角 */
    .comment-emoji-icon {
        position: absolute;
        left: 12px;
        bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        color: var(--jc-text-tertiary);
        font-size: 20px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.25s;
    }

    .comment-emoji-icon:hover {
        color: var(--jc-accent-primary);
        background: var(--jc-glass-bg-hover);
    }

    /* 提交按钮：右下角胶囊渐变 */
    .article-comment .comment-form .comment-submit-wrap {
        right: 8px;
        bottom: 8px;
    }

    .article-comment .comment-form .submit-btn {
        padding: 9px 24px;
        font-size: 14px;
        border-radius: 999px;
        min-height: 36px;
    }

    body.comment-sheet-open {
        overflow: hidden;
    }
}

/* ===================== 文章目录 ===================== */
#toc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toc-overlay.open {
    opacity: 1;
    visibility: visible;
}

.toc-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 1201;
    background: var(--jc-sunlight-darkness);
    border-left: 1px solid var(--jc-border-divider);
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.toc-panel.open {
    transform: translateX(0);
}

.toc-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--jc-border-divider);
    flex: 0 0 auto;
}

.toc-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--jc-text-primary);
}

.toc-panel-title i {
    color: var(--jc-accent-primary);
    font-size: 18px;
}

.toc-panel-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--jc-text-tertiary);
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s;
}

.toc-panel-close:hover {
    color: var(--jc-accent-primary);
    background: var(--jc-glass-bg-hover);
}

.toc-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px 20px;
    -webkit-overflow-scrolling: touch;
}

.toc-item {
    display: block;
    padding: 7px 10px;
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--jc-text-secondary);
    text-decoration: none;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    transition: all 0.2s;
    word-break: break-word;
}

.toc-item:hover {
    color: var(--jc-accent-primary);
    background: var(--jc-glass-bg-hover);
}

.toc-item.active {
    color: var(--jc-accent-primary);
    background: var(--jc-glass-bg);
    border-left-color: var(--jc-accent-primary);
    font-weight: 500;
}

.toc-item.toc-level-3 {
    padding-left: 26px;
}

.toc-item.toc-level-4 {
    padding-left: 42px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    scroll-margin-top: 90px;
}

body.toc-open {
    overflow: hidden;
}
.lyric-version { display: none; }
.lyric-version.active-version { display: block; }
.lyric-version p { margin: 0.2em 0; line-height: 1.7; font-size: 15px; }
.lyric-switch-buttons {
    margin: 16px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lyric-switch-btn {
    background: #e8f5e8;
    border: 1px solid #b8d9b8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    color: #2d4a2d;
}
.lyric-switch-btn.active {
background: #ff9eb0;
    color: #fff;
    border-color: #f7dff5;
}
.lyric-switch-btn:hover {
    background: #c8e6c9;
}
.lyric-switch-btn.active:hover {
    background: #388e3c;
}
#article-down-but {
    background-color: #5298ff;
    border: none;
    color: white;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    }
    .x-down-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f9ff;
    border: 1px solid #d6e4ff;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 18px 0;
    max-width: 520px;
    box-sizing: border-box;
    }
    .x-down-card-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #5298ff;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 44px;
    text-align: center;
    }
    .x-down-card-body {
    min-width: 0;
    flex: 1;
    }
    .x-down-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    word-break: break-all;
    line-height: 1.4;
    }
    .x-down-card-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    }
    .x-down-card-btn {
    flex-shrink: 0;
    background: #5298ff;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease;
    }
    .x-down-card-btn:hover {
    background: #3b7df0;
    color: #fff !important;
    text-decoration: none !important;
    }
    
    .main-content .article-header {
    background: var(--jc-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--jc-glass-border);
    border-radius: var(--jc-radius); /* 16px */
    padding: 20px 28px;
    margin-bottom: 20px;
    box-shadow: var(--jc-glass-shadow);
    transition: background var(--jc-transition-duration), 
                box-shadow var(--jc-transition-duration),
                transform 0.3s ease;
}

.main-content .article-header:hover {
    background: var(--jc-glass-bg-hover);
    box-shadow: var(--jc-glass-shadow-accent);
    transform: translateY(-2px);
}

.main-content .article-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--jc-text-primary);
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.main-content .article-header .article-desc {
    font-size: 15px;
    color: var(--jc-text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 90%;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .main-content .article-header {
        padding: 16px 18px;
        border-radius: var(--jc-radius-sm);
    }
    .main-content .article-header h1 {
        font-size: 18px;
    }
    .main-content .article-header .article-desc {
        font-size: 14px;
        max-width: 100%;
    }
}
.breadcrumb {
    background: var(--jc-glass-bg);
    backdrop-filter: blur(6px);
    border-radius: var(--jc-radius-sm);
    padding: 8px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--jc-text-secondary);
    border: 1px solid var(--jc-glass-border);
}
.breadcrumb a { color: var(--jc-accent-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--jc-text-primary); }
