 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a1f2b 0%, #2d3748 100%);
            color: #e2e8f0;
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1600px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(30, 41, 59, 0.7);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #48bb78, #38b2ac);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .subtitle {
            font-size: 1.1rem;
            color: #a0aec0;
        }
        
        .app-container {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 30px;
        }
        
        .grid-container {
            background: rgba(30, 41, 59, 0.7);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        
        .controls {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .boss-controls {
            display: flex;
            gap: 15px;
            align-items: center;
        }
        
        .boss-input {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        input {
            padding: 12px;
            border: 1px solid #4a5568;
            border-radius: 6px;
            background: #2d3748;
            color: #e2e8f0;
            width: 180px;
            font-size: 1rem;
        }
        
        input:focus {
            outline: none;
            border-color: #48bb78;
        }
        
        button {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 1rem;
        }
        
        .btn-primary {
            background: #48bb78;
            color: white;
        }
        
        .btn-primary:hover {
            background: #38a169;
            transform: translateY(-2px);
        }
        
        .btn-secondary {
            background: #4a5568;
            color: white;
        }
        
        .btn-secondary:hover {
            background: #2d3748;
            transform: translateY(-2px);
        }
        
        .btn-danger {
            background: #e53e3e;
            color: white;
        }
        
        .btn-danger:hover {
            background: #c53030;
            transform: translateY(-2px);
        }
        
        .grid-area {
            display: flex;
            align-items: flex-start;
            gap: 40px;
            justify-content: center;
            margin-bottom: 25px;
        }
        
        .grid {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            grid-template-rows: repeat(10, 1fr);
            gap: 8px;
            width: 100%;
            max-width: 700px;
            aspect-ratio: 1 / 1;
        }
        
        .completion-display {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 250px;
            padding: 30px;
        }
        
        .completion-text {
            font-size: 5rem;
            font-weight: bold;
            color: #48bb78;
            text-shadow: 0 0 30px rgba(72, 187, 120, 0.7);
            margin-bottom: 15px;
            opacity: 0;
            transition: all 0.5s ease;
        }
        
        .completion-text.show {
            opacity: 1;
            transform: scale(1.1);
        }
        
        .completion-subtext {
            font-size: 1.5rem;
            color: #a0aec0;
            text-align: center;
            opacity: 0;
            transition: all 0.5s ease 0.2s;
        }
        
        .completion-subtext.show {
            opacity: 1;
        }
        
        .cell {
            background: #4a5568;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-height: 50px;
        }
        
        .cell:hover {
            transform: scale(1.08);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
        .cell.active {
            background: #48bb78;
            box-shadow: 0 0 20px rgba(72, 187, 120, 0.6);
        }
        
        .cell img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 6px;
        }
        
        .cell .emoji {
            font-size: 28px;
        }
        
        .cell .error-text {
            font-size: 12px;
            color: #e53e3e;
            text-align: center;
        }
        
        .sidebar {
            background: rgba(30, 41, 59, 0.7);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .section {
            margin-bottom: 30px;
        }
        
        .section h3 {
            margin-bottom: 20px;
            color: #48bb78;
            font-size: 1.4rem;
        }
        
        .map-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .map-option {
            padding: 20px;
            background: #4a5568;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .map-option:hover {
            background: #5a6b82;
            transform: translateY(-3px);
        }
        
        .map-option.active {
            background: #48bb78;
            border-color: #38a169;
        }
        
        .map-option h4 {
            margin-bottom: 8px;
            color: white;
            font-size: 1.2rem;
        }
        
        .map-option p {
            font-size: 1rem;
            color: #e2e8f0;
            margin: 0;
        }
        
        .combo-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        
        .combo-option {
            padding: 15px;
            background: #4a5568;
            border-radius: 8px;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            font-size: 1.1rem;
        }
        
        .combo-option:hover {
            background: #5a6b82;
        }
        
        .combo-option.active {
            background: #ed8936;
            border-color: #dd6b20;
        }
        
        /* 加个塞功能样式 */
        .jgs-container {
            background: #2d3748;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .jgs-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .jgs-title h3 {
            color: #ed8936;
            font-size: 1.4rem;
            margin: 0;
        }
        
        .jgs-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .jgs-cell {
            background: #4a5568;
            border-radius: 6px;
            aspect-ratio: 1 / 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .jgs-cell:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }
        
        .jgs-cell.active {
            border: 2px solid #ed8936;
            box-shadow: 0 0 15px rgba(237, 137, 54, 0.6);
        }
        
        .jgs-cell img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }
        
        .jgs-controls {
            display: flex;
            gap: 10px;
        }
        
        .jgs-btn {
            flex: 1;
            padding: 10px;
            background: #ed8936;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        
        .jgs-btn:hover {
            background: #dd6b20;
            transform: translateY(-2px);
        }
        
        .jgs-btn:disabled {
            background: #4a5568;
            cursor: not-allowed;
            transform: none;
        }
        
        .data-display {
            background: #2d3748;
            border-radius: 8px;
            padding: 20px;
            margin-top: 15px;
            max-height: 250px;
            overflow-y: auto;
            font-family: monospace;
            font-size: 1rem;
            line-height: 1.5;
        }
        
        .instructions {
            margin-top: 30px;
            padding: 20px;
            background: rgba(72, 187, 120, 0.1);
            border-radius: 8px;
            border-left: 4px solid #48bb78;
        }
        
        .instructions h4 {
            margin-bottom: 15px;
            color: #48bb78;
            font-size: 1.2rem;
        }
        
        .instructions ul {
            padding-left: 20px;
        }
        
        .instructions li {
            margin-bottom: 10px;
            font-size: 1rem;
            line-height: 1.4;
        }
        
        .progress {
            margin-top: 20px;
        }
        
        .progress-bar {
            width: 100%;
            height: 12px;
            background: #4a5568;
            border-radius: 6px;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background: #48bb78;
            transition: width 0.3s ease;
        }
        
        .progress-text {
            text-align: center;
            margin-top: 8px;
            font-size: 1rem;
            color: #a0aec0;
        }
        
        .map-info {
            text-align: center;
            margin-bottom: 20px;
            padding: 15px;
            background: rgba(72, 187, 120, 0.1);
            border-radius: 8px;
            font-size: 1.1rem;
        }
        
        .status-info {
            text-align: center;
            margin-top: 15px;
            font-size: 1rem;
            color: #a0aec0;
            padding: 10px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.05);
        }
        
        @media (max-width: 1200px) {
            .app-container {
                grid-template-columns: 1fr;
            }
            .grid-area {
                flex-direction: column;
                align-items: center;
            }
            .completion-display {
                min-width: auto;
                margin-top: 20px;
            }
            .grid {
                max-width: 600px;
            }
        }
/* 编辑模式样式 */
.edit-mode .grid-cell {
    cursor: pointer;
    border: 2px dashed #ccc;
}

.edit-mode .grid-cell:hover {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.grid-cell.editing {
    border: 3px solid #007bff !important;
    background-color: rgba(0, 123, 255, 0.2);
}

.edit-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}
/* 编辑模式样式 */
.edit-mode .cell {
    cursor: pointer;
    border: 2px dashed #ccc;
}

.edit-mode .cell:hover {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.cell.editing {
    border: 3px solid #007bff !important;
    background-color: rgba(0, 123, 255, 0.2);
}

.edit-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}