      * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 20px 15px;
            color: #333;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        h1 {
            font-size: 1.8rem;
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .subtitle {
            font-size: 0.95rem;
            color: #7f8c8d;
        }
        
        .ip-cards {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
            padding: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
        }
        
        .card-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 1px solid #eee;
        }
        
        .card-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-size: 1rem;
            font-weight: bold;
        }
        
        .ipv4-icon {
            background-color: #e3f2fd;
            color: #1976d2;
        }
        
        .ipv6-icon {
            background-color: #e8f5e9;
            color: #388e3c;
        }
        
        .card-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .card-content {
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        .ip-address {
            font-family: 'Courier New', monospace;
            font-weight: bold;
            margin: 8px 0;
            color: #2c3e50;
            word-break: break-all;
            overflow-wrap: break-word;
        }
        
        .ipv6-address {
            font-size: 0.85rem;
            line-height: 1.4;
        }
        
        .location, .isp {
            margin: 6px 0;
            color: #555;
            font-size: 0.9rem;
        }
        
        .query-section {
            background: white;
            border-radius: 10px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
            padding: 20px;
            margin-bottom: 25px;
        }
        
        .section-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: #2c3e50;
            padding-bottom: 8px;
            border-bottom: 1px solid #eee;
        }
        
        #inputContainer {
            margin-bottom: 15px;
        }
        
        .input-group {
            margin-bottom: 12px;
        }
        
        input[type="text"] {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: border 0.3s;
        }
        
        input[type="text"]:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }
        
        .button-group {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        button {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            flex: 1;
            min-width: 120px;
        }
        
        #query {
            background-color: #3498db;
            color: white;
        }
        
        #query:hover {
            background-color: #2980b9;
        }
        
        #addInput {
            background-color: #2ecc71;
            color: white;
        }
        
        #addInput:hover {
            background-color: #27ae60;
        }
        
        #chaxundiv {
            margin-top: 20px;
            padding: 15px;
            border-radius: 6px;
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
        }
        
        .result-item {
            padding: 12px;
            margin-bottom: 12px;
            border-radius: 6px;
            background: white;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            border-left: 4px solid #3498db;
        }
        
        .result-item:last-child {
            margin-bottom: 0;
        }
        
        .result-ip {
            font-weight: bold;
            font-size: 1rem;
            margin-bottom: 6px;
            color: #2c3e50;
            word-break: break-all;
        }
        
        .result-details {
            color: #555;
            line-height: 1.4;
            font-size: 0.9rem;
        }
        
        .loading {
            text-align: center;
            padding: 15px;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .error {
            color: #e74c3c;
            background-color: #fdf2f2;
            border-left-color: #e74c3c;
        }
        
        .success {
            color: #27ae60;
            background-color: #f2fdf2;
            border-left-color: #27ae60;
        }
        
        /* 桌面端适配 */
        @media (min-width: 768px) {
            body {
                padding: 30px 20px;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .subtitle {
                font-size: 1.1rem;
            }
            
            .ip-cards {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 25px;
                margin-bottom: 40px;
            }
            
            .card {
                padding: 25px;
                border-radius: 12px;
            }
            
            .card-header {
                margin-bottom: 20px;
            }
            
            .card-icon {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .card-title {
                font-size: 1.3rem;
            }
            
            .card-content {
                font-size: 1rem;
            }
            
            .ipv6-address {
                font-size: 0.9rem;
            }
            
            .query-section {
                padding: 25px;
                border-radius: 12px;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
            
            button {
                flex: 0 1 auto;
            }
        }
        
        /* 超小屏幕优化 */
        @media (max-width: 360px) {
            .ip-address {
                font-size: 0.8rem;
            }
            
            .ipv6-address {
                font-size: 0.75rem;
            }
            
            button {
                min-width: 100px;
                padding: 8px 15px;
            }
        }