        /* ===== 全局重置 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        body {
            font-family: 'Inter', sans-serif;
            background: #0a0a0a;
            color: #f0f0f0;
            overflow: hidden;
            height: 100vh;
            background: radial-gradient(circle at 30% 40%, #1a0b1f, #0a0a0a);
        }
        ::-webkit-scrollbar {
            width: 4px;
            height: 4px;
        }
        ::-webkit-scrollbar-track {
            background: #1a1a2a;
        }
        ::-webkit-scrollbar-thumb {
            background: #b77dff;
            border-radius: 4px;
        }

        /* ===== 粒子 ===== */
        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        /* ===== 加载进度 ===== */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0a0a0a;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 1s ease, visibility 1s ease;
        }
        #loader.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .loader-bar-wrap {
            width: 200px;
            height: 2px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 16px;
        }
        .loader-bar {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #c084fc, #f0a6ff);
            border-radius: 2px;
            transition: width 0.15s linear;
        }
        .loader-text {
            font-size: 0.9rem;
            font-weight: 300;
            letter-spacing: 4px;
            color: #b77dff;
            font-variant-numeric: tabular-nums;
        }
        .loader-sub {
            margin-top: 12px;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.15);
            letter-spacing: 2px;
        }

        /* ===== 应用容器 ===== */
        #app {
            position: relative;
            width: 100vw;
            height: 100vh;
            opacity: 0;
            transition: opacity 0.8s ease;
            z-index: 1;
        }
        #app.visible {
            opacity: 1;
        }

        /* ===== 侧边栏 ===== */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 220px;
            height: 100vh;
            padding: 32px 16px;
            background: rgba(10, 10, 10, 0.75);
            backdrop-filter: blur(16px);
            border-right: 1px solid rgba(200, 100, 255, 0.12);
            z-index: 100;
            display: flex;
            flex-direction: column;
            transform: translateX(-100%);
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
            overflow-y: auto;
            box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
        }
        .sidebar.open {
            transform: translateX(0%);
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 32px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            flex-shrink: 0;
        }
        .sidebar-brand img {
            width: 40px;
            height: 40px;
            object-fit: contain;
            border-radius: 6px;
            flex-shrink: 0;
        }
        .sidebar-brand h1 {
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 2px;
            background: linear-gradient(135deg, #ffffff, #d9b4ff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .sidebar-nav {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .sidebar-nav .nav-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            font-size: 0.9rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.5);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 1px;
            border: none;
            background: none;
            text-align: left;
            font-family: inherit;
            width: 100%;
        }
        .sidebar-nav .nav-item:hover {
            color: #fff;
            background: rgba(200, 100, 255, 0.08);
        }
        .sidebar-nav .nav-item.active {
            color: #f0a6ff;
            background: rgba(200, 100, 255, 0.12);
            font-weight: 500;
        }
                .sidebar-nav .nav-item .drop-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.55);
            font-size: 1.15rem;
            line-height: 1;
            cursor: pointer;
            padding: 6px 8px;
            transition: transform 0.3s, color 0.3s, background 0.3s;
            font-family: inherit;
            pointer-events: auto;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 30px;
            min-height: 26px;
        }
        .sidebar-nav .nav-item .drop-btn:hover {
            color: #f0a6ff;
            background: rgba(200, 100, 255, 0.12);
        }
        .sidebar-nav .nav-item .drop-btn.open {
            transform: rotate(180deg);
        }

                .category-dropdown {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            padding-left: 8px;
            margin-bottom: 6px;
        }
        .category-dropdown.open {
            max-height: 320px;
        }
        .category-dropdown .cat-item {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 9px 12px 9px 14px;
            margin: 2px 0;
            font-family: inherit;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.45);
            background: none;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            text-align: left;
            letter-spacing: 0.5px;
            transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
        }
        .category-dropdown .cat-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%) scaleY(0);
            width: 2px;
            height: 60%;
            border-radius: 2px;
            background: linear-gradient(180deg, #c084fc, #f0a6ff);
            transition: transform 0.25s ease;
        }
        .category-dropdown .cat-item:hover {
            color: #fff;
            background: rgba(200, 100, 255, 0.1);
            padding-left: 18px;
        }
        .category-dropdown .cat-item:hover::before {
            transform: translateY(-50%) scaleY(1);
        }
        .category-dropdown .cat-item .cat-num {
            font-size: 0.6rem;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.2);
            font-variant-numeric: tabular-nums;
            min-width: 18px;
            transition: color 0.25s ease;
        }
        .category-dropdown .cat-item:hover .cat-num {
            color: #f0a6ff;
        }
                .category-dropdown .cat-item .cat-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
            opacity: 0.85;
            box-shadow: 0 0 8px rgba(200, 100, 255, 0.55);
        }
        .category-dropdown .cat-item .cat-label {
            flex: 1;
            white-space: nowrap;
        }

                .sidebar-footer {
            font-size: 0.6rem;
            color: rgba(255, 255, 255, 0.1);
            letter-spacing: 1px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            margin-top: 16px;
            flex-shrink: 0;
        }

        /* ===== 手机端顶部悬浮导航（默认隐藏，仅手机端显示） ===== */
        .topbar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 150;
            height: 56px;
            padding: 0 18px;
            align-items: center;
            justify-content: space-between;
            background: rgba(10, 10, 10, 0.72);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(200, 100, 255, 0.12);
            transform: translateY(-100%);
            transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        }
        .topbar.show {
            transform: translateY(0);
        }
        .topbar-logo {
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
            white-space: nowrap;
        }
        .topbar-logo span {
            font-weight: 300;
            color: rgba(255, 255, 255, 0.4);
        }
        .topbar-links {
            display: flex;
            gap: 4px;
            align-items: center;
        }
        .topbar-item {
            background: none;
            border: none;
            font-family: inherit;
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.45);
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            letter-spacing: 0.5px;
            transition: color 0.25s, background 0.25s;
        }
        .topbar-item.active {
            color: #f0a6ff;
            background: rgba(200, 100, 255, 0.12);
        }
        .topbar-item:active {
            background: rgba(200, 100, 255, 0.2);
            color: #f0a6ff;
        }

        /* ===== 主滚动容器 ===== */
        .main-scroll {
            position: relative;
            width: 100vw;
            height: 100vh;
            overflow-y: scroll;
            overflow-x: hidden;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }
        .page-section {
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 60px 40px calc(60px + 220px);
            position: relative;
        }
        .page-section .section-inner {
            width: 100%;
            max-width: 1400px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

                /* ===== 首页 ===== */
        #home {
            padding: 0;
            min-height: 100vh;
            justify-content: center;
            background: transparent;
        }
                .home-content {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    text-align: center;
                    width: 100%;
                    padding: 40px;
                }
                .home-logo-wrapper {
                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 28px;
                    margin-bottom: 20px;
                    flex-wrap: wrap;
                                /* 仅 logo 与 FTN STUDIO 字样左移（抵消左侧侧边栏造成的视觉偏移） */
                    transform: translateX(-25px);
                }
                                .home-logo-img {
                    position: relative;
                    z-index: 1;
                    width: 180px;
                    height: auto;
                    opacity: 0;
                    transform: scale(0.8);
                    display: block;
                    flex-shrink: 0;
                    will-change: filter;
                }
        .home-brand-text {
            font-size: clamp(2.8rem, 7vw, 5rem);
            font-weight: 700;
            letter-spacing: 8px;
            background: linear-gradient(135deg, #ffffff, #d9b4ff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            opacity: 0;
            transform: translateX(20px);
            white-space: nowrap;
        }
        .home-slogan {
            margin-top: 24px;
            font-size: clamp(0.9rem, 1.2vw, 1.1rem);
            font-weight: 300;
            letter-spacing: 8px;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            opacity: 0;
            transform: translateY(30px);
            text-shadow: 0 0 30px rgba(200, 100, 255, 0.1);
        }
        .home-scroll-hint {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            max-width: 300px;
            height: 1px;
            background: linear-gradient(90deg, transparent, #c084fc, #f0a6ff, transparent);
            opacity: 0;
        }

        /* ===== 介绍 ===== */
        #intro .section-inner {
            justify-content: center;
            max-width: 900px;
            margin: 0 auto;
        }
        #intro h2 {
            font-size: 2rem;
            font-weight: 500;
            letter-spacing: 2px;
            margin-bottom: 24px;
            color: #fff;
        }
        #intro p {
            font-size: 1rem;
            line-height: 2;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 300;
            margin-bottom: 16px;
        }
        #intro p strong {
            color: #f0e6ff;
            font-weight: 400;
        }

        /* ===== 碎碎念 ===== */
        .musings-section {
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 24px;
        }
        .musings-section h3 {
            font-size: 1.2rem;
            font-weight: 400;
            color: #fff;
            letter-spacing: 2px;
            margin-bottom: 16px;
        }
        .musing-item {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            cursor: pointer;
            transition: all 0.3s;
        }
        .musing-item .musing-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            font-weight: 400;
            color: #d4c8ff;
            letter-spacing: 0.5px;
        }
        .musing-item .musing-title .arrow {
            transition: transform 0.3s;
            color: rgba(255, 255, 255, 0.2);
            font-size: 1.2rem;
        }
        .musing-item.open .musing-title .arrow {
            transform: rotate(90deg);
        }
        .musing-item .musing-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.85rem;
            line-height: 1.7;
            font-weight: 300;
        }
        .musing-item.open .musing-body {
            max-height: 300px;
            padding-top: 10px;
        }
        .musing-item .musing-num {
            color: rgba(255, 255, 255, 0.1);
            font-size: 0.7rem;
            margin-right: 12px;
        }

        /* ===== 作品页 ===== */
        #works {
            display: block;
            padding: 0;
            min-height: 100vh;
        }
                #works .section-inner {
            /* 忽略继承自 .page-section .section-inner 的 max-width:1400px，
               让每个作品分类横向展示容器占满主内容区域（延伸至右边界，消除右侧空白） */
            max-width: none;
            padding: 40px 60px 40px calc(60px + 220px);
            height: auto;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        /* 分类区块 — 自然高度堆叠 */
        .works-category-block {
            margin-bottom: 56px;
            width: 100%;
        }
        .works-category-block:last-child {
            margin-bottom: 0;
        }
        .category-header {
            display: flex;
            align-items: baseline;
            gap: 16px;
            margin-bottom: 16px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(200, 100, 255, 0.08);
        }
        .category-header h3 {
            font-size: 1.4rem;
            font-weight: 500;
            color: #fff;
            letter-spacing: 2px;
        }
        .category-header .count-badge {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.2);
            letter-spacing: 1px;
            background: rgba(255, 255, 255, 0.04);
            padding: 2px 10px;
            border-radius: 20px;
        }

                /* ===== 横向作品浏览 ===== */
        .horizontal-scroll {
            position: relative;
            width: 100%;
        }
        .horizontal-track {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 4px 2px 18px 2px;
            margin: 0 -2px;
            scrollbar-width: none;
            -ms-overflow-style: none;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
        }
                .horizontal-track::-webkit-scrollbar {
            display: none;
        }
        /* 桌面不启用 scroll-snap（用滑块/按钮精确控制，更顺滑）；手机端在 768 断点启用全幅吸附 */

                /* ===== 作品卡片 — 1:1 正方形 / 固定尺寸横向排列 ===== */
                .work-card {
                    flex: 0 0 260px;
                    aspect-ratio: 1 / 1;
                    border-radius: 12px;
                    overflow: hidden;
                    position: relative;
                    cursor: pointer;
                    background: #15101e;
                    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
                    scroll-snap-align: center;
                }
        @media (hover: hover) {
            .work-card {
                transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1), box-shadow 0.3s;
                will-change: transform;
            }
            .work-card:hover {
                transform: translateY(-4px) scale(1.02);
                box-shadow: 0 20px 40px rgba(200, 100, 255, 0.2);
            }
        }
        .work-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #1a1a2a;
        }
        .work-card .card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 16px 16px 14px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
            pointer-events: none;
        }
        .work-card .card-title {
            font-size: 0.95rem;
            font-weight: 500;
            color: #fff;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
                .work-card .card-date {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.5px;
            margin-top: 2px;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        }

        /* ===== 横向滚动控制：左右按钮 + 底部滑块 ===== */
        .scroll-controls {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 100%;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 8px;
            z-index: 2;
        }
        .scroll-btn {
            pointer-events: auto;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 1px solid rgba(200, 100, 255, 0.3);
            background: rgba(10, 10, 10, 0.65);
            backdrop-filter: blur(4px);
            color: #f0e6ff;
            font-size: 1.3rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s, background 0.3s, border-color 0.3s, transform 0.2s;
        }
        .horizontal-scroll:hover .scroll-btn {
            opacity: 1;
        }
        .scroll-btn:hover {
            background: rgba(200, 100, 255, 0.3);
            border-color: #f0a6ff;
            transform: scale(1.06);
        }
        @media (hover: none) {
            .scroll-btn {
                display: none;
            }
        }

        /* ===== 底部拖动滑块（电脑端） ===== */
        .hscroll-bar {
            position: relative;
            width: 100%;
            height: 18px;
            margin-top: 2px;
            cursor: pointer;
            touch-action: none;
        }
        .hscroll-bar-track {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 4px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }
        .hscroll-bar-thumb {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            height: 7px;
            min-width: 44px;
            border-radius: 7px;
            background: linear-gradient(90deg, #c084fc, #f0a6ff);
            box-shadow: 0 0 12px rgba(200, 100, 255, 0.5);
            left: 0;
        }
        @media (hover: none) {
            .hscroll-bar {
                display: none;
            }
        }

        /* ===== 联系 ===== */
        #contact .section-inner {
            justify-content: center;
            max-width: 600px;
            margin: 0 auto;
        }
        #contact h2 {
            font-size: 2rem;
            font-weight: 500;
            letter-spacing: 2px;
            margin-bottom: 24px;
            color: #fff;
        }
        #contact p {
            font-size: 0.95rem;
            line-height: 2.2;
            color: rgba(255, 255, 255, 0.4);
        }
        #contact a {
            color: #c084fc;
            text-decoration: none;
            transition: color 0.2s;
        }
        #contact a:hover {
            color: #f0a6ff;
        }

        /* ===== 详情浮窗 ===== */
        .detail-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(5, 2, 15, 0.92);
            backdrop-filter: blur(24px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0s 0.35s;
            padding: 20px;
        }
        .detail-overlay.active {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.35s ease;
        }
        .detail-container {
            background: rgba(20, 12, 35, 0.95);
            border-radius: 24px;
            max-width: 1100px;
            width: 100%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(200, 100, 255, 0.15);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
        }
        .detail-main {
            display: flex;
            flex: 1;
            min-height: 0;
        }
        .detail-image-wrap {
            flex: 1.4;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            min-height: 300px;
            padding: 20px;
        }
        .detail-image-wrap img {
            max-width: 100%;
            max-height: 60vh;
            object-fit: contain;
            width: auto;
            height: auto;
            border-radius: 8px;
        }
        .detail-info {
            flex: 0.8;
            padding: 36px 32px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 12px;
            overflow-y: auto;
            min-width: 200px;
            position: relative;
            background: rgba(10, 10, 10, 0.4);
        }
        .detail-info .close-btn {
            position: absolute;
            top: 16px;
            right: 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .detail-info .close-btn:hover {
            background: rgba(200, 100, 255, 0.3);
            transform: rotate(90deg);
        }
        .detail-info h2 {
            font-size: 1.6rem;
            font-weight: 500;
            color: #fff;
            letter-spacing: 1px;
            padding-right: 40px;
        }
        .detail-info .detail-date {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.25);
            letter-spacing: 1px;
            margin-top: -4px;
        }
        .detail-info .detail-desc {
            font-size: 0.95rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 300;
            margin-top: 4px;
        }
        /* 电脑端：作品介绍默认只显示约 2 行，超出折叠并显示「展开 / 收起」按钮。
           手机端保持原样（完整展示，由抽屉承载滚动），故用 min-width 断点限定。 */
        @media (min-width: 769px) {
            .detail-info .detail-desc.desc-clamp {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .detail-info .detail-desc.desc-clamp.expanded {
                display: block;
                -webkit-line-clamp: unset;
                overflow: visible;
            }
            .desc-toggle-btn {
                display: inline-flex;
                align-items: center;
                gap: 5px;
                margin-top: 6px;
                background: none;
                border: none;
                padding: 2px 4px;
                color: #c084fc;
                font-size: 0.78rem;
                font-family: inherit;
                font-weight: 400;
                letter-spacing: 0.5px;
                cursor: pointer;
                align-self: flex-start;
                transition: color 0.2s;
            }
            .desc-toggle-btn:hover {
                color: #f0a6ff;
            }
            .desc-toggle-btn::after {
                content: '▾';
                font-size: 0.7rem;
                transition: transform 0.25s;
            }
            .desc-toggle-btn.expanded::after {
                content: '▴';
            }
        }
        .detail-info .detail-link {
            display: inline-block;
            margin-top: 12px;
            padding: 8px 24px;
            background: linear-gradient(90deg, #c084fc, #f0a6ff);
            border-radius: 30px;
            color: #0a0a0a;
            font-weight: 600;
            font-size: 0.8rem;
            text-decoration: none;
            align-self: flex-start;
            transition: transform 0.2s;
        }
        .detail-info .detail-link:hover {
            transform: scale(1.04);
        }

        .detail-thumbs {
            display: flex;
            gap: 8px;
            padding: 12px 20px 16px;
            background: rgba(0, 0, 0, 0.3);
            flex-shrink: 0;
            justify-content: center;
            flex-wrap: wrap;
        }
        .detail-thumb {
            width: 60px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
            opacity: 0.5;
        }
        .detail-thumb.active {
            border-color: #f0a6ff;
            opacity: 1;
        }
        .detail-thumb:hover {
            opacity: 0.8;
        }

        .detail-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: rgba(0, 0, 0, 0.5);
            border: none;
            border-radius: 50%;
            color: #fff;
            font-size: 1.4rem;
            cursor: pointer;
            transition: 0.2s;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .detail-arrow:hover {
            background: rgba(200, 100, 255, 0.6);
        }
        .detail-arrow.left {
            left: 12px;
        }
        .detail-arrow.right {
            right: 12px;
        }
        .detail-arrow.hidden {
            display: none;
        }

                /* ===== 响应式 ===== */
                @media (max-width: 1024px) {
                    .horizontal-track {
                        gap: 16px;
                    }
                    .work-card {
                        flex-basis: 220px;
                    }
                }
                @media (max-width: 768px) {
            .topbar {
                display: flex;
            }
            .page-section {
                padding: 20px 16px 20px 16px;
            }
            #works .section-inner {
                padding: 20px 16px 20px 16px;
            }
            .sidebar {
                display: none;
            }
            .sidebar.open {
                transform: translateX(0%);
            }
            .home-logo-img {
                width: 120px;
            }
            .home-brand-text {
                font-size: 2rem;
                white-space: normal;
            }
                        .home-logo-wrapper {
                gap: 16px;
                flex-direction: column;
                transform: none;
            }
            .home-slogan {
                font-size: 0.7rem;
                letter-spacing: 4px;
                color: rgba(255, 255, 255, 0.6);
            }
                                    /* 手机端：全幅横滑 + 吸附，封面占屏约 80-90% */
            .horizontal-track {
                scroll-snap-type: x mandatory;
                gap: 12px;
            }
            .work-card {
                flex-basis: 82%;
                scroll-snap-align: center;
            }
            .scroll-btn,
            .hscroll-bar {
                display: none;
            }
                        .home-content {
                            padding: 24px 16px;
                        }
            .detail-container {
                max-height: 96vh;
                border-radius: 16px;
            }
            .detail-main {
                flex-direction: column;
            }
            .detail-image-wrap {
                min-height: 0;
                flex: 0 0 auto;
                padding: 8px;
            }
            .detail-image-wrap img {
                max-height: 30vh;
            }
            /* 移动端：信息区改为纵向 flex，让评论区占据剩余空间独立滚动，
               输入框固定底部，杜绝评论区被压成一条缝的情况。 */
            .detail-info {
                flex: 1 1 auto;
                min-height: 0;
                justify-content: flex-start;
                gap: 10px;
                padding: 14px 14px 10px;
                overflow: hidden;
            }
            .detail-info h2 {
                font-size: 1.25rem;
                padding-right: 28px;
            }
            /* 移动端：抽屉外的 detail-comments 仅为「桌面端内嵌区」，手机端隐藏（评论在抽屉 body 里展示） */
            .detail-comments {
                display: none;
            }
            /* 移动端：抽屉的独立评论容器占满抽屉剩余高度并独立滚动，输入框固定在底部 */
            .comment-drawer-body {
                display: flex;
                flex-direction: column;
                gap: 14px;
                flex: 1 1 auto;
                min-height: 0;
                max-height: none;
                overflow-y: auto;
                padding-bottom: 10px;
            }
            .comment-input-row {
                flex-shrink: 0;
                margin-top: 10px;
            }
            /* 移动端：回复框换行——@ 昵称独占一行，输入框与发送按钮换到下一行，
               保证发送按钮始终可见、可点。 */
            .reply-box {
                flex-wrap: wrap;
            }
            .reply-at {
                flex-basis: 100%;
                max-width: 100%;
            }
            .reply-input {
                flex: 1 1 auto;
                min-width: 0;
            }
            .detail-thumb {
                width: 44px;
                height: 30px;
            }
            #intro h2,
            #contact h2 {
                font-size: 1.5rem;
            }
            #intro p {
                font-size: 0.9rem;
            }
            /* ---- 手机端：评论抽屉（底部滑出） ---- */
            .comment-drawer {
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 2200;
                height: 78vh;
                max-height: 78vh;
                background: rgba(18, 12, 30, 0.93);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                border-top-left-radius: 16px;
                border-top-right-radius: 16px;
                padding: 8px 16px 16px;
                transform: translateY(100%);
                transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
                box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.6);
                overflow: hidden;
            }
            .comment-drawer.open {
                transform: translateY(0);
            }
            .comment-drawer .drawer-handle {
                display: block;
                width: 40px;
                height: 4px;
                border-radius: 4px;
                background: rgba(255, 255, 255, 0.22);
                margin: 6px auto 12px;
                flex-shrink: 0;
            }
            /* 个人主页 & 裁切（原底部补充断点，合并于此） */
            .profile-form-grid {
                grid-template-columns: 1fr;
            }
            .crop-stage {
                width: 240px;
                height: 240px;
            }
            #ftnReplyHint {
                left: 12px;
                right: 12px;
                bottom: 12px;
                max-width: none;
            }
        }

                @media (max-width: 480px) {
                    .horizontal-track {
                        gap: 10px;
                    }
                    .work-card {
                        flex-basis: 88%;
                    }
                    .page-section {
                padding: 12px 8px 12px 8px;
            }
            #works .section-inner {
                padding: 12px 8px 12px 8px;
            }
            .home-logo-img {
                width: 90px;
            }
            .home-brand-text {
                font-size: 1.6rem;
                letter-spacing: 4px;
            }
            .detail-thumb {
                width: 36px;
                height: 24px;
            }
                        .detail-arrow {
                width: 28px;
                height: 28px;
                font-size: 1rem;
            }
        }

        /* ============ 登录 / 用户系统 / 点赞 / 评论 / 个人主页 ============ */

        /* ---- 通用输入按钮 ---- */
        .btn {
            padding: 9px 18px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            font-size: 0.85rem;
            font-family: inherit;
            letter-spacing: 0.5px;
            transition: all 0.25s;
        }
        .btn-primary {
            background: linear-gradient(90deg, #c084fc, #f0a6ff);
            color: #0a0a0a;
            font-weight: 500;
        }
        .btn-primary:hover { transform: scale(1.02); box-shadow: 0 0 18px rgba(200,100,255,0.3); }
        .btn-ghost {
            background: rgba(255,255,255,0.05);
            color: rgba(255,255,255,0.7);
            border: 1px solid rgba(255,255,255,0.08);
        }
        .btn-ghost:hover { background: rgba(200,100,255,0.12); color: #f0e6ff; }
        .btn-sm { padding: 5px 12px; font-size: 0.72rem; border-radius: 8px; }

        /* ---- 顶部用户区（桌面侧边栏） ---- */
        .user-area {
            padding: 10px 6px;
            border-top: 1px solid rgba(255,255,255,0.08);
            margin-top: 8px;
        }
        .user-area .btn { width: 100%; margin-bottom: 8px; }
        .user-chip {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px;
            border-radius: 10px;
        }
        .user-avatar {
            width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
            background: rgba(200,100,255,0.18); color: #e2d4ff;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.9rem; font-weight: 500;
        }
        .user-chip .u-name { font-size: 0.85rem; color: #f0e6ff; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .user-chip .u-hint { font-size: 0.6rem; color: rgba(255,255,255,0.3); }

                /* ---- 手机端顶栏用户按钮 ---- */
        .topbar-user { display: flex; align-items: center; height: 100%; }
        .topbar-user .topbar-item { display: flex; align-items: center; gap: 6px; }
        #topbarProfileBtn {
            padding: 0; line-height: 0;
            width: 34px; height: 34px;
            display: flex;
            align-self: center;
            align-items: center; justify-content: center;
        }
        .topbar-avatar {
            width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
            background: rgba(200,100,255,0.2); color:#e2d4ff;
            display:flex; align-items:center; justify-content:center;
            font-size:0.7rem; line-height:0;
        }

        /* ---- 登录弹窗 ---- */
        .auth-overlay {
            position: fixed; inset: 0; z-index: 3000;
            background: rgba(5,2,15,0.88); backdrop-filter: blur(12px);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden;
            transition: opacity 0.3s ease, visibility 0s 0.3s;
            padding: 20px;
        }
        .auth-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
        .auth-box {
            width: 380px; max-width: 100%; max-height: 92vh; overflow-y: auto;
            background: rgba(20,12,35,0.96); border: 1px solid rgba(200,100,255,0.2);
            border-radius: 20px; padding: 32px 28px; position: relative;
            box-shadow: 0 40px 80px rgba(0,0,0,0.7);
        }
        .auth-close {
            position: absolute; top: 14px; right: 16px; background:none; border:none;
            color: rgba(255,255,255,0.4); font-size: 1.4rem; cursor: pointer; transition: 0.2s;
        }
        .auth-close:hover { color:#f0e6ff; transform: rotate(90deg); }
        .auth-title { font-size: 1.4rem; font-weight: 500; color: #f0e6ff; margin-bottom: 6px; letter-spacing: 1px; }
        .auth-sub { font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-bottom: 22px; }
        .auth-field { margin-bottom: 14px; }
        .auth-field label { display:block; font-size:0.7rem; color: rgba(255,255,255,0.45); margin-bottom:5px; letter-spacing:0.5px; }
        .auth-field input {
            width:100%; padding: 11px 14px; background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color:#f0f0f0;
            font-size:0.9rem; font-family:inherit; transition: border 0.2s;
        }
        .auth-field input:focus { outline:none; border-color:#c084fc; }
        .captcha-row { display:flex; gap:10px; align-items:center; }
        .captcha-row input { flex:1; }
        .captcha-img { height: 40px; border-radius: 8px; cursor:pointer; border:1px solid rgba(255,255,255,0.1); width:110px; object-fit:cover; }
        .auth-error { color:#ff6b6b; font-size:0.75rem; min-height:18px; margin-bottom:8px; }
        .auth-err-inline { color:#ff6b6b; font-size:0.7rem; margin-top:4px; }
        .auth-switch { text-align:center; margin-top:14px; font-size:0.8rem; color:rgba(255,255,255,0.4); }
        .auth-switch a { color:#c084fc; cursor:pointer; text-decoration:none; }
        .auth-switch a:hover { color:#f0a6ff; }
        .auth-submit { width:100%; margin-top:4px; }

        /* ---- 个人主页 ---- */
        .profile-open-container { display:flex; justify-content:flex-end; margin-bottom: 8px; }
        #profile {
            min-height: 60vh; align-items: flex-start; padding-top: 56px;
        }
        .profile-card {
            width: 100%; max-width: 680px; margin: 0 auto;
            background: rgba(20,12,35,0.6); border:1px solid rgba(200,100,255,0.12);
            border-radius: 20px; padding: 30px;
        }
        .profile-head { display:flex; align-items:center; gap:18px; margin-bottom: 20px; flex-wrap:wrap; }
        .profile-avatar {
            width: 74px; height: 74px; border-radius: 50%; object-fit: cover; flex-shrink:0;
            background: rgba(200,100,255,0.2); color:#e2d4ff; font-size:1.8rem;
            display:flex; align-items:center; justify-content:center;
        }
        .profile-meta { flex:1; min-width: 160px; }
        .profile-name { font-size: 1.3rem; font-weight: 500; color:#fff; letter-spacing:0.5px; }
        .profile-email { font-size:0.75rem; color: rgba(255,255,255,0.35); margin-top:3px; }
        .profile-role { display:inline-block; margin-left:8px; font-size:0.6rem; padding:2px 8px; border-radius:10px;
            background: rgba(200,100,255,0.18); color:#c084fc; letter-spacing:0.5px; vertical-align: middle; }
        /* 昵称 / 头像「审核中」小标签（橙色，区别于身份与警告） */
        .profile-pending { display:inline-block; margin-left:8px; font-size:0.6rem; padding:2px 8px; border-radius:10px;
            background: rgba(255,170,60,0.16); color:#ffb84d; letter-spacing:0.5px; vertical-align: middle; }
        .profile-warning {
            background: rgba(255,180,60,0.1); border:1px solid rgba(255,180,60,0.25);
            color:#ffb84d; padding:10px 14px; border-radius:10px; font-size:0.8rem; margin-bottom:20px; line-height:1.6;
        }
        .warn-ack-btn {
            display: inline-block; margin-top: 8px; cursor: pointer;
            color: #fff; background: rgba(255,180,60,0.25); border: 1px solid rgba(255,180,60,0.5);
            padding: 5px 12px; border-radius: 8px; font-size: 0.74rem; letter-spacing: 0.5px;
            transition: all 0.2s;
        }
        .warn-ack-btn:hover { background: rgba(255,180,60,0.4); }
        .profile-stat-row { display:flex; gap:12px; margin-bottom: 22px; flex-wrap:wrap; }
        .profile-stat { flex:1; min-width:80px; background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06);
            border-radius: 12px; padding: 12px; text-align:center; }
        .profile-stat .n { font-size:1.4rem; font-weight:500; color:#f0e6ff; }
        .profile-stat .l { font-size:0.66rem; color:rgba(255,255,255,0.35); letter-spacing:1px; margin-top:2px; }
        .profile-sub { font-size:0.95rem; font-weight:500; color:#f0e6ff; margin: 22px 0 10px; letter-spacing:1px;
            padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.08); }
        .profile-form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .profile-form-grid .full { grid-column: 1 / -1; }
        .profile-liked-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap:10px; }
        .profile-liked-card { border-radius:10px; overflow:hidden; cursor:pointer; position:relative;
            background:#15101e; aspect-ratio:1/1; border:1px solid transparent; transition: 0.25s; }
        .profile-liked-card:hover { border-color:#c084fc; transform: translateY(-2px); }
        .profile-liked-card img { width:100%; height:100%; object-fit:cover; }
        .profile-liked-card .t { position:absolute; bottom:0; left:0; right:0; font-size:0.6rem; color:#fff;
            padding:4px 6px; background:linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
        .profile-comment-item { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size:0.82rem; }
        .profile-comment-item .w { color:#e2d4ff; transition: 0.2s; cursor:pointer; }
        .profile-comment-item .w:hover { color:#f0a6ff; }
        .profile-comment-item .c { color:rgba(255,255,255,0.6); line-height:1.6; margin-top:4px; }
        .profile-comment-item .d { color:rgba(255,255,255,0.2); font-size:0.68rem; margin-top:4px; }
        .empty-note { color: rgba(255,255,255,0.25); font-size:0.82rem; }

        /* ---- 详情浮窗：点赞 & 评论区 ---- */
        .detail-actions { display:flex; align-items:center; gap:14px; margin-top: 14px; flex-wrap: wrap; }
        .like-btn {
            display:inline-flex; align-items:center; gap:8px; padding: 9px 20px; border-radius:30px;
            border:1px solid rgba(200,100,255,0.3); background: rgba(200,100,255,0.08); color:#c084fc;
            cursor:pointer; font-size:0.85rem; font-family:inherit; transition: all 0.25s;
        }
        .like-btn:hover { background: rgba(200,100,255,0.2); border-color:#f0a6ff; }
        .like-btn.liked { background: linear-gradient(90deg,#c084fc,#f0a6ff); color:#0a0a0a; border-color:transparent; font-weight:600; }
        .like-btn.liked:hover { box-shadow: 0 0 18px rgba(240,166,255,0.4); }
        .like-count { font-variant-numeric: tabular-nums; }
        .comment-toggle {
            display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:30px;
            border:1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7);
            cursor:pointer; font-size:0.8rem; font-family:inherit; transition: 0.25s;
        }
        .comment-toggle:hover { background: rgba(255,255,255,0.1); color:#fff; }
        .detail-comments {
            border-top: 1px solid rgba(255,255,255,0.08); margin-top: 18px; padding-top: 16px;
            max-height: 40vh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px;
        }
        .comments-empty { color:rgba(255,255,255,0.25); font-size:0.8rem; text-align:center; }
        .comment-box { display:flex; gap:12px; }
        .comment-avatar { width:34px; height:34px; border-radius:50%; object-fit:cover; flex-shrink:0;
            background:rgba(200,100,255,0.15); color:#e2d4ff; display:flex; align-items:center; justify-content:center;
            font-size:0.75rem; }
        .comment-body { flex:1; min-width:0; }
        .comment-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
        .comment-author { font-size:0.8rem; color:#e2d4ff; font-weight:500; }
        .comment-time { font-size:0.65rem; color:rgba(255,255,255,0.2); }
        .comment-text { font-size:0.82rem; color:rgba(255,255,255,0.65); line-height:1.6; margin-top:4px; word-break:break-word; }
        .comment-actions { display:flex; gap:12px; margin-top:6px; }
        .comment-actions button { background:none; border:none; color:rgba(255,255,255,0.4); font-size:0.7rem;
            cursor:pointer; padding:0; transition: 0.2s; font-family:inherit; }
        .comment-actions button:hover { color:#f0a6ff; }
        /* 二级回复：折叠容器（默认收起，点击切换展开） */
        .comment-replies-wrap {
            margin: 8px 0 0 18px; padding-left: 12px;
            border-left: 2px solid rgba(200,100,255,0.15);
        }
        .comment-replies-list .comment-box + .comment-box { margin-top: 12px; }
        .comment-replies-toggle {
            display: inline-flex; align-items: center; gap: 4px; margin-top: 8px;
            background: rgba(200,100,255,0.08); color: #c084fc; border: 1px solid rgba(200,100,255,0.2);
            border-radius: 14px; padding: 4px 14px; font-size: 0.72rem; font-family: inherit;
            cursor: pointer; letter-spacing: 0.3px; transition: all 0.2s;
        }
        .comment-replies-toggle:hover { background: rgba(200,100,255,0.16); color: #f0a6ff; }
        .comment-replies-toggle::before { content: '▸'; margin-right: 2px; font-size: 0.7rem; transition: transform 0.2s; }
        .comment-replies-toggle.open::before { content: '▾'; }
        /* @前缀（二级回复被回复时，抖音式展示，仅样式无跳转） */
        .comment-at { color: #c084fc; font-weight: 500; }
        /* 回复框：单行排布（@ + 输入 + 发送）。@ 与输入都允许被压缩（min-width:0），
           发送按钮固定不被挤出，杜绝发送键需横向拖动才可见的情况。 */
        .reply-box {
            display: flex; flex-wrap: nowrap; gap: 8px;
            align-items: center; margin-top: 8px; width: 100%; min-width: 0;
        }
        .reply-at {
            color: #c084fc; font-size: 0.78rem; font-weight: 500;
            flex: 0 1 auto; max-width: 36%;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .reply-input {
            flex: 1 1 auto; min-width: 0;
            padding: 9px 12px; background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
            color: #f0f0f0; font-size: 0.78rem; font-family: inherit;
        }
        .reply-input:focus { outline: none; border-color: #c084fc; }
        .reply-box .btn { flex: 0 0 auto; white-space: nowrap; }
        .comment-input-row { display:flex; gap:10px; align-items:flex-start; margin-top: 16px; }
        .comment-input-row textarea { flex:1; padding:10px 12px; background:rgba(255,255,255,0.05);
            border:1px solid rgba(255,255,255,0.1); border-radius:10px; color:#f0f0f0; font-size:0.8rem;
            font-family:inherit; resize:none; min-height:40px; }
        .comment-input-row textarea:focus { outline:none; border-color:#c084fc; }

        /* ---- 评论抽屉（桌面端：内嵌于详情右侧；手机端：底部滑出） ---- */
        /* 注意：全局 .comment-drawer 若保留 position:relative / flex:1 1 auto，
           会因「CSS 顺序靠后 + 同优先级」覆盖掉上方 @media(max-width:768px) 里的
           position:fixed，导致抽屉被 JS 挪到 body 后失去固定定位与高度而不可见。
           故全局仅保留 flex 布局，桌面端专属的填充/相对定位放进 @media(min-width:769px)。 */
        .comment-drawer {
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        /* 桌面端：内嵌于详情右侧，铺满剩余高度并相对容器定位 */
        @media (min-width: 769px) {
            .comment-drawer {
                flex: 1 1 auto;
                position: relative;
            }
        }
        .comment-drawer .drawer-handle {
            display: none;
        }
        /* 抽屉内的独立评论容器：桌面端隐藏（评论走抽屉外的 #detailComments 内嵌区），
           手机端由抽屉承载并滚动展示。 */
        .comment-drawer-body {
            display: none;
        }
        /* 手机端半透明遮罩（桌面端恒隐藏，零影响） */
        .comment-mask {
            position: fixed;
            inset: 0;
            z-index: 2100;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.3s ease, visibility 0s 0.3s;
        }
        .comment-mask.show {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition: opacity 0.3s ease;
        }

                /* ---- 维护站入口（founder/admin）---- */
        .maintain-entry { display:none; }
        .maintain-entry.show { display:block; }

        /* ---- 头像方形裁切弹层 ---- */
        .crop-overlay {
            position: fixed; inset: 0; z-index: 4000;
            background: rgba(5,2,15,0.9); backdrop-filter: blur(10px);
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0s 0.25s;
            padding: 20px;
        }
        .crop-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
        .crop-box {
            background: rgba(20,12,35,0.96); border: 1px solid rgba(200,100,255,0.2);
            border-radius: 18px; padding: 20px; width: 380px; max-width: 100%;
        }
        .crop-stage {
            position: relative; width: 280px; height: 280px; margin: 0 auto; overflow: hidden;
            border-radius: 14px; background: #000; border: 1px solid rgba(255,255,255,0.12);
        }
        .crop-stage img {
            position: absolute; top: 0; left: 0; width: auto; height: auto;
            transform-origin: center center; cursor: grab; user-select: none;
            -webkit-user-drag: none;
            max-width: none; max-height: none;
        }
        .crop-square {
            position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
            width: 140px; height: 140px; pointer-events: none;
            border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,0.55), 0 0 12px rgba(200,100,255,0.6);
        }
        .crop-zoom { width: 100%; margin: 12px 0 2px; accent-color: #c084fc; }
        .crop-hint { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-align:center; margin: 6px 0 12px; }
        .crop-actions { display: flex; gap: 10px; justify-content: center; }

        /* ===== 个人主页：被回复高亮 ===== */
        .ftn-work-link { color: #c084fc; text-decoration: none; cursor: pointer; transition: color 0.2s; }
        .ftn-work-link:hover { color: #f0a6ff; text-decoration: underline; }
        .ftn-replier { color: #f0e6ff; font-weight: 500; }
        .ftn-my-replies-block { border-left: 0 solid transparent; }

        /* ---- 被回复消息流（类抖音消息） ---- */
        .profile-msg-item {
            display: flex; align-items: flex-start; gap: 12px;
            padding: 12px 8px; cursor: pointer;
            border-radius: 10px; transition: background 0.2s;
        }
        .profile-msg-item:hover { background: rgba(200,100,255,0.07); }
        .profile-msg-avatar {
            width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
            background: rgba(200,100,255,0.18); color:#e2d4ff; font-size:0.85rem;
            display:flex; align-items:center; justify-content:center;
        }
        .profile-msg-body { flex:1; min-width:0; }
        .profile-msg-title { font-size:0.88rem; color:#f0e6ff; line-height:1.4; }
        .profile-msg-title b { color:#f0a6ff; font-weight:500; }
        .profile-msg-where { font-size:0.7rem; color:rgba(255,255,255,0.38); margin-top:2px; }
        .profile-msg-reply {
            font-size:0.8rem; color:rgba(255,255,255,0.68); line-height:1.6; margin-top:4px;
            display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
        }
        .profile-msg-time { font-size:0.65rem; color:rgba(255,255,255,0.24); margin-top:4px; }
        .profile-msg-item + .profile-msg-item { border-top: 1px solid rgba(255,255,255,0.05); }

        /* ---- 评论区定位高亮 ---- */
        .comment-box.comment-focus {
            animation: ftnCommentPulse 2.4s ease;
            border-radius: 10px;
        }
        @keyframes ftnCommentPulse {
            0%   { background: rgba(200,100,255,0.35); box-shadow: 0 0 0 2px rgba(200,100,255,0.6); }
            60%  { background: rgba(200,100,255,0.20); box-shadow: 0 0 0 2px rgba(200,100,255,0.35); }
            100% { background: transparent; box-shadow: 0 0 0 2px transparent; }
        }

        /* 被回复标题上的低调小红点（表示有新回复） */
        .ftn-reply-dot {
            display: inline-block; width: 8px; height: 8px; border-radius: 50%;
            background: #ff5c5c; margin-left: 7px; vertical-align: middle;
            box-shadow: 0 0 6px rgba(255,92,92,0.7);
        }

        /* 列表「展开 / 收起」小按钮 */
        .ftn-more {
            display: block; width: 100%; margin-top: 10px; padding: 8px 0;
            background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
            border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
            font-size: 0.75rem; font-family: inherit; letter-spacing: 0.5px;
            cursor: pointer; transition: all 0.2s; text-align: center;
        }
        .ftn-more:hover { background: rgba(200,100,255,0.12); color: #f0e6ff; }

        /* ===== 创始人管理员操作（他人主页：拉黑 / 注销） ===== */
        .ftn-admin-actions {
            display: flex; flex-direction: column; gap: 8px;
        }
        .ftn-btn {
            padding: 9px 16px; border-radius: 10px; border: 1px solid transparent;
            cursor: pointer; font-size: 0.83rem; font-family: inherit;
            transition: all 0.25s; letter-spacing: 0.5px; width: 100%; text-align: center;
        }
        .ftn-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .ftn-btn-outline {
            background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.8);
            border-color: rgba(255,255,255,0.12);
        }
        .ftn-btn-outline:hover { background: rgba(200,100,255,0.12); color: #f0e6ff; }
        .ftn-btn-danger {
            background: rgba(255,90,90,0.1); color: #ff6b6b; border-color: rgba(255,90,90,0.3);
        }
        .ftn-btn-danger:hover { background: rgba(255,90,90,0.2); }
        .ftn-btn-warn {
            background: rgba(255,170,60,0.12); color: #ffb84d; border-color: rgba(255,170,60,0.35);
        }
        .ftn-btn-warn:hover { background: rgba(255,170,60,0.22); }

        /* ===== 被回复全局提示气泡 ===== */
        #ftnReplyHint {
            position: fixed; right: 20px; bottom: 24px; z-index: 5200;
            max-width: 320px; padding: 13px 40px 13px 16px; cursor: pointer;
            background: rgba(20,12,35,0.95); border: 1px solid rgba(200,100,255,0.35);
            border-radius: 12px; color: #f0e6ff; font-size: 0.85rem; line-height: 1.5;
            box-shadow: 0 12px 30px rgba(0,0,0,0.6); backdrop-filter: blur(8px);
            opacity: 0; transform: translateY(16px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        #ftnReplyHint.show { opacity: 1; transform: translateY(0); }
        #ftnReplyHint:hover { border-color: #f0a6ff; }
        .ftn-reply-hint-close {
            position: absolute; top: 8px; right: 10px;
            color: rgba(255,255,255,0.4); font-size: 0.9rem; line-height: 1;
        }
        .ftn-reply-hint-close:hover { color: #fff; }

        /* ================================================================
           诗集（任务2）
           ================================================================ */

        /* ---- 诗集卡片（与其他作品卡片同一视觉语言） ---- */
        .poetry-category-block { margin-bottom: 56px; width: 100%; }
        .poem-card {
            flex: 0 0 260px;
            aspect-ratio: 1 / 1;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            background: #15101e;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            scroll-snap-align: center;
        }
        @media (hover: hover) {
            .poem-card {
                transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1), box-shadow 0.3s;
                will-change: transform;
            }
            .poem-card:hover {
                transform: translateY(-4px) scale(1.02);
                box-shadow: 0 20px 40px rgba(200, 100, 255, 0.2);
            }
        }
        .poem-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #1a1a2a;
        }
        .poem-card .card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 16px 16px 14px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
            pointer-events: none;
        }
        .poem-card .card-title {
            font-size: 0.95rem;
            font-weight: 500;
            color: #fff;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .poem-card .card-date {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 0.5px;
            margin-top: 2px;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
        }
        .poem-card .card-count {
            font-size: 0.62rem;
            color: rgba(255, 255, 255, 0.45);
            letter-spacing: 0.5px;
            margin-top: 2px;
        }

        /* ---- 诗集目录浮窗 ---- */
        .poem-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(5, 2, 15, 0.92);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0s 0.35s;
            padding: 20px;
        }
        .poem-overlay.active {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.35s ease;
        }
        .poem-catalog {
            background: rgba(20, 12, 35, 0.96);
            border-radius: 20px;
            border: 1px solid rgba(200, 100, 255, 0.15);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
            width: 520px;
            max-width: 100%;
            max-height: 86vh;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
        }
        .poem-catalog .close-btn {
            position: absolute; top: 14px; right: 16px; z-index: 2;
            background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff; width: 34px; height: 34px; border-radius: 50%;
            font-size: 1.1rem; cursor: pointer; transition: 0.3s;
            display: flex; align-items: center; justify-content: center;
        }
        .poem-catalog .close-btn:hover { background: rgba(200, 100, 255, 0.3); transform: rotate(90deg); }
        .poem-catalog-head {
            padding: 26px 24px 16px; border-bottom: 1px solid rgba(255,255,255,0.08);
            display: flex; gap: 18px; align-items: flex-end;
        }
        .poem-catalog-head .pcat-cover {
            width: 74px; height: 74px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
            background: #1a1a2a;
        }
        .poem-catalog-head .pcat-meta { flex: 1; min-width: 0; }
        .poem-catalog-head .pcat-name { font-size: 1.3rem; font-weight: 500; color: #fff; letter-spacing: 1px; }
        .poem-catalog-head .pcat-sub { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 4px; }
        .poem-catalog-list { overflow-y: auto; padding: 10px 12px 16px; }
        .poem-cat-item {
            display: flex; align-items: center; gap: 12px; width: 100%;
            padding: 12px 14px; margin: 2px 0; border-radius: 10px; cursor: pointer;
            background: none; border: 1px solid transparent; font-family: inherit;
            color: rgba(255, 255, 255, 0.72); text-align: left; transition: all 0.2s;
        }
        .poem-cat-item:hover { background: rgba(200,100,255,0.1); border-color: rgba(200,100,255,0.25); color: #fff; }
        .poem-cat-item .pcat-num {
            font-size: 0.72rem; color: rgba(255,255,255,0.3); font-variant-numeric: tabular-nums;
            min-width: 30px; flex-shrink: 0;
        }
        .poem-cat-item .pcat-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .poem-cat-item .pcat-year { font-size: 0.72rem; color: rgba(255,255,255,0.3); flex-shrink: 0; }
        .poem-cat-item .pcat-resume { font-size: 0.7rem; color: #c084fc; flex-shrink: 0; }
        .poem-cat-empty { color: rgba(255,255,255,0.25); font-size: 0.82rem; text-align: center; padding: 24px 0; }

        /* ---- 诗集阅读窗口：左正文 + 右互动 ---- */
        .poem-reader {
            width: 960px; max-width: 100%;
            background: rgba(18, 12, 30, 0.97);
            border: 1px solid rgba(200, 100, 255, 0.15);
            border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,0.8);
            display: flex; overflow: hidden; max-height: 88vh; position: relative;
        }
        .poem-reader-left {
            flex: 1.35; min-width: 0; padding: 40px 44px 28px; position: relative;
            display: flex; flex-direction: column; min-height: 0; overflow-y: auto;
        }
        .poem-reader-close {
            position: absolute; top: 16px; right: 18px; z-index: 3;
            background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
            color: #fff; width: 34px; height: 34px; border-radius: 50%;
            font-size: 1.1rem; cursor: pointer; transition: 0.3s;
            display: flex; align-items: center; justify-content: center;
        }
        .poem-reader-close:hover { background: rgba(200,100,255,0.3); transform: rotate(90deg); }
        .poem-reader-title { font-size: 1.5rem; font-weight: 500; color: #fff; letter-spacing: 1px; padding-right: 40px; }
        .poem-reader-meta { font-size: 0.72rem; color: rgba(255,255,255,0.32); margin-top: 8px; letter-spacing: 1px; }
        .poem-reader-body {
            margin-top: 26px; font-size: 1.02rem; line-height: 2.1;
            color: rgba(255, 255, 255, 0.76); font-weight: 300;
            white-space: pre-wrap; word-break: break-word; flex: 1 1 auto;
        }
        .poem-reader-nav {
            display: flex; align-items: center; justify-content: space-between;
            margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
            flex-shrink: 0;
        }
        .poem-reader-nav .pnav-mid { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
        .poem-reader-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }

        .poem-reader-right {
            flex: 0.9; min-width: 0; display: flex; flex-direction: column;
            background: rgba(10, 10, 10, 0.45); border-left: 1px solid rgba(200,100,255,0.12);
            padding: 28px 24px 20px; min-height: 0;
        }
        .poem-like-row { display: flex; justify-content: center; margin-bottom: 18px; }
        .poem-like-btn { font-size: 1rem; }
        .poem-comments-header {
            font-size: 0.82rem; color: rgba(255,255,255,0.5); letter-spacing: 1px;
            padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .poem-comments-header span { color: #f0a6ff; }
        .poem-comments {
            flex: 1 1 auto; overflow-y: auto; min-height: 0;
            display: flex; flex-direction: column; gap: 14px; margin-top: 14px;
            padding-right: 2px;
        }
        .poem-comments .comments-empty { padding: 20px 0; }
        .poem-comments .comment-replies-toggle { margin: 0; }
        .poem-comment-input-row {
            display: flex; gap: 10px; align-items: flex-end; flex-shrink: 0; margin-top: 14px;
        }
        .poem-comment-input-row textarea {
            flex: 1; padding: 10px 12px; background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #f0f0f0;
            font-size: 0.8rem; font-family: inherit; resize: none; min-height: 40px;
        }
        .poem-comment-input-row textarea:focus { outline: none; border-color: #c084fc; }

        /* 诗集响应式 */
        @media (max-width: 768px) {
            .poem-card { flex-basis: 82%; }
            .poem-reader {
                flex-direction: column; max-height: 94vh; border-radius: 14px;
            }
            .poem-reader-left { flex: none; max-height: 60vh; padding: 26px 20px 18px; }
            .poem-reader-right { flex: 1; min-height: 0; border-left: none; border-top: 1px solid rgba(200,100,255,0.12); padding: 18px 16px 14px; }
            .poem-catalog { width: 100%; max-height: 92vh; }
        }
        @media (max-width: 480px) {
            .poem-card { flex-basis: 88%; }
        }

/* ===== 站点页脚（备案信息） ===== */
.site-footer {
    width: 100%;
    padding: 22px 16px 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer a:hover {
    color: rgba(240, 166, 255, 0.7);
}
