 /* Tooltip loading 动画(避免 buildLoadingHtml 重复插入 style) */
        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background: #ffffff; overflow: hidden; }
        #map { width: 100vw; height: 100vh; }

        /* 自定义视频浮窗样式 */
        .country-info {
            background: rgba(245, 242, 235, 0.98) !important;
            border: 2px solid #8b6914 !important;
            border-radius: 12px !important;
            box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
            padding: 0 !important;
            overflow: hidden;
            font-family: 'Noto Serif SC', serif;
        }

        /* 顶部标题区域 */
        .country-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 15px;
            background: linear-gradient(135deg, #d4c4a8 0%, #c9b896 100%);
            border-bottom: 2px solid #8b6914;
        }
        .country-flag {
            width: 36px;
            height: 24px;
            border-radius: 3px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            object-fit: cover;
        }
        .country-name {
            flex: 1;
        }
        .country-name h4 {
            color: #3e2723;
            margin: 0;
            font-size: 16px;
            font-weight: bold;
            letter-spacing: 1px;
        }
        .country-name .country-en {
            color: #6b4423;
            font-size: 12px;
            margin-top: 2px;
        }

        /* 内容区域 */
        .country-content {
            padding: 15px;
            width: 320px;
            max-width: 90vw;  /* 手机端限制最大宽度 */
            max-height: 400px;
            max-height: 60vh;  /* 手机端限制最大高度 */
            overflow-y: auto;
        }

        /* 手机端适配 */
        @media (max-width: 480px) {
            .country-content {
                width: 280px;
                padding: 12px;
            }
            .country-name h4 {
                font-size: 14px;
            }
            .country-intro {
                font-size: 12px;
                padding: 8px;
            }
            .video-thumb {
                width: 70px;
                height: 50px;
            }
        }

        /* 国家介绍 */
        .country-intro {
            color: #4a3728;
            font-size: 13px;
            line-height: 1.6;
            margin-bottom: 15px;
            padding: 10px;
            background: rgba(139, 105, 20, 0.08);
            border-radius: 6px;
            border-left: 3px solid #8b6914;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        .country-intro-text {
            max-height: 63px; /* 约3行高度 */
            overflow: hidden;
            transition: max-height 0.3s ease;
            word-break: break-word;  /* 强制长单词换行 */
            hyphens: auto;  /* 自动断字 */
        }
        .country-intro-text.expanded {
            max-height: 300px; /* 手机端减小展开高度 */
            overflow-y: auto;  /* 展开后可滚动 */
        }
        .intro-toggle {
            color: #8b6914;
            font-size: 12px;
            cursor: pointer;
            margin-top: 5px;
            display: inline-block;
            user-select: none;
        }
        .intro-toggle:hover {
            text-decoration: underline;
        }

        /* 视频列表 */
        /* 视频分类 */
        .video-category {
            margin-bottom: 15px;
        }
        .video-category:last-child {
            margin-bottom: 0;
        }
        .video-category-title {
            color: #3e2723;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 8px;
            padding: 6px 10px;
            background: linear-gradient(135deg, rgba(139, 105, 20, 0.15) 0%, rgba(139, 105, 20, 0.05) 100%);
            border-radius: 4px;
            border-left: 3px solid #8b6914;
        }
        .video-section-title {
            color: #3e2723;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 1px solid rgba(139, 105, 20, 0.3);
        }
        .video-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .video-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 10px;
            background: rgba(255,255,255,0.5);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            min-height: 70px;
        }
        .video-item:hover {
            background: rgba(139, 105, 20, 0.1);
            border-color: #8b6914;
            transform: translateX(3px);
        }
        .video-thumb {
            width: 90px;
            height: 60px;
            background: linear-gradient(135deg, #3e2723 0%, #6b4423 100%);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #c9b896;
            font-size: 10px;
            flex-shrink: 0;
            overflow: hidden;
            position: relative;
        }
        .video-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .video-title {
            color: #3e2723;
            font-size: 12px;
            line-height: 1.5;
            word-wrap: break-word;
            overflow-wrap: break-word;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-height: 54px;
        }
        /* 右栏容器：把 title 和 meta 垂直堆叠 */
        .video-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        /* meta 行：作者靠左、日期靠右 */
        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
        }
        .video-author {
            color: #8b7355;        /* 比 title 浅 */
            font-size: 10px;        /* 比 title 小 */
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
            min-width: 0;
        }
        .video-date {
            color: #8b7355;
            font-size: 10px;
            line-height: 1.3;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .no-videos {
            color: #8b7355;
            font-size: 13px;
            text-align: center;
            padding: 15px;
            font-style: italic;
        }
        body {
            margin: 0;
            background-color: #8b7355; /* 外围深色,衬托卷轴 */
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        /* 整个羊皮卷容器 */
        #main {
            position: relative;
            width: 100vw;
            height: 100vh;
            background: #c9b896; /* 羊皮纸底色 */
            display: flex;
            flex-direction: column;
            overflow: hidden; /* 关键:防止暗角溢出 */
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5); /* 外部阴影(立体感) */
        }

        /* 核心:暗角覆盖层 - 罩在整个卷轴上(包括标题和地图边缘) */
        #main::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            box-shadow: inset 0 0 150px rgba(60, 40, 20, 0.6); /* 深邃暗角 */
            pointer-events: none; /* 关键:允许鼠标穿透到地图和标题 */
            z-index: 5; /* 在中间层 */
        }

        /* 标题区域 - 浮在暗角之上 */
        .subtitle {

            position: relative;
            text-align: center;
            padding: 30px 0 20px 0;
            z-index: 10; /* 确保在暗角层之上 */
            background: linear-gradient(to bottom, #c9b896 0%, transparent 100%); /* 顶部稍亮 */
        }

        .subtitle h2 {
            color: #3e2723; /* 深墨色 */
            font-family: 'Noto Serif SC', 'SimSun', serif;
            /* font-family: 'Cinzel', 'Ma Shan Zheng', serif; */
            font-size: 32px;
            letter-spacing: 12px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3); /* 轻微高光,增加立体感 */
            margin: 0;
        }

        /* 地图区域 */
        #map {
            position: relative;
            flex: 1; /* 填满剩余空间 */
            width: 100%;
            z-index: 10; /* 也在暗角之上,或设为1让暗角覆盖地图边缘(推荐) */
            padding: 0 20px 25px 20px;
        }

        /* ========== 工具栏:悬停模式开关 + 搜索 ========== */
        .search-container {
            position: absolute;
            top: 20px;
            right: 20px;         /* 搜索按钮独立定位在右上角 */
            z-index: 100;
            font-family: 'Noto Serif SC', serif;
            display: flex;
            flex-direction: row;
            gap: 10px;
            align-items: flex-start;
        }

        /* ============================================
           悬停模式开关:左右滑动的拟物按钮(iOS 风)
           - 关闭(CLICK 模式):滑块在左,轨道暗灰,显示 👆 点击图标
           - 开启(HOVER 模式):滑块在右,轨道烫金,显示 👆 悬停图标
           ============================================ */
        .hover-toggle {
            position: absolute;
            top: 20px;
            left: 20px;          /* 独立定位在屏幕最左 */
            z-index: 100;
            width: 62px;
            height: 30px;
            border-radius: 16px;
            /* 拟物外框:深色木纹边框 */
            border: 2px solid #6b4423;
            cursor: pointer;
            padding: 0;
            /* 拟物轨道:默认关闭态(暗灰羊皮色) */
            background:
                linear-gradient(180deg,
                    rgba(60, 40, 20, 0.18) 0%,
                    rgba(60, 40, 20, 0.05) 50%,
                    rgba(60, 40, 20, 0.12) 100%),
                linear-gradient(180deg, #d4c4a8 0%, #b89968 100%);
            box-shadow:
                inset 0 2px 4px rgba(60, 40, 20, 0.45),
                inset 0 -1px 2px rgba(255, 250, 235, 0.4),
                0 3px 8px rgba(60, 40, 20, 0.3);
            transition: background 0.35s ease, box-shadow 0.35s ease;
            overflow: hidden;
            flex-shrink: 0;
        }
        /* 滑块:米色羊皮纸球 */
        .hover-toggle .toggle-knob {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: linear-gradient(145deg, #f5efe0 0%, #e8dcbe 60%, #c9b896 100%);
            box-shadow:
                0 2px 4px rgba(60, 40, 20, 0.5),
                inset 0 1px 1px rgba(255, 250, 235, 0.9),
                inset 0 -1px 1px rgba(60, 40, 20, 0.2);
            transition: left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                        background 0.35s ease,
                        box-shadow 0.35s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b4423;
            z-index: 2;
        }
        .hover-toggle .toggle-knob svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
            stroke: none;
        }
        /* 开启(HOVER 模式):滑块滑到右边 + 轨道变成烫金色 */
        .hover-toggle:not(.off) {
            background:
                linear-gradient(180deg,
                    rgba(139, 105, 20, 0.25) 0%,
                    rgba(139, 105, 20, 0.08) 50%,
                    rgba(139, 105, 20, 0.2) 100%),
                linear-gradient(180deg, #d4a857 0%, #8b6914 100%);
            box-shadow:
                inset 0 2px 4px rgba(60, 40, 20, 0.5),
                inset 0 -1px 2px rgba(255, 220, 130, 0.4),
                0 3px 8px rgba(139, 105, 20, 0.4);
        }
        .hover-toggle:not(.off) .toggle-knob {
            left: 34px;  /* 62 - 22 - 2*2 = 34 */
            background: linear-gradient(145deg, #fff8e1 0%, #f5d680 60%, #c9a44a 100%);
            color: #3e2723;
            box-shadow:
                0 2px 5px rgba(60, 40, 20, 0.6),
                inset 0 1px 1px rgba(255, 250, 235, 1),
                inset 0 -1px 1px rgba(60, 40, 20, 0.25);
        }
        /* 文字标签(ON / OFF)在轨道内 */
        .hover-toggle .toggle-label {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-family: 'Noto Serif SC', serif;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: #6b4423;
            opacity: 0.7;
            transition: opacity 0.3s ease, color 0.3s ease;
            pointer-events: none;
            z-index: 1;
        }
        /* 关闭态:OFF 文字在右(滑块左侧) */
        .hover-toggle .toggle-label.label-off {
            right: 8px;
        }
        .hover-toggle .toggle-label.label-on {
            left: 8px;
        }
        /* 开启态:ON 文字在左(滑块右侧) */
        .hover-toggle:not(.off) .toggle-label.label-off {
            opacity: 0;
        }
        .hover-toggle:not(.off) .toggle-label.label-on {
            opacity: 1;
            color: #fff8e1;
        }
        /* hover 状态:滑块轻微浮起 */
        .hover-toggle:hover .toggle-knob {
            box-shadow:
                0 3px 6px rgba(60, 40, 20, 0.6),
                inset 0 1px 1px rgba(255, 250, 235, 1),
                inset 0 -1px 1px rgba(60, 40, 20, 0.25);
        }
        .hover-toggle:active .toggle-knob {
            width: 20px;  /* 按下时滑块轻微挤压 */
        }
        /* 移动端强制隐藏(JS 也加,这里兜底) */
        .hover-toggle.mobile-hidden { display: none; }

        /* 搜索图标按钮:大尺寸透明,白底交给图片 */
        .search-toggle {
            width: 200px;
            height: 200px;
            background: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            color: #6b4423;
        }
        /* 不再需要 hover 背景/阴影/抬起效果 */
        .search-toggle svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        /* wrapper 仅负责居中,不再需要 translate 偏移(白底填满后图片视觉中心 = 几何中心) */
        .search-toggle .search-icon-wrap {
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        /* 搜索图标图片(指南针 PNG):图片本身加白底填满矩形,指南针图形保留原色 */
        .search-toggle .search-icon-img {
            width: 100%;
            height: 100%;
            display: block;
            pointer-events: none;
            transform-origin: center center;
            transform-box: fill-box;          /* 旋转中心相对元素自身 */
            will-change: transform;
        }
        /* hover 触发指南针摆动:三周期衰减后稳定 */
        .search-toggle:hover .search-icon-img {
            animation: compass-sway 2.4s ease-in-out forwards;
        }
        @keyframes compass-sway {
            0%   { transform: rotate(0deg);   }
            10%  { transform: rotate(22deg);  }   /* 第 1 周期:右冲到最大 */
            22%  { transform: rotate(-17deg); }   /* 第 1 周期:回左 */
            34%  { transform: rotate(12deg);  }   /* 第 2 周期:右 */
            46%  { transform: rotate(-8deg);  }   /* 第 2 周期:左 */
            58%  { transform: rotate(5deg);   }   /* 第 3 周期:右 */
            68%  { transform: rotate(-3deg);  }   /* 第 3 周期:左 */
            78%  { transform: rotate(1.5deg); }   /* 收敛 */
            88%  { transform: rotate(-0.5deg);}
            95%  { transform: rotate(0.2deg); }
            100% { transform: rotate(0deg);   }   /* 稳定 */
        }

        /* 搜索面板(默认隐藏) */
        .search-panel {
            position: absolute;
            /* 关键:从搜索按钮正下方(+8px 间隙)展开,而不是从按钮内部偏上(会盖住图标) */
            top: calc(100% + 8px);
            right: 0;            /* 跟随父容器从右边展开 */
            width: 360px;
            max-width: calc(100vw - 60px);
            background: rgba(245, 242, 235, 0.98);
            border: 2px solid #8b6914;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(60, 40, 20, 0.35);
            padding: 14px;
            display: none;          /* 默认隐藏 */
            flex-direction: column;
            gap: 10px;
        }
        .search-panel.open {
            display: flex;
        }
        .search-input {
            width: 100%;
            box-sizing: border-box;
            padding: 10px 14px;
            border: 1.5px solid #b89968;
            border-radius: 6px;
            background: rgba(255, 252, 245, 0.9);
            color: #3e2723;
            font-size: 15px;
            font-family: inherit;
            outline: none;
        }
        .search-input:focus {
            border-color: #6b4423;
            box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.18);
        }
        .search-suggestions {
            max-height: 360px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .search-suggestion {
            padding: 8px 10px;
            border-radius: 5px;
            cursor: pointer;
            color: #3e2723;
            font-size: 14px;
            line-height: 1.4;
            transition: background 0.12s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .search-suggestion:hover,
        .search-suggestion.active {
            background: #d4c4a8;
        }
        .search-suggestion .iso {
            font-size: 11px;
            color: #8b6914;
            background: rgba(139, 105, 20, 0.12);
            padding: 2px 6px;
            border-radius: 3px;
            font-family: monospace;
        }
        .search-suggestion mark {
            background: #f5d76e;
            color: #3e2723;
            padding: 0 1px;
            border-radius: 2px;
        }
        .search-suggestion .diameter {
            margin-left: auto;
            font-size: 11px;
            color: #8b6914;
            font-style: italic;
        }
        .search-hint {
            font-size: 11px;
            color: #8b6914;
            text-align: center;
            padding-top: 4px;
            border-top: 1px dashed rgba(139, 105, 20, 0.3);
        }
        .search-hint kbd {
            background: rgba(139, 105, 20, 0.15);
            border: 1px solid rgba(139, 105, 20, 0.3);
            border-radius: 3px;
            padding: 1px 5px;
            font-size: 10px;
            font-family: monospace;
        }
        .search-empty {
            padding: 16px;
            text-align: center;
            color: #8b6914;
            font-size: 13px;
            font-style: italic;
        }

        /* 响应式:手机端压缩(<=768 与 JS isMobileDevice 保持一致)
           - 标题字号加大(26→30)+ padding 收紧(18/12 → 4/4)
           - 搜索按钮上移(60→52),缩小(80→76)
           - 地图左右 padding 调小(20→8),让地图撑满更多屏幕 */
        @media (max-width: 768px) {
            .subtitle { padding: 4px 0 4px 0; }
            .subtitle h2 { font-size: 30px; letter-spacing: 6px; }
            .hover-toggle { top: 10px; left: 10px; }
            /* 搜索按钮上移(top 60→52),贴近标题但不重叠 */
            .search-container { top: 52px; right: 10px; gap: 8px; }
            .search-toggle { width: 76px; height: 76px; }
            .search-toggle .search-icon-wrap { width: 68px; height: 68px; }
            .search-toggle .search-icon-img { width: 100%; height: 100%; }
            .search-panel { width: calc(100vw - 20px); right: -10px; }
            /* 地图左右 padding 调小:让地图更贴近屏幕边缘 */
            #map { padding: 0 8px 18px 8px; }
        }
        /* 超小屏(<=480)更紧凑 */
        @media (max-width: 480px) {
            .subtitle { padding: 2px 0 4px 0; }
            .subtitle h2 { font-size: 26px; letter-spacing: 5px; }
            /* 搜索按钮上移(60→46),缩小(70→66) */
            .search-container { top: 46px; right: 8px; }
            .search-toggle { width: 66px; height: 66px; }
            .search-toggle .search-icon-wrap { width: 58px; height: 58px; }
            .search-toggle .search-icon-img { width: 100%; height: 100%; }
            /* 地图左右几乎贴边 */
            #map { padding: 0 4px 14px 4px; }
        }

        /* ============================================
           底部一行：数据源声明 · ICP备案 · 赞赏作者
           三段式 flex 横向排列，居中 fixed 定位
           ============================================ */
        .site-footer {
            position: fixed;
            bottom: 6px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12px;
            color: #1a1a1a;
            font-family: 'Noto Serif SC', serif;
            letter-spacing: 0.3px;
            z-index: 100;
            max-width: calc(100vw - 20px);    /* 不超出视口 */
            padding: 0 10px;
            box-sizing: border-box;
        }
        .site-footer .footer-item {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }
        .site-footer .footer-divider {
            color: #8b6914;
            opacity: 0.6;
            user-select: none;
        }
        /* 数据源声明：不拦截地图点击 */
        .site-footer .data-source {
            pointer-events: none;
        }
        /* ICP + 公安备案 + 赞赏：可点击 */
        .site-footer .icp a,
        .site-footer .mps a,
        .site-footer .donate-btn {
            color: #1a1a1a;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 2px 4px;
            font: inherit;                       /* 继承父级字体 */
            letter-spacing: inherit;
            transition: color 0.2s;
        }
        .site-footer .icp a:hover,
        .site-footer .mps a:hover,
        .site-footer .donate-btn:hover {
            color: #8b6914;                       /* 羊皮卷金棕 */
        }
        .site-footer .icp-icon,
        .site-footer .mps-icon {
            width: 14px;
            height: 14px;
            display: inline-block;
            vertical-align: middle;
        }

        /* 移动端：隐藏数据源，竖排「赞赏在上 / 备案在下」 */
        @media (max-width: 600px) {
            .site-footer {
                font-size: 10.5px;
                gap: 3px;
                bottom: 6px;
                padding: 0 6px;
                flex-direction: column;           /* 竖排 */
                align-items: center;
            }
            /* 数据源声明隐藏（仅移动端） */
            .site-footer .data-source {
                display: none;
            }
            /* 备案内 ICP · 公安 同行排列，紧凑 */
            .site-footer .beian-wrap {
                display: inline-flex;
                align-items: center;
                gap: 2px;
                white-space: nowrap;
            }
            /* 备案排第二（最下方） */
            .site-footer .beian-wrap {
                order: 0;
            }
            /* 赞赏按钮排第一（最上方） */
            .site-footer .donate-wrap {
                order: -1;
            }
            .site-footer .icp-icon,
            .site-footer .mps-icon { width: 12px; height: 12px; }
        }

        /* ============================================
           赞赏灯箱（Lightbox）
           半透明遮罩 + 居中卡片 + 点击外部/叉号/ESC 关闭
           ============================================ */
        .lightbox {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(20, 12, 4, 0.72);    /* 深棕半透明遮罩 */
            z-index: 10000;
            justify-content: center;
            align-items: center;
            padding: 20px;
            animation: lbFadeIn 0.22s ease-out;
        }
        .lightbox.show { display: flex; }
        @keyframes lbFadeIn {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
        .lightbox-card {
            position: relative;
            background: #f4e8d0;                   /* 羊皮卷米黄 */
            border: 2px solid #8b6914;
            border-radius: 6px;
            padding: 24px 24px 20px;
            max-width: 480px;
            height: 480px;
            width: 100%;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            animation: lbScaleIn 0.22s ease-out;
        }
        @keyframes lbScaleIn {
            from { transform: scale(0.92); opacity: 0; }
            to   { transform: scale(1); opacity: 1; }
        }
        .lightbox-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 18px;
            font-weight: 600;
            color: #292115;
            text-align: center;
            margin: 0 0 6px;
        }
        .lightbox-subtitle {
            font-family: 'Noto Serif SC', serif;
            font-size: 13px;
            color: #554a37;
            text-align: center;
            margin: 0 0 14px;
            line-height: 1.5;
        }
        .lightbox-img {
            display: block;
            width: 100%;
            max-width: 42   0px;
            margin: 0 auto;
            /* border: 1px solid #b48c32;
            border-radius: 4px; */
        }
        .lightbox-hint {
            font-family: 'Noto Serif SC', serif;
            font-size: 12px;
            color: #8b6914;
            text-align: center;
            margin: 12px 0 0;
        }
        .lightbox-close {
            position: absolute;
            top: 6px;
            right: 10px;
            width: 30px;
            height: 30px;
            border: none;
            background: transparent;
            color: #5a3c10;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s;
        }
        .lightbox-close:hover {
            background: rgba(139, 105, 20, 0.15);
        }
        /* 灯箱打开时禁止 body 滚动（移动端体验更好） */
        body.lightbox-open { overflow: hidden; }
