﻿/* ── 核心自定义引擎 (确保所有组件样式绝对生效) ── */
        :root {
            --bg-color: #f6f5f1;
            --card-bg: #e4e3dd;
            --text-main: #292929;
            --accent-red: #fd1e1f;
            --accent-blue: #0015d4;
            --accent-lightblue: #84def9;
            --accent-pink: #ff8fca;
            --accent-yellow: #ffcb41;
        }
        @keyframes page-fadein {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: auto;
            min-width: 1280px;
            opacity: 0;
        }
        body.page-ready {
            animation: page-fadein 0.55s cubic-bezier(0.25, 0, 0.25, 1) forwards;
        }
        .serif { font-family: 'Libre Baskerville', serif; }

        .page-stage {
            width: 1200px;
            min-width: 1200px;
            margin: 0 auto;
        }
        .about-stage-grid {
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: 32px;
        }
        .about-card {
            min-height: 320px;
        }
        .about-card-wide {
            grid-column: span 8;
        }
        .about-card-narrow {
            grid-column: span 4;
        }
        .about-card-medium {
            grid-column: span 5;
        }
        .about-card-large {
            grid-column: span 7;
        }
        .about-copy-wide {
            width: 60%;
            padding-right: 32px;
        }
        .arcade-stage {
            padding-left: 32px;
            padding-right: 32px;
        }
        .arcade-title {
            font-size: 72px;
            line-height: 1;
        }
        .arcade-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            width: 100%;
        }
        .arcade-game-card {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .projects-header-stage {
            padding-left: 16px;
            padding-right: 16px;
        }
        .projects-header-row {
            display: flex;
        }
        .projects-title {
            font-size: 60px;
            line-height: 1;
        }
        .projects-slider-fixed {
            width: 100%;
            padding-left: 16px;
            padding-right: 16px;
        }
        .project-card-fixed {
            width: 450px;
            min-width: 450px;
        }
        .essay-stage {
            width: 960px;
            min-width: 960px;
            margin: 0 auto 128px;
            padding-left: 16px;
            padding-right: 16px;
        }
        .fixed-modal-panel {
            flex: 0 0 auto;
        }
        .fixed-modal-panel-gashapon {
            width: 860px;
        }
        .fixed-modal-panel-project {
            width: 1024px;
        }
        .about-legacy-hidden {
            display: none !important;
        }
        .about-story-section {
            padding: 96px 24px 88px;
            background:
                radial-gradient(circle at 12% 18%, rgba(132, 222, 249, 0.22), transparent 24%),
                radial-gradient(circle at 88% 10%, rgba(255, 203, 65, 0.22), transparent 22%),
                #f6f5f1;
        }
        .about-story-stage {
            width: min(1120px, 100%);
            margin: 0 auto;
        }
        .about-story-kicker {
            margin: 0 0 18px;
            color: #B3652F;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.22em;
            text-transform: uppercase;
        }
        .about-story-stage > h1 {
            max-width: 820px;
            margin: 0 0 46px;
            color: #1A1A1A;
            font-size: 54px;
            line-height: 1.16;
            font-weight: 900;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .about-story-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
        }
        .about-story-card {
            min-height: 310px;
            padding: 30px 28px;
            background: #fffdf7;
            border: 3px solid #1A1A1A;
            border-radius: 18px;
            box-shadow: 6px 6px 0 #1A1A1A;
        }
        .about-story-card span {
            display: inline-flex;
            margin-bottom: 28px;
            color: #B3652F;
            font-size: 13px;
            font-weight: 900;
            letter-spacing: 0.16em;
        }
        .about-story-card h2 {
            margin: 0 0 16px;
            color: #1A1A1A;
            font-size: 24px;
            line-height: 1.3;
            font-weight: 900;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .about-story-card p {
            margin: 0;
            color: #5A4A3A;
            font-size: 15px;
            line-height: 1.9;
        }
        .about-story-invite {
            margin-top: 30px;
            padding: 24px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            background: #1A1A1A;
            color: #fffdf7;
            border-radius: 18px;
        }
        .about-story-invite p {
            margin: 0;
            font-size: 20px;
            line-height: 1.45;
            font-weight: 900;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .about-story-invite a {
            color: #1A1A1A;
            background: #ffcb41;
            border: 2px solid #fffdf7;
            border-radius: 999px;
            padding: 10px 18px;
            font-size: 14px;
            font-weight: 900;
            text-decoration: none;
            white-space: nowrap;
        }
        .xhs-page {
            min-height: 100vh;
            padding: 72px 24px 90px;
            background:
                radial-gradient(circle at 14% 12%, rgba(255, 143, 202, 0.24), transparent 22%),
                radial-gradient(circle at 86% 18%, rgba(132, 222, 249, 0.24), transparent 22%),
                #f6f5f1;
            color: #1A1A1A;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
        }
        .xhs-hero,
        .xhs-path,
        .xhs-card {
            width: min(1040px, 100%);
            margin-left: auto;
            margin-right: auto;
        }
        .xhs-kicker,
        .xhs-card-kicker {
            margin: 0 0 16px;
            color: #B3652F;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.22em;
            text-transform: uppercase;
        }
        .xhs-hero h1 {
            max-width: 760px;
            margin: 0 0 24px;
            font-size: 60px;
            line-height: 1.12;
            font-weight: 900;
        }
        .xhs-lede {
            max-width: 680px;
            margin: 0 0 20px;
            color: #5A4A3A;
            font-size: 18px;
            line-height: 1.95;
        }
        .xhs-invite {
            max-width: 680px;
            margin: 0;
            color: #1A1A1A;
            font-size: 20px;
            line-height: 1.55;
            font-weight: 900;
        }
        .xhs-path {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 18px;
            margin-top: 48px;
        }
        .xhs-step {
            min-height: 260px;
            padding: 26px 22px;
            background: #fffdf7;
            border: 3px solid #1A1A1A;
            border-radius: 18px;
            box-shadow: 6px 6px 0 #1A1A1A;
            color: inherit;
            text-decoration: none;
        }
        .xhs-step span {
            display: inline-flex;
            margin-bottom: 32px;
            color: #B3652F;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.16em;
        }
        .xhs-step h2 {
            margin: 0 0 14px;
            font-size: 24px;
            line-height: 1.28;
            font-weight: 900;
        }
        .xhs-step p {
            margin: 0;
            color: #5A4A3A;
            font-size: 14px;
            line-height: 1.8;
        }
        .xhs-step-static {
            background: #f4edd8;
        }
        .xhs-card {
            margin-top: 32px;
            padding: 28px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            background: #1A1A1A;
            color: #fffdf7;
            border-radius: 18px;
        }
        .xhs-card h2 {
            margin: 0;
            max-width: 620px;
            font-size: 26px;
            line-height: 1.35;
            font-weight: 900;
        }
        .xhs-card a {
            color: #1A1A1A;
            background: #ffcb41;
            border-radius: 999px;
            padding: 12px 20px;
            font-size: 14px;
            font-weight: 900;
            text-decoration: none;
            white-space: nowrap;
        }

        .home-stage {
            width: 1200px;
            min-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 48px;
        }
        .home-copy {
            width: 640px;
            flex: 0 0 640px;
            padding-left: 80px;
        }
        .home-eyebrow {
            font-size: 36px;
            line-height: 1;
        }
        .home-title {
            font-size: 72px;
            line-height: 1.05;
        }
        .home-description {
            width: 520px;
            max-width: none;
            font-size: 16px;
            line-height: 1.8;
        }
        .home-actions {
            min-height: 64px;
        }
        .home-card-wrap {
            width: 420px;
            flex: 0 0 420px;
            margin-top: 0;
        }
        .home-card-meta {
            font-size: 16px;
        }
        
        /* 首屏 ID 卡片 3D 悬浮 */
        .id-card-floating {
            position: relative;
            width: 396px;
            background: #fff;
            border: 4px solid #000;
            border-radius: 16px;
            box-shadow: 8px 8px 0px #000;
            transform: rotate(8deg);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 50;
        }
        .id-card-floating:hover {
            transform: rotate(3deg) translateY(-10px);
            box-shadow: 12px 12px 0px #000;
        }

        /* 导航栏样式 */
        .nav-link {
            padding: 7px 14px;
            border-radius: 9999px;
            color: #6e6e73;
            font-weight: 700;
            text-decoration: none;
            transition: color 0.2s ease, background 0.2s ease;
        }
        .nav-link:hover { color: #1d1d1f; }
        .nav-link.active {
            background-color: rgba(0, 0, 0, 0.06);
            color: #1d1d1f;
            border: 0;
            box-shadow: none;
        }
        .nav-link.active:hover { background-color: rgba(0, 0, 0, 0.08); color: #1d1d1f; }

        /* Shared simple header with collapsed dropdown navigation */
        .site-header-nav {
            overflow: visible !important;
        }
        .site-header-shell {
            width: min(1200px, 100%);
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }
        .site-header-brand {
            display: inline-flex;
            align-items: center;
            color: #111827;
            text-decoration: none;
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            font-family: 'Inter', sans-serif;
            flex-shrink: 0;
        }
        .site-header-menu {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            flex: 1;
        }
        .site-header-menu .nav-link {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 12px;
            font-size: 14px;
            font-weight: 600;
            color: #6b7280;
            border-radius: 10px;
            background: transparent;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
        }
        .site-header-menu .nav-link:hover {
            color: #111827;
            background: rgba(17, 24, 39, 0.04);
        }
        .site-header-menu .nav-link.active {
            color: #111827;
            background: transparent;
        }
        .site-header-menu .nav-link.active::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 2px;
            height: 2px;
            border-radius: 999px;
            background: #111827;
        }
        .site-header-dropdown {
            position: relative;
            display: flex;
            align-items: center;
        }
        .site-header-dropdown.is-open {
            z-index: 140;
        }
        .site-header-trigger {
            appearance: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 40px;
            padding: 0 14px;
            border: 1px solid rgba(17, 24, 39, 0.12);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.82);
            color: #111827;
            font-size: 14px;
            font-weight: 700;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            cursor: pointer;
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .site-header-trigger::after {
            content: '▾';
            font-size: 12px;
            color: #6b7280;
            transition: transform 0.2s ease, color 0.2s ease;
        }
        .site-header-dropdown:hover .site-header-trigger,
        .site-header-dropdown:focus-within .site-header-trigger,
        .site-header-dropdown.is-open .site-header-trigger {
            border-color: rgba(17, 24, 39, 0.2);
            background: #ffffff;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        }
        .site-header-dropdown:hover .site-header-trigger::after,
        .site-header-dropdown:focus-within .site-header-trigger::after,
        .site-header-dropdown.is-open .site-header-trigger::after {
            color: #111827;
            transform: rotate(180deg);
        }
        .site-header-dropdown-panel {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            min-width: 220px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 12px;
            opacity: 0;
            pointer-events: none;
            transform: translateY(10px) scale(0.98);
            transform-origin: top left;
            transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
            background: rgba(255, 255, 255, 0.98);
            border: 1px solid rgba(17, 24, 39, 0.1);
            border-radius: 18px;
            box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
            z-index: 120;
            visibility: hidden;
        }
        .site-header-dropdown-panel::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: -12px;
            height: 14px;
        }
        .site-header-dropdown:hover .site-header-dropdown-panel,
        .site-header-dropdown:focus-within .site-header-dropdown-panel,
        .site-header-dropdown.is-open .site-header-dropdown-panel {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0) scale(1);
            visibility: visible;
        }
        .site-header-dropdown-link {
            display: flex;
            align-items: center;
            padding: 11px 12px;
            border-radius: 12px;
            color: #374151;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            white-space: nowrap;
            transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
        }
        .site-header-dropdown-link:hover,
        .site-header-dropdown-link:focus-visible {
            color: #111827;
            background: rgba(17, 24, 39, 0.05);
            transform: translateX(2px);
            outline: none;
        }
        .site-header-dropdown-link.active {
            color: #111827;
            background: linear-gradient(135deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.06));
            box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.1);
            font-weight: 700;
        }
        .site-header-dropdown-link.active::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: #111827;
            margin-right: 10px;
            flex-shrink: 0;
        }
        .site-header-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 0 16px;
            border: 1px solid rgba(17, 24, 39, 0.18);
            border-radius: 999px;
            background: #ffffff;
            color: #111827;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            transition: border-color 0.2s ease, background 0.2s ease;
        }
        .site-header-cta:hover {
            border-color: rgba(17, 24, 39, 0.4);
            background: #fafaf9;
        }

        /* 大花旋转动画 */
        @keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .flower-bg-spin { animation: spin-slow 20s linear infinite; transform-origin: center; }
        .flower-bg-spin-reverse { animation: spin-slow 28s linear infinite reverse; transform-origin: center; }
        .flower-spin { transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; }
        .flower-spin:hover { transform: rotate(180deg) scale(1.1); }

        /* 底部作品集展示样式 */
        .mockup-shadow { box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-radius: 16px; overflow: hidden; }
        .bento-card { background-color: var(--card-bg); border-radius: 24px; padding: 32px; position: relative; overflow: hidden; }
        @keyframes floatY { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); } }
        .float-anim { animation: floatY 6s ease-in-out infinite; }
        .float-delay { animation-delay: -3s; }
        .icon-box { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.35s ease; }
        .icon-box:hover { transform: translateY(-5px); }

        /* 联系方式贴纸动画 */
        @keyframes sticker-pop {
            0% { opacity: 0; transform: translate(-50%, 12px) rotate(var(--sticker-rot, 0deg)) scale(0.88); }
            65% { opacity: 1; transform: translate(-50%, -3px) rotate(var(--sticker-rot, 0deg)) scale(1.04); }
            100% { opacity: 1; transform: translate(-50%, 0) rotate(var(--sticker-rot, 0deg)) scale(1); }
        }
        @keyframes sticker-hide {
            0% { opacity: 1; transform: translate(-50%, 0) rotate(var(--sticker-rot, 0deg)) scale(1); }
            100% { opacity: 0; transform: translate(-50%, 10px) rotate(var(--sticker-rot, 0deg)) scale(0.9); }
        }
        .sticker {
            position: absolute;
            bottom: calc(100% + 14px);
            left: 50%;
            white-space: nowrap;
            border: 3px solid #000;
            border-radius: 14px;
            padding: 10px 14px;
            font-size: 13px;
            font-weight: 800;
            line-height: 1.2;
            cursor: pointer;
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
            transform: translate(-50%, 10px) rotate(var(--sticker-rot, 0deg)) scale(0.92);
            box-shadow: 4px 4px 0px #000;
            transition: all 0.35s ease;            z-index: 100;
        }
        .cta-wechat-wrap:hover .sticker-wechat,
        .cta-email-wrap:hover .sticker-email { /* hover no longer triggers sticker */ }
        .sticker.visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            animation: sticker-pop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        .sticker.hiding {
            visibility: visible;
            animation: sticker-hide 0.2s ease-in forwards;
        }
        .sticker-wechat {
            --sticker-rot: -3deg;
            background: #8b5cf6;
            color: #fff;
        }
        .sticker-email {
            --sticker-rot: 3deg;
            background: #fb923c;
            color: #fff;
        }
        
        .btn-press { transition: transform 0.1s ease; }
        .btn-press:active, .btn-press.pressed { transform: translate(2px, 2px) !important; }
        
        /* 隐藏横向滚动条与跑马灯动画 */
        .hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }
        .hide-scroll::-webkit-scrollbar { display: none; }
        @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .animate-marquee { display: flex; width: max-content; animation: marquee 30s linear infinite; }
        .animate-marquee:hover { animation-play-state: paused; }
        @keyframes bounce-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(25%); } }
        .animate-bounce-x { animation: bounce-x 1.5s infinite; }

        /* ── Gashapon CSS Machine ── */
        @keyframes gacha-push-pulse {
            0%, 100% { box-shadow: 0 7px 0 #5c0011, 0 9px 0 #000; }
            50%       { box-shadow: 0 7px 0 #5c0011, 0 9px 0 #000, 0 0 0 7px rgba(230,57,70,0.14), 0 0 0 14px rgba(230,57,70,0.05); }
        }
        .gacha-push-btn { animation: gacha-push-pulse 4s ease-in-out infinite; }
        .gacha-push-btn:active { animation: none !important; }

        @keyframes gacha-lcd-blink {
            0%, 49% { opacity: 1; }
            50%, 100% { opacity: 0.4; }
        }
        .gacha-lcd-cursor { display: inline-block; animation: gacha-lcd-blink 1s step-end infinite; }

        /* ── Task card reveal ── */
        @keyframes task-reveal-in {
            from { opacity: 0; transform: translateY(28px) scale(0.96); }
            to   { opacity: 1; transform: translateY(0)    scale(1); }
        }
        .task-card-reveal { animation: task-reveal-in 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards; }

        /* ── Neo-Brutalism UI System ── */
        .nb-btn {
            font-weight: 900;
            font-family: 'Inter', sans-serif;
            border: 3px solid #1A1A1A;
            border-radius: 10px;
            cursor: pointer;
            transition: box-shadow 0.08s ease, transform 0.08s ease, filter 0.08s ease;
            box-shadow: 5px 5px 0 #1A1A1A;
            padding: 13px 30px;
            font-size: 15px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .nb-btn:hover  { filter: brightness(1.07); }
        .nb-btn:active { box-shadow: 2px 2px 0 #1A1A1A; transform: translate(3px, 3px); }
        .nb-btn-green  { background: #4ade80; color: #1A1A1A; }
        .nb-btn-blue   { background: #60a5fa; color: #1A1A1A; }
        .nb-btn-dark   { background: #1A1A1A; color: #FFFDF7; }
        .nb-btn-ghost  { background: #FFFDF7; color: #1A1A1A; }

        /* ── Task logs (往期回顾) ── */
        .task-logs-block {
            width: 100%;
            margin-top: 8px;
            border: 3px solid #1A1A1A;
            border-radius: 12px;
            background: #FFFDF7;
            box-shadow: 5px 5px 0 #1A1A1A;
            overflow: hidden;
        }
        .task-logs-title {
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #888;
            padding: 12px 20px 8px;
            border-bottom: 2px solid #1A1A1A;
            background: #f5f3ec;
        }
        .task-logs-list { list-style: none; padding: 0; margin: 0; }
        .task-logs-item {
            padding: 14px 20px;
            border-bottom: 2px solid #e8e5dc;
        }
        .task-logs-item:last-child { border-bottom: none; }
        .task-logs-meta {
            font-size: 11px;
            color: #aaa;
            margin-bottom: 5px;
            font-family: monospace;
        }
        .task-logs-task {
            font-size: 14px;
            font-weight: 800;
            color: #1A1A1A;
            margin-bottom: 3px;
        }
        .task-logs-feedback {
            font-size: 13px;
            color: #666;
            font-style: italic;
        }

        /* ── 明信片留言墙 ── */
        #earth-online {
            background: #F4EDD8;
            border-top: 8px solid #1A1A1A;
            border-bottom: 8px solid #1A1A1A;
            padding: 60px 0 52px;
            overflow: hidden;
        }
        .earth-header {
            width: 1200px;
            min-width: 1200px;
            margin: 0 auto 40px;
            padding: 0 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }
        .earth-title {
            font-size: 52px;
            font-weight: 900;
            color: #1A1A1A;
            letter-spacing: -1px;
            line-height: 1;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .earth-meta {
            font-size: 13px;
            color: #7A6A52;
            margin-top: 10px;
            line-height: 1.8;
            font-family: 'Inter', sans-serif;
        }
        .earth-submit-btn {
            background: #1A1A1A;
            color: #FFFBF2;
            font-weight: 900;
            font-size: 14px;
            border: 3px solid #1A1A1A;
            border-radius: 10px;
            padding: 12px 24px;
            cursor: pointer;
            box-shadow: 4px 4px 0 #7A6A52;
            transition: filter 0.1s, box-shadow 0.1s, transform 0.1s;
            font-family: 'Inter', sans-serif;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .earth-submit-btn:hover  { filter: brightness(1.2); }
        .earth-submit-btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 #7A6A52; }

        /* scrolling rows */
        .earth-rows { display: flex; flex-direction: column; gap: 18px; }
        .earth-row-wrap { overflow: hidden; padding: 6px 0; }
        .earth-row-wrap:hover .earth-row-inner { animation-play-state: paused; }
        .earth-row-inner {
            display: flex;
            gap: 16px;
            width: max-content;
            will-change: transform;
        }
        .earth-row-inner.anim-left      { animation: earth-scroll-left  38s linear infinite; }
        .earth-row-inner.anim-right     { animation: earth-scroll-right 44s linear infinite; }
        .earth-row-inner.anim-left-slow { animation: earth-scroll-left  54s linear infinite; }
        @keyframes earth-scroll-left  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
        @keyframes earth-scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); }    }

        /* postcard */
        .earth-card {
            flex-shrink: 0;
            width: 210px;
            min-height: 140px;
            border-radius: 4px;
            padding: 18px 14px 14px;
            position: relative;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(0,0,0,0.10);
            box-shadow: 2px 3px 10px rgba(0,0,0,0.09);
            transition: transform 0.25s, box-shadow 0.25s;
        }
        .earth-card:nth-child(3n+1) { transform: rotate(-1.5deg); }
        .earth-card:nth-child(3n+2) { transform: rotate(1deg); }
        .earth-card:nth-child(3n)   { transform: rotate(-0.4deg); }
        .earth-card:hover {
            transform: translateY(-4px) rotate(0deg) !important;
            box-shadow: 4px 6px 18px rgba(0,0,0,0.14);
            z-index: 5;
        }
        .earth-card-stamp {
            position: absolute; top: 10px; right: 10px;
            width: 28px; height: 32px;
            border: 2px solid; border-radius: 2px;
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; line-height: 1;
            background: rgba(255,255,255,0.55);
        }
        .earth-card-msg {
            font-family: 'Caveat', cursive;
            font-size: 15px;
            font-weight: 600;
            color: #2A1F14;
            line-height: 1.75;
            padding-right: 36px;
            flex: 1;
        }
        .earth-card-from {
            font-size: 11px;
            font-family: 'Inter', sans-serif;
            color: #9A8A72;
            font-style: italic;
            margin-top: 10px;
            border-top: 1px dashed rgba(0,0,0,0.10);
            padding-top: 6px;
        }

        /* footnote */
        .earth-footnote {
            width: 1200px; min-width: 1200px;
            margin: 32px auto 0; padding: 0 32px;
            font-size: 12px; color: #9A8A72;
            font-family: 'Inter', sans-serif;
            text-align: center; font-style: italic;
        }

        /* ── 明信片投稿弹窗 ── */
        .earth-modal {
            position: fixed; inset: 0; z-index: 120;
            background: rgba(0,0,0,0.55);
            backdrop-filter: blur(4px);
            display: none; align-items: center; justify-content: center; padding: 16px;
        }
        .earth-modal.open { display: flex; }
        .earth-modal-panel {
            background: #FFFBF2;
            border: 3px solid #1A1A1A;
            border-radius: 16px;
            box-shadow: 8px 8px 0 #1A1A1A;
            padding: 40px 44px;
            width: 500px; max-width: 100%;
        }
        .earth-modal-title {
            font-size: 22px; font-weight: 900; color: #1A1A1A;
            margin-bottom: 6px; font-family: 'Noto Sans SC', sans-serif;
        }
        .earth-modal-sub {
            font-size: 13px; color: #9A8A72;
            font-family: 'Inter', sans-serif; margin-bottom: 24px;
        }
        .earth-color-row { display: flex; gap: 10px; margin-bottom: 20px; }
        .earth-color-btn {
            width: 44px; height: 44px; border-radius: 8px;
            border: 3px solid transparent; cursor: pointer; font-size: 18px;
            display: flex; align-items: center; justify-content: center;
            transition: transform 0.1s, box-shadow 0.1s;
        }
        .earth-color-btn.active {
            box-shadow: 3px 3px 0 #1A1A1A;
            transform: scale(1.08);
        }
        .earth-color-btn:hover { transform: scale(1.1); }
        .earth-from-input {
            width: 100%; background: #FFF9ED;
            border: 2px solid #E5D8C0; border-radius: 8px;
            padding: 10px 14px; font-size: 13px; color: #1A1A1A;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            margin-bottom: 12px; outline: none;
            transition: border-color 0.15s; box-sizing: border-box;
        }
        .earth-from-input:focus { border-color: #1A1A1A; }
        .earth-from-input::placeholder { color: #BBA990; }
        .earth-modal-from {
            width: 100%; background: #FFF9ED;
            border: 2px solid #E5D8C0; border-radius: 8px;
            padding: 10px 14px; font-size: 13px; color: #1A1A1A;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            margin-bottom: 12px; outline: none;
            transition: border-color 0.15s; box-sizing: border-box;
        }
        .earth-modal-from:focus { border-color: #1A1A1A; }
        .earth-modal-from::placeholder { color: #BBA990; }
        .earth-modal-textarea {
            width: 100%; height: 110px;
            background: #FFFBF2; border: 2px solid #E5D8C0; border-radius: 10px;
            padding: 14px 16px; font-size: 17px; font-weight: 600;
            color: #1A1A1A; resize: none; outline: none;
            font-family: 'Caveat', cursive;
            line-height: 1.65; transition: border-color 0.15s;
            margin-bottom: 8px; box-sizing: border-box;
        }
        .earth-modal-textarea:focus { border-color: #1A1A1A; }
        .earth-modal-textarea::placeholder { color: #BBA990; }
        .earth-char-count {
            font-size: 11px; color: #BBA990; font-family: monospace;
            text-align: right; margin-bottom: 20px;
        }
        .earth-modal-actions { display: flex; gap: 12px; justify-content: flex-end; }
        .earth-modal-cancel {
            background: none; border: 2px solid #D5C9B5; color: #9A8A72;
            font-weight: 700; font-size: 14px; border-radius: 8px;
            padding: 10px 20px; cursor: pointer; font-family: 'Inter', sans-serif;
            transition: border-color 0.1s, color 0.1s;
        }
        .earth-modal-cancel:hover { border-color: #1A1A1A; color: #1A1A1A; }
        .earth-modal-submit {
            background: #1A1A1A; border: 2px solid #1A1A1A; color: #FFFBF2;
            font-weight: 900; font-size: 14px; border-radius: 8px;
            padding: 10px 24px; cursor: pointer; font-family: 'Inter', sans-serif;
            box-shadow: 3px 3px 0 #7A6A52;
            transition: filter 0.1s, box-shadow 0.1s, transform 0.1s;
        }
        .earth-modal-submit:hover  { filter: brightness(1.2); }
        .earth-modal-submit:active { transform: translate(2px,2px); box-shadow: 1px 1px 0; }
        .earth-modal-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; filter: none; }

        /* ── 双击提示文字 ── */
        .earth-hint {
            margin-top: 10px;
            font-size: 12px; color: #9A8A72;
            font-family: 'Inter', sans-serif;
            font-style: italic;
        }

        /* ── 卡片点赞角标（替代旧的按钮栏） ── */
        .earth-card { cursor: pointer; }
        .ec-card-likes {
            display: inline-block; margin-top: 8px;
            font-size: 11px; color: #C0A888;
            font-family: 'Inter', sans-serif;
            transition: color 0.15s;
            user-select: none;
        }
        .earth-card[data-liked="1"] .ec-card-likes { color: #e53e3e; }

        /* ── 评论弹窗 ── */
        .cm-modal {
            position: fixed; inset: 0; z-index: 130;
            background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
            display: none; align-items: center; justify-content: center; padding: 16px;
        }
        .cm-modal.open { display: flex; }
        .cm-panel {
            background: #FFFBF2;
            border: 3px solid #1A1A1A;
            border-radius: 16px;
            box-shadow: 8px 8px 0 #1A1A1A;
            padding: 36px 40px 32px;
            width: 460px; max-width: 100%;
            position: relative;
            max-height: 88vh; overflow-y: auto;
            display: flex; flex-direction: column; gap: 0;
        }
        .cm-close {
            position: absolute; top: 14px; right: 16px;
            background: none; border: none; font-size: 16px;
            cursor: pointer; color: #9A8A72; line-height: 1;
            padding: 4px 8px; border-radius: 6px;
            transition: background 0.1s, color 0.1s;
        }
        .cm-close:hover { background: #eee; color: #1A1A1A; }
        /* 卡片预览：复用 earth-card 但固定不旋转 */
        .cm-panel .earth-card {
            transform: none !important;
            box-shadow: 2px 3px 10px rgba(0,0,0,0.09);
            width: 100%; box-sizing: border-box;
        }
        .cm-list-title {
            font-size: 13px; font-weight: 700; color: #1A1A1A;
            font-family: 'Inter', sans-serif; margin-bottom: 8px;
        }
        .cm-list {
            min-height: 48px; max-height: 200px; overflow-y: auto;
            margin-bottom: 16px;
            display: flex; flex-direction: column; gap: 8px;
        }
        .cm-loading, .cm-empty {
            font-size: 12px; color: #BBA990;
            font-family: 'Inter', sans-serif; padding: 8px 0;
        }
        .cm-item {
            background: #F7F3EB; border-radius: 8px;
            padding: 10px 12px;
        }
        .cm-item-text {
            font-size: 13px; color: #2A1F14;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            line-height: 1.6;
        }
        .cm-item-from {
            display: block; font-size: 11px; color: #9A8A72;
            font-style: italic; margin-top: 4px;
        }
        .cm-input-area { display: flex; flex-direction: column; gap: 10px; }
        .cm-textarea {
            width: 100%; background: #FFFBF2;
            border: 2px solid #E5D8C0; border-radius: 10px;
            padding: 12px 14px; font-size: 14px; color: #1A1A1A;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            resize: none; outline: none; box-sizing: border-box;
            transition: border-color 0.15s; line-height: 1.6;
        }
        .cm-textarea:focus { border-color: #1A1A1A; }
        .cm-textarea::placeholder { color: #BBA990; }
        .cm-input-from {
            width: 100%; background: #FFF9ED;
            border: 2px solid #E5D8C0; border-radius: 8px;
            padding: 10px 14px; font-size: 13px; color: #1A1A1A;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            outline: none; transition: border-color 0.15s; box-sizing: border-box;
        }
        .cm-input-from:focus { border-color: #1A1A1A; }
        .cm-input-from::placeholder { color: #BBA990; }
        .cm-input-actions { display: flex; gap: 12px; justify-content: flex-end; }

        /* ── 弹窗点赞行 ── */
        .cm-like-row {
            display: flex; align-items: center; gap: 14px;
            padding: 14px 0 10px; margin-bottom: 4px;
            border-bottom: 1px dashed rgba(0,0,0,0.10);
        }
        .cm-like-btn {
            display: flex; align-items: center; gap: 6px;
            background: #F7F3EB; border: 2px solid #E5D8C0;
            border-radius: 20px; padding: 8px 18px;
            font-size: 15px; font-weight: 700; color: #5A4A3A;
            font-family: 'Inter', sans-serif; cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
            user-select: none;
        }
        .cm-like-btn:hover:not(:disabled) { background: #fff0e0; border-color: #e53e3e; color: #e53e3e; }
        .cm-like-btn.liked { background: #fff0f0; border-color: #e53e3e; color: #e53e3e; }
        .cm-like-btn:disabled { opacity: 0.45; cursor: not-allowed; }
        .cm-like-quota {
            font-size: 11px; color: #9A8A72;
            font-family: 'Inter', sans-serif;
            font-style: italic;
        }
        .cm-list-wrap { margin-top: 14px; }

        /* ══════════════════════════════════════════════════
           数字篝火 — Campfire  (V2.1)
        ══════════════════════════════════════════════════ */

        /* 火焰抖动：三层不同节奏，营造真实跳动感 */
        @keyframes cf-flicker-1 {
            0%,100% { transform: translateX(0) scaleX(1) scaleY(1) rotate(0deg); opacity: 0.98; }
            22% { transform: translateX(-2px) scaleX(0.96) scaleY(1.08) rotate(-1.8deg); opacity: 0.9; }
            48% { transform: translateX(1px) scaleX(1.04) scaleY(0.98) rotate(1.2deg); opacity: 1; }
            74% { transform: translateX(2px) scaleX(0.98) scaleY(1.04) rotate(0.6deg); opacity: 0.94; }
        }
        @keyframes cf-flicker-2 {
            0%,100% { transform: translateX(0) scaleX(1) scaleY(1); opacity: 0.86; }
            34% { transform: translateX(2px) scaleX(1.07) scaleY(0.96); opacity: 0.95; }
            67% { transform: translateX(-1px) scaleX(0.94) scaleY(1.08); opacity: 0.8; }
        }
        @keyframes cf-flicker-3 {
            0%,100% { transform: translateX(0) scaleX(1) scaleY(1); opacity: 0.74; }
            40% { transform: translateX(-3px) scaleX(0.92) scaleY(1.08); opacity: 0.58; }
            72% { transform: translateX(3px) scaleX(1.08) scaleY(0.94); opacity: 0.82; }
        }
        @keyframes cf-side-wave-left {
            0%,100% { transform: translateX(0) rotate(0deg); opacity: 0.62; }
            50% { transform: translateX(-4px) rotate(-4deg); opacity: 0.82; }
        }
        @keyframes cf-side-wave-right {
            0%,100% { transform: translateX(0) rotate(0deg); opacity: 0.56; }
            50% { transform: translateX(4px) rotate(4deg); opacity: 0.76; }
        }

        /* 地面光晕脉动 */
        @keyframes cf-glow-pulse {
            0%,100% { opacity: 0.35; transform: scaleX(1);    }
            50%      { opacity: 0.55; transform: scaleX(1.18); }
        }

        /* 火星飘散：4颗各自路径 */
        @keyframes cf-spark-1 { 0% { transform:translate(0,0) scale(0.7); opacity:0; } 12% { opacity:1; } 100% { transform:translate(-14px,-52px) scale(0.2); opacity:0; } }
        @keyframes cf-spark-2 { 0% { transform:translate(0,0) scale(0.7); opacity:0; } 18% { opacity:0.9; } 100% { transform:translate(16px,-60px) scale(0.15); opacity:0; } }
        @keyframes cf-spark-3 { 0% { transform:translate(0,0) scale(0.7); opacity:0; } 16% { opacity:0.8; } 100% { transform:translate(-6px,-54px) scale(0.18); opacity:0; } }
        @keyframes cf-spark-4 { 0% { transform:translate(0,0) scale(0.7); opacity:0; } 20% { opacity:0.85;} 100% { transform:translate(10px,-44px) scale(0.18); opacity:0; } }
        @keyframes cf-spark-5 { 0% { transform:translate(0,0) scale(0.7); opacity:0; } 14% { opacity:0.75;} 100% { transform:translate(20px,-48px) scale(0.16); opacity:0; } }

        /* 个人网站实验室 */
        .lab-section {
            min-height: calc(100vh - 72px);
            padding: 92px 18px 104px;
            position: relative;
            background:
                radial-gradient(circle at 50% 22%, rgba(132, 222, 249, 0.18), transparent 34%),
                linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
        }
        .lab-shell {
            width: min(1080px, 100%);
            min-height: calc(100vh - 250px);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 58px;
        }
        .lab-copy {
            max-width: 880px;
            margin: 0 auto;
            text-align: center;
        }
        .lab-kicker {
            margin: 0 0 14px;
            color: #6e6e73;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }
        .lab-copy h1 {
            margin: 0 auto 24px;
            color: #1d1d1f;
            font-family: 'Noto Sans SC', sans-serif;
            font-size: clamp(48px, 6.8vw, 92px);
            line-height: 1.03;
            font-weight: 900;
            letter-spacing: 0;
            max-width: 880px;
        }
        .lab-lede {
            margin: 0 auto 30px;
            max-width: 650px;
            color: #6e6e73;
            font-size: 21px;
            line-height: 1.55;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
        }
        .lab-hero-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }
        .lab-hero-actions a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 0 22px;
            border: 1px solid transparent;
            border-radius: 999px;
            color: #0066cc;
            font-size: 17px;
            font-weight: 700;
            text-decoration: none;
        }
        .lab-hero-actions a:first-child {
            background: #0071e3;
            color: #fff;
            padding: 0 26px;
        }
        .lab-hero-actions a:last-child {
            border-color: #0071e3;
        }
        .lab-workbench {
            display: grid;
            grid-template-columns: minmax(280px, 360px) minmax(360px, 1fr);
            gap: 22px;
            align-items: stretch;
            width: min(960px, 100%);
            margin: 0 auto;
            padding: 18px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.72);
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
            backdrop-filter: blur(22px);
        }
        .lab-form-card,
        .lab-result-card {
            border: 0;
            border-radius: 22px;
            background: transparent;
            box-shadow: none;
        }
        .lab-form-card {
            padding: 16px 12px 16px 16px;
        }
        .lab-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 20px;
        }
        .lab-card-head p {
            margin: 0;
            color: #1d1d1f;
            font-size: 22px;
            font-weight: 900;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .lab-card-head span {
            color: #86868b;
            font-size: 12px;
            font-weight: 700;
        }
        .lab-field {
            display: block;
            margin-bottom: 14px;
        }
        .lab-field span {
            display: block;
            margin-bottom: 7px;
            color: #1d1d1f;
            font-size: 13px;
            font-weight: 800;
        }
        .lab-field input {
            width: 100%;
            min-height: 48px;
            border: 1px solid rgba(0, 0, 0, 0.14);
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.86);
            padding: 0 14px;
            color: #1d1d1f;
            font-size: 15px;
            font-weight: 700;
            outline: none;
            box-sizing: border-box;
        }
        .lab-field input:focus {
            border-color: #0071e3;
            box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
        }
        .lab-style-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin: 18px 0;
        }
        .lab-style {
            min-height: 40px;
            border: 1px solid rgba(0, 0, 0, 0.14);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.72);
            color: #1d1d1f;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
        }
        .lab-style.is-active {
            border-color: #0071e3;
            background: #0071e3;
            color: #fff;
            box-shadow: none;
        }
        .lab-generate-btn {
            width: 100%;
            min-height: 50px;
            border: 0;
            border-radius: 999px;
            background: #1d1d1f;
            color: #fff;
            font-size: 15px;
            font-weight: 800;
            cursor: pointer;
            box-shadow: none;
            transition: transform 0.16s ease, background 0.16s ease;
        }
        .lab-generate-btn:hover {
            background: #000;
            transform: translateY(-1px);
        }
        .lab-generate-btn:disabled {
            cursor: wait;
            opacity: 0.72;
            transform: none;
        }
        .lab-privacy-note {
            margin: 12px 0 0;
            color: #86868b;
            font-size: 12px;
            line-height: 1.6;
        }
        /* ── Result card shell ── */
        .lab-result-card {
            display: flex;
            flex-direction: column;
            min-height: 388px;
            padding: 0;
            background: transparent;
            overflow: visible;
        }

        /* ── Browser chrome bar ── */
        .lab-chrome {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 14px;
            border-radius: 14px 14px 0 0;
            background: rgba(255,255,255,0.55);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid rgba(0,0,0,0.06);
        }
        .lab-chrome-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #d0d0d5;
            flex-shrink: 0;
        }
        .lab-chrome-dot:nth-child(1) { background: #ff5f57; }
        .lab-chrome-dot:nth-child(2) { background: #febc2e; }
        .lab-chrome-dot:nth-child(3) { background: #28c840; }
        .lab-chrome-bar {
            flex: 1;
            height: 22px;
            border-radius: 6px;
            background: rgba(0,0,0,0.07);
            margin-left: 8px;
        }

        /* ── Mockup body ── */
        .lab-mockup {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 32px 32px 24px;
            border-radius: 0 0 14px 14px;
            transition: background 0.45s ease, color 0.45s ease;
        }
        .lab-mockup-tag {
            display: block;
            margin: 0 0 18px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            opacity: 0.45;
        }
        .lab-result-card h2 {
            margin: 0 0 14px;
            font-size: 34px;
            line-height: 1.16;
            font-weight: 900;
        }
        .lab-result-card p.lab-subtitle {
            font-size: 16px;
            line-height: 1.72;
            opacity: 0.78;
            margin: 0;
        }
        .lab-mockup-cta {
            margin-top: 24px;
            padding: 14px 18px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.6;
            cursor: default;
        }
        .lab-mockup-advice {
            margin: 18px 0 0;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.06em;
            opacity: 0.38;
        }
        .lab-mockup-watermark {
            margin-top: auto;
            padding-top: 20px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.12em;
            opacity: 0.28;
        }

        /* ── Theme: warm (default) ── */
        .lab-result-card.theme-warm .lab-mockup {
            background: linear-gradient(145deg, #fdf6ed 0%, #f5e8d0 100%);
            color: #2d1f0e;
        }
        .lab-result-card.theme-warm .lab-result-card h2,
        .lab-result-card.theme-warm h2 {
            font-family: 'Noto Serif SC', 'STSong', serif;
            color: #2d1f0e;
        }
        .lab-result-card.theme-warm .lab-mockup-cta {
            background: rgba(200, 96, 42, 0.1);
            color: #c8602a;
            border: 1px solid rgba(200, 96, 42, 0.2);
        }

        /* ── Theme: sharp ── */
        .lab-result-card.theme-sharp .lab-mockup {
            background: #ffffff;
            color: #1d1d1f;
            border: 1px solid #e5e5ea;
        }
        .lab-result-card.theme-sharp h2 {
            font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
            font-weight: 900;
            letter-spacing: -0.02em;
            color: #1d1d1f;
        }
        .lab-result-card.theme-sharp .lab-mockup-cta {
            background: #f5f5f7;
            color: #1d1d1f;
            border: 1px solid #e5e5ea;
        }

        /* ── Theme: playful ── */
        .lab-result-card.theme-playful .lab-mockup {
            background: linear-gradient(135deg, #f0ffd8 0%, #d4f0ff 100%);
            color: #0d2640;
        }
        .lab-result-card.theme-playful h2 {
            font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            font-weight: 900;
            color: #0d2640;
        }
        .lab-result-card.theme-playful .lab-mockup-cta {
            background: rgba(37, 99, 235, 0.1);
            color: #2563eb;
            border: 1px solid rgba(37, 99, 235, 0.2);
        }

        /* ── Foot buttons (outside mockup, not captured) ── */
        .lab-result-foot {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-top: 16px;
        }
        .lab-result-foot button,
        .lab-result-foot a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 38px;
            padding: 0 14px;
            border: 1px solid rgba(0, 0, 0, 0.16);
            border-radius: 999px;
            color: #1d1d1f;
            background: #fff;
            font-size: 12px;
            font-weight: 800;
            text-decoration: none;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s;
        }
        .lab-result-foot button:hover { background: #f5f5f7; }
        #site-lab-copy {
            border-color: #0071e3;
            background: #0071e3;
            color: #fff;
        }
        #site-lab-copy:hover { background: #005ec4; border-color: #005ec4; }
        #site-lab-download {
            border-color: #1d1d1f;
            background: #1d1d1f;
            color: #fff;
        }
        #site-lab-download:hover { background: #000; border-color: #000; }
        .lab-progress {
            display: none;
            height: 3px;
            margin: 14px 0 0;
            border-radius: 999px;
            background: #e8e8ed;
            overflow: hidden;
        }
        .lab-progress.is-active {
            display: block;
        }
        .lab-progress-bar {
            height: 100%;
            width: 38%;
            border-radius: 999px;
            background: #0071e3;
            animation: lab-progress-slide 1.3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }
        @keyframes lab-progress-slide {
            0%   { transform: translateX(-160%); }
            100% { transform: translateX(370%); }
        }
        .lab-toast {
            min-height: 20px;
            margin: 10px 0 0;
            color: #0071e3;
            font-size: 12px !important;
            font-weight: 800;
        }

        /* 篝火容器 */
        .campfire-section {
            display: block;
            min-height: auto;
            padding: 86px 18px 92px;
            position: relative;
        }
        .campfire-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 50% 58%, rgba(255, 144, 64, 0.2), transparent 28%),
                linear-gradient(180deg, rgba(255,253,247,0.9), rgba(246,245,241,0));
            pointer-events: none;
        }
        .campfire-hero {
            width: min(820px, 100%);
            min-height: auto;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            align-items: start;
            gap: 22px;
            position: relative;
            z-index: 2;
        }
        .campfire-copy {
            position: relative;
            z-index: 3;
            text-align: center;
        }
        .campfire-kicker {
            color: #9A6A44;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            margin: 0 0 12px;
        }
        .campfire-copy h1 {
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 56px;
            line-height: 1.05;
            color: #1A1A1A;
            font-weight: 900;
            letter-spacing: 0.02em;
            margin: 0 0 18px;
        }
        .campfire-lede {
            font-size: 17px;
            color: #5A4A3A;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
            max-width: 650px;
            line-height: 1.9;
            margin: 0 auto 18px;
        }
        .campfire-invite-line {
            max-width: 520px;
            margin: -8px 0 28px;
            color: #1A1A1A;
            font-size: 18px;
            line-height: 1.65;
            font-weight: 900;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
        }
        .campfire-memory {
            display: none;
            max-width: 100%;
            padding-left: 14px;
            border-left: 3px solid rgba(232, 98, 26, 0.45);
            color: #8A6A52;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.7;
            margin: 0 0 32px;
        }
        .campfire-identity {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 28px;
        }
        .campfire-identity span {
            background: #FFFDF7;
            border: 2px solid #1A1A1A;
            border-radius: 999px;
            padding: 8px 14px;
            box-shadow: 3px 3px 0 #1A1A1A;
            font-size: 13px;
            font-weight: 900;
        }
        .campfire-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }
        .campfire-links-minimal {
            margin-top: 4px;
        }
        .campfire-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 0;
            border-radius: 0;
            padding: 0;
            font-weight: 900;
            font-size: 14px;
            color: #1A1A1A;
            text-decoration: underline;
            text-underline-offset: 5px;
            background: transparent;
            box-shadow: none;
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .campfire-links a:first-child {
            background: transparent;
            color: #1A1A1A;
        }
        .campfire-links a:hover {
            transform: translateY(-1px);
            box-shadow: none;
        }
        .campfire-scroll-link {
            display: inline-flex;
            align-items: center;
            color: #1A1A1A;
            font-size: 14px;
            font-weight: 900;
            text-decoration: underline;
            text-underline-offset: 5px;
        }
        .ai-build-note {
            margin-top: 36px;
            padding: 28px 30px;
            display: grid;
            grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1fr) auto;
            align-items: center;
            gap: 26px;
            background: #fffdf7;
            border: 3px solid #1A1A1A;
            border-radius: 18px;
            box-shadow: 6px 6px 0 #1A1A1A;
        }
        .ai-build-kicker {
            margin: 0 0 8px;
            color: #B3652F;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            font-family: 'Inter', sans-serif;
        }
        .ai-build-note h3 {
            margin: 0;
            color: #1A1A1A;
            font-size: 22px;
            line-height: 1.35;
            font-weight: 900;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .ai-build-note p {
            margin: 0;
            color: #5A4A3A;
            font-size: 14px;
            line-height: 1.85;
        }
        .ai-build-note a {
            color: #1A1A1A;
            font-size: 14px;
            font-weight: 900;
            white-space: nowrap;
            text-decoration: underline;
            text-underline-offset: 4px;
        }
        .campfire-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            width: 100%;
            position: relative;
            padding: 0 12px 20px;
            background: transparent;
            overflow: visible;
        }
        .campfire-wrap::after {
            content: '';
            position: absolute;
            left: 18%;
            right: 18%;
            bottom: 112px;
            height: 34px;
            border-radius: 999px;
            background: radial-gradient(ellipse, rgba(232, 98, 26, 0.22), transparent 72%);
            filter: blur(3px);
            pointer-events: none;
        }
        .campfire-head {
            text-align: center;
            max-width: 560px;
            position: relative;
            z-index: 2;
        }
        .campfire-eyebrow {
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #B3652F;
            font-family: 'Inter', sans-serif;
            margin-bottom: 8px;
        }
        .campfire-head h2 {
            font-size: 24px;
            line-height: 1.16;
            font-weight: 900;
            color: #1A1A1A;
            font-family: 'Noto Sans SC', sans-serif;
            margin: 0;
        }
        .campfire-commons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px 14px;
            width: min(430px, 92vw);
            position: relative;
            z-index: 3;
            color: #8A6A52;
            font-size: 12px;
            font-weight: 800;
        }
        .campfire-commons span {
            display: inline-flex;
            align-items: baseline;
            gap: 5px;
        }
        .campfire-commons strong {
            color: #1A1A1A;
            font-size: 13px;
            line-height: 1;
            font-weight: 900;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
        }
        .campfire-head p {
            font-size: 14px;
            line-height: 1.75;
            color: #6A5A43;
            margin: 0;
        }
        .campfire-feedback {
            min-height: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 7px 14px;
            border: 2px solid transparent;
            border-radius: 999px;
            color: #8A4A20;
            font-size: 13px;
            font-weight: 900;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.22s, transform 0.22s, border-color 0.22s, background 0.22s;
            position: relative;
            z-index: 3;
        }
        .campfire-feedback.show {
            opacity: 1;
            transform: translateY(0);
            background: #fff3df;
            border-color: #1A1A1A;
            box-shadow: 3px 3px 0 #1A1A1A;
            min-height: 34px;
        }

        /* SVG 整体发光：随 data-level 变化 */
        #campfire-svg {
            display: block;
            overflow: visible;
            position: relative;
            z-index: 2;
            width: min(280px, 64vw);
            height: auto;
        }
        #campfire-svg[data-level="0"] { filter: drop-shadow(0 0  3px rgba(180,80,10,0.15)) grayscale(0.5); }
        #campfire-svg[data-level="1"] { filter: drop-shadow(0 0 16px rgba(255,120,30,0.45)); }
        #campfire-svg[data-level="2"] { filter: drop-shadow(0 0 28px rgba(255,140,40,0.65)); }
        #campfire-svg[data-level="3"] { filter: drop-shadow(0 0 42px rgba(255,160,50,0.88)); }
        #campfire-svg[data-level="4"] { filter: drop-shadow(0 0 56px rgba(255,180,60,1.00)); }

        /* 火焰动效绑定 */
        .cf-flames { transform-origin: 100px 140px; transition: transform 0.6s ease; }
        /* 火焰大小由 data-level 驱动（不用 inline style，让吹气 animation 能生效） */
        #campfire-svg[data-level="0"] .cf-flames { transform: scale(0.4); opacity: 0.35; }
        #campfire-svg[data-level="1"] .cf-flames { transform: scale(1);   }
        #campfire-svg[data-level="2"] .cf-flames { transform: scale(1.2); }
        #campfire-svg[data-level="3"] .cf-flames { transform: scale(1.45); }
        #campfire-svg[data-level="4"] .cf-flames { transform: scale(1.6); }
        .cf-flame-aura { transform-origin: 100px 140px; animation: cf-flicker-3 3.6s ease-in-out infinite; }
        .cf-flame-1 { transform-origin: 100px 140px; animation: cf-flicker-1 1.35s ease-in-out infinite; }
        .cf-flame-2 { transform-origin: 100px 140px; animation: cf-flicker-2 1.85s ease-in-out infinite; }
        .cf-flame-3 { transform-origin: 100px 140px; animation: cf-flicker-3 2.25s ease-in-out infinite; }
        .cf-flame-core { transform-origin: 100px 140px; animation: cf-flicker-1 1.05s ease-in-out infinite reverse; }
        .cf-flame-side { transform-origin: 100px 140px; }
        .cf-flame-left { animation: cf-side-wave-left 2.1s ease-in-out infinite; }
        .cf-flame-right { animation: cf-side-wave-right 2.4s ease-in-out infinite; }
        .cf-glow    { transform-origin: center;       animation: cf-glow-pulse 2.4s ease-in-out infinite; }
        .cf-ground-glow { transform-origin: center; animation: cf-glow-pulse 3.1s ease-in-out infinite reverse; }
        .cf-ember-bed { animation: cf-glow-pulse 1.8s ease-in-out infinite; }

        /* 火星 */
        .cf-spark-s1 { animation: cf-spark-1 2.4s ease-out infinite; }
        .cf-spark-s2 { animation: cf-spark-2 3.2s ease-out infinite 0.6s; }
        .cf-spark-s3 { animation: cf-spark-3 2.9s ease-out infinite 1.3s; }
        .cf-spark-s4 { animation: cf-spark-4 3.6s ease-out infinite 0.3s; }
        .cf-spark-s5 { animation: cf-spark-5 3.1s ease-out infinite 1.7s; }

        /* 火焰大小：level 0 低速暗弱，level 3 高速明亮 */
        #campfire-svg[data-level="0"] .cf-flame-1 { animation-duration: 2.4s; }
        #campfire-svg[data-level="0"] .cf-flame-2 { animation-duration: 3.2s; }
        #campfire-svg[data-level="0"] .cf-flame-3 { animation-duration: 4.2s; }
        #campfire-svg[data-level="2"] .cf-flame-1 { animation-duration: 1.3s; }
        #campfire-svg[data-level="2"] .cf-flame-2 { animation-duration: 1.8s; }
        #campfire-svg[data-level="2"] .cf-flame-3 { animation-duration: 2.3s; }
        #campfire-svg[data-level="3"] .cf-flame-1 { animation-duration: 0.9s; }
        #campfire-svg[data-level="3"] .cf-flame-2 { animation-duration: 1.3s; }
        #campfire-svg[data-level="3"] .cf-flame-3 { animation-duration: 1.7s; }
        #campfire-svg[data-level="4"] .cf-flame-1 { animation-duration: 0.65s; }
        #campfire-svg[data-level="4"] .cf-flame-2 { animation-duration: 0.95s; }
        #campfire-svg[data-level="4"] .cf-flame-3 { animation-duration: 1.3s; }
        /* 灰烬态：爆火箱不动 */
        #campfire-svg[data-level="0"] .cf-glow   { opacity: 0.08 !important; }
        #campfire-svg[data-level="0"] .cf-spark-s1,
        #campfire-svg[data-level="0"] .cf-spark-s2,
        #campfire-svg[data-level="0"] .cf-spark-s3,
        #campfire-svg[data-level="0"] .cf-spark-s4,
        #campfire-svg[data-level="0"] .cf-spark-s5 { opacity: 0.15; animation-play-state: paused; }

        /* 文案行 */
        .campfire-label {
            font-size: 15px;
            color: #5A4A3A;
            font-family: 'Inter', sans-serif;
            letter-spacing: 0.01em;
            text-align: center;
        }
        .campfire-label strong {
            font-weight: 900;
            color: #c94f1a;
        }
        /* 重燃提示（灰烬状态时显示） */
        .campfire-ignite-hint {
            font-size: 12px;
            color: #8a6a50;
            font-family: 'Inter', sans-serif;
            text-align: center;
            margin: 4px 0 0;
            font-weight: 700;
            letter-spacing: 0.02em;
            border: 2px dashed #c4a882;
            padding: 5px 12px;
            background: rgba(255,240,210,0.6);
        }

        /* 添柴按钮（主） */
        .campfire-btn {
            background: #1A1A1A;
            color: #FFFDF7;
            border: 2px solid #1A1A1A;
            border-radius: 18px;
            padding: 15px 28px;
            font-size: 16px;
            font-weight: 900;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
            cursor: pointer;
            box-shadow: 6px 6px 0 #1A1A1A;
            transition: transform 0.12s ease, box-shadow 0.12s ease;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }
        .campfire-btn:hover:not(:disabled) {
            transform: translate(-2px, -2px);
            box-shadow: 6px 6px 0 #1A1A1A;
        }
        .campfire-btn:active:not(:disabled) {
            transform: translate(2px, 2px);
            box-shadow: 2px 2px 0 #1A1A1A;
        }
        /* 次要按钮（吹气 / 许愿） */
        .campfire-btn-sec {
            background: #FFFDF7;
            color: #1A1A1A;
            border-color: #1A1A1A;
            box-shadow: 3px 3px 0 #1A1A1A;
            padding: 13px 20px;
            font-size: 14px;
        }
        .campfire-btn-sec:hover:not(:disabled) {
            background: #fff8ec;
        }
        /* 冷却中：主按钮变灰 */
        .campfire-btn:disabled,
        .campfire-btn-done {
            background: #9A8A72;
            border-color: #9A8A72;
            box-shadow: 4px 4px 0 #c4b9ab;
            color: #fff;
            cursor: default;
        }
        /* 三个按钮横排 */
        .campfire-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* ── 吹气效果：火焰强力脉冲 ── */
        @keyframes cf-blow-pulse {
            0%   { transform: scale(1) translateY(0) rotate(0deg); }
            22%  { transform: scale(1.36,1.52) translateY(-20px) rotate(-2deg); }
            48%  { transform: scale(1.16,1.28) translateY(-9px) rotate(2deg); }
            74%  { transform: scale(1.08,1.12) translateY(-4px) rotate(-1deg); }
            100% { transform: scale(1) translateY(0) rotate(0deg); }
        }
        #campfire-svg.cf-blowing .cf-flames {
            animation: cf-blow-pulse 1.15s cubic-bezier(.18,.82,.22,1) !important;
            transition: none !important;
        }
        @keyframes cf-stage-shake {
            0%,100% { transform: translateX(0); }
            20% { transform: translateX(-5px) rotate(-1deg); }
            45% { transform: translateX(6px) rotate(1deg); }
            70% { transform: translateX(-3px) rotate(-0.5deg); }
        }
        #campfire-svg.cf-wood-hit {
            animation: cf-stage-shake 0.42s steps(4);
        }

        /* ── 飞柴动效 ── */
        @keyframes fly-wood {
            0%   { transform: translate(0, 0) scale(1) rotate(0deg);   opacity: 1; }
            70%  { opacity: 1; }
            100% { transform: var(--fly-target) scale(0.3) rotate(45deg); opacity: 0; }
        }
        .campfire-wood-fx {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            pointer-events: none;
            overflow: visible;
            z-index: 9998;
        }
        .cf-wood-piece {
            position: fixed;
            font-size: 24px;
            animation: fly-wood 0.62s cubic-bezier(.2,.8,.2,1) forwards;
            pointer-events: none;
            z-index: 9999;
        }
        @keyframes cf-burst-pop {
            0% { opacity: 1; transform: translate(0,0) scale(0.9); }
            100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0.15); }
        }
        .cf-burst-particle {
            position: fixed;
            width: var(--ps, 8px);
            height: var(--ps, 8px);
            border: 2px solid #1A1A1A;
            border-radius: 999px;
            background: var(--pc, #ffcb41);
            pointer-events: none;
            z-index: 9999;
            animation: cf-burst-pop 0.78s cubic-bezier(.16,.84,.32,1) forwards;
        }

        /* ── 吹气风线 ── */
        @keyframes wind-streak {
            0%   { opacity: 0;   transform: rotate(var(--wind-angle)) translateX(0);                  }
            25%  { opacity: 0.9;                                                                       }
            100% { opacity: 0;   transform: rotate(var(--wind-angle)) translateX(var(--wind-dist));  }
        }
        .cf-wind-streak {
            position: fixed;
            width: 72px;
            height: 3px;
            border-radius: 2px;
            background: linear-gradient(90deg, transparent, #84def9, #fff);
            border: 1px solid #1A1A1A;
            pointer-events: none;
            z-index: 9998;
            animation: wind-streak 0.65s ease-out forwards;
        }
        @keyframes cf-paper-fly {
            0% { opacity: 1; transform: translate(0,0) rotate(-5deg) scale(1); }
            65% { opacity: 1; transform: var(--paper-mid) rotate(8deg) scale(0.94); }
            100% { opacity: 0; transform: var(--paper-target) rotate(26deg) scale(0.22); }
        }
        .cf-wish-paper {
            position: fixed;
            width: 150px;
            max-width: 42vw;
            padding: 10px 12px;
            background: #FFFDF7;
            border: 2.5px solid #1A1A1A;
            border-radius: 8px;
            box-shadow: 4px 4px 0 #1A1A1A;
            color: #1A1A1A;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.45;
            text-align: left;
            pointer-events: none;
            z-index: 9999;
            animation: cf-paper-fly 1s cubic-bezier(.2,.8,.2,1) forwards;
        }

        /* ── 冷却倒计时环 ── */
        .campfire-cooldown {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cf-ring-svg {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
        }
        .cf-ring-arc {
            transition: stroke-dashoffset 1s linear;
        }
        .campfire-cooldown-text {
            font-size: 12px;
            color: #9a8a72;
            font-weight: 600;
            font-family: 'Inter', sans-serif;
        }

        /* ── 许愿面板 ── */
        .campfire-wish-panel {
            background: #fffdf7;
            border: 2.5px solid #1a1a1a;
            border-radius: 16px;
            box-shadow: 5px 5px 0 #1a1a1a;
            padding: 16px 18px 14px;
            width: 280px;
            max-width: 90vw;
        }
        .campfire-wish-title {
            font-size: 13px;
            font-weight: 900;
            color: #1a1a1a;
            margin: 0 0 10px;
            font-family: 'Inter', sans-serif;
        }
        .campfire-wish-input {
            width: 100%;
            height: 68px;
            border: 2px solid #e5d8cb;
            border-radius: 10px;
            padding: 8px 10px;
            font-size: 13px;
            font-family: 'Inter', sans-serif;
            resize: none;
            outline: none;
            background: #fff;
            box-sizing: border-box;
            line-height: 1.6;
        }
        .campfire-wish-input:focus {
            border-color: #e8621a;
        }
        .campfire-wish-foot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
        }
        .campfire-wish-chars {
            font-size: 11px;
            color: #9ca3af;
            font-family: 'Inter', sans-serif;
        }
        .campfire-wish-submit {
            background: #e8621a;
            color: #fff;
            border: 2px solid #1a1a1a;
            border-radius: 999px;
            padding: 6px 18px;
            font-size: 13px;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            box-shadow: 3px 3px 0 #1a1a1a;
            transition: transform 0.1s, box-shadow 0.1s;
        }
        .campfire-wish-submit:hover {
            transform: translate(-1px, -1px);
            box-shadow: 4px 4px 0 #1a1a1a;
        }
        .campfire-wish-submit:disabled {
            opacity: 0.5;
            cursor: default;
        }

        /* ── 旅人愿望展示 ── */
        @keyframes wish-fade-in {
            from { opacity: 0; transform: translateY(6px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .campfire-wishes-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
            width: 280px;
            max-width: 90vw;
        }
        .campfire-wishes-list:empty { display: none; }
        .campfire-latest-wish {
            display: none;
            width: min(430px, 92vw);
            padding: 12px 14px;
            background: rgba(255, 253, 247, 0.78);
            border-left: 3px solid #e8621a;
            color: #6A4A36;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.65;
            text-align: left;
        }
        .campfire-wish-item {
            font-size: 12px;
            color: #7a6855;
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            text-align: center;
            animation: wish-fade-in 0.4s ease both;
            opacity: 0.85;
        }
        .campfire-wish-item::before { content: '「'; }
        .campfire-wish-item::after  { content: '」'; }

        .wish-share-card {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(26, 26, 26, 0.62);
            backdrop-filter: blur(8px);
        }
        .wish-share-panel {
            width: min(420px, 92vw);
            position: relative;
            padding: 34px 30px 28px;
            background:
                radial-gradient(circle at 82% 18%, rgba(255, 203, 65, 0.35), transparent 26%),
                linear-gradient(160deg, #fffdf7, #f4edd8);
            border: 4px solid #1A1A1A;
            border-radius: 24px;
            box-shadow: 10px 10px 0 #1A1A1A;
            color: #1A1A1A;
        }
        .wish-share-close {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 32px;
            height: 32px;
            border: 2px solid #1A1A1A;
            border-radius: 999px;
            background: #fffdf7;
            font-size: 20px;
            line-height: 1;
            font-weight: 900;
            cursor: pointer;
        }
        .wish-share-kicker {
            margin: 0 0 14px;
            color: #B3652F;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.18em;
            text-transform: uppercase;
        }
        .wish-share-panel h2 {
            margin: 0 0 22px;
            font-size: 28px;
            line-height: 1.22;
            font-weight: 900;
            font-family: 'Noto Sans SC', sans-serif;
        }
        .wish-share-text {
            min-height: 92px;
            margin: 0;
            padding: 20px;
            background: #fff;
            border: 3px solid #1A1A1A;
            border-radius: 14px;
            box-shadow: 6px 6px 0 #1A1A1A;
            color: #4A3328;
            font-size: 18px;
            line-height: 1.7;
            font-weight: 800;
        }
        .wish-share-foot {
            margin-top: 22px;
            display: flex;
            justify-content: space-between;
            gap: 16px;
            color: #8A6A52;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.08em;
        }

        /* ── 许愿炭化：灰烬像素碎片（Neo-brutalist） ── */
        @keyframes char-pixel {
            0%   { transform: translate(0,0) rotate(0deg);                                          opacity: 1;   }
            50%  { transform: translate(var(--cx),var(--cy)) rotate(var(--cr));                     opacity: 0.8; }
            100% { transform: translate(var(--cx),calc(var(--cy) + 20px)) rotate(calc(var(--cr) + 45deg)); opacity: 0; }
        }
        .cf-char-pixel {
            position: fixed;
            width: var(--cs, 4px);
            height: var(--cs, 4px);
            background: #1a1a1a;
            pointer-events: none;
            z-index: 9999;
            animation: char-pixel 0.8s steps(5) forwards;
        }

        /* ── 许愿时篝火 SVG 短暂变暗（炭化脉冲） ── */
        @keyframes cf-char-burn-kf {
            0%   { opacity: 1;    }
            20%  { opacity: 0.4;  }
            60%  { opacity: 0.7;  }
            100% { opacity: 1;    }
        }
        #campfire-svg.cf-char-burn {
            animation: cf-char-burn-kf 0.65s steps(4) !important;
        }

        /* ── 灰烬考古：愿望揭露区域 ── */
        @keyframes cf-reveal-emerge {
            0%   { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0);    }
        }
        .cf-reveal-area {
            width: 280px;
            max-width: 90vw;
        }
        .cf-reveal-card {
            background: #fff8ed;
            border: 2.5px solid #1a1a1a;
            border-radius: 14px;
            padding: 14px 16px 12px;
            box-shadow: 5px 5px 0 #1A1A1A;
        }
        .cf-reveal-card.cf-emerge {
            animation: cf-reveal-emerge 0.5s steps(5) both;
        }
        .cf-reveal-card.cf-touched {
            border-color: #8A4A20;
            box-shadow: 5px 5px 0 #8A4A20;
        }
        .cf-reveal-text {
            font-size: 13px;
            font-family: 'Noto Sans SC', 'Inter', sans-serif;
            font-weight: 600;
            color: #1A1A1A;
            margin: 0 0 10px;
            line-height: 1.8;
            letter-spacing: 0.03em;
        }
        .cf-blurred {
            filter: blur(3.5px);
            opacity: 0.5;
            user-select: none;
        }
        .cf-touch-btn {
            background: transparent;
            color: #8A4A20;
            border: 1.5px solid #8A4A20;
            border-radius: 999px;
            padding: 5px 12px;
            font-size: 11px;
            font-weight: 800;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            letter-spacing: 0.06em;
            transition: background 0.1s, color 0.1s;
        }
        .cf-touch-btn:hover:not(:disabled) {
            background: #8A4A20;
            color: #FFFDF7;
        }
        .cf-touch-btn:disabled {
            opacity: 0.4;
            cursor: default;
        }
        .cf-reveal-quota {
            font-size: 11px;
            color: #9a8a72;
            font-family: 'Inter', sans-serif;
            text-align: center;
            margin: 6px 0 0;
            letter-spacing: 0.03em;
        }

        /* ── 营地信箱：抽一封信按钮 ── */
        .earth-btn-draw {
            background: #F4EDD8;
            color: #1A1A1A;
            font-weight: 900;
            font-size: 15px;
            border: 3px solid #1A1A1A;
            border-radius: 10px;
            padding: 13px 28px;
            cursor: pointer;
            box-shadow: 5px 5px 0 #1A1A1A;
            transition: filter 0.1s, box-shadow 0.1s, transform 0.1s;
            font-family: 'Inter', sans-serif;
            white-space: nowrap;
            flex-shrink: 0;
            display: block;
            margin-bottom: 2px;
        }
        .earth-btn-draw:hover  { filter: brightness(0.96); }
        .earth-btn-draw:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 #1A1A1A; }

        /* ── 抽信封弹窗 ── */
        @keyframes envelope-open {
            0%   { transform: scale(0.85) translateY(20px); opacity: 0; }
            60%  { transform: scale(1.03) translateY(-4px); opacity: 1; }
            100% { transform: scale(1) translateY(0); opacity: 1; }
        }

        .draw-modal-panel {
            background: #FFFBF2;
            border: 3px solid #1A1A1A;
            border-radius: 16px;
            box-shadow: 8px 8px 0 #1A1A1A;
            padding: 48px 48px 40px;
            width: 480px;
            max-width: 100%;
            animation: envelope-open 0.42s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
        }

        .draw-state { display: flex; flex-direction: column; align-items: center; gap: 16px; }

        .draw-envelope-icon {
            font-size: 56px;
            line-height: 1;
            animation: envelope-open 0.5s 0.1s cubic-bezier(0.34, 1.4, 0.64, 1) both;
        }

        .draw-loading-text {
            font-size: 14px;
            color: #9A8A72;
            font-family: 'Inter', sans-serif;
        }

        .draw-title {
            font-size: 22px;
            font-weight: 900;
            color: #1A1A1A;
            font-family: 'Noto Sans SC', sans-serif;
        }

        .draw-body {
            font-size: 14px;
            color: #7A6A52;
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            text-align: center;
            line-height: 1.8;
            margin: 0;
        }

        .draw-label {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            color: #9A8A72;
            text-transform: uppercase;
            font-family: 'Inter', sans-serif;
            align-self: flex-start;
        }

        .draw-card-preview {
            width: 100%;
            border-radius: 6px;
            padding: 22px 18px 18px;
            border: 1px solid rgba(0,0,0,0.12);
            box-shadow: 3px 4px 14px rgba(0,0,0,0.10);
            position: relative;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            animation: envelope-open 0.5s 0.15s cubic-bezier(0.34, 1.4, 0.64, 1) both;
        }

        .draw-card-stamp {
            position: absolute;
            top: 10px; right: 12px;
            width: 30px; height: 34px;
            border: 2px solid;
            border-radius: 2px;
            display: flex; align-items: center; justify-content: center;
            font-size: 14px;
            background: rgba(255,255,255,0.55);
        }

        .draw-card-text {
            font-family: 'Caveat', cursive;
            font-size: 17px;
            font-weight: 600;
            color: #2A1F14;
            line-height: 1.75;
            padding-right: 42px;
            flex: 1;
            word-break: break-all;
        }

        .draw-card-from {
            font-size: 12px;
            font-family: 'Inter', sans-serif;
            color: #9A8A72;
            font-style: italic;
            margin-top: 12px;
            border-top: 1px dashed rgba(0,0,0,0.12);
            padding-top: 8px;
        }

        .draw-actions {
            display: flex;
            gap: 12px;
            align-self: stretch;
            justify-content: flex-end;
            margin-top: 4px;
        }

        .draw-btn-secondary {
            background: none;
            border: 2px solid #D5C9B5;
            color: #9A8A72;
            font-weight: 700;
            font-size: 13px;
            border-radius: 8px;
            padding: 10px 18px;
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            transition: border-color 0.1s, color 0.1s;
            white-space: nowrap;
        }
        .draw-btn-secondary:hover { border-color: #1A1A1A; color: #1A1A1A; }

        .draw-btn-primary {
            background: #1A1A1A;
            border: 2px solid #1A1A1A;
            color: #FFFBF2;
            font-weight: 900;
            font-size: 13px;
            border-radius: 8px;
            padding: 10px 20px;
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            box-shadow: 3px 3px 0 #7A6A52;
            transition: filter 0.1s, box-shadow 0.1s, transform 0.1s;
            white-space: nowrap;
        }
        .draw-btn-primary:hover  { filter: brightness(1.2); }
        .draw-btn-primary:active { transform: translate(2px,2px); box-shadow: 1px 1px 0; }

        /* ── 营地私藏磁带 · 悬浮播放器 ── */
        #campfire-player {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 200;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 10px;
        }

        @keyframes cp-panel-in {
            from { opacity: 0; transform: translateY(12px) scale(0.96); }
            to   { opacity: 1; transform: translateY(0) scale(1); }
        }

        .cp-panel {
            background: #FFFBF2;
            border: 3px solid #1A1A1A;
            border-radius: 14px;
            box-shadow: 6px 6px 0 #1A1A1A;
            width: 256px;
            padding: 0;
            overflow: hidden;
            animation: cp-panel-in 0.25s cubic-bezier(0.34, 1.4, 0.64, 1) both;
        }

        .cp-header {
            background: #1A1A1A;
            color: #FFFBF2;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.05em;
            font-family: 'Inter', sans-serif;
        }

        .cp-close {
            background: none;
            border: none;
            color: #888;
            font-size: 14px;
            cursor: pointer;
            line-height: 1;
            padding: 2px 4px;
            border-radius: 4px;
            transition: color 0.1s;
        }
        .cp-close:hover { color: #fff; }

        .cp-now {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 14px 10px;
        }

        .cp-cover {
            font-size: 28px;
            line-height: 1;
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #F4EDD8;
            border: 2px solid #1A1A1A;
            border-radius: 8px;
        }

        .cp-info {
            flex: 1;
            overflow: hidden;
        }

        .cp-title {
            font-size: 14px;
            font-weight: 900;
            color: #1A1A1A;
            font-family: 'Noto Sans SC', sans-serif;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cp-artist {
            font-size: 11px;
            color: #9A8A72;
            font-family: 'Inter', sans-serif;
            margin-top: 2px;
        }

        .cp-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 4px 14px 10px;
        }

        .cp-btn {
            background: #F4EDD8;
            border: 2px solid #1A1A1A;
            border-radius: 8px;
            width: 36px;
            height: 36px;
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.1s, transform 0.1s;
            flex-shrink: 0;
        }
        .cp-btn:hover  { background: #E8DFC8; }
        .cp-btn:active { transform: scale(0.92); }

        .cp-btn-play {
            background: #1A1A1A;
            color: #FFFBF2;
            width: 44px;
            height: 44px;
            font-size: 16px;
            border-radius: 50%;
        }
        .cp-btn-play:hover { background: #333; }

        .cp-progress-wrap {
            padding: 0 14px 12px;
        }

        .cp-progress-bar {
            height: 4px;
            background: #E5D8C0;
            border-radius: 2px;
            overflow: hidden;
        }

        .cp-progress-fill {
            height: 100%;
            width: 0%;
            background: #1A1A1A;
            border-radius: 2px;
            transition: width 0.5s linear;
        }

        .cp-ext {
            display: block;
            text-align: center;
            font-size: 11px;
            color: #9A8A72;
            font-family: 'Inter', sans-serif;
            text-decoration: none;
            padding: 8px 14px 12px;
            border-top: 1px solid #E5D8C0;
            transition: color 0.1s;
        }
        .cp-ext:hover { color: #1A1A1A; }

        .cp-toggle {
            width: 52px;
            height: 52px;
            background: #1A1A1A;
            color: #FFFBF2;
            border: 3px solid #1A1A1A;
            border-radius: 50%;
            font-size: 22px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 4px 4px 0 #7A6A52;
            transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.1s;
            flex-shrink: 0;
        }
        .cp-toggle:hover  { transform: scale(1.1) rotate(-5deg); }
        .cp-toggle:active { transform: scale(0.95); box-shadow: 2px 2px 0 #7A6A52; }

        .cp-iframe {
            display: block;
            width: 256px;
            height: 66px;
            border: none;
        }
        .cp-nav {
            display: flex;
            justify-content: space-between;
            padding: 6px 12px;
            border-top: 1px solid #E5D8C0;
            gap: 8px;
        }
        .cp-nav .cp-btn {
            flex: 1;
            font-size: 11px;
            padding: 6px 4px;
        }

/* ── 我这个人·标签墙 ───────────────────────────────────────────── */
.life-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 2.5px solid #1a1a1a;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #1a1a1a;
    cursor: default;
    transition: transform 0.2s, box-shadow 0.2s;
}
.life-tag:hover {
    transform: translateY(-3px) rotate(0deg) !important;
    box-shadow: 6px 6px 0 #1a1a1a;
}
.life-tag-emoji {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}
.life-tag-title {
    font-size: 13px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 5px;
}
.life-tag-sub {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    margin-top: 2px;
}
/* flag 类标签的闪烁小点 */
.life-tag-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    animation: life-dot-blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes life-dot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.15; }
}

/* 小宇宙节目推荐条目 */
.podcast-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 999px;
    box-shadow: 3px 3px 0 #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.podcast-item:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 #1a1a1a;
}
.podcast-item-icon { font-size: 14px; }

/* 标签点赞按钮 */
.life-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
    padding: 3px 9px;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.15s;
    align-self: flex-start;
}
.life-like-btn:hover {
    border-color: #f97316;
    color: #f97316;
    background: #fff7ed;
}
.life-like-btn--active {
    border-color: #f97316 !important;
    color: #f97316 !important;
    background: #fff7ed !important;
}
@keyframes life-like-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.life-like-btn--pop { animation: life-like-pop 0.28s ease; }

/* 小宇宙节目卡片（带链接+评论） */
.podcast-card {
    background: #fff;
    border: 2.5px solid #1a1a1a;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #1a1a1a;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.podcast-card-title {
    font-size: 13px;
    font-weight: 900;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    height: 2lh;
    transition: color 0.15s;
}
.podcast-card-title:hover { color: #f97316; text-decoration: underline; }
.podcast-card-comment {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.5;
    border-left: 2.5px solid #e5e7eb;
    padding-left: 8px;
}
.podcast-wechat {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}
.podcast-wechat-bubble {
    background: #95ec69;
    border-radius: 12px 2px 12px 12px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    max-width: 200px;
    line-height: 1.6;
    position: relative;
}
.podcast-wechat-bubble::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 8px;
    border: 5px solid transparent;
    border-left-color: #95ec69;
    border-right-width: 0;
}
.podcast-wechat-date {
    font-size: 10px;
    font-weight: 500;
    color: #9ca3af;
    text-align: right;
    margin-top: 4px;
}
.podcast-wechat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.podcast-card-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border-style: dashed;
    box-shadow: none;
}

@media (max-width: 900px) {
    body {
        min-width: 0;
        overflow-x: hidden;
    }

    nav {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding: 12px 12px !important;
    }

    nav > div {
        width: max-content;
        gap: 8px !important;
        padding-right: 12px;
    }

    .nav-link {
        white-space: nowrap;
        padding: 7px 12px;
        font-size: 13px;
    }

    .site-header-nav {
        overflow: visible !important;
        padding: 12px 12px !important;
    }

    .site-header-nav > div {
        width: 100% !important;
        min-width: 0 !important;
        gap: 12px !important;
        padding-right: 0;
    }

    .site-header-shell {
        align-items: flex-start;
        flex-direction: column;
        padding: 0 !important;
    }

    .site-header-menu {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .site-header-dropdown {
        width: 100%;
    }

    .site-header-trigger {
        width: 100%;
        justify-content: space-between;
        cursor: pointer;
    }

    .site-header-dropdown-panel {
        position: static;
        margin-top: 8px;
        min-width: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        transform: none;
        box-shadow: none;
        display: none;
        visibility: hidden;
    }

    .site-header-dropdown:hover .site-header-dropdown-panel,
    .site-header-dropdown:focus-within .site-header-dropdown-panel,
    .site-header-dropdown.is-open .site-header-dropdown-panel {
        display: flex;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .site-header-cta {
        width: 100%;
    }

    .page-stage,
    .home-stage,
    .essay-stage,
    .dm-stage,
    .dm-pick-inner,
    .moments-stage,
    .friends-stage {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .dm-body {
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .dm-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .dm-pick-title {
        font-size: 36px !important;
    }

    .dm-note-row,
    .dm-done-badge,
    .msg-form-row,
    .comment-form-row {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .home-stage {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 0 18px;
    }

    .home-copy,
    .home-card-wrap {
        width: 100%;
        flex: 0 1 auto;
        padding-left: 0;
    }

    .home-title {
        font-size: 44px;
        white-space: normal !important;
    }

    .home-description {
        width: 100%;
        max-width: 100%;
    }

    .id-card-floating {
        width: min(396px, 100%);
        transform: rotate(2deg);
    }

    .about-stage-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-story-section {
        padding: 64px 18px 58px;
    }

    .about-story-stage > h1 {
        font-size: 36px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .about-story-card {
        min-height: auto;
    }

    .about-story-invite {
        align-items: flex-start;
        flex-direction: column;
    }

    .xhs-page {
        padding: 54px 18px 72px;
    }

    .xhs-hero h1 {
        font-size: 40px;
    }

    .xhs-lede,
    .xhs-invite {
        font-size: 16px;
    }

    .xhs-path {
        grid-template-columns: 1fr;
    }

    .xhs-step {
        min-height: auto;
    }

    .xhs-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-card,
    .about-card-wide,
    .about-card-narrow,
    .about-card-medium,
    .about-card-large {
        grid-column: auto;
        min-height: auto;
    }

    .about-copy-wide {
        width: 100%;
        padding-right: 0;
    }

    .projects-title {
        font-size: 38px;
    }

    .projects-header-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-slider-fixed {
        padding-left: 0;
        padding-right: 0;
    }

    .project-card-fixed {
        width: min(86vw, 450px);
        min-width: min(86vw, 450px);
    }

    .fixed-modal-panel,
    .fixed-modal-panel-project,
    .fixed-modal-panel-gashapon {
        width: calc(100vw - 28px);
        max-height: calc(100vh - 28px);
        overflow-y: auto;
        padding: 28px !important;
    }

    .arcade-stage {
        padding-left: 18px;
        padding-right: 18px;
    }

    .arcade-title {
        font-size: 42px;
    }

    .arcade-cards-grid {
        grid-template-columns: 1fr;
    }

    .sticker {
        max-width: calc(100vw - 40px);
        white-space: normal;
        text-align: center;
    }

    .lab-section {
        min-height: auto;
        padding: 68px 18px 76px;
    }

    .lab-shell {
        min-height: auto;
        gap: 42px;
    }

    .lab-copy h1 {
        font-size: 46px;
    }

    .lab-lede {
        font-size: 18px;
    }

    .lab-workbench {
        grid-template-columns: 1fr;
        width: min(680px, 100%);
        padding: 14px;
    }

    .lab-result-card {
        min-height: auto;
    }

    .lab-mockup {
        padding: 22px 20px 18px;
    }

    .lab-result-card h2 {
        font-size: 26px;
    }

    .campfire-section {
        min-height: auto;
        padding: 54px 18px 72px;
    }

    .campfire-section::before {
        inset: 0;
    }

    .campfire-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .campfire-copy h1 {
        font-size: 40px;
        letter-spacing: 0.01em;
    }

    .campfire-lede {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .campfire-links a {
        width: min(100%, 280px);
    }

    .ai-build-note {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
        padding: 24px 20px;
    }

    .ai-build-note h3 {
        font-size: 20px;
    }

    .campfire-wrap {
        padding: 12px 0 20px;
        border-radius: 18px;
        gap: 14px;
    }

    .campfire-head h2 {
        font-size: 24px;
    }

    .campfire-head p,
    .campfire-label {
        font-size: 14px;
    }

    .campfire-feedback {
        max-width: 100%;
        text-align: center;
        border-radius: 14px;
    }
}

@media (max-width: 560px) {
    .dm-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .home-actions,
    .hero-actions,
    .campfire-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lab-section {
        padding-top: 52px;
    }

    .lab-copy h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .lab-lede {
        font-size: 16px;
        line-height: 1.65;
    }

    .lab-hero-actions {
        gap: 10px;
    }

    .lab-hero-actions a {
        width: 100%;
        min-height: 46px;
    }

    .lab-form-card,
    .lab-result-card {
        border-radius: 20px;
        box-shadow: none;
    }

    .lab-workbench {
        border-radius: 24px;
        padding: 10px;
    }

    .lab-form-card {
        padding: 12px;
    }

    .lab-style-row {
        grid-template-columns: 1fr;
    }

    .lab-result-card h2 {
        font-size: 26px;
    }

    .lab-result-foot {
        align-items: stretch;
        flex-direction: column;
    }
}
/* ──────────────────────────────────────────────────────────────── */
