/* 强制PC端100%缩放 */
html {
}
body {
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

table {
    color: inherit;
}

td, th {
    color: inherit;
}

@font-face {
    font-family: 'BrittanySignature';
    src: url('/fonts/BrittanySignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho ProN W3", "Hiragino Mincho ProN W6", "Yu Mincho", "Yu Mincho Demibold", "Noto Serif JP", "Source Han Serif JP", "Noto Serif CJK JP", "Noto Serif SC", "Source Han Serif SC", "MS Mincho", "ＭＳ 明朝", Georgia, serif;
    overflow-x: hidden;
    background: #fff;
}

.curtain-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 100;
}

/* 全屏覆盖层 - 最高优先级 */
.curtain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: transparent;
    cursor: default;
    pointer-events: auto;
}

.curtain-left,
.curtain-right {
    width: 50%;
    height: 100%;
    background: #ffffff;
    transition: all 3s cubic-bezier(0.4, 0, 0.2, 1);
}

.curtain-container.open .curtain-left {
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
}

.curtain-container.open .curtain-right {
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.curtain-container.dark .curtain-left,
.curtain-container.dark .curtain-right {
    background: #0a0a0a;
}

.reversed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.reversed-bg.fade-out {
    opacity: 0;
}

.opening-text {
    position: fixed;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    z-index: 150;
    pointer-events: none;
}

.opening-text .enter-btn {
    pointer-events: auto;
}

.opening-text h2 {
    font-size: 72px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -2px;
    transition: color 0.3s;
}

.curtain-container.dark ~ .opening-text h2,
.curtain-container.dark + .opening-text h2,
.opening-text.dark h2 {
    color: #ffffff;
}

.opening-text h2 span {
    display: block;
}

.opening-text .small {
    font-size: 18px;
    color: #999;
    font-weight: 400;
    margin-top: 40px;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.curtain-container.dark ~ .opening-text .small,
.curtain-container.dark + .opening-text .small {
    color: #666;
}

/* 封面页备案信息样式 */
.opening-beian {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    pointer-events: auto;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.opening-beian.hidden {
    opacity: 0;
    pointer-events: none;
}

.opening-beian .beian-link {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.opening-beian .beian-link:hover {
    color: #666;
}

/* 封面页备案信息 - 暗色模式 */
.curtain-container.dark ~ .opening-beian .beian-link,
.curtain-container.dark + .opening-beian .beian-link {
    color: #666;
}

.curtain-container.dark ~ .opening-beian .beian-link:hover,
.curtain-container.dark + .opening-beian .beian-link:hover {
    color: #999;
}

.theme-toggle {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 200;
    width: 50px;
    height: 50px;
    border: none;
    background: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
}

.theme-toggle.dark {
    background: #ffffff;
}

.theme-expand {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    z-index: 199;
    pointer-events: none;
}

.center-text {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 160;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.center-text.show {
    opacity: 1;
}

.center-text-content {
    text-align: center;
}

.center-text-top {
    display: block;
    font-size: 40px;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 3px;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.center-text-top.center-text-reversed {
    color: #ffffff !important;
    /* 移除文字背景，现在是全屏背景 */
}

.center-text-top.center-text-custom-font {
    font-family: 'BrittanySignature', 'Noto Serif SC', serif;
}

.curtain-container.dark ~ .center-text .center-text-top.center-text-reversed,
.center-text.dark .center-text-top.center-text-reversed {
    color: #1a1a1a !important;
}

.curtain-container.dark ~ .center-text .center-text-top,
.center-text.dark .center-text-top {
    color: #ffffff;
}

.center-text-percentage {
    display: block;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 0, 0, 0.2);
    letter-spacing: 1px;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

.curtain-container.dark ~ .center-text .center-text-percentage,
.center-text.dark .center-text-percentage {
    color: rgba(255, 0, 0, 0.2);
}

.theme-expand.expanding {
    animation: expandToFull 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes expandToFull {
    0% {
        top: 40px;
        right: 40px;
        width: 50px;
        height: 50px;
    }
    50% {
        top: 0;
        right: 40px;
        width: 50px;
        height: 100vh;
    }
    100% {
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
    }
}

.curtain-left {
    transform-origin: left;
}

.curtain-right {
    transform-origin: right;
}

.curtain-container.open {
    /* 保持 pointer-events: auto 在动画期间拦截点击 */
    pointer-events: auto;
}

/* 确保左右幕布在打开过程中也能拦截点击 */
.curtain-container.open .curtain-left,
.curtain-container.open .curtain-right {
    pointer-events: auto;
}

.curtain-container.open .curtain-left {
    transform: translateX(-100%);
}

.curtain-container.open .curtain-right {
    transform: translateX(100%);
}

.enter-btn {
    position: relative;
    margin-top: 30px;
    z-index: 200;
    padding: 0;
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0;
    pointer-events: auto;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
    display: inline-block;
}

.opening-text.dark .enter-btn,
.enter-btn.dark {
    color: #ffffff;
}

.enter-btn:hover {
    opacity: 0.7;
}

.enter-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.magazine-big {
    background: #fff;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s, background 0.3s;
    overflow: hidden;
}

.magazine-big.show {
    opacity: 1;
}

.magazine-big.dark {
    background: #0a0a0a;
}

.magazine-big.dark .magazine-hero h1 {
    color: #fff;
}

.magazine-big.dark .magazine-hero h1 .line1,
.magazine-big.dark .magazine-hero h1 .line2 {
    color: #fff;
}

.magazine-big.dark .magazine-hero p {
    color: #666;
}

.magazine-big.dark .magazine-nav a {
    color: #fff;
}

.magazine-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 80px 40px;
    position: relative;
    overflow: hidden;
}

.magazine-hero-main {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.magazine-hero-content {
    position: relative;
}

.photography-image-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 800px;
    height: 80%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 5;
    overflow-y: auto;
    padding: 2rem;
    padding-right: 3rem;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.photography-image-area::-webkit-scrollbar {
    width: 5px;
}

.photography-image-area::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.photography-image-area::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0e0e0, #ff6b6b);
    border-radius: 3px;
    transition: all 0.3s;
}

.photography-image-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c0c0c0, #ee5a5a);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.3);
}

.photography-image-area.show {
    opacity: 1;
    pointer-events: auto;
}

.photography-image-area .project-detail-photo-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.photography-image-area .project-detail-photo-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem;
}

.photography-image-area .project-detail-photo-image img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.photography-image-area .project-detail-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.photography-image-area .project-detail-description {
    color: #666;
    line-height: 1.8;
}

.photography-image-area .project-detail-markdown-content img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    border-radius: 8px;
}

.magazine-big.dark .photography-image-area .project-detail-title {
    color: #fff;
}

.magazine-big.dark .photography-image-area .project-detail-description {
    color: #aaa;
}

.magazine-big.dark .photography-image-area .project-detail-date {
    color: #888;
}

.photography-item-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.photography-item {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.photography-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
}

.photography-item.active {
    background: #1a1a1a;
    color: #fff;
}

.magazine-big.dark .photography-item {
    background: rgba(26, 26, 26, 0.8);
}

.magazine-big.dark .photography-item:hover {
    background: rgba(26, 26, 26, 1);
}

.magazine-big.dark .photography-item.active {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .photography-image-area::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #444, #ff6b6b);
}

.magazine-big.dark .photography-image-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555, #ee5a5a);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.4);
}

.magazine-big.dark .photography-image-area {
    scrollbar-color: #444 transparent;
}

.magazine-hero h1 {
    font-size: 120px;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -4px;
    margin-bottom: 30px;
}

.magazine-hero h1 span {
    display: block;
}

.magazine-hero h1 .line1 {
    font-family: 'BrittanySignature', cursive;
    color: #000;
}

.magazine-hero h1 .line2 {
    color: #1a1a1a;
}

.magazine-hero p {
    font-size: 18px;
    color: #999;
    line-height: 1.8;
}

.magazine-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: right;
    position: relative;
    z-index: 10;
}

.magazine-nav-item {
    position: relative;
}

.magazine-nav a {
    display: block;
    font-size: 18px;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s;
    opacity: 0.5;
    line-height: 1.5;
    cursor: pointer;
    padding: 10px 0;
    user-select: none;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

.magazine-nav a:hover {
    opacity: 1;
    letter-spacing: 4px;
}

.nav-preview {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 140px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.magazine-nav-item:hover .nav-preview {
    opacity: 1;
}

.magazine-nav.nav-active {
    gap: 0;
    justify-content: center;
}

.magazine-nav.nav-active .magazine-nav-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.magazine-nav.nav-active .magazine-nav-item.item-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.magazine-nav.nav-active .magazine-nav-item.item-active a {
    font-size: 32px;
    opacity: 1;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
}

/* 归档模式下保�?Journal 子菜单在原来的位�?*/
.magazine-hero.archive-mode .journal-bg-container {
    top: 50%;
    transform: translateY(-50%);
}

.journal-item.item-active {
    transform: translateY(-30px);
}

.journal-item.item-active .exit-text {
    opacity: 0;
    margin-right: -30px;
    transition: all 0.3s;
}

.journal-item.item-active:hover .exit-text {
    opacity: 1;
    margin-right: 8px;
}

.journal-item.item-active:hover a {
    color: #ff6b6b;
}

.projects-about-item.item-active a {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.projects-about-item.item-active .exit-text {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-right: 0;
    margin-top: 4px;
    order: 2;
}

.projects-about-item.item-active:hover .exit-text {
    opacity: 1;
    transform: translateY(0);
    margin-right: 0;
}

.journal-bg-container {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.journal-bg {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 300px;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.08));
    border-radius: 8px 0 0 8px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.journal-bg-container.show .journal-bg {
    transform: translateY(calc(-50% - 30px)) scaleY(3);
}

.magazine-big.dark .journal-bg {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.12));
}

.journal-submenu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding: 20px 30px 20px 50px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
    z-index: 1000;
}

.about-container .journal-submenu {
    flex-direction: column;
    gap: 10px;
}

.journal-bg-container.show .journal-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(calc(-50% - 10px)) translateX(0);
}

.projects-container.show .journal-submenu {
    transform: translateY(calc(-50% - 70px)) translateX(-60px);
}

.about-container.show .journal-submenu {
    transform: translateY(calc(-50% - 10px)) translateX(-60px);
}

.contact-container.show .journal-submenu {
    transform: translateY(calc(-50% - 10px)) translateX(-60px);
}

.archive-container {
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-450px);
}

.archive-container.show {
    transform: translateY(-50%) translateX(-50px);
}

.journal-bg-container.show {
    pointer-events: auto;
    z-index: 1000;
}

.submenu-item {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-block;
    user-select: none;
    z-index: 1001;
    pointer-events: auto;
}

.submenu-item:hover {
    letter-spacing: 4px;
    color: #ff6b6b;
}

.magazine-big.dark .submenu-item {
    color: #e0e0e0;
}

.magazine-big.dark .submenu-item:hover {
    color: #ff6b6b;
}

.magazine-nav.nav-active .magazine-nav-item .nav-preview {
    display: none;
}

.magazine-hero-content.content-left {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    letter-spacing: 1px;
}

.collapse-btn {
    position: absolute;
    right: -20px;
    top: calc(50% - 180px);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1003;
    pointer-events: auto;
    user-select: none;
    opacity: 0;
    pointer-events: none;
    filter: brightness(0);
}

.journal-bg-container.show .collapse-btn {
    opacity: 1;
    pointer-events: auto;
}

.magazine-big.dark .collapse-btn {
    color: #ffffff;
    filter: brightness(0) invert(1);
}

.collapse-btn:hover {
    color: #ff6b6b;
    filter: brightness(1);
}

.magazine-big.dark .collapse-btn:hover {
    color: #ff6b6b;
    filter: brightness(1);
}

.collapse-btn.collapsed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.1);
}

.magazine-big.dark .collapse-btn.collapsed {
    background: rgba(255, 255, 255, 0.1);
}

.journal-bg-container.collapsed .journal-bg {
    transform: translateY(-50%) scaleY(0);
    opacity: 0;
}

.journal-bg-container.collapsed .journal-submenu {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(50px);
}

.journal-bg-container.collapsed .submenu-item {
    opacity: 0;
    pointer-events: none;
}

/* 移动端关闭按钮默认隐藏（电脑端不显示�?/
.mobile-left-close-btn,
.mobile-photography-close-btn {
    display: none;
}

/* 响应式设�?- 手机端适配 */
@media only screen and (max-width: 768px) {
    .opening-text {
        left: 20px;
    }

    .opening-text h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .opening-text .small {
        font-size: 14px;
        margin-top: 30px;
    }

    .opening-beian {
        bottom: 20px;
    }

    .opening-beian .beian-link {
        font-size: 12px;
    }

    .center-text-top {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 15px;
        padding: 4px 10px;
    }

    .center-text-top.center-text-reversed {
        padding: 4px 12px;
    }

    .enter-btn {
        font-size: 18px;
        margin-top: 20px;
    }

    .theme-toggle {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .theme-expand {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .hero-admin-btn {
        top: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .opening-admin-btn {
        top: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .enter-btn {
        bottom: 50px;
        left: 20px;
        padding: 12px 32px;
        font-size: 14px;
    }

    .magazine-hero {
        padding: 0 20px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 60px;
    }

    .magazine-hero h1 {
        font-size: 56px;
    }

    .magazine-hero h1 .line1 {
        font-size: 64px;
    }

    .magazine-hero h1 .line2 {
        font-size: 48px;
    }

    .magazine-hero p {
        font-size: 14px;
        max-width: 100%;
    }

    .magazine-nav {
        position: static;
        align-self: flex-end;
    }

    .magazine-nav a {
        font-size: 16px;
    }

    .journal-bg-container {
        right: 20px;
        top: 50%;
    }

    .journal-bg {
        width: 200px;
    }

    .journal-bg-container.show .journal-bg {
        transform: translateY(calc(-50% - 20px)) scaleY(3);
    }

    .journal-submenu {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px 15px 25px;
    }

    .journal-bg-container.show .journal-submenu {
        transform: translateY(calc(-50% - 5px)) translateX(0);
    }

    .submenu-item {
        font-size: 16px;
    }

    .collapse-btn {
        right: -15px;
        top: calc(50% - 130px);
    }

    .collapse-btn.collapsed {
        right: 0;
    }

    .projects-container.show .journal-submenu,
    .about-container.show .journal-submenu,
    .contact-container.show .journal-submenu {
        transform: translateY(calc(-50% - 5px)) translateX(-30px);
    }

    /* 左侧内容区域移动�?- 完全覆盖屏幕 */
    .left-content-area {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        padding: 60px 20px 100px !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 1500 !important;
        overflow-y: auto !important;
    }

    .left-content-area.wide-mode {
        position: fixed !important;
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        height: 100% !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 1500 !important;
        overflow-y: auto !important;
        padding: 60px 20px 100px !important;
    }
    
    .magazine-big.dark .left-content-area,
    .magazine-big.dark .left-content-area.wide-mode {
        background: #0a0a0a !important;
        box-shadow: none !important;
    }

    /* 摄影图片区域移动�?- 完全覆盖屏幕 */
    .photography-image-area {
        position: fixed !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 60px 20px 100px !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        z-index: 1500 !important;
        overflow-y: auto !important;
    }
    
    .magazine-big.dark .photography-image-area {
        background: #0a0a0a !important;
        box-shadow: none !important;
    }

    .photography-image-area .project-detail-photo-image img {
        max-height: 50vh;
    }

    /* 右侧内容区域移动�?- 完全覆盖屏幕 */
    .right-content-area {
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        background: #ffffff !important;
        z-index: 2000 !important;
        transform: none !important;
        overflow-y: auto !important;
    }
    
    .magazine-big.dark .right-content-area {
        background: #0a0a0a !important;
    }
    
    /* 移动端菜单字体使用BrittanySignature */
    .mobile-nav-text {
        font-family: 'BrittanySignature', cursive;
        font-size: 14px;
    }
    
    .mobile-menu-title {
        font-family: 'BrittanySignature', cursive;
    }
    
    .mobile-menu-item {
        font-family: "Hiragino Mincho ProN", "Hiragino Mincho ProN W3", "Hiragino Mincho ProN W6", "Yu Mincho", "Yu Mincho Demibold", "Noto Serif JP", "Source Han Serif JP", "Noto Serif CJK JP", "Noto Serif SC", "Source Han Serif SC", "MS Mincho", "ＭＳ 明朝", Georgia, serif;
    }
    
    /* 移动端左侧内容关闭按�?*/
    .mobile-left-close-btn,
    .mobile-photography-close-btn {
        display: flex !important;
        position: fixed;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        border: none;
        background: rgba(0, 0, 0, 0.05);
        color: #333;
        font-size: 20px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 2001;
        transition: all 0.3s;
    }
    
    .magazine-big.dark .mobile-left-close-btn,
    .magazine-big.dark .mobile-photography-close-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .close-article-btn {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    /* 页脚移动�?*/
    .site-footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* 文章内容区域移动�?*/
    .article-content-wrapper {
        padding: 60px 25px;
        padding-right: 20px;
    }
    
    /* Markdown内容移动�?*/
    .markdown-content h1 {
        font-size: 1.8rem;
    }
    
    .markdown-content h2 {
        font-size: 1.5rem;
    }
    
    .markdown-content h3 {
        font-size: 1.3rem;
    }
    
    .markdown-content p {
        font-size: 1rem;
    }
    
    .audio-container {
        padding: 1rem;
    }
    
    /* About友链移动�?*/
    .about-friends {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* 管理员界面移动端 */
    .admin-modal {
        padding: 20px;
        max-width: 95%;
        max-height: 95vh;
    }
    
    .admin-modal h2 {
        font-size: 1.5rem;
    }
    
    .admin-form {
        gap: 18px;
    }
    
    .admin-form input,
    .admin-form select,
    .admin-form textarea {
        padding: 12px;
        font-size: 1rem;
    }
    
    .admin-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-buttons button {
        width: 100%;
        padding: 14px;
    }
    
    /* Project详情移动�?*/
    .project-detail-top-row {
        padding: 10px 0;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
        margin: 0 -5px 1.5rem -5px;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .project-detail-title {
        font-size: 1.6rem;
    }
    
    .project-detail-description {
        font-size: 1rem;
    }
    
    .project-detail-markdown-content {
        padding: 15px 0;
    }
    
    /* 优化页脚避免换行 */
    .footer-copyright,
    .footer-powered {
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    .footer-powered {
        font-size: 0.7rem;
    }
    
    .site-name {
        font-size: 0.8rem;
    }
    
    .copyright-name {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 480px) {
    .opening-text {
        left: 15px;
    }
    
    .opening-text h2 {
        font-size: 32px;
    }

    .opening-text .small {
        font-size: 12px;
    }

    .enter-btn {
        font-size: 16px;
    }

    .theme-toggle,
    .theme-expand,
    .opening-admin-btn {
        width: 36px;
        height: 36px;
    }

    .magazine-hero {
        padding: 0 15px;
    }

    .magazine-hero h1 {
        font-size: 40px;
    }

    .magazine-hero h1 .line1 {
        font-size: 48px;
    }

    .magazine-hero h1 .line2 {
        font-size: 36px;
    }

    .magazine-hero p {
        font-size: 13px;
    }

    .magazine-nav a {
        font-size: 14px;
    }

    .journal-bg {
        width: 170px;
    }

    .submenu-item {
        font-size: 15px;
    }

    /* 左侧内容区域小屏 */
    .left-content-area {
        left: 5px;
        width: calc(100% - 10px);
        padding: 15px 10px;
    }

    .left-content-area .archive-title-inline {
        font-size: 1.4rem;
    }

    /* 摄影区域小屏 */
    .photography-image-area {
        width: calc(100% - 20px);
        padding: 1rem;
    }

    /* 右侧内容区域小屏 */
    .article-content-wrapper {
        padding: 50px 20px;
        padding-right: 15px;
    }

    /* About友链小屏 */
    .about-friends {
        grid-template-columns: 1fr;
    }
    
    /* 隐藏PC端灰�?*/
    .journal-bg-container {
        display: none;
    }
    
    /* 隐藏PC端导�?*/
    .magazine-nav {
        display: none;
    }
    
    /* 调整页脚位置，给底部导航留出空间 */
    .site-footer {
        padding-bottom: 80px;
    }
    
    /* 首页内容居中 */
    .magazine-hero-content {
        text-align: center;
    }
}

/* ==================== 移动端底部导航栏 ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 3000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.mobile-nav-item.active {
    color: #1a1a1a;
}

.mobile-nav-text {
    font-size: 12px;
    font-weight: 500;
}

/* 移动端侧边菜单遮�?*/
.mobile-side-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-side-menu-overlay.show {
    display: block;
    opacity: 1;
}

/* 移动端侧边菜�?*/
.mobile-side-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: #ffffff;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-side-menu.show {
    display: block;
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: #f5f5f5;
}

.mobile-menu-content {
    padding: 70px 25px 30px;
}

.mobile-menu-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-item {
    padding: 14px 18px;
    border-radius: 10px;
    background: #f9f9f9;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.mobile-menu-item:hover {
    background: #f0f0f0;
    transform: translateX(3px);
}

/* ==================== 搜索功能样式 ==================== */
.search-container {
    padding: 20px;
    width: 100%;
}

.search-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.magazine-big.dark .search-title {
    color: #ffffff;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #1a1a1a;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.magazine-big.dark .search-input {
    background: #1a1a1a;
    border-color: #333;
    color: #ffffff;
}

.magazine-big.dark .search-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-btn {
    padding: 12px 20px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.magazine-big.dark .search-btn {
    background: #ffffff;
    color: #1a1a1a;
}

.magazine-big.dark .search-btn:hover {
    background: #e0e0e0;
}

.search-results {
    width: 100%;
}

.search-empty,
.search-loading,
.search-error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1rem;
}

.magazine-big.dark .search-empty,
.magazine-big.dark .search-loading,
.magazine-big.dark .search-error {
    color: #999;
}

.search-count {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.magazine-big.dark .search-count {
    color: #999;
}

.search-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-item:hover {
    background: #f0f0f0;
    transform: translateX(3px);
}

.magazine-big.dark .search-item {
    background: #1a1a1a;
}

.magazine-big.dark .search-item:hover {
    background: #2a2a2a;
}

.search-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-item-content {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.magazine-big.dark .search-item-title {
    color: #ffffff;
}

.search-item-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.search-category {
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 4px;
    color: #666;
}

.magazine-big.dark .search-category {
    background: #333;
    color: #ccc;
}

.search-date {
    color: #999;
}

.search-item-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.magazine-big.dark .search-item-desc {
    color: #999;
}

.search-item-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.search-tag {
    font-size: 0.75rem;
    background: #e0e0e0;
    color: #666;
    padding: 3px 8px;
    border-radius: 4px;
}

.magazine-big.dark .search-tag {
    background: #333;
    color: #ccc;
}

/* ==================== 推荐样式 ==================== */
.search-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.magazine-big.dark .search-header {
    border-bottom: 1px solid #333;
}

.search-count {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 5px;
}

.magazine-big.dark .search-count {
    color: #ddd;
}

.search-hint {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.magazine-big.dark .search-hint {
    color: #aaa;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

.magazine-big.dark .loading-spinner {
    border-color: #333;
    border-top-color: #fff;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.empty-hint {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 5px;
}

.magazine-big.dark .empty-hint {
    color: #888;
}

.error-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

/* 推荐列表容器 */
.search-list-recommended {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* 推荐项目卡片 */
.recommend-item {
    transition: all 0.3s ease;
}

.recommend-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.recommend-item:hover .recommend-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.magazine-big.dark .recommend-card {
    background: #1a1a1a;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.magazine-big.dark .recommend-item:hover .recommend-card {
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* 热门推荐的特殊样�?*/
.recommend-item-top .recommend-card {
    border-color: #e0e0e0;
}

.magazine-big.dark .recommend-item-top .recommend-card {
    border-color: #444;
}

/* 推荐图片 */
.recommend-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.magazine-big.dark .recommend-image-wrapper {
    background: #2a2a2a;
}

.recommend-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommend-item:hover .recommend-image {
    transform: scale(1.05);
}

/* 推荐徽章 */
.recommend-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(238, 90, 90, 0.4);
}

/* 推荐内容 */
.recommend-content {
    padding: 18px 20px;
}

.recommend-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.recommend-category {
    background: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.magazine-big.dark .recommend-category {
    background: #2a2a2a;
    color: #aaa;
}

.recommend-date {
    color: #999;
    font-size: 0.8rem;
    line-height: 1.6;
}

.magazine-big.dark .recommend-date {
    color: #888;
}

.recommend-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.magazine-big.dark .recommend-title {
    color: #fff;
}

.recommend-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.magazine-big.dark .recommend-desc {
    color: #aaa;
}

.recommend-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.recommend-tag {
    font-size: 0.75rem;
    background: #f5f5f5;
    color: #888;
    padding: 3px 10px;
    border-radius: 4px;
}

.magazine-big.dark .recommend-tag {
    background: #2a2a2a;
    color: #bbb;
}

.recommend-action {
    margin-top: 8px;
}

.view-article-btn {
    display: inline-block;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.recommend-item:hover .view-article-btn {
    color: #000;
}

.magazine-big.dark .view-article-btn {
    color: #ddd;
}

.magazine-big.dark .recommend-item:hover .view-article-btn {
    color: #fff;
}

/* 没有图片时的样式 */
.recommend-item:not(.has-image) .recommend-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ==================== 左侧内容区域显示状�?==================== */
.left-content-area.show {
    display: flex !important;
}

/* 移动端左侧关闭按�?*/
.mobile-left-close-btn {
    display: none;
}

@media only screen and (max-width: 768px) {
    .mobile-left-close-btn {
        display: flex;
    }
}


/* 移动端适配 */
@media only screen and (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
    }
}

/* 暗黑模式适配 */
.magazine-big.dark .mobile-bottom-nav {
    background: #1a1a1a;
    border-top-color: #333;
}

.magazine-big.dark .mobile-nav-item {
    color: #999;
}

.magazine-big.dark .mobile-nav-item.active {
    color: #ffffff;
}

.magazine-big.dark .mobile-side-menu {
    background: #1a1a1a;
}

.magazine-big.dark .mobile-menu-close {
    color: #999;
}

.magazine-big.dark .mobile-menu-close:hover {
    background: #333;
}

.magazine-big.dark .mobile-menu-title {
    color: #ffffff;
}

.magazine-big.dark .mobile-menu-item {
    background: #2a2a2a;
    color: #e0e0e0;
}

.magazine-big.dark .mobile-menu-item:hover {
    background: #3a3a3a;
}

/* ==================== 平板设备响应�?==================== */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .opening-text {
        left: 40px;
    }
    
    .opening-text h2 {
        font-size: 52px;
    }
    
    .magazine-hero {
        padding: 0 40px;
    }
    
    .magazine-hero h1 {
        font-size: 80px;
    }
    
    .magazine-hero h1 .line1 {
        font-size: 88px;
    }
    
    .magazine-hero h1 .line2 {
        font-size: 72px;
    }
    
    .magazine-hero p {
        font-size: 15px;
        max-width: 320px;
    }
    
    .journal-bg-container {
        right: 40px;
    }
    
    .journal-bg {
        width: 220px;
    }
    
    /* 左侧内容区域平板 */
    .left-content-area {
        left: 40px;
        width: 320px;
        padding: 25px 20px;
    }
    
    .left-content-area.wide-mode {
        width: calc(100% - 150px);
        left: 75px;
    }
    
    /* 摄影区域平板 */
    .photography-image-area {
        width: 75%;
        max-width: 650px;
    }
    
    /* 右侧内容区域平板 */
    .right-content-area {
        right: 40px;
        width: calc(100% - 450px);
    }
    
    .article-content-wrapper {
        padding: 50px 40px;
        padding-right: 35px;
    }
    
    /* 页脚平板 */
    .site-footer {
        padding: 30px 40px 50px;
    }
}

/* ==================== 文章内容样式 ==================== */
.article-page-wrapper,
.archive-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Markdown 内容样式 */
.markdown-content h1 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.markdown-content h2 {
    font-size: 1.6rem;
    margin: 1.8rem 0 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.markdown-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    font-weight: 600;
}

.markdown-content p {
    margin: 1rem 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.markdown-content a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: color 0.3s;
}

.markdown-content a:hover {
    color: #ff6b6b;
}

/* 图片样式 */
.image-figure {
    margin: 2rem 0;
    text-align: center;
}

.image-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.image-figure figcaption {
    margin-top: 0.8rem;
    color: #666;
    font-size: 0.9rem;
}

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 音频容器 */
.audio-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f5f5f7;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.audio-container audio {
    width: 100%;
    height: 40px;
}

/* 代码块样�?*/
.markdown-content pre {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.markdown-content code {
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.9em;
}

.markdown-content p code {
    background: #f5f5f5;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #1a1a1a;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
}

/* 引用�?*/
.markdown-content blockquote {
    border-left: 4px solid #1a1a1a;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

/* 列表样式 */
.markdown-content ul,
.markdown-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.markdown-content li {
    margin: 0.5rem 0;
    line-height: 1.7;
    color: #333;
}

/* 表格样式 */
.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}

.markdown-content th {
    background: #f5f5f5;
    font-weight: 600;
}

/* 分隔�?*/
.markdown-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

/* 黑暗模式文章样式 */
.magazine-big.dark .article-title {
    color: #fff;
}

.magazine-big.dark .article-meta {
    color: #666;
}

.magazine-big.dark .markdown-content h1,
.magazine-big.dark .markdown-content h2,
.magazine-big.dark .markdown-content h3 {
    color: #fff;
}

.magazine-big.dark .markdown-content p {
    color: #e0e0e0;
}

.magazine-big.dark .markdown-content a {
    color: #fff;
}

.magazine-big.dark .image-figure figcaption {
    color: #999;
}

.magazine-big.dark .audio-container {
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .markdown-content p code {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.magazine-big.dark .markdown-content blockquote {
    border-left-color: #666;
    color: #999;
}

/* 暗黑模式表格样式 - 完整覆盖 */
.magazine-big.dark table {
    color: #fff !important;
}

.magazine-big.dark th,
.magazine-big.dark td {
    border-color: #555 !important;
    color: #fff !important;
    background: transparent !important;
}

.magazine-big.dark th {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.magazine-big.dark tbody {
    color: #fff !important;
}

.magazine-big.dark thead {
    color: #fff !important;
}

.magazine-big.dark .markdown-content hr {
    border-top-color: #333;
}

.magazine-big.dark .markdown-content li {
    color: #e0e0e0 !important;
}

.magazine-big.dark .back-link {
    color: #666;
}

.magazine-big.dark .back-link:hover {
    color: #fff;
}

/* 手机端文章样式优�?*/
@media only screen and (max-width: 768px) {
    .article-container {
        padding: 40px 20px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .markdown-content h1 {
        font-size: 1.6rem;
    }
    
    .markdown-content h2 {
        font-size: 1.4rem;
    }
    
    .markdown-content h3 {
        font-size: 1.2rem;
    }
    
    .markdown-content p {
        font-size: 1rem;
    }
}

/* ==================== 归档页面样式 ==================== */
.archive-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 3rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #1a1a1a;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.archive-subtitle {
    color: #999;
    font-size: 1rem;
    margin-bottom: 3rem;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-item {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.archive-item:first-child {
    padding-top: 0;
}

.archive-item:hover {
    background: rgba(0, 0, 0, 0.02);
    margin: 0 -1rem;
    padding: 2rem 1rem;
}

.archive-item:first-child:hover {
    padding-top: 0;
}

.archive-item .article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.article-date {
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    letter-spacing: 1px;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-link:hover .article-title {
    color: #ff6b6b;
}

.archive-item .article-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.article-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* 归档页面 - 黑暗模式 */
.magazine-big.dark .archive-title {
    color: #fff;
}

.magazine-big.dark .archive-subtitle {
    color: #666;
}

.magazine-big.dark .back-link {
    color: #666;
}

.magazine-big.dark .back-link:hover {
    color: #fff;
}

.magazine-big.dark .archive-item {
    border-bottom-color: #333;
}

.magazine-big.dark .archive-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .article-date {
    color: #666;
}

.magazine-big.dark .tag {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .article-excerpt {
    color: #999;
}

/* 归档页面 - 手机端适配 */
@media only screen and (max-width: 768px) {
    .archive-container {
        padding: 40px 20px;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-item .article-title {
        font-size: 1.2rem;
    }
    
    .archive-item .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .archive-item:hover {
        margin: 0;
        padding: 2rem 0;
    }
    
    .archive-item:first-child:hover {
        padding-top: 0;
    }
}

/* ==================== 内联归档页面样式 ==================== */
.archive-container {
    /* 继承 journal-bg-container 的样�?*/
}

.archive-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.archive-container-inline {
    width: 100%;
    height: 100%;
}

.archive-title-inline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.archive-subtitle-inline {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.archive-list-inline {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
}

.archive-item-inline {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.archive-item-inline:first-child {
    padding-top: 0;
}

.archive-item-inline:hover {
    background: rgba(0, 0, 0, 0.02);
    margin: 0 -1rem;
    padding: 1.5rem 1rem;
}

.archive-item-inline:first-child:hover {
    padding-top: 0;
}

.article-meta-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.article-date-inline {
    color: #999;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.article-tags-inline {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag-inline {
    font-size: 0.7rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 1px;
}

.article-link-inline {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-link-inline:hover .article-title-inline {
    color: #ff6b6b;
}

.archive-item-inline .article-title-inline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.article-excerpt-inline {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* 内联归档 - 黑暗模式 */
.magazine-big.dark .archive-title-inline {
    color: #fff;
}

.magazine-big.dark .archive-subtitle-inline {
    color: #666;
}

.magazine-big.dark .archive-item-inline {
    border-bottom-color: #333;
}

.magazine-big.dark .archive-item-inline:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .article-date-inline {
    color: #666;
}

.magazine-big.dark .tag-inline {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .article-excerpt-inline {
    color: #999;
}

/* 内联归档 - 手机端适配 */
@media only screen and (max-width: 768px) {
    .archive-content {
        padding: 30px 20px;
    }
    
    .archive-title-inline {
        font-size: 1.6rem;
    }
    
    .archive-item-inline .article-title-inline {
        font-size: 1rem;
    }
    
    .article-meta-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    
    .archive-item-inline:hover {
        margin: 0;
        padding: 1.5rem 0;
    }
    
    .archive-item-inline:first-child:hover {
        padding-top: 0;
    }
}

/* ==================== 错误页面样式 ==================== */
.error-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.error-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.back-btn {
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
}

.back-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.home-btn {
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    color: #fff;
}

.home-btn:hover {
    background: #333;
    border-color: #333;
}

/* 错误页面 - 黑暗模式 */
.magazine-big.dark .error-code {
    color: #fff;
}

.magazine-big.dark .error-title {
    color: #fff;
}

.magazine-big.dark .error-message {
    color: #999;
}

.magazine-big.dark .back-btn {
    border-color: #fff;
    color: #fff;
}

.magazine-big.dark .back-btn:hover {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .home-btn {
    background: #fff;
    border-color: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .home-btn:hover {
    background: #e0e0e0;
    border-color: #e0e0e0;
}

/* 错误页面 - 手机端适配 */
@media only screen and (max-width: 768px) {
    .error-container {
        padding: 40px 20px;
    }
    
    .error-code {
        font-size: 5rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* ==================== 左侧内容区域样式 ==================== */
.left-content-area {
    position: absolute;
    left: 80px;
    top: 60px;
    width: 340px;
    max-width: 100vw;
    max-height: calc(100vh - 100px);
    padding: 30px 25px;
    padding-right: 15px;
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, width 0.3s ease, left 0.3s ease;
    z-index: 100;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.left-content-area.wide-mode {
    width: calc(100% - 200px);
    left: 100px;
    overflow-y: hidden;
    padding-bottom: 0;
}

.left-content-area.wide-mode .project-detail-content-wrapper {
    padding-bottom: 6rem;
}

.left-content-area::-webkit-scrollbar {
    width: 6px;
}

.left-content-area::-webkit-scrollbar-track {
    background: transparent;
}

.left-content-area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.left-content-area::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* 左侧内容区域滚动条美�?*/
.left-content-area .archive-timeline,
.left-content-area .category-list,
.left-content-area .archive-list-inline,
.left-content-area .about-friends,
.left-content-area .about-profile,
.left-content-area .about-timeline,
.left-content-area .about-skills {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.left-content-area .archive-timeline::-webkit-scrollbar,
.left-content-area .category-list::-webkit-scrollbar,
.left-content-area .archive-list-inline::-webkit-scrollbar,
.left-content-area .about-friends::-webkit-scrollbar,
.left-content-area .about-profile::-webkit-scrollbar,
.left-content-area .about-timeline::-webkit-scrollbar,
.left-content-area .about-skills::-webkit-scrollbar {
    width: 6px;
}

.left-content-area .archive-timeline::-webkit-scrollbar-track,
.left-content-area .category-list::-webkit-scrollbar-track,
.left-content-area .archive-list-inline::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
}

.left-content-area .archive-timeline::-webkit-scrollbar-thumb,
.left-content-area .category-list::-webkit-scrollbar-thumb,
.left-content-area .archive-list-inline::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
    transition: background 0.3s;
}

.left-content-area .archive-timeline::-webkit-scrollbar-thumb:hover,
.left-content-area .category-list::-webkit-scrollbar-thumb:hover,
.left-content-area .archive-list-inline::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* 左侧内容区域 - 暗黑模式滚动�?*/
.magazine-big.dark .left-content-area .archive-timeline,
.magazine-big.dark .left-content-area .category-list,
.magazine-big.dark .left-content-area .archive-list-inline {
    scrollbar-color: #555 transparent;
}

.magazine-big.dark .left-content-area .archive-timeline::-webkit-scrollbar-thumb,
.magazine-big.dark .left-content-area .category-list::-webkit-scrollbar-thumb,
.magazine-big.dark .left-content-area .archive-list-inline::-webkit-scrollbar-thumb {
    background: #555;
}

.magazine-big.dark .left-content-area .archive-timeline::-webkit-scrollbar-thumb:hover,
.magazine-big.dark .left-content-area .category-list::-webkit-scrollbar-thumb:hover,
.magazine-big.dark .left-content-area .archive-list-inline::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.left-content-area.show {
    opacity: 1;
    pointer-events: auto;
}

.left-content-area .archive-container-inline {
    width: 100%;
    height: auto;
}

.left-content-area .archive-title-inline {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.left-content-area .archive-subtitle-inline {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.left-content-area .archive-list-inline {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 260px);
    box-sizing: border-box;
}

.left-content-area .archive-timeline {
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    padding-right: 10px;
    box-sizing: border-box;
}

.left-content-area .archive-item-inline {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.left-content-area .archive-item-inline:first-child {
    padding-top: 0;
}

.left-content-area .archive-item-inline:hover {
    background: rgba(0, 0, 0, 0.02);
}

.left-content-area .archive-item-inline:first-child:hover {
    padding-top: 0;
}

.left-content-area .article-meta-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.left-content-area .article-date-inline {
    color: #999;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.left-content-area .article-tags-inline {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.left-content-area .tag-inline {
    font-size: 0.7rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 1px;
}

.left-content-area .article-link-inline {
    text-decoration: none;
    color: inherit;
    display: block;
}

.left-content-area .article-link-inline:hover .article-title-inline {
    color: #ff6b6b;
}

.left-content-area .archive-item-inline .article-title-inline {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.4;
    transition: color 0.3s;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

.left-content-area .article-excerpt-inline {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

/* ==================== 时间线样�?==================== */
.archive-timeline {
    position: relative;
    width: 100%;
}

.archive-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, #ddd, #999);
}

.timeline-dot {
    position: absolute;
    left: -30px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    flex-shrink: 0;
    transform: translateX(-6px);
}

.timeline-year {
    position: relative;
    padding: 20px 0 10px 80px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.timeline-year-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin: 0;
}

.timeline-year-count {
    font-size: 1rem;
    color: #999;
    margin: 0;
}

.timeline-items {
    position: relative;
    padding-left: 80px;
}

.timeline-item {
    position: relative;
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-date {
    font-size: 0.9rem;
    color: #666;
    min-width: 60px;
    flex-shrink: 0;
}

.timeline-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s;
}

.timeline-link:hover .timeline-title {
    color: #ff6b6b;
}

/* 时间�?- 黑暗模式 */
.magazine-big.dark .archive-timeline::before {
    background: linear-gradient(to bottom, #333, #666);
}

.magazine-big.dark .timeline-year-title {
    color: #fff;
}

.magazine-big.dark .timeline-year-count {
    color: #666;
}

.magazine-big.dark .timeline-dot {
    background: #0a0a0a;
    border-color: #fff;
}

.magazine-big.dark .timeline-date {
    color: #999;
}

/* 时间�?- 左侧内容区域 */
.left-content-area .archive-timeline::before {
    left: 40px;
}

.left-content-area .timeline-year {
    padding-left: 70px;
}

.left-content-area .timeline-year-title {
    font-size: 1.6rem;
}

.left-content-area .timeline-items {
    padding-left: 70px;
}

.left-content-area .timeline-dot {
    left: -35px;
    width: 10px;
    height: 10px;
    border-width: 2px;
    transform: translateX(0px);
}

.left-content-area .timeline-date {
    font-size: 0.85rem;
    min-width: 55px;
}

.left-content-area .timeline-title {
    font-size: 1rem;
}

/* 左侧内容区域 - 时间线暗黑模�?*/
.magazine-big.dark .left-content-area .archive-timeline::before {
    background: linear-gradient(to bottom, #333, #666);
}

.magazine-big.dark .left-content-area .timeline-year-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .timeline-year-count {
    color: #666;
}

.magazine-big.dark .left-content-area .timeline-dot {
    background: #0a0a0a;
    border-color: #fff;
}

.magazine-big.dark .left-content-area .timeline-date {
    color: #999;
}

.magazine-big.dark .left-content-area .timeline-title {
    color: #fff;
}

/* ==================== 分类样式 ==================== */
.category-container {
    width: 100%;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.category-subtitle {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    box-sizing: border-box;
}

.left-content-area .category-list {
    max-height: calc(100vh - 180px);
}

.category-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.category-item:first-child {
    padding-top: 0;
}

.category-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.category-item:first-child:hover {
    padding-top: 0;
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-article-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s;
}

.category-link:hover .category-article-title {
    color: #ff6b6b;
}

.category-diary-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s;
}

.category-link:hover .category-diary-date {
    color: #ff6b6b;
}

.category-article-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.category-tag {
    font-size: 0.7rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 1px;
}

/* 分类 - 暗黑模式 */
.magazine-big.dark .category-title {
    color: #fff;
}

.magazine-big.dark .category-subtitle {
    color: #666;
}

.magazine-big.dark .category-item {
    border-bottom-color: #333;
}

.magazine-big.dark .category-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .category-article-title {
    color: #fff;
}

.magazine-big.dark .category-diary-date {
    color: #fff;
}

.magazine-big.dark .category-tag {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

/* 左侧内容区域 - 分类暗黑模式 */
.magazine-big.dark .left-content-area .category-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .category-subtitle {
    color: #666;
}

.magazine-big.dark .left-content-area .category-item {
    border-bottom-color: #333;
}

.magazine-big.dark .left-content-area .category-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .left-content-area .category-article-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .category-diary-date {
    color: #fff;
}

.magazine-big.dark .left-content-area .category-tag {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== About 样式 ==================== */
.about-container {
    width: 100%;
}

.about-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.about-subtitle {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* 个人介绍 */
.about-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.about-location,
.about-email {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-location i,
.about-email i {
    color: #ff6b6b;
    width: 1rem;
    text-align: center;
}

.about-email a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s;
}

.about-email a:hover {
    color: #ff5252;
    text-decoration: underline;
}

.about-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* 经历时间�?*/
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    box-sizing: border-box;
}

.about-timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.about-timeline-item:first-child {
    padding-top: 0;
}

.about-timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b6b;
    min-width: 60px;
}

.about-timeline-content {
    flex: 1;
}

.about-timeline-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.2rem 0;
}

.about-timeline-company {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.3rem 0;
}

.about-timeline-description {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

/* 技�?*/
.about-skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    box-sizing: border-box;
}

.about-skill-group {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.about-skill-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-skill-category {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.8rem 0;
}

.about-skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-skill-tag {
    font-size: 0.85rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.about-skill-tag:hover {
    background: #ff6b6b;
    color: #fff;
}

/* 联系方式 */
.about-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.about-contact-item:last-child {
    border-bottom: none;
}

.about-contact-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.about-contact-item:hover .about-contact-text {
    color: #ff6b6b;
}

.about-contact-icon {
    font-size: 1.3rem;
}

.about-contact-text {
    font-size: 1rem;
    color: #1a1a1a;
    transition: color 0.3s;
}

/* About - 友链 */
.about-friends {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    width: 100%;
}

.about-friend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
}

.about-friend-item:hover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
}

.about-friend-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s;
}

.about-friend-item:hover .about-friend-name {
    color: #ff6b6b;
}

/* About - 暗黑模式 */
.magazine-big.dark .about-title {
    color: #fff;
}

.magazine-big.dark .about-subtitle {
    color: #666;
}

.magazine-big.dark .about-name {
    color: #fff;
}

.magazine-big.dark .about-location,
.magazine-big.dark .about-email {
    color: #999;
}

.magazine-big.dark .about-description {
    color: #999;
}

.magazine-big.dark .about-timeline-item {
    border-bottom-color: #333;
}

.magazine-big.dark .about-timeline-title {
    color: #fff;
}

.magazine-big.dark .about-timeline-company {
    color: #999;
}

.magazine-big.dark .about-timeline-description {
    color: #666;
}

.magazine-big.dark .about-skill-group {
    border-bottom-color: #333;
}

.magazine-big.dark .about-skill-category {
    color: #fff;
}

.magazine-big.dark .about-skill-tag {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .about-skill-tag:hover {
    background: #ff6b6b;
    color: #fff;
}

.magazine-big.dark .about-contact-item {
    border-bottom-color: #333;
}

.magazine-big.dark .about-contact-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .about-contact-text {
    color: #fff;
}

/* About - 友链 暗黑模式 */
.magazine-big.dark .about-friend-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: #333;
}

.magazine-big.dark .about-friend-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .about-friend-name {
    color: #fff;
}

.magazine-big.dark .about-friend-description {
    color: #999;
}

/* 左侧内容区域 - About 友链 暗黑模式 */
.magazine-big.dark .left-content-area .about-friend-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: #444;
}

.magazine-big.dark .left-content-area .about-friend-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.magazine-big.dark .left-content-area .about-friend-name {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-friend-description {
    color: #aaa;
}

/* 左侧内容区域 - About 暗黑模式 */
.magazine-big.dark .left-content-area .about-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-subtitle {
    color: #666;
}

.magazine-big.dark .left-content-area .about-name {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-location,
.magazine-big.dark .left-content-area .about-email {
    color: #999;
}

.magazine-big.dark .left-content-area .about-description {
    color: #999;
}

.magazine-big.dark .left-content-area .about-timeline-item {
    border-bottom-color: #333;
}

.magazine-big.dark .left-content-area .about-timeline-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-timeline-company {
    color: #999;
}

.magazine-big.dark .left-content-area .about-timeline-description {
    color: #666;
}

.magazine-big.dark .left-content-area .about-skill-group {
    border-bottom-color: #333;
}

.magazine-big.dark .left-content-area .about-skill-category {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-skill-tag {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .left-content-area .about-skill-tag:hover {
    background: #ff6b6b;
    color: #fff;
}

.magazine-big.dark .left-content-area .about-contact-item {
    border-bottom-color: #333;
}

.magazine-big.dark .left-content-area .about-contact-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .left-content-area .about-contact-text {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-friend-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: #444;
}

.magazine-big.dark .left-content-area .about-friend-item:hover {
    background: rgba(255, 107, 107, 0.18);
    border-color: #ff6b6b;
}

.magazine-big.dark .left-content-area .about-friend-name {
    color: #fff;
}

.magazine-big.dark .left-content-area .about-friend-item:hover .about-friend-name {
    color: #ff6b6b;
}

/* About - 友链 暗黑模式 */
.magazine-big.dark .about-friend-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: #333;
}

.magazine-big.dark .about-friend-item:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: #ff6b6b;
}

.magazine-big.dark .about-friend-name {
    color: #fff;
}

.magazine-big.dark .about-friend-item:hover .about-friend-name {
    color: #ff6b6b;
}

/* Projects - 标题列表 */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.projects-item {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-item:hover {
    background: rgba(255, 107, 107, 0.08);
    border-color: #ff6b6b;
    transform: translateX(4px);
}

.projects-item.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.projects-item.active .projects-title,
.projects-item.active .projects-description {
    color: #fff;
}

.projects-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 0.3rem 0;
    transition: color 0.3s;
}

.projects-description {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    transition: color 0.3s;
}

.projects-item:hover .projects-title {
    color: #ff6b6b;
}

/* Project Detail - 详情页面 */
.project-detail {
    width: 100%;
    position: relative;
}

.project-detail-top-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.project-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.project-detail-back:hover {
    background: rgba(255, 107, 107, 0.08);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.project-detail-back i {
    font-size: 0.85rem;
}

.project-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-detail-header .project-detail-title {
    margin-bottom: 0;
}

.project-detail-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.project-detail-header .project-detail-title {
    margin-bottom: 0;
}

.project-detail-play-btn-inline {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.project-detail-play-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.project-detail-progress {
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b6b;
    margin-left: 1rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.project-detail-description {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1rem 0;
    line-height: 1.7;
}

.project-detail-date {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 1.5rem 0;
}

.project-detail-photo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.project-detail-photo-text {
    display: flex;
    flex-direction: column;
}

.project-detail-photo-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-detail-photo-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* 原来的项目图片样式，用于非摄影情�?*/
.project-detail .project-detail-photo-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-detail .project-detail-photo-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: none;
    object-fit: cover;
}

.project-detail-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-detail-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.project-detail-content-wrapper {
    padding-bottom: 2rem;
    padding-right: 2rem;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
    direction: rtl;
}

/* 移动端内容区域底部留白，避免被底部导航栏遮挡 */
@media only screen and (max-width: 768px) {
    .project-detail-content-wrapper {
        padding-bottom: 6rem;
    }
    
    .left-content-area .archive-timeline,
    .left-content-area .category-list {
        padding-bottom: 5rem;
    }
}

.left-content-area.wide-mode .project-detail-content-wrapper {
    scrollbar-width: none;
    padding-right: 0;
}

.left-content-area.wide-mode .project-detail-content-wrapper::-webkit-scrollbar {
    display: none;
}

.project-detail-content-wrapper > * {
    direction: ltr;
}

.project-detail-content-wrapper::-webkit-scrollbar {
    width: 5px;
}

.project-detail-content-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.project-detail-content-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0e0e0, #ff6b6b);
    border-radius: 3px;
    transition: all 0.3s;
}

.project-detail-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c0c0c0, #ee5a5a);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.3);
}

.project-detail-markdown-content {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
}

.project-detail-markdown-content h1,
.project-detail-markdown-content h2,
.project-detail-markdown-content h3,
.project-detail-markdown-content h4,
.project-detail-markdown-content h5,
.project-detail-markdown-content h6 {
    color: #1a1a1a;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.project-detail-markdown-content h1 {
    font-size: 1.5rem;
}

.project-detail-markdown-content h2 {
    font-size: 1.3rem;
}

.project-detail-markdown-content h3 {
    font-size: 1.15rem;
}

.project-detail-markdown-content p {
    margin: 0 0 1rem 0;
}

.project-detail-markdown-content ul,
.project-detail-markdown-content ol {
    margin: 0 0 1rem 1.5rem;
}

.project-detail-markdown-content li {
    margin: 0.3rem 0;
}

.project-detail-markdown-content blockquote {
    border-left: 3px solid #ff6b6b;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #666;
}

.project-detail-markdown-content code {
    background: rgba(255, 107, 107, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.project-detail-markdown-content pre {
    margin: 1rem 0;
}

.project-detail-markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.project-detail-markdown-content th,
.project-detail-markdown-content td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}

.project-detail-markdown-content th {
    background: #f5f5f5;
    font-weight: 600;
}

.project-detail-content {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
}

/* Projects - 暗黑模式 */
.magazine-big.dark .projects-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: #333;
}

.magazine-big.dark .projects-item:hover {
    background: rgba(255, 107, 107, 0.12);
    border-color: #ff6b6b;
}

.magazine-big.dark .projects-title {
    color: #fff;
}

.magazine-big.dark .projects-description {
    color: #999;
}

.magazine-big.dark .projects-item:hover .projects-title {
    color: #ff6b6b;
}

.magazine-big.dark .project-detail-content-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #444, #ff6b6b);
}

.magazine-big.dark .project-detail-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555, #ee5a5a);
    box-shadow: 0 0 6px rgba(255, 107, 107, 0.4);
}

.magazine-big.dark .project-detail-content-wrapper {
    scrollbar-color: #444 transparent;
}

/* Project Detail - 暗黑模式 */
.magazine-big.dark .project-detail-back {
    background: rgba(255, 255, 255, 0.08);
    border-color: #333;
    color: #aaa;
}

.magazine-big.dark .project-detail-back:hover {
    background: rgba(255, 107, 107, 0.12);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.magazine-big.dark .project-detail-title {
    color: #fff;
}

.magazine-big.dark .project-detail-description {
    color: #aaa;
}

.magazine-big.dark .project-detail-date {
    color: #888;
}

.magazine-big.dark .project-detail-content {
    color: #ccc;
}

/* 左侧内容区域 - Projects 暗黑模式 */
.magazine-big.dark .left-content-area .projects-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: #444;
}

.magazine-big.dark .left-content-area .projects-item:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: #ff6b6b;
}

.magazine-big.dark .left-content-area .projects-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .projects-item:hover .projects-title {
    color: #ff6b6b;
}

.magazine-big.dark .left-content-area .project-detail-back {
    background: rgba(255, 255, 255, 0.1);
    border-color: #444;
    color: #bbb;
}

.magazine-big.dark .left-content-area .project-detail-back:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.magazine-big.dark .left-content-area .project-detail-title {
    color: #fff;
}

.magazine-big.dark .left-content-area .project-detail-description {
    color: #bbb;
}

.magazine-big.dark .left-content-area .project-detail-date {
    color: #999;
}

.magazine-big.dark .left-content-area .project-detail-content {
    color: #ddd;
}

.magazine-big.dark .project-detail-markdown-content {
    color: #ccc;
}

.magazine-big.dark .project-detail-markdown-content h1,
.magazine-big.dark .project-detail-markdown-content h2,
.magazine-big.dark .project-detail-markdown-content h3,
.magazine-big.dark .project-detail-markdown-content h4,
.magazine-big.dark .project-detail-markdown-content h5,
.magazine-big.dark .project-detail-markdown-content h6 {
    color: #fff;
}

.magazine-big.dark .project-detail-markdown-content blockquote {
    color: #aaa;
    border-color: #ff6b6b;
}

.magazine-big.dark .project-detail-markdown-content code {
    background: rgba(255, 107, 107, 0.15);
}

.magazine-big.dark .project-detail-progress {
    color: #ff6b6b;
}

.magazine-big.dark .left-content-area .project-detail-markdown-content {
    color: #ddd;
}

.magazine-big.dark .left-content-area .project-detail-markdown-content h1,
.magazine-big.dark .left-content-area .project-detail-markdown-content h2,
.magazine-big.dark .left-content-area .project-detail-markdown-content h3,
.magazine-big.dark .left-content-area .project-detail-markdown-content h4,
.magazine-big.dark .left-content-area .project-detail-markdown-content h5,
.magazine-big.dark .left-content-area .project-detail-markdown-content h6 {
    color: #fff;
}

.magazine-big.dark .left-content-area .project-detail-markdown-content blockquote {
    color: #bbb;
    border-color: #ff6b6b;
}

.magazine-big.dark .left-content-area .project-detail-markdown-content code {
    background: rgba(255, 107, 107, 0.2);
}

.magazine-big.dark .project-detail-top-row {
    background: #0a0a0a;
}

/* 左侧内容区域 - 黑暗模式 */
.magazine-big.dark .left-content-area .archive-title-inline {
    color: #fff;
}

.magazine-big.dark .left-content-area .archive-subtitle-inline {
    color: #666;
}

.magazine-big.dark .left-content-area .archive-item-inline {
    border-bottom-color: #333;
}

.magazine-big.dark .left-content-area .archive-item-inline:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .left-content-area .article-date-inline {
    color: #666;
}

.magazine-big.dark .left-content-area .tag-inline {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .left-content-area .article-excerpt-inline {
    color: #999;
}

/* 左侧内容区域 - 手机端适配 */
@media only screen and (max-width: 768px) {
    .left-content-area {
        width: 100%;
        left: 20px;
        padding: 30px 20px;
    }
    
    .left-content-area .archive-title-inline {
        font-size: 1.4rem;
    }
    
    .left-content-area .archive-item-inline .article-title-inline {
        font-size: 0.95rem;
    }
    
    .left-content-area .article-meta-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    
    .left-content-area .archive-item-inline:hover {
        margin: 0;
        padding: 1rem 0;
    }
    
    .left-content-area .archive-item-inline:first-child:hover {
        padding-top: 0;
    }
    
    /* 归档模式下的手机端适配 */
    .magazine-hero.archive-mode .journal-bg-container {
        display: none;
    }
    
    .magazine-hero.archive-mode .left-content-area {
        left: 20px;
        right: 20px;
        width: auto;
        top: 40px;
    }
    
    /* 时间�?- 手机端适配 */
    .left-content-area .archive-timeline::before {
        left: 30px;
    }
    
    .left-content-area .timeline-year {
        padding-left: 55px;
    }
    
    .left-content-area .timeline-year-title {
        font-size: 1.4rem;
    }
    
    .left-content-area .timeline-items {
        padding-left: 55px;
    }
    
    .left-content-area .timeline-dot {
        left: -28px;
        width: 8px;
        height: 8px;
    }
    
    .left-content-area .timeline-date {
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .left-content-area .timeline-title {
        font-size: 0.95rem;
    }
    
    .left-content-area .archive-timeline {
        max-height: calc(100vh - 160px);
    }
    
    /* 分类 - 手机端适配 */
    .left-content-area .category-title {
        font-size: 1.4rem;
    }
    
    .left-content-area .category-article-title {
        font-size: 0.95rem;
    }
    
    .left-content-area .category-diary-date {
        font-size: 1rem;
    }
    
    .left-content-area .category-list {
        max-height: calc(100vh - 160px);
    }
    
    /* 友链 - 手机端适配 */
    .about-friends {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    
    .about-friend-item {
        padding: 0.8rem 0.6rem;
        min-height: 44px;
    }
    
    .about-friend-name {
        font-size: 0.9rem;
    }
    
    /* Projects - 手机端适配 */
    .projects-item {
        padding: 0.7rem 0.9rem;
    }
    
    .projects-title {
        font-size: 0.95rem;
    }
    
    .project-detail-back {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .project-detail-title {
        font-size: 1.2rem;
    }
    
    .project-detail-description {
        font-size: 0.9rem;
    }
    
    .project-detail-play-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* 左侧内容区域 - 手机端暗黑模式 */
    .magazine-big.dark .project-detail-top-row {
        background: #0a0a0a;
    }
}

/* ==================== 右侧文章内容区域样式 ==================== */
.right-content-area {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 500px);
    height: 80vh;
    background: #fff;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-content-area.show {
    opacity: 1;
    pointer-events: auto;
}

.close-article-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #1a1a1a;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-article-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.article-content-wrapper {
    width: 100%;
    height: 100%;
    padding: 60px 80px;
    padding-right: 70px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

/* Webkit浏览器滚动条样式 */
.article-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.article-content-wrapper::-webkit-scrollbar-track {
    background: transparent;
    margin: 20px 0;
}

.article-content-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
    transition: background 0.3s;
}

.article-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* 暗黑模式滚动�?*/
.magazine-big.dark .article-content-wrapper {
    scrollbar-color: #555 transparent;
}

.magazine-big.dark .article-content-wrapper::-webkit-scrollbar-thumb {
    background: #555;
}

.magazine-big.dark .article-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.article-content-wrapper .article-page,
.about-container .article-page {
    max-width: 800px;
    margin: 0 auto;
}

.article-content-wrapper .article-page-header,
.about-container .article-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.article-content-wrapper .article-page-title,
.about-container .article-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.article-content-wrapper .article-page-meta,
.about-container .article-page-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-content-wrapper .article-page-file-path,
.about-container .article-page-file-path {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-content-wrapper .file-path-label,
.about-container .file-path-label {
    font-size: 0.85rem;
    color: #999;
}

.article-content-wrapper .file-path-code,
.about-container .file-path-code {
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #666;
    background: transparent;
    padding: 0;
}

/* 暗黑模式文件路径 */
.magazine-big.dark .article-content-wrapper .article-page-file-path,
.magazine-big.dark .about-container .article-page-file-path {
    background: rgba(255, 255, 255, 0.05);
}

.magazine-big.dark .article-content-wrapper .file-path-label,
.magazine-big.dark .about-container .file-path-label {
    color: #666;
}

.magazine-big.dark .article-content-wrapper .file-path-code,
.magazine-big.dark .about-container .file-path-code {
    color: #999;
}

.article-content-wrapper .article-page-date,
.about-container .article-page-date {
    color: #999;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.article-content-wrapper .article-page-reading-time,
.about-container .article-page-reading-time {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.article-content-wrapper .article-page-tags,
.about-container .article-page-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-content-wrapper .article-page-tag,
.about-container .article-page-tag {
    font-size: 0.75rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    letter-spacing: 1px;
}

.article-content-wrapper .article-page-content,
.about-container .article-page-content {
    line-height: 1.8;
}

.article-content-wrapper .article-page-content h1,
.about-container .article-page-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: #1a1a1a;
}

.article-content-wrapper .article-page-content h2,
.about-container .article-page-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    color: #1a1a1a;
}

.article-content-wrapper .article-page-content h3,
.about-container .article-page-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.2rem 0 0.6rem 0;
    color: #1a1a1a;
}

.article-content-wrapper .article-page-content p,
.about-container .article-page-content p {
    margin: 1rem 0;
    color: #333;
    font-size: 1rem;
}

.article-content-wrapper .article-page-content blockquote,
.about-container .article-page-content blockquote {
    border-left: 4px solid #ff6b6b;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}


.article-content-wrapper .article-page-content ul,
.article-content-wrapper .article-page-content ol,
.about-container .article-page-content ul,
.about-container .article-page-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content-wrapper .article-page-content li,
.about-container .article-page-content li {
    margin: 0.5rem 0;
    color: #333;
}

.article-content-wrapper .article-page-content a,
.about-container .article-page-content a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s;
}

.article-content-wrapper .article-page-content a:hover,
.about-container .article-page-content a:hover {
    color: #ff5252;
    text-decoration: underline;
}

.article-content-wrapper .article-page-content img,
.about-container .article-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content-wrapper .article-page-content figure,
.about-container .article-page-content figure {
    margin: 1.5rem 0;
    text-align: center;
}

.article-content-wrapper .article-page-content figcaption,
.about-container .article-page-content figcaption {
    color: #999;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.article-content-wrapper .article-page-content hr,
.about-container .article-page-content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

.article-content-wrapper .article-page-content table,
.about-container .article-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-content-wrapper .article-page-content th,
.article-content-wrapper .article-page-content td,
.about-container .article-page-content th,
.about-container .article-page-content td {
    border: 1px solid #eee;
    padding: 0.75rem;
    text-align: left;
}

.article-content-wrapper .article-page-content th,
.about-container .article-page-content th {
    background: #f5f5f5;
    font-weight: 600;
}

/* 右侧内容区域 - 黑暗模式 */
.magazine-big.dark .close-article-btn {
    color: #fff;
}

.magazine-big.dark .close-article-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .article-content-wrapper .article-page-header,
.magazine-big.dark .about-container .article-page-header {
    border-bottom-color: #333;
}

.magazine-big.dark .article-content-wrapper .article-page-title,
.magazine-big.dark .about-container .article-page-title {
    color: #fff;
}

.magazine-big.dark .article-content-wrapper .article-page-date,
.magazine-big.dark .about-container .article-page-date {
    color: #666;
}

.magazine-big.dark .article-content-wrapper .article-page-reading-time,
.magazine-big.dark .about-container .article-page-reading-time {
    color: #999;
}

.magazine-big.dark .article-content-wrapper .article-page-tag,
.magazine-big.dark .about-container .article-page-tag {
    color: #999;
    background: rgba(255, 255, 255, 0.1);
}

.magazine-big.dark .article-content-wrapper .article-page-content h1,
.magazine-big.dark .article-content-wrapper .article-page-content h2,
.magazine-big.dark .article-content-wrapper .article-page-content h3,
.magazine-big.dark .article-content-wrapper .article-page-content h4,
.magazine-big.dark .article-content-wrapper .article-page-content h5,
.magazine-big.dark .article-content-wrapper .article-page-content h6,
.magazine-big.dark .about-container .article-page-content h1,
.magazine-big.dark .about-container .article-page-content h2,
.magazine-big.dark .about-container .article-page-content h3,
.magazine-big.dark .about-container .article-page-content h4,
.magazine-big.dark .about-container .article-page-content h5,
.magazine-big.dark .about-container .article-page-content h6 {
    color: #fff;
}

.magazine-big.dark .article-content-wrapper .article-page-content p,
.magazine-big.dark .about-container .article-page-content p {
    color: #ccc;
}

.magazine-big.dark .article-content-wrapper .article-page-content blockquote,
.magazine-big.dark .about-container .article-page-content blockquote {
    color: #999;
}



.magazine-big.dark .article-content-wrapper .article-page-content li,
.magazine-big.dark .about-container .article-page-content li {
    color: #ccc !important;
}

.magazine-big.dark .article-content-wrapper .article-page-content figcaption,
.magazine-big.dark .about-container .article-page-content figcaption {
    color: #666;
}

.magazine-big.dark .article-content-wrapper .article-page-content hr,
.magazine-big.dark .about-container .article-page-content hr {
    border-top-color: #333;
}

.magazine-big.dark .article-content-wrapper .article-page-content th,
.magazine-big.dark .article-content-wrapper .article-page-content td,
.magazine-big.dark .about-container .article-page-content th,
.magazine-big.dark .about-container .article-page-content td {
    border-color: #333;
}

.magazine-big.dark .article-content-wrapper .article-page-content th,
.magazine-big.dark .about-container .article-page-content th {
    background: rgba(255, 255, 255, 0.05);
}

/* 暗黑模式下文章内容背�?*/
.magazine-big.dark .right-content-area {
    background: #0a0a0a;
}

/* 右侧内容区域 - 手机端适配 */
@media only screen and (max-width: 768px) {
    .right-content-area {
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        height: 100%;
        transform: none;
    }
    
    .close-article-btn {
        top: 20px;
        right: 20px;
    }
    
    .article-content-wrapper {
        padding: 80px 20px 40px 20px;
    }
    
    .article-content-wrapper .article-page-title,
    .about-container .article-page-title {
        font-size: 1.8rem;
    }
}

/* ==================== 管理按钮样式 ==================== */
.opening-admin-btn {
    position: fixed;
    top: 100px;
    right: 40px;
    z-index: 200;
    width: 50px;
    height: 50px;
    border: none;
    background: #ff6b6b;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
}

.opening-admin-btn.dark {
    background: #ff6b6b;
}

.opening-admin-btn:hover {
    transform: scale(1.1);
}

.hero-admin-btn {
    position: fixed;
    top: 100px;
    right: 40px;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
}

.hero-admin-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.magazine-big.dark .hero-admin-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.magazine-big.dark .hero-admin-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== 登录弹窗样式 ==================== */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.login-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.login-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

/* ==================== 项目标识样式 ==================== */
.timeline-dot-project {
    background: #ff6b6b !important;
    border-color: #ff6b6b !important;
}

.magazine-big.dark .timeline-dot-project {
    background: #ff6b6b !important;
    border-color: #ff6b6b !important;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 8px;
    font-weight: 500;
}

/* ==================== 底部栏样�?==================== */
.site-footer {
    width: 100%;
    padding: 40px 80px 60px;
    background: transparent;
    text-align: center;
    flex-shrink: 0;
}

.footer-content {
    width: 100%;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0;
}

.copyright-symbol {
    font-size: 0.8rem;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

.copyright-year {
    font-weight: 500;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

.copyright-name {
    font-weight: 600;
    color: #1a1a1a;
}

.copyright-separator {
    color: #999;
    margin: 0 2px;
}

.copyright-rights {
    color: #999;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

.footer-powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0;
}

.site-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.powered-separator {
    color: #ccc;
    margin: 0 2px;
}

.powered-text {
    color: #999;
    font-size: 0.75rem;
    letter-spacing: 0;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

.powered-name {
    font-weight: 600;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-family: 'BrittanySignature', "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS Mincho", "ＭＳ 明朝", serif;
}

/* 底部�?- 暗色模式 */
.magazine-big.dark .footer-copyright {
    color: #999;
}

.magazine-big.dark .copyright-name {
    color: #fff;
}

.magazine-big.dark .copyright-separator,
.magazine-big.dark .copyright-rights {
    color: #666;
}

.magazine-big.dark .footer-powered {
    color: #666;
}

.magazine-big.dark .site-name {
    color: #fff;
}

.magazine-big.dark .powered-separator {
    color: #444;
}

.magazine-big.dark .powered-text {
    color: #666;
}

.magazine-big.dark .powered-name {
    color: #ff6b6b;
}

/* 底部�?- 手机端适配 */
@media only screen and (max-width: 768px) {
    .site-footer {
        padding: 30px 20px 40px;
    }
    
    .footer-main {
        gap: 8px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 2px;
        font-size: 0.8rem;
    }
    
    .copyright-separator {
        display: none;
    }
    
    .footer-powered {
        flex-direction: column;
        gap: 2px;
        font-size: 0.75rem;
    }
    
    .powered-separator {
        display: none;
    }
    
    /* 手机端摄影布局 */
    .project-detail-photo-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-detail-photo-image {
        order: -1;
    }
    
    .project-detail-photo-image img {
        max-height: 50vh;
    }
    
    /* 手机端左侧内容区域wide-mode和摄影区域的项目详情样式 */
    .left-content-area.wide-mode .project-detail-content-wrapper,
    .photography-image-area .project-detail-content-wrapper {
        max-height: none;
        padding: 0;
        padding-bottom: 20px;
    }
    
    .left-content-area.wide-mode .project-detail,
    .photography-image-area .project-detail {
        padding-top: 60px;
    }
    
    .left-content-area.wide-mode .project-detail-title,
    .photography-image-area .project-detail-title {
        font-size: 1.6rem;
    }
    
    .left-content-area.wide-mode .project-detail-description,
    .photography-image-area .project-detail-description {
        font-size: 0.95rem;
    }
    
    .left-content-area.wide-mode .project-detail-markdown-content,
    .photography-image-area .project-detail-markdown-content {
        font-size: 1rem;
    }
    
    /* 手机端隐藏登录功�?*/
    .opening-admin-btn,
    .hero-admin-btn {
        display: none !important;
    }
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: #ff6b6b;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.login-error {
    margin-top: 1rem;
    padding: 10px;
    background: #ffebee;
    color: #c62828;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.login-error.show {
    display: block;
}

/* 登录弹窗 - 暗黑模式 */
.magazine-big.dark .login-modal-content {
    background: #1a1a1a;
}

.magazine-big.dark .login-close-btn {
    color: #666;
}

.magazine-big.dark .login-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.magazine-big.dark .login-title {
    color: #fff;
}

.magazine-big.dark .login-input {
    background: #0a0a0a;
    border-color: #333;
    color: #fff;
}

.magazine-big.dark .login-input:focus {
    border-color: #ff6b6b;
}

.magazine-big.dark .login-submit-btn {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .login-submit-btn:hover {
    background: #eee;
}

.magazine-big.dark .login-error {
    background: rgba(198, 40, 40, 0.2);
    color: #ff8a8a;
}

/* ==================== 后台管理弹窗样式 ==================== */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.admin-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.admin-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.admin-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    transform: rotate(90deg);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.admin-tabs {
    display: flex;
    gap: 10px;
}

.admin-tab {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-tab:hover {
    background: #f5f5f5;
}

.admin-tab.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-btn-new,
.admin-btn-logout {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-btn-new {
    background: #1a1a1a;
    color: #fff;
}

.admin-btn-new:hover {
    background: #333;
}

.admin-btn-logout {
    background: #ff6b6b;
    color: #fff;
}

.admin-btn-logout:hover {
    background: #ff5252;
}

.admin-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.admin-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.admin-list-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.admin-list-item:last-child {
    border-bottom: none;
}

.admin-item-info {
    flex: 1;
}

.admin-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.admin-item-meta {
    font-size: 0.85rem;
    color: #999;
}

.admin-item-actions {
    display: flex;
    gap: 8px;
}

.admin-item-edit,
.admin-item-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-item-edit {
    background: #f0f0f0;
    color: #1a1a1a;
}

.admin-item-edit:hover {
    background: #e0e0e0;
}

.admin-item-delete {
    background: #ffebee;
    color: #c62828;
}

.admin-item-delete:hover {
    background: #ffcdd2;
}

/* 留言管理列表 */
.admin-messages-list {
    flex: 1;
    overflow-y: auto;
}

.admin-message-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.admin-message-content {
    flex: 1;
}

.admin-message-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.admin-message-name a {
    color: #1a1a1a;
    text-decoration: none;
}

.admin-message-name a:hover {
    text-decoration: underline;
}

.admin-message-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.admin-message-meta {
    font-size: 0.85rem;
    color: #999;
}

.admin-message-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    background: #ffebee;
    color: #c62828;
    flex-shrink: 0;
}

.admin-message-delete:hover {
    background: #ffcdd2;
}

/* 后台管理 - 暗黑模式 */
.magazine-big.dark .admin-modal-content {
    background: #1a1a1a;
}

.magazine-big.dark .admin-close-btn {
    color: #666;
}

.magazine-big.dark .admin-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.magazine-big.dark .admin-header {
    border-bottom-color: #333;
}

.magazine-big.dark .admin-title {
    color: #fff;
}

.magazine-big.dark .admin-btn-new {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .admin-btn-new:hover {
    background: #eee;
}

.magazine-big.dark .admin-list-item {
    border-bottom-color: #333;
}

.magazine-big.dark .admin-list-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .admin-item-title {
    color: #fff;
}

.magazine-big.dark .admin-item-meta {
    color: #666;
}

.magazine-big.dark .admin-item-edit {
    background: #333;
    color: #fff;
}

.magazine-big.dark .admin-item-edit:hover {
    background: #444;
}

.magazine-big.dark .admin-item-delete {
    background: rgba(198, 40, 40, 0.2);
    color: #ff8a8a;
}

.magazine-big.dark .admin-item-delete:hover {
    background: rgba(198, 40, 40, 0.3);
}

.magazine-big.dark .admin-tab {
    background: #333;
    border-color: #444;
    color: #ccc;
}

.magazine-big.dark .admin-tab:hover {
    background: #444;
}

.magazine-big.dark .admin-tab.active {
    background: #fff;
    color: #1a1a1a;
    border-color: #fff;
}

.magazine-big.dark .admin-message-item {
    border-bottom-color: #333;
}

.magazine-big.dark .admin-message-name {
    color: #fff;
}

.magazine-big.dark .admin-message-name a {
    color: #fff;
}

.magazine-big.dark .admin-message-text {
    color: #999;
}

.magazine-big.dark .admin-message-delete {
    background: rgba(198, 40, 40, 0.2);
    color: #ff8a8a;
}

.magazine-big.dark .admin-message-delete:hover {
    background: rgba(198, 40, 40, 0.3);
}

/* 后台管理列表滚动�?*/
.admin-list {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.admin-list::-webkit-scrollbar {
    width: 6px;
}

.admin-list::-webkit-scrollbar-track {
    background: transparent;
    margin: 5px 0;
}

.admin-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.admin-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.magazine-big.dark .admin-list {
    scrollbar-color: #555 transparent;
}

.magazine-big.dark .admin-list::-webkit-scrollbar-thumb {
    background: #555;
}

.magazine-big.dark .admin-list::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* ==================== 编辑器弹窗样�?==================== */
.editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.editor-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.editor-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 95%;
    max-width: 1000px;
    height: 85vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.editor-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.editor-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    transform: rotate(90deg);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.editor-id-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.editor-id-input:focus {
    outline: none;
    border-color: #ff6b6b;
}

.editor-actions {
    display: flex;
    gap: 10px;
}

.editor-btn-save,
.editor-btn-preview {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.editor-btn-save {
    background: #1a1a1a;
    color: #fff;
}

.editor-btn-save:hover {
    background: #333;
}

.editor-btn-preview {
    background: #f0f0f0;
    color: #1a1a1a;
}

.editor-btn-preview:hover {
    background: #e0e0e0;
}

.editor-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 20px;
}

.editor-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee;
}

/* 拖拽上传区域 */
.editor-upload-section {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

.editor-dropzone {
    border: 3px dashed #ddd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.editor-dropzone:hover,
.editor-dropzone.dragover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.editor-dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.editor-dropzone-icon {
    font-size: 3rem;
}

.editor-dropzone-text {
    font-size: 1rem;
    color: #666;
}

.editor-dropzone-or {
    font-size: 0.85rem;
    color: #999;
}

.editor-dropzone-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.editor-dropzone-btn:hover {
    background: #333;
}

.editor-file-input {
    display: none;
}

.editor-file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-top: 15px;
}

.editor-file-name {
    font-weight: 600;
    color: #1a1a1a;
}

.editor-file-remove {
    padding: 6px 16px;
    border: none;
    background: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.editor-file-remove:hover {
    background: #ff5252;
}

.editor-files-preview {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.editor-files-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.editor-files-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.editor-file-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
}

.editor-file-tag-icon {
    font-size: 1rem;
}

.editor-config-section {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
}

.editor-config-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.editor-config-full {
    grid-column: 1 / -1;
}

.editor-config-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.editor-config-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

.editor-config-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.editor-config-input:focus {
    outline: none;
    border-color: #ff6b6b;
}

.editor-config-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 60px;
    max-height: 120px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.editor-config-textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

/* 编辑�?- 暗黑模式 */
.magazine-big.dark .editor-modal-content {
    background: #1a1a1a;
}

.magazine-big.dark .editor-close-btn {
    color: #666;
}

.magazine-big.dark .editor-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.magazine-big.dark .editor-header {
    border-bottom-color: #333;
}

.magazine-big.dark .editor-id-input {
    background: #0a0a0a;
    border-color: #333;
    color: #fff;
}

.magazine-big.dark .editor-id-input:focus {
    border-color: #ff6b6b;
}

.magazine-big.dark .editor-btn-save {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .editor-btn-save:hover {
    background: #eee;
}

.magazine-big.dark .editor-section-title {
    color: #fff;
    border-bottom-color: #333;
}

.magazine-big.dark .editor-upload-section,
.magazine-big.dark .editor-config-section {
    background: #0f0f0f;
}

.magazine-big.dark .editor-dropzone {
    border-color: #444;
}

.magazine-big.dark .editor-dropzone:hover,
.magazine-big.dark .editor-dropzone.dragover {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.magazine-big.dark .editor-dropzone-text {
    color: #999;
}

.magazine-big.dark .editor-dropzone-btn {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .editor-dropzone-btn:hover {
    background: #eee;
}

.magazine-big.dark .editor-file-info {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .editor-file-name {
    color: #fff;
}

.magazine-big.dark .editor-files-preview {
    background: rgba(255, 255, 255, 0.02);
}

.magazine-big.dark .editor-files-title {
    color: #fff;
}

.magazine-big.dark .editor-file-tag {
    background: #333;
    color: #ccc;
}

.magazine-big.dark .editor-config-label {
    color: #999;
}

.magazine-big.dark .editor-config-input,
.magazine-big.dark .editor-config-textarea {
    background: #0a0a0a;
    border-color: #333;
    color: #fff;
}

.magazine-big.dark .editor-config-input:focus,
.magazine-big.dark .editor-config-textarea:focus {
    border-color: #ff6b6b;
}

/* 手机端适配 - 管理按钮 */
@media only screen and (max-width: 768px) {
    .admin-btn {
        top: auto;
        bottom: 30px;
        right: 30px;
    }
    
    .login-modal-content,
    .admin-modal-content,
    .editor-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .admin-header,
    .editor-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .admin-actions,
    .editor-actions {
        justify-content: center;
    }
}

/* ==================== 代码块样�?==================== */
.code-block-wrapper {
    margin: 1rem 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.magazine-big.dark .code-block-header {
    background: #1f2937;
    border-bottom-color: #374151;
}

.code-lang {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: lowercase;
}

.magazine-big.dark .code-lang {
    color: #9ca3af;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.copy-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #374151;
}

.magazine-big.dark .copy-btn {
    color: #9ca3af;
}

.magazine-big.dark .copy-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
}

.copy-btn.copied {
    background: #10b981;
    color: #fff;
}

.magazine-big.dark .copy-btn.copied {
    background: #10b981;
    color: #fff;
}

.copy-icon {
    display: none;
}

.code-block-wrapper pre {
    margin: 0;
    padding: 10px 12px;
    background: #f9fafb;
    overflow-x: auto;
}

.magazine-big.dark .code-block-wrapper pre {
    background: #111827;
}

.code-block-wrapper code {
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    background: transparent;
    padding: 0;
}

/* 代码块滚动条 */
.code-block-wrapper pre::-webkit-scrollbar {
    height: 8px;
}

.code-block-wrapper pre::-webkit-scrollbar-track {
    background: #e1e4e8;
}

.magazine-big.dark .code-block-wrapper pre::-webkit-scrollbar-track {
    background: #21262d;
}

.code-block-wrapper pre::-webkit-scrollbar-thumb {
    background: #8b949e;
    border-radius: 4px;
}

.magazine-big.dark .code-block-wrapper pre::-webkit-scrollbar-thumb {
    background: #484f58;
}

.code-block-wrapper pre::-webkit-scrollbar-thumb:hover {
    background: #6e7781;
}

.magazine-big.dark .code-block-wrapper pre::-webkit-scrollbar-thumb:hover {
    background: #6e7681;
}

/* 内联代码样式 */
.article-content-wrapper code:not(pre code) {
    background: rgba(175, 184, 193, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.875em;
    color: #24292f;
}

.magazine-big.dark .article-content-wrapper code:not(pre code) {
    background: rgba(110, 118, 129, 0.3);
    color: #c9d1d9;
}

/* ==================== Mermaid 图表样式 ==================== */
.mermaid {
    margin: 1.5rem 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    overflow-x: auto;
}

.magazine-big.dark .mermaid {
    background: #1a1a1a;
}

/* highlight.js 主题调整 - 亮色模式 */
.hljs {
    background: transparent !important;
    color: #24292f !important;
}

.hljs-keyword {
    color: #cf222e !important;
}

.hljs-string {
    color: #0a3069 !important;
}

.hljs-number {
    color: #0550ae !important;
}

.hljs-comment {
    color: #6e7781 !important;
    font-style: italic;
}

.hljs-function {
    color: #8250df !important;
}

.hljs-class {
    color: #116329 !important;
}

.hljs-variable {
    color: #953800 !important;
}

.hljs-tag {
    color: #116329 !important;
}

.hljs-attr {
    color: #0550ae !important;
}

.hljs-built_in {
    color: #8250df !important;
}

.hljs-title {
    color: #cf222e !important;
}

.hljs-literal {
    color: #0550ae !important;
}

.hljs-operator {
    color: #cf222e !important;
}

/* highlight.js 主题调整 - 暗色模式 */
.magazine-big.dark .hljs {
    color: #c9d1d9 !important;
}

.magazine-big.dark .hljs-keyword {
    color: #ff7b72 !important;
}

.magazine-big.dark .hljs-string {
    color: #a5d6ff !important;
}

.magazine-big.dark .hljs-number {
    color: #79c0ff !important;
}

.magazine-big.dark .hljs-comment {
    color: #8b949e !important;
}

.magazine-big.dark .hljs-function {
    color: #d2a8ff !important;
}

.magazine-big.dark .hljs-class {
    color: #7ee787 !important;
}

.magazine-big.dark .hljs-variable {
    color: #ffa657 !important;
}

.magazine-big.dark .hljs-tag {
    color: #7ee787 !important;
}

.magazine-big.dark .hljs-attr {
    color: #79c0ff !important;
}

.magazine-big.dark .hljs-built_in {
    color: #d2a8ff !important;
}

.magazine-big.dark .hljs-title {
    color: #ff7b72 !important;
}

.magazine-big.dark .hljs-literal {
    color: #79c0ff !important;
}

.magazine-big.dark .hljs-operator {
    color: #ff7b72 !important;
}

/* ==================== 订阅页面样式 ==================== */

/* 订阅页面主体 */
.subscribe-page {
    min-height: 100vh;
    background: #fff;
    color: #1a1a1a;
    font-family: inherit;
}

/* 深色模式 */
body.dark .subscribe-page {
    background: #0a0a0a;
    color: #fff;
}

/* 页面头部 */
.subscribe-header {
    padding: 40px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 返回按钮 */
.subscribe-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.subscribe-back-btn:hover {
    color: #ff6b6b;
    transform: translateX(-4px);
}

body.dark .subscribe-back-btn {
    color: #fff;
}

body.dark .subscribe-back-btn:hover {
    color: #ff6b6b;
}

/* 页面标题 */
.subscribe-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* 内容容器 */
.subscribe-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 80px;
}

/* 内容布局 */
.subscribe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* 通用区块样式 */
.subscribe-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 区块标题 */
.subscribe-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

body.dark .subscribe-section-title {
    color: #fff;
}

/* 区块描述 */
.subscribe-section-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

body.dark .subscribe-section-description {
    color: #aaa;
}

/* 表单样式 */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subscribe-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subscribe-form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

body.dark .subscribe-form-label {
    color: #fff;
}

.subscribe-form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
    color: #1a1a1a;
}

.subscribe-form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* 深色模式表单 */
body.dark .subscribe-form-input {
    background: #1a1a1a;
    border-color: #333;
    color: #fff;
}

body.dark .subscribe-form-input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* 提交按钮 */
.subscribe-form-btn {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.subscribe-form-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.subscribe-form-btn .btn-icon {
    transition: transform 0.3s;
}

.subscribe-form-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* 深色模式按钮 */
body.dark .subscribe-form-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .subscribe-form-btn:hover {
    background: #eee;
}

/* 消息提示 */
.subscribe-message {
    margin-top: 0.5rem;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

.subscribe-message.show {
    display: block;
}

.subscribe-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.subscribe-message.error {
    background: #ffebee;
    color: #c62828;
}

body.dark .subscribe-message.success {
    background: rgba(46, 125, 50, 0.15);
    color: #81c784;
}

body.dark .subscribe-message.error {
    background: rgba(198, 40, 40, 0.15);
    color: #ff8a8a;
}

/* 联系信息列表 */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-info-item:hover {
    background: #f5f5f5;
    transform: translateX(4px);
}

/* 深色模式联系�?*/
body.dark .contact-info-item {
    background: #1a1a1a;
}

body.dark .contact-info-item:hover {
    background: #222;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

body.dark .contact-icon {
    background: #fff;
    color: #1a1a1a;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark .contact-label {
    color: #999;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a1a1a;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: #ff6b6b;
}

body.dark .contact-value {
    color: #fff;
}

/* ==================== 订阅页面响应式设�?==================== */

@media screen and (max-width: 992px) {
    .subscribe-header {
        padding: 30px 50px;
    }
    
    .subscribe-container {
        padding: 30px 50px;
    }
    
    .subscribe-content {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .subscribe-header {
        padding: 24px 30px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .subscribe-title {
        font-size: 1.75rem;
    }
    
    .subscribe-container {
        padding: 30px;
    }
    
    .subscribe-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media screen and (max-width: 480px) {
    .subscribe-header {
        padding: 20px;
    }
    
    .subscribe-title {
        font-size: 1.5rem;
    }
    
    .subscribe-container {
        padding: 20px;
    }
    
    .subscribe-form-input {
        padding: 12px 16px;
    }
    
    .subscribe-form-btn {
        padding: 14px;
        font-size: 1rem;
    }
    
    .contact-info-item {
        padding: 16px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== Contact 内容区域样式 ===== */
.contact-container {
    padding: 20px;
    color: #1a1a1a;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #f5f5f5;
    transform: translateX(4px);
}

.contact-icon-wrapper {
    width: 56px;
    height: 56px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-details-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label-wrapper {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #ff6b6b;
}

.contact-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.subscribe-page-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.subscribe-page-link:hover {
    background: #333;
    transform: translateX(4px);
}

/* 社交链接 */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #f5f5f5;
    transform: translateX(4px);
}

.social-icon {
    width: 56px;
    height: 56px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.social-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.social-handle {
    font-size: 0.95rem;
    color: #666;
}

/* 留言表单 */
.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
    color: #1a1a1a;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
    color: #1a1a1a;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.form-message {
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
}

/* Contact 深色模式 */
body.dark .contact-container,
.magazine-big.dark .contact-container {
    color: #fff;
}

body.dark .contact-item,
.magazine-big.dark .contact-item {
    background: #1a1a1a;
}

body.dark .contact-item:hover,
.magazine-big.dark .contact-item:hover {
    background: #222;
}

body.dark .contact-icon-wrapper,
.magazine-big.dark .contact-icon-wrapper {
    background: #fff;
    color: #1a1a1a;
}

body.dark .contact-label-wrapper,
.magazine-big.dark .contact-label-wrapper {
    color: #999;
}

body.dark .contact-link,
.magazine-big.dark .contact-link {
    color: #fff;
}

body.dark .contact-description,
.magazine-big.dark .contact-description {
    color: #aaa;
}

body.dark .subscribe-page-link,
.magazine-big.dark .subscribe-page-link {
    background: #fff;
    color: #1a1a1a;
}

body.dark .subscribe-page-link:hover,
.magazine-big.dark .subscribe-page-link:hover {
    background: #eee;
}

body.dark .social-link,
.magazine-big.dark .social-link {
    background: #1a1a1a;
}

body.dark .social-link:hover,
.magazine-big.dark .social-link:hover {
    background: #222;
}

body.dark .social-icon,
.magazine-big.dark .social-icon {
    background: #fff;
    color: #1a1a1a;
}

body.dark .social-name,
.magazine-big.dark .social-name {
    color: #fff;
}

body.dark .social-handle,
.magazine-big.dark .social-handle {
    color: #999;
}

/* ==================== 回到顶部按钮 ==================== */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1500;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* 深色模式下的回到顶部按钮 */
body.dark .back-to-top-btn,
.magazine-big.dark .back-to-top-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .back-to-top-btn:hover,
.magazine-big.dark .back-to-top-btn:hover {
    background: #eee;
}

/* 移动端适配 */
@media only screen and (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ==================== 文章底部样式 ==================== */
.article-page-footer,
.project-detail-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.qr-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.qr-share-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 二维码弹�?*/
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.qr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.qr-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90%;
    width: 320px;
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.qr-modal-close:hover {
    color: #1a1a1a;
    background: #f5f5f5;
}

.qr-modal-content h3 {
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 600;
}

.qr-code-container {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #eee;
    margin-bottom: 1rem;
}

.qr-code-container img {
    width: 100%;
    height: auto;
    display: block;
}

.qr-url {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    word-break: break-all;
    line-height: 1.5;
}

.qr-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
}

/* ==================== 音乐播放器样�?==================== */
.music-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f5f5f5;
    border-radius: 12px;
    margin: 1rem 0;
}

.music-player-info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.music-play-btn,
.music-volume-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.music-play-btn:hover,
.music-volume-btn:hover {
    background: #333;
    transform: scale(1.05);
}

.music-progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.music-progress-bar {
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.music-buffer-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ff6b6b;
    border-radius: 3px;
    width: 0%;
    transition: width 0.2s ease;
}

.music-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #1a1a1a;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.music-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666;
    font-family: monospace;
}

/* 暗黑模式下的播放器样�?*/
body.dark .music-player,
.magazine-big.dark .music-player {
    background: #2a2a2a;
}

body.dark .music-player-info,
.magazine-big.dark .music-player-info {
    background: #fff;
    color: #1a1a1a;
}

body.dark .music-play-btn,
.magazine-big.dark .music-play-btn,
body.dark .music-volume-btn,
.magazine-big.dark .music-volume-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .music-play-btn:hover,
.magazine-big.dark .music-play-btn:hover,
body.dark .music-volume-btn:hover,
.magazine-big.dark .music-volume-btn:hover {
    background: #eee;
}

body.dark .music-progress-bar,
.magazine-big.dark .music-progress-bar {
    background: #444;
}

body.dark .music-progress-fill,
.magazine-big.dark .music-progress-fill {
    background: #fff;
}

body.dark .music-buffer-fill,
.magazine-big.dark .music-buffer-fill {
    background: #ff4757;
}

body.dark .music-time,
.magazine-big.dark .music-time {
    color: #999;
}

/* ==================== ABCJS 乐谱样式 ==================== */
.abcjs-score {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
}

.abcjs-score svg {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* 暗黑模式下的乐谱：保持白色状�?*/
body.dark .abcjs-score,
.magazine-big.dark .abcjs-score {
    background: #f8f8f8;
}

body.dark .abcjs-score path,
.magazine-big.dark .abcjs-score path,
body.dark .abcjs-score line,
.magazine-big.dark .abcjs-score line {
    stroke: #000 !important;
}

body.dark .abcjs-score text,
.magazine-big.dark .abcjs-score text {
    fill: #000 !important;
}

/* 移动端乐谱适配 */
@media only screen and (max-width: 768px) {
    .abcjs-score {
        padding: 1rem;
        margin: 1.5rem 0;
    }
}

/* ==================== 参考文献样�?==================== */
/* 脚注引用标记 */
sup.footnote-ref {
    font-size: 0.8em;
    vertical-align: super;
    line-height: 0;
    margin-left: 2px;
    margin-right: 2px;
}

sup.footnote-ref a {
    color: #1a1a1a;
    text-decoration: none;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

sup.footnote-ref a:hover {
    background: #1a1a1a;
    color: #fff;
}

/* 参考文献列�?*/
section.footnotes {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

section.footnotes hr {
    display: none;
}

section.footnotes h2,
section.footnotes h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

section.footnotes ol {
    list-style: decimal;
    margin-left: 1.5rem;
    padding-left: 0.5rem;
}

section.footnotes li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    line-height: 1.7;
    color: #444;
    font-size: 0.95rem;
}

section.footnotes li:last-child {
    margin-bottom: 0;
}

/* 脚注返回链接 */
a.footnote-back {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

a.footnote-back:hover {
    color: #1a1a1a;
}

/* 暗黑模式下的参考文�?*/
body.dark sup.footnote-ref a,
.magazine-big.dark sup.footnote-ref a {
    background: #333;
    color: #fff;
}

body.dark sup.footnote-ref a:hover,
.magazine-big.dark sup.footnote-ref a:hover {
    background: #fff;
    color: #1a1a1a;
}

body.dark section.footnotes,
.magazine-big.dark section.footnotes {
    border-top-color: #444;
}

body.dark section.footnotes li,
.magazine-big.dark section.footnotes li {
    color: #ccc;
}

body.dark a.footnote-back,
.magazine-big.dark a.footnote-back {
    color: #999;
}

body.dark a.footnote-back:hover,
.magazine-big.dark a.footnote-back:hover {
    color: #fff;
}

/* 移动端参考文献适配 */
@media only screen and (max-width: 768px) {
    section.footnotes {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    section.footnotes h2,
    section.footnotes h3 {
        font-size: 1.15rem;
    }
    
    section.footnotes li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
}

/* 移动端播放器适配 */
@media only screen and (max-width: 768px) {
    .music-player {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .music-play-btn,
    .music-volume-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* 暗黑模式下的二维码样�?*/
body.dark .article-page-footer,
.magazine-big.dark .article-page-footer {
    border-top-color: #333;
}

body.dark .qr-share-btn,
.magazine-big.dark .qr-share-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .qr-share-btn:hover,
.magazine-big.dark .qr-share-btn:hover {
    background: #eee;
}

body.dark .qr-modal-content,
.magazine-big.dark .qr-modal-content {
    background: #1a1a1a;
}

body.dark .qr-modal-close,
.magazine-big.dark .qr-modal-close {
    color: #666;
}

body.dark .qr-modal-close:hover,
.magazine-big.dark .qr-modal-close:hover {
    color: #fff;
    background: #333;
}

body.dark .qr-modal-content h3,
.magazine-big.dark .qr-modal-content h3 {
    color: #fff;
}

body.dark .qr-code-container,
.magazine-big.dark .qr-code-container {
    background: #0a0a0a;
    border-color: #333;
}

body.dark .qr-url,
.magazine-big.dark .qr-url {
    color: #999;
}

body.dark .qr-title,
.magazine-big.dark .qr-title {
    color: #fff;
}

/* 移动端适配 */
@media only screen and (max-width: 768px) {
    .qr-modal-content {
        width: 85%;
        padding: 2rem 1.5rem;
    }
    
    .article-page-footer {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

body.dark .form-label,
.magazine-big.dark .form-label {
    color: #fff;
}

body.dark .form-input,
.magazine-big.dark .form-input {
    background: #1a1a1a;
    border-color: #333;
    color: #fff;
}

body.dark .form-textarea,
.magazine-big.dark .form-textarea {
    background: #1a1a1a;
    border-color: #333;
    color: #fff;
}

body.dark .form-submit-btn,
.magazine-big.dark .form-submit-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .form-submit-btn:hover,
.magazine-big.dark .form-submit-btn:hover {
    background: #eee;
}

/* 留言列表深色模式 */
body.dark .message-item,
.magazine-big.dark .message-item {
    border-bottom-color: #333;
}

body.dark .message-author,
.magazine-big.dark .message-author {
    color: #fff;
}

body.dark .message-website,
.magazine-big.dark .message-website {
    color: #ff7b7b;
}

body.dark .message-website:hover,
.magazine-big.dark .message-website:hover {
    color: #ff8c8c;
}

body.dark .message-date,
.magazine-big.dark .message-date {
    color: #777;
}

body.dark .message-content,
.magazine-big.dark .message-content {
    color: #ccc;
}

body.dark .message-reply-item,
.magazine-big.dark .message-reply-item {
    border-bottom-color: #333;
}

body.dark .message-replies,
.magazine-big.dark .message-replies {
    border-left-color: #333;
}

body.dark .message-reply-btn,
.magazine-big.dark .message-reply-btn {
    background: #333;
    color: #aaa;
}

body.dark .message-reply-btn:hover,
.magazine-big.dark .message-reply-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* 留言列表额外样式 */
.no-messages {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1rem;
}

.loading-messages,
.load-error {
    text-align: center;
    padding: 30px;
    color: #666;
}

.load-error {
    color: #e74c3c;
}

/* 留言作者链�?*/
.message-header-info .message-author {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.message-header-info .message-author:hover {
    color: #ff6b6b;
}



/* 深色模式 */
body.dark .no-messages,
.magazine-big.dark .no-messages {
    color: #666;
}

body.dark .loading-messages,
.magazine-big.dark .loading-messages {
    color: #888;
}

body.dark .load-error,
.magazine-big.dark .load-error {
    color: #ff6b6b;
}

/* ==================== 文章目录导航 ==================== */
.article-page-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.article-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 60px 20px;
    min-width: 0;
}

.article-toc-wrapper {
    width: 220px;
    flex-shrink: 0;
    padding: 80px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #eee;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 隐藏滚动�?- Webkit */
.article-toc-wrapper::-webkit-scrollbar {
    display: none;
}

.article-toc {
    padding: 0;
    position: relative;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 左侧装饰�?*/
.toc-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e0e0e0 0%, #e0e0e0 100%);
}

.toc-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.toc-item {
    position: relative;
    margin: 0.25rem 0;
}

.toc-link {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    padding: 0.4rem 0 0.4rem 1.8rem;
    transition: all 0.25s ease;
    line-height: 1.5;
    position: relative;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid #fff;
    transition: all 0.25s ease;
    z-index: 1;
    box-shadow: 0 0 0 2px #ddd;
}

.toc-link:hover {
    color: #ff6b6b;
}

.toc-link:hover::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.toc-link.active {
    color: #ff6b6b;
    font-weight: 600;
}

.toc-link.active::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
    transform: translateY(-50%) scale(1.1);
}

.toc-item.h3 .toc-link {
    padding-left: 2.6rem;
    font-size: 0.9rem;
    color: #666;
}

.toc-item.h4 .toc-link {
    padding-left: 3.4rem;
    font-size: 0.85rem;
    color: #777;
}

/* 目录导航 - 暗黑模式 */
.magazine-big.dark .article-toc-wrapper {
    border-right-color: #333;
}

.magazine-big.dark .toc-list::before {
    background: linear-gradient(180deg, #333 0%, #333 100%);
}

.magazine-big.dark .toc-title {
    color: #fff;
}

.magazine-big.dark .toc-link {
    color: #999;
}

.magazine-big.dark .toc-link::before {
    background: #444;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px #444;
}

.magazine-big.dark .toc-link:hover {
    color: #ff6b6b;
}

.magazine-big.dark .toc-link:hover::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.magazine-big.dark .toc-link.active {
    color: #ff6b6b;
}

.magazine-big.dark .toc-link.active::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.magazine-big.dark .toc-item.h3 .toc-link {
    color: #888;
}

.magazine-big.dark .toc-item.h4 .toc-link {
    color: #777;
}

/* 目录导航 - 手机端适配 */
@media only screen and (max-width: 1024px) {
    .article-page-wrapper {
        flex-direction: column;
    }
    
    .article-toc-wrapper {
        width: 100%;
        height: auto;
        position: static;
        padding: 20px;
        order: -1;
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid #eee;
    }
    
    .article-toc::before {
        display: none;
    }
    
    .toc-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .toc-item {
        margin: 0;
    }
    
    .toc-link {
        padding: 0.4rem 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.85rem;
        background: #f9f9f9;
    }
    
    .toc-link::before {
        display: none;
    }
    
    .toc-link.active {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.1);
    }
    
    .toc-item.h2 .toc-link,
    .toc-item.h3 .toc-link,
    .toc-item.h4 .toc-link {
        padding-left: 0.8rem;
    }
    
    .magazine-big.dark .article-toc-wrapper {
        background: rgba(10, 10, 10, 0.95);
        border-bottom-color: #333;
    }
    
    .magazine-big.dark .toc-link {
        border-color: #444;
        background: #1a1a1a;
    }
    
    .magazine-big.dark .toc-link.active {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.15);
    }
}

body.dark .form-message.success,
.magazine-big.dark .form-message.success {
    background: rgba(46, 125, 50, 0.15);
    color: #81c784;
}

body.dark .form-message.error,
.magazine-big.dark .form-message.error {
    background: rgba(198, 40, 40, 0.15);
    color: #ff8a8a;
}

/* 必填标记 */
.required {
    color: #ff6b6b;
}

/* 留言头部（标题和按钮�?*/
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

/* 打开留言弹窗按钮 */
.open-message-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.open-message-modal-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.open-message-modal-btn i {
    font-size: 1rem;
}

/* 留言列表 */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 单个留言�?*/
.message-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.message-item:last-child {
    border-bottom: none;
}

/* 留言头部 */
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 12px;
}

/* 留言头部信息 */
.message-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* 回复按钮 - 确保不会被挤到下一行 */
.message-reply-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* 留言头部信息 */
.message-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 回复按钮 */
.message-reply-btn {
    background: #f0f0f0;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.message-reply-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* 回复列表 */
.message-replies {
    margin-top: 16px;
    padding-left: 24px;
    border-left: 2px solid #eee;
}

.message-reply-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.message-reply-item:last-child {
    border-bottom: none;
}

.message-author {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.message-website {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ff6b6b;
    text-decoration: none;
    margin-left: 0.25rem;
    transition: color 0.3s;
}

.message-website:hover {
    color: #ee5a5a;
    text-decoration: underline;
}

.message-date {
    font-size: 0.9rem;
    color: #999;
}

/* 留言内容 */
.message-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* 留言弹窗 */
.message-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.message-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.message-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.message-modal.show .message-modal-content {
    transform: scale(1);
}

.message-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    transform: rotate(90deg);
}

.message-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #1a1a1a;
}

/* 留言弹窗深色模式 */
body.dark .open-message-modal-btn,
.magazine-big.dark .open-message-modal-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .open-message-modal-btn:hover,
.magazine-big.dark .open-message-modal-btn:hover {
    background: #eee;
}

body.dark .message-modal-content,
.magazine-big.dark .message-modal-content {
    background: #1a1a1a;
}

body.dark .message-close-btn,
.magazine-big.dark .message-close-btn {
    color: #999;
}

body.dark .message-close-btn:hover,
.magazine-big.dark .message-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark .message-title,
.magazine-big.dark .message-title {
    color: #fff;
}

/* ==================== 文章弹窗目录导航 ==================== */
.article-page-inner {
    display: flex;
    height: 100%;
    width: 100%;
}

.article-toc-wrapper-inner {
    width: 220px;
    flex-shrink: 0;
    padding: 80px 24px;
    overflow-y: auto;
    position: relative;
    border-right: 1px solid #eee;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 隐藏滚动�?- Webkit */
.article-toc-wrapper-inner::-webkit-scrollbar {
    display: none;
}

.article-toc-inner {
    position: sticky;
    top: 0;
}

.toc-title-inner {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.toc-list-inner {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 左侧装饰�?*/
.toc-list-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e0e0e0 0%, #e0e0e0 100%);
}

.toc-item-inner {
    position: relative;
    margin: 0.25rem 0;
}

.toc-link-inner {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    padding: 0.4rem 0 0.4rem 1.8rem;
    transition: all 0.25s ease;
    line-height: 1.5;
    position: relative;
}

.toc-link-inner::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid #fff;
    transition: all 0.25s ease;
    z-index: 1;
    box-shadow: 0 0 0 2px #ddd;
}

.toc-link-inner:hover {
    color: #ff6b6b;
}

.toc-link-inner:hover::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.toc-link-inner.active {
    color: #ff6b6b;
    font-weight: 600;
}

.toc-link-inner.active::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
    transform: translateY(-50%) scale(1.1);
}

.toc-item-inner.h3 .toc-link-inner {
    padding-left: 2.6rem;
    font-size: 0.9rem;
    color: #666;
}

.toc-item-inner.h4 .toc-link-inner {
    padding-left: 3.4rem;
    font-size: 0.85rem;
    color: #777;
}

/* 回到顶部按钮 */
.toc-back-to-top {
    margin-top: 2rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: #ff6b6b;
    background: transparent;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    justify-content: center;
}

.toc-back-to-top:hover {
    background: #ff6b6b;
    color: #fff;
}

.toc-back-to-top i {
    font-size: 0.85rem;
}

/* 暗黑模式回到顶部按钮 */
.magazine-big.dark .toc-back-to-top {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.magazine-big.dark .toc-back-to-top:hover {
    background: #ff6b6b;
    color: #fff;
}

/* 目录导航 - 暗黑模式 */
.magazine-big.dark .article-toc-wrapper-inner {
    border-right-color: #333;
}

.magazine-big.dark .toc-title-inner {
    color: #fff;
}

.magazine-big.dark .toc-list-inner::before {
    background: #333;
}

.magazine-big.dark .toc-link-inner {
    color: #999;
}

.magazine-big.dark .toc-link-inner::before {
    background: #444;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px #444;
}

.magazine-big.dark .toc-link-inner:hover {
    color: #ff6b6b;
}

.magazine-big.dark .toc-link-inner:hover::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.magazine-big.dark .toc-link-inner.active {
    color: #ff6b6b;
}

.magazine-big.dark .toc-link-inner.active::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.magazine-big.dark .toc-item-inner.h3 .toc-link-inner {
    color: #888;
}

.magazine-big.dark .toc-item-inner.h4 .toc-link-inner {
    color: #777;
}

/* 目录导航 - 手机端适配 */
@media only screen and (max-width: 1024px) {
    .article-page-inner {
        flex-direction: column;
    }
    
    .article-toc-wrapper-inner {
        width: 100%;
        padding: 20px;
        position: static;
        order: -1;
        border-bottom: 1px solid #eee;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .article-toc-inner {
        position: static;
    }
    
    .toc-title-inner {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .toc-list-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .toc-item-inner {
        margin: 0;
    }
    
    .toc-link-inner {
        padding: 0.4rem 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.85rem;
        background: #f9f9f9;
    }
    
    .toc-link-inner::before {
        display: none;
    }
    
    .toc-link-inner.active {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.1);
        border-left: none;
    }
    
    .toc-item-inner.h2 .toc-link-inner,
    .toc-item-inner.h3 .toc-link-inner,
    .toc-item-inner.h4 .toc-link-inner {
        padding-left: 0.8rem;
    }
    
    .magazine-big.dark .article-toc-wrapper-inner {
        background: rgba(10, 10, 10, 0.98);
        border-bottom-color: #333;
    }
    
    .magazine-big.dark .toc-link-inner {
        border-color: #444;
        background: #1a1a1a;
    }
    
    .magazine-big.dark .toc-link-inner.active {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.15);
        border-left: none;
    }
}

body.dark .form-label,
.magazine-big.dark .form-label {
    color: #fff;
}

body.dark .form-input,
.magazine-big.dark .form-input {
    background: #0a0a0a;
    border-color: #333;
    color: #fff;
}

body.dark .form-textarea,
.magazine-big.dark .form-textarea {
    background: #0a0a0a;
    border-color: #333;
    color: #fff;
}

body.dark .form-submit-btn,
.magazine-big.dark .form-submit-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .form-submit-btn:hover,
.magazine-big.dark .form-submit-btn:hover {
    background: #eee;
}

/* 留言列表深色模式 */
body.dark .message-item,
.magazine-big.dark .message-item {
    border-bottom-color: #333;
}

body.dark .message-author,
.magazine-big.dark .message-author {
    color: #fff;
}

body.dark .message-website,
.magazine-big.dark .message-website {
    color: #ff7b7b;
}

body.dark .message-website:hover,
.magazine-big.dark .message-website:hover {
    color: #ff8c8c;
}

body.dark .message-date,
.magazine-big.dark .message-date {
    color: #777;
}

body.dark .message-content,
.magazine-big.dark .message-content {
    color: #ccc;
}

body.dark .message-reply-item,
.magazine-big.dark .message-reply-item {
    border-bottom-color: #333;
}

body.dark .message-replies,
.magazine-big.dark .message-replies {
    border-left-color: #333;
}

body.dark .message-reply-btn,
.magazine-big.dark .message-reply-btn {
    background: #333;
    color: #aaa;
}

body.dark .message-reply-btn:hover,
.magazine-big.dark .message-reply-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* 留言列表额外样式 */
.no-messages {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1rem;
}

.loading-messages,
.load-error {
    text-align: center;
    padding: 30px;
    color: #666;
}

.load-error {
    color: #e74c3c;
}

/* 留言作者链�?*/
.message-header-info .message-author {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.message-header-info .message-author:hover {
    color: #ff6b6b;
}



/* 深色模式 */
body.dark .no-messages,
.magazine-big.dark .no-messages {
    color: #666;
}

body.dark .loading-messages,
.magazine-big.dark .loading-messages {
    color: #888;
}

body.dark .load-error,
.magazine-big.dark .load-error {
    color: #ff6b6b;
}

/* ==================== 文章目录导航 ==================== */
.article-page-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.article-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 60px 20px;
    min-width: 0;
}

.article-toc-wrapper {
    width: 220px;
    flex-shrink: 0;
    padding: 80px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #eee;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* 隐藏滚动�?- Webkit */
.article-toc-wrapper::-webkit-scrollbar {
    display: none;
}

.article-toc {
    padding: 0;
    position: relative;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* 左侧装饰�?*/
.toc-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e0e0e0 0%, #e0e0e0 100%);
}

.toc-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.toc-item {
    position: relative;
    margin: 0.25rem 0;
}

.toc-link {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    padding: 0.4rem 0 0.4rem 1.8rem;
    transition: all 0.25s ease;
    line-height: 1.5;
    position: relative;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid #fff;
    transition: all 0.25s ease;
    z-index: 1;
    box-shadow: 0 0 0 2px #ddd;
}

.toc-link:hover {
    color: #ff6b6b;
}

.toc-link:hover::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.toc-link.active {
    color: #ff6b6b;
    font-weight: 600;
}

.toc-link.active::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
    transform: translateY(-50%) scale(1.1);
}

.toc-item.h3 .toc-link {
    padding-left: 2.6rem;
    font-size: 0.9rem;
    color: #666;
}

.toc-item.h4 .toc-link {
    padding-left: 3.4rem;
    font-size: 0.85rem;
    color: #777;
}

/* 目录导航 - 暗黑模式 */
.magazine-big.dark .article-toc-wrapper {
    border-right-color: #333;
}

.magazine-big.dark .toc-list::before {
    background: linear-gradient(180deg, #333 0%, #333 100%);
}

.magazine-big.dark .toc-title {
    color: #fff;
}

.magazine-big.dark .toc-link {
    color: #999;
}

.magazine-big.dark .toc-link::before {
    background: #444;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px #444;
}

.magazine-big.dark .toc-link:hover {
    color: #ff6b6b;
}

.magazine-big.dark .toc-link:hover::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.magazine-big.dark .toc-link.active {
    color: #ff6b6b;
}

.magazine-big.dark .toc-link.active::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 2px #ff6b6b;
}

.magazine-big.dark .toc-item.h3 .toc-link {
    color: #888;
}

.magazine-big.dark .toc-item.h4 .toc-link {
    color: #777;
}

/* 目录导航 - 手机端适配 */
@media only screen and (max-width: 1024px) {
    .article-page-wrapper {
        flex-direction: column;
    }
    
    .article-toc-wrapper {
        width: 100%;
        height: auto;
        position: static;
        padding: 20px;
        order: -1;
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid #eee;
    }
    
    .article-toc::before {
        display: none;
    }
    
    .toc-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .toc-item {
        margin: 0;
    }
    
    .toc-link {
        padding: 0.4rem 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.85rem;
        background: #f9f9f9;
    }
    
    .toc-link::before {
        display: none;
    }
    
    .toc-link.active {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.1);
    }
    
    .toc-item.h2 .toc-link,
    .toc-item.h3 .toc-link,
    .toc-item.h4 .toc-link {
        padding-left: 0.8rem;
    }
    
    .magazine-big.dark .article-toc-wrapper {
        background: rgba(10, 10, 10, 0.95);
        border-bottom-color: #333;
    }
    
    .magazine-big.dark .toc-link {
        border-color: #444;
        background: #1a1a1a;
    }
    
    .magazine-big.dark .toc-link.active {
        border-color: #ff6b6b;
        background: rgba(255, 107, 107, 0.15);
    }
}
/* ==================== Ƕ�׻ظ���ʽ ==================== */
/* ==================== Ƕ�׻ظ���ʽ ==================== */

/* �ظ���ϵ��� */
.reply-to {
    color: #ff6b6b;
    font-weight: 600;
}

.reply-to::after {
    content: ' ';
}

/* Ƕ�׻ظ��� - ����ԭ�м���� */
.message-reply-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.magazine-big.dark .message-reply-item {
    border-bottom-color: #333;
}

/* �ظ����ڵ�ͷ�� */
.message-reply-item .message-header {
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.message-reply-item .message-header-info {
    gap: 8px;
}

.message-reply-item .message-author {
    font-size: 0.95rem;
}

.message-reply-item .message-date {
    font-size: 0.85rem;
}

.message-reply-item .message-reply-btn {
    padding: 4px 10px;
    font-size: 0.85rem;
}

.message-reply-item .message-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== �����ظ�������ʽ ==================== */

/* �����ظ��������� */
.inline-reply-form {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 8px;
}

.magazine-big.dark .inline-reply-form {
    background: rgba(255, 107, 107, 0.1);
}

/* ����������� */
.message-form-horizontal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group-horizontal {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* С����� */
.form-input-small {
    flex: 1;
    min-width: 150px;
    padding: 10px 14px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
    color: #1a1a1a;
}

.form-input-small:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.magazine-big.dark .form-input-small {
    background: #1a1a1a;
    border-color: #444;
    color: #fff;
}

.magazine-big.dark .form-input-small:focus {
    border-color: #ff6b6b;
}

/* С�ı��� */
.form-textarea-small {
    flex: 3;
    min-width: 250px;
    padding: 10px 14px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #fff;
    color: #1a1a1a;
    resize: vertical;
}

.form-textarea-small:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.magazine-big.dark .form-textarea-small {
    background: #1a1a1a;
    border-color: #444;
    color: #fff;
}

.magazine-big.dark .form-textarea-small:focus {
    border-color: #ff6b6b;
}

/* С�ύ��ť */
.form-submit-btn-small {
    padding: 10px 20px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.form-submit-btn-small:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.magazine-big.dark .form-submit-btn-small {
    background: #fff;
    color: #1a1a1a;
}

.magazine-big.dark .form-submit-btn-small:hover {
    background: #eee;
}

/* ȡ����ť */
.form-cancel-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    color: #666;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.magazine-big.dark .form-cancel-btn {
    background: #333;
    color: #ccc;
}

.form-cancel-btn:hover {
    background: #ff6b6b;
    color: white;
}

.magazine-big.dark .form-cancel-btn:hover {
    background: #ff6b6b;
    color: white;
}

/* ����������Ϣ */
.form-message-inline {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-message-inline.show {
    display: block;
}

.form-message-inline.success {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.form-message-inline.error {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
}

.magazine-big.dark .form-message-inline.success {
    background: rgba(46, 125, 50, 0.15);
    color: #81c784;
}

.magazine-big.dark .form-message-inline.error {
    background: rgba(198, 40, 40, 0.15);
    color: #ff8a8a;
}

/* ==================== Feed 订阅页面样式 ==================== */

/* 修改内容布局为单列 */
.subscribe-page .subscribe-content {
    grid-template-columns: 1fr;
}

/* Feed URL 容器 */
.feed-url-box {
    background: #fafafa;
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
}

body.dark .feed-url-box {
    background: #1a1a1a;
}

.feed-url-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}

body.dark .feed-url-label {
    color: #aaa;
}

.feed-url-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.feed-url {
    flex: 1;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.95rem;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 8px;
    color: #333;
    word-break: break-all;
}

body.dark .feed-url {
    background: #0a0a0a;
    border-color: #333;
    color: #ddd;
}

.feed-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.feed-copy-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

body.dark .feed-copy-btn {
    background: #fff;
    color: #1a1a1a;
}

body.dark .feed-copy-btn:hover {
    background: #eee;
}

/* Feed 文章列表 */
.feed-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.feed-article {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

body.dark .feed-article {
    border-bottom-color: #333;
}

.feed-article:last-child {
    border-bottom: none;
}

.feed-article-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 8px;
}

body.dark .feed-article-date {
    color: #777;
}

.feed-article-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.feed-article-tag {
    font-size: 0.85rem;
    color: #ff6b6b;
    font-weight: 500;
}

.feed-article-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}

.feed-article-title:hover {
    color: #ff6b6b;
}

body.dark .feed-article-title {
    color: #fff;
}

body.dark .feed-article-title:hover {
    color: #ff6b6b;
}

/* Feed 页脚 */
.feed-footer {
    padding-top: 24px;
    border-top: 1px solid #eee;
}

body.dark .feed-footer {
    border-top-color: #333;
}

.feed-footer p {
    font-size: 0.9rem;
    color: #999;
}

body.dark .feed-footer p {
    color: #777;
}

.feed-footer a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.feed-footer a:hover {
    text-decoration: underline;
}

/* ===== 楼中楼弹窗 ===== */
.thread-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thread-modal.show {
    opacity: 1;
}

body.dark .thread-modal {
    background: rgba(0, 0, 0, 0.7);
}

.thread-modal-content {
    background: white;
    width: 90%;
    max-width: 650px;
    max-height: 88vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.thread-modal.show .thread-modal-content {
    transform: scale(1);
}

body.dark .thread-modal-content {
    background: #1a1a1a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 标题栏 */
.thread-header {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

body.dark .thread-header {
    border-bottom-color: #333;
}

.thread-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

body.dark .thread-title {
    color: #f0f0f0;
}

.thread-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #888;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.thread-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

body.dark .thread-close-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
}

body.dark .thread-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.thread-main {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

/* 主留言 */
.thread-original-message {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    flex-shrink: 0;
}

body.dark .thread-original-message {
    border-bottom-color: #2a2a2a;
    background: #171717;
}

/* 回复列表 - 放在中间，可滚动 */
.thread-replies {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

/* 回复项 */
.thread-reply-item {
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid #e0e0e0;
    background: #fafafa;
    border-radius: 0 10px 10px 0;
}

body.dark .thread-reply-item {
    border-left-color: #3a3a3a;
    background: #171717;
}

/* 嵌套回复 */
.thread-reply-item .thread-reply-item {
    margin: 12px 0 0 16px;
    border-left-color: #eee;
}

body.dark .thread-reply-item .thread-reply-item {
    border-left-color: #333;
}

/* 回复表单 - 固定在底部 */
.thread-reply-form-container {
    border-top: 1px solid #eee;
    padding: 20px 24px 24px;
    background: white;
    flex-shrink: 0;
    border-radius: 0 0 16px 16px;
}

body.dark .thread-reply-form-container {
    border-top-color: #333;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
}

.thread-reply-form .form-group-horizontal {
    display: flex;
    gap: 12px;
}

.thread-reply-form .form-group-horizontal .form-input {
    flex: 1;
}

/* 楼中楼空状态 - 使用项目原有的样式 */
.thread-replies .no-messages {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

body.dark .thread-replies .no-messages {
    color: #666;
}

/* 回复目标提示 */
.thread-reply-hint {
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
}

body.dark .thread-reply-hint {
    color: #8a9bff;
    background: rgba(102, 126, 234, 0.15);
}

/* 滚动条样式 */
.thread-replies::-webkit-scrollbar {
    width: 6px;
}

.thread-replies::-webkit-scrollbar-track {
    background: #f5f5f5;
}

body.dark .thread-replies::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.thread-replies::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

body.dark .thread-replies::-webkit-scrollbar-thumb {
    background: #444;
}

.thread-replies::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

body.dark .thread-replies::-webkit-scrollbar-thumb:hover {
    background: #555;
}