        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        /* 弹窗打开时禁止页面滚动 */
        html.modal-open,
        html.modal-open body {
            overflow: hidden;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
            background: #f0f4f0;
            color: #1e293b;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ===== 主体 ===== */
        .page-body {
            flex: 1;
            max-width: 900px;
            margin: 80px auto 30px;
            width: 100%;
            padding: 0 20px;
        }

        /* ===== 标本头部卡片 ===== */
        .spec-hero {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        .spec-hero-top {
            background: linear-gradient(135deg, #14532d 0%, #166534 100%);
            padding: 40px 32px 32px;
            position: relative;
            overflow: hidden;
        }
        .spec-hero-top::before {
            content: '';
            position: absolute; inset: 0;
            background:
                radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
                radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.06) 0%, transparent 35%),
                radial-gradient(ellipse at 90% 30%, rgba(255,255,255,0.04) 0%, transparent 25%),
                radial-gradient(ellipse at 10% 70%, rgba(255,255,255,0.05) 0%, transparent 30%);
            pointer-events: none;
            animation: pulse 8s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        .spec-hero-top::after {
            content: '';
            position: absolute;
            right: -50px; top: 50%;
            transform: translateY(-50%);
            width: 220px; height: 220px;
            background: url("data:image/svg+xml,%3Csvg width='220' height='220' viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='0.12'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0.03'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23g1)' stroke-width='0.8' fill='none'%3E%3Ccircle cx='110' cy='110' r='95'/%3E%3Ccircle cx='110' cy='110' r='70'/%3E%3Ccircle cx='110' cy='110' r='45'/%3E%3Ccircle cx='110' cy='110' r='20'/%3E%3Cpath d='M110 15 Q130 60 110 110 Q90 160 110 205'/%3E%3Cpath d='M15 110 Q60 90 110 110 Q160 130 205 110'/%3E%3Cpath d='M30 30 Q70 70 110 110 Q150 150 190 190'/%3E%3Cpath d='M190 30 Q150 70 110 110 Q70 150 30 190'/%3E%3Ccircle cx='110' cy='15' r='4' fill='%23ffffff' fill-opacity='0.15'/%3E%3Ccircle cx='110' cy='205' r='4' fill='%23ffffff' fill-opacity='0.15'/%3E%3Ccircle cx='15' cy='110' r='4' fill='%23ffffff' fill-opacity='0.15'/%3E%3Ccircle cx='205' cy='110' r='4' fill='%23ffffff' fill-opacity='0.15'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23ffffff' fill-opacity='0.1'/%3E%3Ccircle cx='190' cy='30' r='3' fill='%23ffffff' fill-opacity='0.1'/%3E%3Ccircle cx='30' cy='190' r='3' fill='%23ffffff' fill-opacity='0.1'/%3E%3Ccircle cx='190' cy='190' r='3' fill='%23ffffff' fill-opacity='0.1'/%3E%3Ccircle cx='110' cy='110' r='5' fill='%23ffffff' fill-opacity='0.2'/%3E%3C/g%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            pointer-events: none;
        }
        .spec-latin {
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            font-style: italic;
            margin-bottom: 6px;
            position: relative;
            min-height: 32px;  /* 固定最小高度，防止浮动 */
        }
        .spec-cn {
            font-size: 15px;
            color: rgba(255,255,255,0.85);
            font-weight: 500;
            margin-bottom: 16px;
            position: relative;
            min-height: 21px;  /* 固定最小高度，防止没有中文名时浮动 */
        }
        .spec-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            position: relative;
            min-height: 28px;  /* 固定最小高度 */
        }
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 500;
        }
        .badge-date  { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
        .badge-loc   { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.2); }
        .badge-tax   { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.15); }
        .spec-code {
            font-size: 12px;
            color: rgba(255,255,255,0.55);
            font-family: monospace;
            letter-spacing: 1px;
            position: relative;
        }
        /* 采集人 / 鉴定人 标签行 */
        .spec-people {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
            position: relative;
        }
        .people-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            padding: 3px 11px;
            border-radius: 20px;
            font-weight: 500;
            background: rgba(255,255,255,0.13);
            color: rgba(255,255,255,0.88);
            border: 1px solid rgba(255,255,255,0.2);
        }

        /* ===== 图片区 ===== */
        .image-wrap {
            padding: 20px;
        }
        .image-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
        }
        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            aspect-ratio: 1;
            background: #f1f5f9;
        }
        .gallery-item:hover { transform: scale(1.03); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
        .gallery-item img {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
        }
        .no-image {
            display: flex; flex-direction: column; align-items: center;
            justify-content: center; height: 140px;
            background: #f1f5f9; border-radius: 10px;
            color: #94a3b8; font-size: 14px; gap: 8px;
        }
        .no-image i { font-size: 32px; }

        /* ===== 信息卡片 ===== */
        .info-card {
            background: #fff;
            border-radius: 14px;
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        }
        .card-head {
            padding: 13px 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #166534 0%, #15803d 100%);
        }
        .card-head i { font-size: 13px; opacity: 0.9; }
        .card-body { padding: 18px 20px; }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 16px;
        }
        .info-item {}
        .info-item-full { grid-column: 1 / -1; }
        .info-label {
            display: block;
            font-size: 11px;
            color: #94a3b8;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }
        .info-value {
            display: block;
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            line-height: 1.4;
        }
        .info-value.italic { font-style: italic; }
        .info-value.muted { color: #94a3b8; font-weight: 400; font-size: 14px; }

        .description-text {
            font-size: 14px;
            line-height: 1.9;
            color: #374151;
            white-space: pre-wrap;
        }

        /* ===== 分割线 ===== */
        .section-divider {
            height: 1px;
            background: #f1f5f9;
            margin: 14px 0;
        }

        /* ===== 图片模态框 ===== */
        .modal-overlay {
            display: none;
            position: fixed; inset: 0;
            background: rgba(0,0,0,0.88);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }
        .modal-overlay.open { display: flex; }
        .modal-overlay img {
            max-width: 92vw;
            max-height: 88vh;
            border-radius: 10px;
            object-fit: contain;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            display: block;
            user-select: none;
            -webkit-user-drag: none;
            pointer-events: none; /* 事件透传到父容器，禁止直接右键图片 */
        }
        /* 模态图片容器 */
        .modal-img-wrap {
            position: relative;
            display: inline-flex;
        }
        .modal-close {
            position: absolute;
            top: 16px; right: 20px;
            color: #fff;
            font-size: 32px;
            cursor: pointer;
            line-height: 1;
            opacity: 0.8;
            transition: opacity 0.2s;
        }
        .modal-close:hover { opacity: 1; }

        /* ===== 底部 ===== */
        .page-footer {
            text-align: center;
            padding: 20px 16px 28px;
            font-size: 12px;
            color: #94a3b8;
            letter-spacing: 0.3px;
        }
        .page-footer a { color: #94a3b8; text-decoration: none; }
        .page-footer a:hover { color: #64748b; }

        @media (max-width: 640px) {
            .page-body { padding: 0 12px; margin: 16px auto; }
            .spec-hero-top { padding: 22px 18px; }
            .spec-latin { font-size: 20px; }
            .image-wrap { padding: 14px; }
            .image-grid { grid-template-columns: repeat(2, 1fr); }
            .card-body { padding: 14px 16px; }
        }

        /* ===== 纠错按钮 ===== */
        .correction-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: #fef3c7;
            color: #92400e;
            border: 1px solid #fcd34d;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        .correction-btn:hover {
            background: #fde68a;
            border-color: #f59e0b;
        }

        /* ===== 纠错模态框 ===== */
        .correction-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .correction-modal.open { display: flex; }
        .correction-modal-content {
            background: #fff;
            border-radius: 16px;
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0,0,0,0.25);
        }
        .correction-modal-header {
            padding: 20px 24px;
            background: linear-gradient(135deg, #166534 0%, #15803d 100%);
            color: #fff;
            border-radius: 16px 16px 0 0;
        }
        .correction-modal-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
        }
        .correction-modal-header p {
            margin: 6px 0 0;
            font-size: 13px;
            opacity: 0.85;
        }
        .correction-modal-body {
            padding: 24px;
        }
        .correction-section {
            margin-bottom: 20px;
        }
        .correction-section-title {
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e2e8f0;
        }
        .correction-field {
            margin-bottom: 16px;
        }
        .correction-field label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 6px;
        }
        .correction-field input {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .correction-field input:focus {
            outline: none;
            border-color: #16a34a;
            box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
        }
        .correction-field input:disabled {
            background: #f8fafc;
            color: #64748b;
        }
        .correction-modal-footer {
            padding: 16px 24px;
            background: #f8fafc;
            border-radius: 0 0 16px 16px;
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }
        .btn-cancel {
            padding: 10px 20px;
            background: #fff;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-cancel:hover { background: #f3f4f6; }
        .btn-submit {
            padding: 10px 20px;
            background: #16a34a;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #fff;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-submit:hover { background: #15803d; }
