        @font-face {
            font-family: "PPLocomotiveNew";
            src: url("../assets/fonts/PPLocomotiveNew-Light.woff") format("woff");
            font-style: normal;
            font-weight: 400;
            font-display: swap;
        }

        @font-face {
            font-family: "QuickingRegular";
            src: url("../assets/fonts/QuickingRegular-gw5KY.otf") format("opentype");
            font-style: normal;
            font-weight: 400;
            font-display: swap;
        }

        @font-face {
            font-family: "PingFangSCLight";
            src: url("../assets/fonts/PingFangSC-Light.ttf") format("truetype");
            font-style: normal;
            font-weight: 300;
            font-display: swap;
        }

        @font-face {
            font-family: "SamsungSharpSans";
            src: url("../assets/fonts/samsungsharpsans.otf") format("opentype");
            font-style: normal;
            font-weight: 400;
            font-display: swap;
        }

        :root {
            --bg-color: #050505;
            --text-main: #ffffff;
            --text-muted: #888888;
            --card-bg: rgba(255, 255, 255, 0.05);
            --card-border: rgba(255, 255, 255, 0.1);
            --card-hover-border: rgba(0, 255, 208, 0.4);
        }

        /* 目录跳转默认平滑；脚本启用后由惯性滚动接管 */
        html {
            scroll-behavior: smooth;
        }

        html.has-momentum-scroll,
        html.has-momentum-scroll body {
            scroll-behavior: auto;
        }

        html.is-preloading {
            overflow: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            margin: 0;
        }

        body.is-preloading {
            overflow: hidden;
        }

        /* ================= 首次进入遮罩：参考 Locomotive 的黑屏预加载 ================= */
        .site-preloader {
            position: fixed;
            inset: 0;
            z-index: 50000;
            display: grid;
            place-items: center;
            background: #000000;
            color: #ffffff;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition: opacity 0.78s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0.78s;
        }

        .site-preloader__brand {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 170px;
        }

        .site-preloader__logo,
        .site-preloader__name {
            opacity: 0;
            will-change: opacity, transform;
        }

        .site-preloader__logo {
            display: block;
            width: clamp(58px, 7vw, 112px);
            height: auto;
            object-fit: contain;
            transform: translateY(18px) scale(0.82);
        }

        .site-preloader__name {
            margin-top: clamp(20px, 2.2vw, 34px);
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-size: clamp(22px, 2.45vw, 44px);
            font-weight: 300;
            line-height: 1;
            letter-spacing: 0.08em;
            transform: translateY(14px);
        }

        .site-preloader.is-intro .site-preloader__logo {
            animation: site-preloader-logo-in 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.04s forwards;
        }

        .site-preloader.is-intro .site-preloader__name {
            animation: site-preloader-name-in 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
        }

        .site-preloader.is-exiting {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .site-preloader.is-exiting .site-preloader__logo,
        .site-preloader.is-exiting .site-preloader__name {
            opacity: 0;
            transform: translateY(-12px) scale(1.04);
            transition: opacity 0.38s ease, transform 0.58s cubic-bezier(0.76, 0, 0.24, 1);
        }

        .site-preloader.is-complete {
            display: none;
        }

        @keyframes site-preloader-logo-in {
            0% { opacity: 0; transform: translateY(18px) scale(0.82); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        @keyframes site-preloader-name-in {
            0% { opacity: 0; transform: translateY(14px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            .site-preloader {
                transition: none;
            }

            .site-preloader__logo,
            .site-preloader__name {
                animation: none !important;
                opacity: 1;
                transform: none;
            }

            .site-preloader.is-exiting .site-preloader__logo,
            .site-preloader.is-exiting .site-preloader__name {
                transition: none;
            }
        }

        /* ----- 背景层：始终只显示当前选择的一个背景 ----- */
        #color-bends-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -10;
            pointer-events: none;
        }

        #home-video-background,
        #home-model-background {
            position: fixed;
            inset: 0;
            width: 100vw;
            height: 100vh;
            z-index: -5;
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.45s ease, visibility 0.45s ease;
        }

        #home-video-background {
            object-fit: cover;
            background: #050505;
            filter: brightness(0.62) saturate(1.08);
        }

        #home-model-background {
            display: block;
            border: 0;
            background: #0a0c14;
            filter: brightness(0.76) saturate(1.04) contrast(1.02);
            transform: scale(1.2);
            transform-origin: center center;
        }

        body.page-mode[data-page="home"] #home-model-background {
            transform: scale(1.2);
        }

        body.page-mode[data-page="home"] main > .home-story {
            display: flex;
            align-items: center;
            min-height: 100svh;
            padding: 100px clamp(24px, 5vw, 80px);
            box-sizing: border-box;
        }

        .home-story--right { justify-content: flex-end; }
        .home-story-copy {
            width: min(100%, 500px);
            color: #fff;
            text-align: left;
            font-family: 'PingFangSCLight', 'PingFang SC', sans-serif;
            text-shadow: 0 2px 24px rgba(0, 0, 0, .65);
        }
        .home-story-index { font-size: 12px; letter-spacing: .14em; margin: 0 0 24px; }
        .home-story-copy h2 { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.4; font-weight: 300; margin: 0 0 26px; }
        .home-story-copy > p:not(.home-story-index) { font-size: clamp(15px, 1.2vw, 18px); line-height: 2; margin: 0; max-width: 390px; }
        .home-story-placeholder { display: block; margin-top: 28px; font-size: 12px; line-height: 1.8; opacity: .6; }

        @media (max-width: 600px) {
            body.page-mode[data-page="home"] #home-model-background { transform: scale(1.13); }
            body.page-mode[data-page="home"] main > .home-story { min-height: 90svh; padding: 90px 24px; }
            .home-story--right { justify-content: flex-start; }
        }

        body.page-mode[data-page="home"][data-background="video"] #home-video-background {
            opacity: 1;
            visibility: visible;
        }

        body.page-mode[data-page="home"][data-background="rainy-store"] #home-model-background {
            opacity: 1;
            visibility: visible;
        }

        body.page-mode[data-page="home"] #color-bends-container {
            opacity: 0;
            visibility: hidden;
        }

        body.page-mode[data-page="home"][data-background="color-bends"] #color-bends-container {
            opacity: 1;
            visibility: visible;
        }

        #home-background-shade {
            position: fixed;
            inset: 0;
            z-index: -4;
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
            background:
                linear-gradient(180deg, rgba(3, 6, 16, 0.26) 0%, rgba(3, 6, 16, 0.08) 48%, rgba(3, 6, 16, 0.46) 100%),
                radial-gradient(circle at center, rgba(3, 6, 16, 0.02), rgba(3, 6, 16, 0.28));
            transition: opacity 0.45s ease, visibility 0.45s ease;
        }

        body.page-mode[data-page="home"] #home-background-shade {
            opacity: 1;
            visibility: visible;
        }

        /* ================= 新增：左上角天气小组件样式 ================= */
        .weather-widget {
            position: fixed;
            top: 30px;
            left: 30px;
            z-index: 10000;
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 30px;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            height: 42px;
            padding: 0 18px;
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 1px;
            border-radius: 999px;
            transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
            user-select: none;
        }

        .weather-widget:hover {
            border-color: var(--card-hover-border);
            background: rgba(255, 255, 255, 0.1);
        }

        .weather-emoji {
            font-size: 1.25rem;
            line-height: 1;
            will-change: transform;
            transition: transform 0.3s ease;
        }
        
        .weather-widget:hover .weather-emoji {
            transform: scale(1.1);
        }
        /* ========================================================= */

        /* ----- UI 首屏区域：全屏居中 ----- */
        header {
            width: 100%;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            padding: 20px;
        }

        h1 {
            font-size: 5rem;
            font-weight: 800;
            letter-spacing: -0.05em;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #fff, #999);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* 打字机光标动画 */
        .typing-cursor {
            display: inline-block;
            font-weight: 300;
            color: var(--text-main);
            margin-left: 4px;
            animation: blink 1s step-start infinite;
            -webkit-text-fill-color: var(--text-main);
        }
        @keyframes blink { 50% { opacity: 0; } }

        .subtitle {
            font-size: 1.4rem;
            color: var(--text-muted);
            letter-spacing: 0.1em;
            font-weight: 300;
            text-transform: uppercase;
        }

        .tags {
            margin-top: 35px;
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .tag {
            font-size: 1rem;
            padding: 8px 20px;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            color: #ddd;
            backdrop-filter: blur(4px);
        }

        /* 向下滑动提示动画 */
        .scroll-hint {
            position: absolute;
            bottom: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            color: var(--text-muted);
            font-size: 1rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            animation: bounce 2s infinite ease-in-out;
            pointer-events: none;
        }
        
        .scroll-hint svg {
            width: 24px;
            height: 24px;
            stroke: var(--text-muted);
            fill: none;
            stroke-width: 2;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(15px); }
        }

        /* ----- 内容主体区域 ----- */
        main {
            max-width: 950px;
            margin: 0 auto;
            padding: 60px 20px 150px;
            display: flex;
            flex-direction: column;
            gap: 80px; 
            position: relative;
        }

        .section-title {
            font-size: 3.2rem; 
            font-weight: 700;
            margin-bottom: 40px;
            color: var(--text-main);
            letter-spacing: 1px;
            border-bottom: 1px solid var(--card-border);
            padding-bottom: 15px;
        }
        
        .section-title .char {
            display: inline-block;
            will-change: opacity, transform;
        }

        /* --- About me 样式 --- */
        .about-content {
            display: flex;
            gap: 45px;
            align-items: center;
        }

        /* --- Tilted Card --- */
        .tilted-card-figure {
            position: relative;
            width: 320px;
            height: 400px;
            perspective: 1200px; 
            cursor: pointer;
            flex-shrink: 0;
        }

        .tilted-card-inner {
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            will-change: transform;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }

        .tilted-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
            pointer-events: none;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .tilted-card-caption {
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none;
            background: rgba(255, 255, 255, 0.95);
            color: #111;
            padding: 8px 14px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            will-change: transform, opacity;
            z-index: 10;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transform-origin: left top;
        }

        /* ======================== 基础毛玻璃样式 ======================== */
        .glass-panel {
            flex: 1;
            padding: 45px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            color: #eeeeee;
            font-size: 1.15rem;
            line-height: 1.8;
            position: relative;
            overflow: hidden;
            
            backdrop-filter: blur(15px) saturate(120%);
            -webkit-backdrop-filter: blur(15px) saturate(120%);
            
            transform: translateZ(0); 
            will-change: transform, backdrop-filter;
        }

        /* 去除 Contact 和 Play 模块的部分特殊处理 */
        .contact-section .glass-panel,
        .play-section .glass-panel {
            border: none;
        }

        .about-text p {
            margin-bottom: 15px;
        }
        .about-text p:last-child {
            margin-bottom: 0;
        }

        /* --- Posts 列表样式 --- */
        .posts-list {
            display: flex;
            flex-direction: column;
            gap: 44px;
        }

        .post-card {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 44px 30px;
            text-decoration: none;
            color: var(--text-main);
            transition: border-color 0.28s ease, color 0.28s ease;
        }

        .post-card[hidden] {
            display: none;
        }

        .post-card.project-card-enter {
            animation: project-card-in 0.7s cubic-bezier(0.22, 1.2, 0.36, 1) var(--project-delay, 0ms) both;
        }

        @keyframes project-card-in {
            0% { opacity: 0; transform: translateY(24px) scale(0.97); }
            68% { opacity: 1; transform: translateY(-4px) scale(1.01); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .post-card:hover {
            transform: none;
            border-color: var(--card-hover-border);
            background: transparent;
            color: var(--text-main);
        }

        .post-info {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .post-title {
            font-size: 1.7rem;
            font-weight: 700;
        }

        .post-title span {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 400;
            display: block;
            margin-left: 0;
            margin-top: 6px;
        }

        .post-date {
            font-family: 'Courier New', Courier, monospace;
            font-size: 1rem;
            color: rgba(0, 255, 208, 0.8);
            letter-spacing: 1px;
        }

        .arrow {
            font-size: 2rem;
            color: var(--text-muted);
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .post-card:hover .arrow {
            transform: none;
            color: var(--text-muted);
        }

        .posts-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-top: 24px;
        }

        .posts-page-button {
            min-width: 42px;
            height: 38px;
            padding: 0 14px;
            border: 1px solid var(--card-border);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-main);
            font: inherit;
            cursor: pointer;
            transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
        }

        .posts-page-button:hover:not(:disabled) {
            border-color: var(--card-hover-border);
            background: rgba(0, 255, 208, 0.1);
            color: #00ffd0;
            transform: translateY(-2px);
        }

        .posts-page-button:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }

        .posts-page-status {
            min-width: 48px;
            color: var(--text-muted);
            font-family: 'Courier New', Courier, monospace;
            font-size: 0.95rem;
            text-align: center;
        }

        /* --- 胶囊按钮拖拽滚动与简介样式 --- */
        .contact-text p,
        .play-text p {
            margin-bottom: 25px;
        }
        
        .badge-group {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        /* 滚动视口 */
        .marquee-viewport {
            width: 100%;
            overflow: hidden;
            position: relative;
            cursor: grab;
            /* 边缘羽化渐变 */
            -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
        }

        .marquee-viewport:active {
            cursor: grabbing;
        }

        /* 滚动轨道 */
        .marquee-row {
            display: flex;
            gap: 14px;
            width: max-content;
            will-change: transform;
            padding-bottom: 4px; /* 防止阴影被裁切 */
        }

        .gaming-badge {
            display: inline-flex;
            align-items: center;
            padding: 10px 18px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid var(--card-border);
            color: #fff;
            cursor: pointer;
            transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
            font-size: 0.95rem;
            user-select: none;
            white-space: nowrap;
        }

        .gaming-badge:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--card-hover-border);
            transform: none;
            box-shadow:
                0 0 8px rgba(0, 255, 208, 0.32),
                0 0 20px rgba(0, 255, 208, 0.2),
                0 0 38px rgba(0, 255, 208, 0.12);
        }

        .contact-section .gaming-badge:hover,
        .play-section .gaming-badge:hover {
            transform: none !important;
        }

        .gaming-badge svg {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            opacity: 0.8;
            flex-shrink: 0;
            pointer-events: none;
        }

        .badge-platform {
            font-weight: 600;
            color: #ddd;
            pointer-events: none;
        }

        .badge-divider {
            margin: 0 8px;
            color: var(--text-muted);
            pointer-events: none;
        }

        .badge-id {
            font-family: 'Courier New', Courier, monospace;
            color: rgba(0, 255, 208, 0.9);
            transition: color 0.3s ease;
            pointer-events: none;
        }

        /* ======================== 游戏画廊样式 ======================== */
        .game-gallery-viewport {
            width: 100%;
            overflow: hidden;
            position: relative;
            cursor: grab;
            margin: 15px 0 35px 0;
            -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
        }

        .game-gallery-viewport:active {
            cursor: grabbing;
        }

        .game-gallery-track {
            display: flex;
            gap: 24px;
            width: max-content;
            will-change: transform;
            padding: 20px 0; /* 为悬停放大和位移留出空间 */
        }

        .game-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            user-select: none;
            width: 130px; /* 固定卡片宽度，避免超长文字撑大导致间距变动 */
        }

        .game-card:hover {
            transform: translateY(-10px) scale(1.05);
        }

        .game-card img {
            width: 100%;
            height: 195px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
            pointer-events: none; 
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .game-name-wrapper {
            width: 100%;
            margin-top: 14px;
            overflow: hidden;
            position: relative;
            -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
            display: flex;
            justify-content: center; /* 短文字居中 */
        }

        .game-name-wrapper.is-overflow {
            justify-content: flex-start; /* 长文字左对齐滚动 */
        }

        .game-name {
            display: inline-block;
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 500;
            letter-spacing: 0.5px;
            pointer-events: none;
            white-space: nowrap;
            transition: color 0.3s ease;
        }

        .game-card:hover .game-name, .game-card:active .game-name {
            color: #ffffff;
        }

        /* 游戏文字无缝滚动动画 */
        @keyframes gameNameMarquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .marquee-inner {
            display: flex;
            width: max-content;
            animation: gameNameMarquee linear infinite;
        }

        /* ======================== Digital 配置模块样式 ======================== */
        .digital-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
        
        .digital-card {
            padding: 35px 40px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .peripherals-card {
            grid-column: span 2;
        }
        
        .digital-category {
            font-size: 1.25rem;
            font-weight: 700;
            color: #00ffd0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 12px;
            letter-spacing: 0.5px;
        }
        
        .digital-items {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
            color: #dddddd;
            font-size: 1.05rem;
        }
        
        .peripherals-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        /* ======================== 新增：Photo 照片堆叠模块样式 ======================== */
        .photo-content {
            display: flex;
            gap: 60px;
            align-items: center;
            min-height: 500px;
        }

        .photo-stack-container {
            position: relative;
            width: 380px;
            height: 500px;
            perspective: 1000px;
            flex-shrink: 0;
            margin-left: 20px;
        }

        .stack-card {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            transform-origin: 90% 90%; /* 参考堆叠原代码的原点 */
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: grab;
            will-change: transform, opacity;
            touch-action: none; /* 禁用移动端在此区域的原生滚动以支持滑动 */
            background: #111;
        }

        .stack-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none; /* 防止图片自带的拖拽拦截事件 */
        }

        .photo-info-panel {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .photo-info-content {
            display: flex;
            flex-direction: column;
            gap: 15px;
            transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .photo-date {
            font-family: 'Courier New', Courier, monospace;
            font-size: 1.2rem;
            color: rgba(0, 255, 208, 0.8);
            letter-spacing: 1px;
        }

        .photo-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin: 0;
            color: #ffffff;
        }

        .photo-desc {
            color: #eeeeee;
            font-size: 1.15rem;
            line-height: 1.8;
            margin: 0;
        }

        @media (max-width: 850px) {
            .about-content {
                flex-direction: column;
            }
            .tilted-card-figure {
                width: 100%;
                max-width: 350px;
                height: 350px;
            }
            .digital-grid {
                grid-template-columns: 1fr;
            }
            .peripherals-card {
                grid-column: span 1;
            }
            .photo-content {
                flex-direction: column;
                gap: 40px;
            }
            .photo-stack-container {
                margin-left: 0;
                width: 100%;
                max-width: 350px;
                height: 450px;
            }
        }

        @media (max-width: 600px) {
            #home-model-background {
                transform: scale(1.13);
            }

            h1 { font-size: 3.5rem; } 
            .section-title { font-size: 2.8rem; } 
            .post-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 28px;
                padding: 36px 22px;
            }
            .arrow { align-self: flex-end; }
            .post-title { font-size: 1.4rem; }
            .post-title span { display: block; margin-left: 0; margin-top: 4px; }
            
            .gaming-badge {
                padding: 8px 14px;
                font-size: 0.85rem;
            }

            .game-card {
                width: 110px; /* 移动端锁定宽度 */
            }
            .game-card img {
                height: 165px;
            }

            .digital-card {
                padding: 30px 25px;
            }
            .peripherals-grid {
                grid-template-columns: 1fr;
            }
            .weather-widget {
                top: 20px;
                left: 20px;
                height: 42px;
                padding: 0 16px;
            }
        }

        footer {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-muted);
            font-size: 1rem;
            border-top: 1px solid rgba(255,255,255,0.05);
            position: relative;
        }

        /* ================= 纯原生 CSS 重写版 Staggered Menu 目录样式 ================= */
        .staggered-menu-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none; /* 默认不阻挡下方点击 */
            z-index: 9999;
        }
        
        .staggered-menu-wrapper.is-open {
            pointer-events: auto; /* 展开时接管页面点击 */
        }

        .sm-toggle {
            position: fixed;
            top: 30px;
            right: 30px;
            z-index: 10000;
            pointer-events: auto; /* 按钮始终可点 */
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--card-border);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 30px;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 22px;
            font-size: 1.05rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
        }

        .sm-toggle:hover {
            border-color: var(--card-hover-border);
            background: rgba(255, 255, 255, 0.1);
        }

        .staggered-menu-wrapper.is-open .sm-toggle {
            color: #00ffd0;
            border-color: #00ffd0;
        }

        .sm-toggle-textWrap {
            height: 1.2em;
            overflow: hidden;
            display: inline-block;
            position: relative;
        }

        .sm-toggle-textInner {
            display: flex;
            flex-direction: column;
            will-change: transform;
            transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .staggered-menu-wrapper.is-open .sm-toggle-textInner {
            transform: translateY(-50%);
        }

        .sm-toggle-line {
            line-height: 1.2em;
        }

        .sm-icon {
            position: relative;
            width: 16px;
            height: 16px;
            transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .staggered-menu-wrapper.is-open .sm-icon {
            transform: rotate(225deg);
        }

        .sm-icon-line {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 2px;
            background: currentColor;
            border-radius: 2px;
        }

        .sm-icon-line-v {
            transform: rotate(90deg);
        }

        .sm-prelayers, .staggered-menu-panel {
            position: fixed;
            top: 0;
            right: 0;
            width: 450px;
            max-width: 100vw;
            height: 100vh;
        }

        .sm-prelayer {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            transform: translateX(100%);
            transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
            will-change: transform;
        }

        .staggered-menu-panel {
            background: rgba(5, 5, 5, 0.85);
            backdrop-filter: blur(30px) saturate(150%);
            -webkit-backdrop-filter: blur(30px) saturate(150%);
            border-left: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            padding: 60px;
            transform: translateX(100%);
            transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
            pointer-events: none;
            will-change: transform;
        }

        .staggered-menu-wrapper.is-open .staggered-menu-panel {
            pointer-events: auto;
        }

        /* 展开时的背景错层动画 */
        .staggered-menu-wrapper.is-open .layer-1 {
            transform: translateX(0);
            transition-delay: 0s;
        }
        .staggered-menu-wrapper.is-open .layer-2 {
            transform: translateX(0);
            transition-delay: 0.1s;
        }
        .staggered-menu-wrapper.is-open .staggered-menu-panel {
            transform: translateX(0);
            transition-delay: 0.2s;
        }

        /* 收起时的背景错层动画 (延迟反转以保持丝滑) */
        .staggered-menu-wrapper:not(.is-open) .staggered-menu-panel {
            transition-delay: 0s;
        }
        .staggered-menu-wrapper:not(.is-open) .layer-2 {
            transition-delay: 0.1s;
        }
        .staggered-menu-wrapper:not(.is-open) .layer-1 {
            transition-delay: 0.2s;
        }

        .sm-panel-inner {
            width: 100%;
        }

        .sm-panel-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        .sm-panel-itemWrap {
            overflow: hidden;
        }

        .sm-panel-item {
            text-decoration: none;
            color: #fff;
            font-size: 3.5rem;
            font-weight: 800;
            letter-spacing: -1px;
            display: flex;
            align-items: center;
            transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .sm-panel-item:hover {
            color: #00ffd0;
        }

        .sm-panel-itemLabel {
            display: inline-block;
            transform: translateY(120%) rotate(5deg);
            opacity: 0;
            transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
            will-change: transform, opacity;
        }

        .staggered-menu-wrapper.is-open .sm-panel-itemLabel {
            transform: translateY(0) rotate(0);
            opacity: 1;
        }

        .sm-panel-list[data-numbering="true"] .sm-panel-item::before {
            content: "0" attr(data-index);
            font-size: 1.1rem;
            margin-right: 20px;
            color: #00ffd0;
            opacity: 0;
            transform: translateX(-20px);
            font-family: 'Courier New', Courier, monospace;
            font-weight: 500;
            letter-spacing: 2px;
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .staggered-menu-wrapper.is-open .sm-panel-item::before {
            opacity: 1;
            transform: translateX(0);
        }

        /* 菜单文字的交错浮现延迟 */
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(1) .sm-panel-itemLabel,
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(1) .sm-panel-item::before { transition-delay: 0.35s; }
        
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(2) .sm-panel-itemLabel,
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(2) .sm-panel-item::before { transition-delay: 0.45s; }
        
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(3) .sm-panel-itemLabel,
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(3) .sm-panel-item::before { transition-delay: 0.55s; }
        
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(4) .sm-panel-itemLabel,
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(4) .sm-panel-item::before { transition-delay: 0.65s; }

        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(5) .sm-panel-itemLabel,
        .staggered-menu-wrapper.is-open .sm-panel-itemWrap:nth-child(5) .sm-panel-item::before { transition-delay: 0.75s; }

        /* 菜单收起时文字立刻隐藏，无延迟 */
        .staggered-menu-wrapper:not(.is-open) .sm-panel-itemLabel,
        .staggered-menu-wrapper:not(.is-open) .sm-panel-item::before {
            transition-delay: 0s;
        }
        
        @media (max-width: 600px) {
            .sm-toggle { top: 20px; right: 20px; }
            .sm-panel-item { font-size: 2.5rem; }
            .staggered-menu-panel { padding: 40px; }
        }

        /* ================= 单页视图切换 ================= */
        body.page-mode {
            min-height: 100vh;
            scroll-behavior: smooth;
            overscroll-behavior-y: contain;
            -webkit-overflow-scrolling: touch;
        }

        body.page-mode main {
            min-height: calc(100vh - 80px);
            padding-top: 120px;
            padding-bottom: 80px;
            gap: 80px;
        }

        body.page-mode[data-page="blog"] main {
            max-width: min(1220px, calc(100vw - 40px));
        }

        body.page-mode main > section {
            scroll-margin-top: 100px;
        }

        body.page-mode header#home,
        body.page-mode main > section {
            display: none;
        }

        body.page-mode[data-page="home"] header#home,
        body.page-mode[data-page="blog"] #blog,
        body.page-mode[data-page="about"] #about,
        body.page-mode[data-page="projects"] #projects,
        body.page-mode[data-page="contact"] #contact,
        body.page-mode[data-page="contact"] #play,
        body.page-mode[data-page="photo"] #photo,
        body.page-mode[data-page="photo"] #digital,
        body.page-mode[data-page="photo"] #final {
            display: block;
            animation: page-view-in 1.05s cubic-bezier(0.22, 1.2, 0.36, 1) both;
            will-change: opacity, transform;
        }

        body.page-mode[data-page="home"] header#home {
            display: flex;
        }

        /* Let the article sample the page background after its entrance animation. */
        body.page-mode[data-page="blog"] #blog {
            animation-fill-mode: backwards;
            will-change: transform;
        }

        body.page-mode .scroll-hint {
            pointer-events: auto;
            cursor: pointer;
        }

        @keyframes page-view-in {
            0% { opacity: 0; transform: translateY(34px) scale(0.96); }
            62% { opacity: 1; transform: translateY(-7px) scale(1.01); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        @media (max-width: 600px) {
            body.page-mode main {
                padding-top: 100px;
                padding-bottom: 50px;
            }

            body.page-mode[data-page="blog"] main {
                max-width: calc(100vw - 24px);
            }
        }

        /* 首页首屏下滑后直接进入关于内容；不再作为独立顶部分类。 */
        body.page-mode[data-page="home"] #about {
            display: block;
            opacity: 1;
            transform: none;
            animation: none;
            will-change: auto;
        }

        /* ================= 首页首屏品牌排版：参考 Locomotive 的左下角展示排版 ================= */
        body.page-mode[data-page="home"] .home-hero-copy {
            position: absolute;
            left: clamp(20px, 2.7vw, 56px);
            right: clamp(20px, 2.7vw, 56px);
            bottom: clamp(48px, 5vh, 70px);
            text-align: left;
        }

        body.page-mode[data-page="home"] .home-hero-title-row {
            display: flex;
            align-items: center;
            gap: clamp(14px, 1.5vw, 24px);
        }

        body.page-mode[data-page="home"] .home-hero-mark {
            display: block;
            flex: 0 0 auto;
            width: clamp(104px, 12.5vw, 180px);
            height: auto;
        }

        body.page-mode[data-page="home"] .home-hero-copy h1,
        body.page-mode[data-page="home"] .home-hero-copy .subtitle {
            font-family: "QuickingRegular", "DengXian", "等线", "Microsoft YaHei", sans-serif;
            font-weight: 400;
            color: #ffffff;
            background: none;
            -webkit-background-clip: initial;
            background-clip: initial;
            -webkit-text-fill-color: #ffffff;
            text-shadow: 0 2px 18px rgba(2, 7, 18, 0.38);
        }

        body.page-mode[data-page="home"] .home-hero-copy h1 #typing-text {
            font-family: "SamsungSharpSans", "QuickingRegular", "DengXian", "等线", "Microsoft YaHei", sans-serif;
        }

        body.page-mode[data-page="home"] .home-hero-copy h1 .home-hero-name {
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-weight: 300;
        }

        body.page-mode[data-page="home"] .home-hero-copy h1 {
            flex: 1 1 auto;
            min-width: 0;
            margin: 0;
            font-size: clamp(2.5rem, 4.1vw, 5.2rem);
            line-height: 0.94;
            letter-spacing: -0.045em;
            white-space: nowrap;
        }

        body.page-mode[data-page="home"] .home-hero-copy .subtitle {
            font-family: "SamsungSharpSans", "QuickingRegular", "DengXian", "等线", "Microsoft YaHei", sans-serif;
            margin-top: 0.08em;
            font-size: clamp(2.9rem, 4.8vw, 6rem);
            line-height: 0.86;
            letter-spacing: 0.01em;
            white-space: nowrap;
            text-transform: none;
        }

        body.page-mode[data-page="home"] .home-hero-copy .typing-cursor {
            color: #ffffff;
            -webkit-text-fill-color: #ffffff;
        }

        @media (max-width: 600px) {
            body.page-mode[data-page="home"] .home-hero-copy {
                left: 20px;
                right: 20px;
                bottom: 50px;
            }

            body.page-mode[data-page="home"] .home-hero-title-row {
                gap: 12px;
                align-items: center;
            }

            body.page-mode[data-page="home"] .home-hero-mark {
                width: clamp(72px, 18vw, 92px);
            }

            body.page-mode[data-page="home"] .home-hero-copy h1 {
                font-size: clamp(1.2rem, 5.2vw, 2rem);
                white-space: normal;
                overflow-wrap: anywhere;
            }

            body.page-mode[data-page="home"] .home-hero-copy .subtitle {
                font-size: clamp(1.75rem, 6.5vw, 2.7rem);
                letter-spacing: -0.01em;
                white-space: normal;
            }
        }

        /* ================= Blog：独立的 Markdown 帖子阅读页 ================= */
        body.page-mode[data-page="blog"] #blog {
            display: block;
            width: 100%;
            padding: clamp(10px, 1.5vw, 24px) 0 40px;
        }

        .blog-shell {
            width: 100%;
        }

        .blog-intro {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: clamp(24px, 6vw, 100px);
            margin-bottom: clamp(34px, 5vw, 70px);
        }

        .blog-kicker,
        .blog-index-heading,
        .blog-article-meta,
        .blog-article-format,
        .blog-post-meta {
            font-family: "SamsungSharpSans", "PingFangSCLight", "PingFang SC", sans-serif;
            font-weight: 400;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .blog-kicker {
            margin-bottom: 16px;
            color: #00ffd0;
            font-size: 0.72rem;
            line-height: 1;
        }

        .blog-intro .section-title {
            min-width: min(300px, 45vw);
            margin-bottom: 0;
        }

        .blog-intro-copy {
            max-width: 350px;
            margin-bottom: 4px;
            color: rgba(255, 255, 255, 0.66);
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-size: clamp(0.95rem, 1.2vw, 1.15rem);
            font-weight: 300;
            line-height: 1.75;
            letter-spacing: 0.04em;
        }

        .blog-layout {
            display: grid;
            grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
            align-items: start;
            gap: clamp(24px, 5vw, 76px);
        }

        .blog-index {
            position: sticky;
            top: 74px;
            min-width: 0;
        }

        .blog-index-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.22);
            color: rgba(255, 255, 255, 0.56);
            font-size: 0.67rem;
            line-height: 1;
        }

        .blog-post-card {
            position: relative;
            display: block;
            width: 100%;
            padding: 23px 40px 28px 0;
            border: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.16);
            background: transparent;
            color: #ffffff;
            text-align: left;
            cursor: pointer;
            appearance: none;
            transition: border-color 0.28s ease, color 0.28s ease, opacity 0.28s ease;
        }

        .blog-post-card:hover,
        .blog-post-card.is-active {
            border-bottom-color: rgba(0, 255, 208, 0.7);
        }

        .blog-post-card:not(.is-active) {
            opacity: 0.62;
        }

        .blog-post-card:hover {
            opacity: 1;
        }

        .blog-post-card:focus-visible {
            outline: 1px solid #00ffd0;
            outline-offset: 6px;
        }

        .blog-post-meta {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 8px 16px;
            color: #00ffd0;
            font-size: 0.63rem;
            line-height: 1.35;
        }

        .blog-post-meta [data-blog-pin] {
            color: #00ffd0;
        }

        .blog-post-meta [data-blog-date] {
            color: rgba(255, 255, 255, 0.48);
            text-align: right;
        }

        .blog-post-card h3 {
            margin: 22px 0 12px;
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-size: clamp(1.3rem, 1.75vw, 1.85rem);
            font-weight: 300;
            line-height: 1.2;
            letter-spacing: 0.03em;
        }

        .blog-post-card p {
            max-width: 310px;
            color: rgba(255, 255, 255, 0.58);
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-size: 0.9rem;
            font-weight: 300;
            line-height: 1.8;
        }

        .blog-post-arrow {
            position: absolute;
            right: 2px;
            bottom: 28px;
            color: #ffffff;
            font-family: "SamsungSharpSans", sans-serif;
            font-size: 1.4rem;
            line-height: 1;
            transition: transform 0.28s ease, color 0.28s ease;
        }

        .blog-post-card:hover .blog-post-arrow,
        .blog-post-card.is-active .blog-post-arrow {
            color: #00ffd0;
            transform: translate(4px, -4px);
        }

        #blog-article {
            min-width: 0;
            padding: clamp(28px, 5vw, 72px);
            position: relative;
            isolation: isolate;
            color: #eef1f7;
            background: radial-gradient(ellipse at 12% 0%, rgba(33, 39, 54, 0.84) 0%, rgba(21, 26, 38, 0.86) 46%, rgba(14, 19, 29, 0.88) 100%);
            -webkit-backdrop-filter: blur(32px) brightness(0.65) saturate(82%);
            backdrop-filter: blur(32px) brightness(0.65) saturate(82%);
            border: 1px solid rgba(210, 225, 255, 0.22);
            border-radius: 10px;
            box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.09);
        }

        #blog-article::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            border-radius: inherit;
            pointer-events: none;
            opacity: 0.075;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
        }

        #blog-article .markdown-body {
            color: #eef1f7;
        }

        #blog-article .blog-article-format,
        #blog-article figcaption {
            color: rgba(238, 241, 247, 0.66);
        }

        .blog-article-header {
            width: 100%;
            min-height: 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 0 0 20px;
            margin-bottom: clamp(28px, 4vw, 52px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.18);
            text-align: left;
            position: static;
        }

        .blog-article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 7px 16px;
            color: #00ffd0;
            font-size: 0.64rem;
            line-height: 1.35;
        }

        .blog-article-meta span + span::before {
            content: "/";
            margin-right: 16px;
            color: rgba(255, 255, 255, 0.35);
        }

        .blog-article-format {
            flex: 0 0 auto;
            color: rgba(255, 255, 255, 0.42);
            font-size: 0.62rem;
            line-height: 1;
            white-space: nowrap;
        }

        .markdown-body {
            max-width: 820px;
            margin: 0 auto;
            color: rgba(255, 255, 255, 0.84);
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-size: clamp(1rem, 1.25vw, 1.14rem);
            font-weight: 300;
            line-height: 1.95;
            letter-spacing: 0.035em;
        }

        .markdown-body h1,
        .markdown-body h2,
        .markdown-body h3 {
            background: none;
            color: #ffffff;
            -webkit-background-clip: initial;
            background-clip: initial;
            -webkit-text-fill-color: #ffffff;
            font-family: "PingFangSCLight", "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif;
            font-weight: 300;
        }

        .markdown-body h1 {
            margin: 0 0 clamp(24px, 3vw, 42px);
            font-size: clamp(2rem, 3.6vw, 4.2rem);
            line-height: 0.98;
            letter-spacing: -0.055em;
        }

        .markdown-body h2 {
            margin: clamp(38px, 5vw, 70px) 0 16px;
            font-size: clamp(1.35rem, 2vw, 2rem);
            line-height: 1.2;
            letter-spacing: 0.02em;
        }

        .markdown-body h3 {
            margin: 30px 0 12px;
            font-size: 1.15rem;
        }

        .markdown-body p {
            margin: 0 0 24px;
        }

        .markdown-body p:last-child {
            margin-bottom: 0;
        }

        .markdown-body a {
            color: #00ffd0;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-underline-offset: 0.18em;
        }

        .markdown-body strong {
            color: #ffffff;
            font-weight: 400;
        }

        .markdown-body em {
            color: rgba(255, 255, 255, 0.6);
        }

        .markdown-body ul,
        .markdown-body ol {
            display: grid;
            gap: 8px;
            padding-left: 1.25em;
            margin: 0 0 28px;
        }

        .markdown-body li::marker {
            color: #00ffd0;
        }

        .markdown-body blockquote {
            padding: 6px 0 6px 22px;
            margin: 30px 0 36px;
            border-left: 1px solid #00ffd0;
            color: rgba(255, 255, 255, 0.66);
            font-size: 1.08em;
            line-height: 1.75;
        }

        .markdown-figure {
            margin: 34px 0 40px;
        }

        .markdown-figure img {
            display: block;
            width: 100%;
            height: auto;
            max-height: 560px;
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 1px;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
        }

        .markdown-figure figcaption {
            padding-top: 12px;
            color: rgba(255, 255, 255, 0.42);
            font-family: "SamsungSharpSans", "PingFangSCLight", sans-serif;
            font-size: 0.68rem;
            letter-spacing: 0.05em;
            line-height: 1.5;
        }

        .markdown-body pre {
            overflow-x: auto;
            padding: 20px 22px;
            margin: 30px 0 34px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(0, 0, 0, 0.34);
            color: rgba(255, 255, 255, 0.72);
            font-family: "Courier New", Courier, monospace;
            font-size: 0.8rem;
            line-height: 1.75;
            letter-spacing: 0;
        }

        .markdown-body code {
            font-family: "Courier New", Courier, monospace;
            font-size: 0.88em;
            color: #00ffd0;
        }

        .markdown-body pre code {
            color: inherit;
        }

        .markdown-body hr {
            height: 1px;
            border: 0;
            margin: 42px 0 30px;
            background: rgba(255, 255, 255, 0.18);
        }

        .blog-loading {
            color: rgba(255, 255, 255, 0.45);
        }

        @media (max-width: 760px) {
            .blog-intro {
                display: block;
            }

            .blog-intro-copy {
                max-width: 460px;
                margin-top: 22px;
            }

            .blog-layout {
                grid-template-columns: 1fr;
            }

            .blog-index {
                position: static;
            }

            .blog-post-card {
                padding-top: 18px;
                padding-bottom: 22px;
            }

            #blog-article {
                padding: 26px 20px 34px;
            }

            .blog-article-header {
                display: block;
            }

            .blog-article-format {
                display: block;
                margin-top: 14px;
            }

            .markdown-body {
                font-size: 1rem;
                line-height: 1.85;
            }

            .markdown-body h1 {
                font-size: clamp(1.9rem, 9vw, 3.2rem);
            }
        }
    
