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

        body {
            background: #0b0e14;
            font-family: system-ui, -apple-system, 'Segoe UI', 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            color: #eef2ff;
        }

        .game-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem 1.5rem 4rem;
        }

        .hero {
            text-align: center;
            margin-bottom: 2rem;
        }

        .hero h1 {
            font-size: 2.2rem;
            letter-spacing: 2px;
            background: linear-gradient(135deg, #F8F9FA 0%, #B0B8C5 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .hero p {
            color: #9aa3b5;
            margin-top: 0.5rem;
        }

        .class-banner {
            --height: 520px;
            --color: #f8f9fa;
            position: relative;
            z-index: 1;
            height: var(--height);
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 20px 35px -12px rgba(0,0,0,0.5);
        }

        .class-banner .dynamic-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center 0;
            transition: background-image 0.25s ease-out;
            z-index: 0;
        }

        .class-banner .info-card {
            position: absolute;
            top: 95px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 580px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(12px);
            border-radius: 32px;
            padding: 28px 32px;
            border: 1px solid rgba(255,255,255,0.2);
            box-shadow: 0 12px 28px rgba(0,0,0,0.3);
            z-index: 10;
        }

        .title-group {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 12px;
        }

        .title-group h2 {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--color);
            text-shadow: 0 2px 5px black;
        }

        .type-badge {
            background: rgba(255,255,240,0.15);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(248,249,250,0.6);
            border-radius: 40px;
            padding: 6px 18px;
            font-size: 1rem;
            font-weight: 600;
            color: #f8f9fa;
        }

        .description {
            font-size: 1rem;
            line-height: 1.5;
            color: #f0f3fa;
            margin-top: 8px;
        }

        .detail-link {
            margin-top: 20px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            background: rgba(255,255,255,0.12);
            padding: 8px 20px;
            border-radius: 40px;
            transition: 0.2s;
            width: fit-content;
            cursor: pointer;
            border: none;
            font-size: 0.95rem;
            color: white;
        }

        .detail-link::after {
            content: "→";
            transition: transform 0.2s;
            font-size: 1.1rem;
        }

        .detail-link:hover {
            background: rgba(255,255,255,0.25);
            gap: 14px;
        }

        .nav-area {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 780px;
            background: rgba(18, 22, 30, 0.85);
            backdrop-filter: blur(16px);
            border-radius: 60px;
            padding: 14px 20px;
            z-index: 20;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .tab-btn {
            background: #2d323e;
            border: none;
            padding: 8px 28px;
            border-radius: 40px;
            font-size: 1rem;
            font-weight: 600;
            color: #ccc;
            cursor: pointer;
            transition: 0.2s;
        }

        .tab-btn.active {
            background: #eff6fb;
            color: #1e222b;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .class-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            max-height: 110px;
            overflow-y: auto;
            padding: 6px 4px;
        }

        .class-icon {
            background: none;
            border: none;
            cursor: pointer;
            width: 44px;
            height: 44px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            transition: all 0.15s ease;
            filter: brightness(0.75) grayscale(0.2);
            border-radius: 12px;
        }

        .class-icon.active {
            filter: brightness(1.1) drop-shadow(0 0 6px #ffb347);
            transform: scale(1.08);
            background-color: rgba(255, 215, 0, 0.2);
            box-shadow: 0 0 0 2px #ffd966, 0 0 0 4px rgba(0,0,0,0.3);
            border-radius: 16px;
        }

        .class-icon:hover {
            filter: brightness(1.05);
            transform: scale(1.03);
        }

        /* ========== 主弹窗样式 ========== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal.active {
            display: flex;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: linear-gradient(135deg, #1e2430 0%, #14181f 100%);
            border-radius: 32px;
            max-width: 850px;
            width: 90%;
            height: 85vh;
            max-height: 700px;
            min-height: 550px;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: 0 25px 45px rgba(0,0,0,0.5);
            border: 1px solid rgba(255,255,255,0.2);
            animation: slideUp 0.25s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header {
            padding: 20px 28px 12px 28px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .modal-header h2 {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(120deg, #FFD966, #FFB347);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .close-modal {
            background: rgba(255,255,255,0.1);
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: #aaa;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-modal:hover {
            background: #ff5a5a;
            color: white;
        }

        /* 弹窗主体 - 滚动 */
        .modal-body {
            padding: 20px 28px;
            flex: 1;
            overflow-y: auto;
            scrollbar-width: thin;
        }

        .modal-body::-webkit-scrollbar {
            width: 6px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.05);
            border-radius: 3px;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: rgba(255,215,0,0.5);
            border-radius: 3px;
        }

        .job-illustration {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin-bottom: 24px;
            align-items: flex-start;
        }

        .job-icon-large {
            flex-shrink: 0;
            width: 100px;
            height: 100px;
            background: rgba(0,0,0,0.4);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255,215,0,0.6);
        }

        .job-icon-large img {
            width: 70px;
            height: 70px;
            object-fit: contain;
        }

        .job-stats {
            flex: 1;
            background: rgba(0,0,0,0.3);
            border-radius: 20px;
            padding: 14px 18px;
        }

        .job-stats p {
            margin: 6px 0;
            line-height: 1.5;
            font-size: 0.9rem;
            color: #ddd;
        }

        .job-stats strong {
            color: #FFD966;
            margin-right: 10px;
        }

        /* 加点图片区域 */
        .skill-section {
            margin-top: 24px;
            background: rgba(0,0,0,0.25);
            border-radius: 20px;
            padding: 18px;
        }

        .skill-section h3 {
            font-size: 1.2rem;
            color: #FFD966;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .skill-section h3::before {
            content: "⚙️";
            font-size: 1.2rem;
        }

        .skill-images {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
        }

        .skill-card {
            flex: 1;
            min-width: 140px;
            background: rgba(0,0,0,0.3);
            border-radius: 16px;
            padding: 12px;
            text-align: center;
            transition: transform 0.2s;
            cursor: pointer;
        }

        .skill-card:hover {
            transform: translateY(-3px);
            background: rgba(0,0,0,0.5);
        }

        .skill-card img {
            width: 100%;
            max-width: 180px;
            border-radius: 12px;
            background: #2a2f3a;
            cursor: pointer;
            transition: opacity 0.2s, transform 0.1s;
            display: block;
            margin: 0 auto;
        }

        .skill-card img:active {
            transform: scale(0.98);
        }

        .skill-card p {
            margin-top: 8px;
            font-size: 0.8rem;
            color: #bbb;
        }

        /* 图片懒加载占位 */
        .lazy-img {
            background: linear-gradient(90deg, #2a2f3a 25%, #3a4050 50%, #2a2f3a 75%);
            background-size: 200% 100%;
            animation: loadingShimmer 1.2s infinite;
            min-height: 120px;
        }

        @keyframes loadingShimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .full-desc {
            background: rgba(0,0,0,0.2);
            border-radius: 16px;
            padding: 16px;
            margin-top: 16px;
            line-height: 1.6;
            font-size: 0.9rem;
            border-left: 3px solid #FFB347;
        }

        .modal-footer {
            padding: 12px 28px 18px;
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.08);
            font-size: 0.75rem;
            color: #666;
            flex-shrink: 0;
        }

        /* ========== 二次放大弹窗（图片鉴赏） ========== */
        .image-viewer {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.94);
            backdrop-filter: blur(15px);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .image-viewer.active {
            display: flex;
            opacity: 1;
        }

        .viewer-content {
            max-width: 90vw;
            max-height: 90vh;
            text-align: center;
            position: relative;
            animation: zoomIn 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        @keyframes zoomIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .viewer-content img {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 24px;
            box-shadow: 0 20px 35px rgba(0,0,0,0.6);
            border: 2px solid rgba(255,215,0,0.5);
            background: #0f1219;
        }

        .viewer-caption {
            margin-top: 18px;
            color: #FFD966;
            font-weight: 500;
            background: rgba(0,0,0,0.6);
            display: inline-block;
            padding: 6px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            backdrop-filter: blur(4px);
        }

        .close-viewer {
            position: absolute;
            top: 20px;
            right: 35px;
            font-size: 44px;
            color: white;
            background: rgba(0,0,0,0.5);
            border: none;
            border-radius: 50%;
            width: 56px;
            height: 56px;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: lighter;
            backdrop-filter: blur(5px);
        }

        .close-viewer:hover {
            background: #ff5a5a;
            transform: scale(1.05);
        }

        @media (max-width: 600px) {
            .job-illustration {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            .modal-header h2 {
                font-size: 1.4rem;
            }
            .modal-body {
                padding: 16px;
            }
            .skill-images {
                flex-direction: column;
                align-items: center;
            }
            .skill-card {
                width: 100%;
            }
            .close-viewer {
                top: 10px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 32px;
            }
        }