        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 28px;
            font-weight: 700;
            color: #1e50a2;
            margin-bottom: 10px;
        }
        
        .logo i {
            color: #ff6a00;
            margin-right: 10px;
        }
        
        .tagline {
            color: #666;
            font-size: 16px;
            margin-bottom: 20px;
        }
        
        .main-nav {
            display: flex;
            justify-content: center;
            margin: 20px 0;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .nav-link {
            text-decoration: none;
            color: #1e50a2;
            font-weight: 500;
            padding: 6px 12px;
            border-radius: 6px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            font-size: 14px;
        }
        
        .nav-link i {
            margin-right: 5px;
        }
        
        .nav-link:hover {
            background: #e8f4ff;
            color: #ff6a00;
        }
        
        .search-box {
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 150, 0.1);
            padding: 20px;
            margin: 0 auto 20px;
            max-width: 800px;
        }
        
        .search-form {
            display: flex;
        }
        
        .search-input {
            flex: 1;
            padding: 12px 15px;
            font-size: 16px;
            border: 2px solid #1e50a2;
            border-radius: 8px 0 0 8px;
            outline: none;
            transition: border-color 0.3s;
        }
        
        .search-input:focus {
            border-color: #ff6a00;
            box-shadow: 0 0 0 3px rgba(30, 80, 162, 0.2);
        }
        
        .search-button {
            background: linear-gradient(135deg, #1e50a2 0%, #2a6fd0 100%);
            color: white;
            border: none;
            padding: 0 25px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .search-button:hover {
            background: linear-gradient(135deg, #2a6fd0 0%, #3a8cff 100%);
            transform: translateY(-2px);
        }
        
        .results-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            margin: 30px 0;
        }
        
        @media (min-width: 992px) {
            .results-container {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .result-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .result-header {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .ip-address {
            font-size: 24px;
            font-weight: 700;
            color: #1e50a2;
            word-break: break-all;
        }
        
        .ip-type {
            background: #e8f4ff;
            color: #1e50a2;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 12px;
            margin-left: 15px;
            white-space: nowrap;
        }
        
        .ip-type.ipv6 {
            background: #d4edff;
            color: #0d6efd;
        }
        
        .domain-info {
            font-size: 16px;
            color: #666;
            margin-top: 8px;
            font-style: italic;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .info-item {
            margin-bottom: 15px;
        }
        
        .info-label {
            font-weight: 600;
            color: #666;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        .info-value {
            font-size: 16px;
            color: #222;
        }
        
        .security-info {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .security-item {
            flex: 1;
            text-align: center;
            padding: 15px;
            border-radius: 8px;
            background: #f8f9fa;
            min-width: 150px;
        }
        
        .security-value {
            font-size: 18px;
            font-weight: 700;
            margin-top: 10px;
            color: #1e50a2;
        }
        
        /* 修复页脚居中问题 */
        footer {
            text-align: center;
            padding: 30px 0 20px;
            color: #666;
            border-top: 1px solid #eaeaea;
            margin-top: 30px;
            width: 100%;
        }
        
        .footer-links {
            margin-bottom: 15px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .footer-link {
            display: inline-block;
            color: #1e50a2;
            text-decoration: none;
            font-size: clamp(12px, 2.5vw, 14px);
        }
        
        .footer-link:hover {
            color: #ff6a00;
        }
        
        .footer-info {
            margin-top: 15px;
            text-align: center;
        }
        
        .footer-info p {
            margin-bottom: 10px;
        }
        
        .location-icon {
            color: #1e50a2;
            margin-right: 8px;
        }
        
        .location-item {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }
        
        /* 新增SEO优化样式 */
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        .section-heading {
            font-size: 24px;
            color: #1e50a2;
            margin: 30px 0 20px;
            text-align: center;
            border-bottom: 2px solid #eaeaea;
            padding-bottom: 10px;
        }
        
        .security-warning {
            color: #dc3545;
            font-weight: bold;
        }
        
        .interpretation {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-top: 30px;
        }
        
        .interpretation-content {
            line-height: 1.7;
            color: #555;
        }
        
        .security-note, .hosting-note {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 12px 15px;
            margin: 15px 0;
            border-radius: 0 4px 4px 0;
            color: #856404;
        }
        
        .security-note i, .hosting-note i {
            margin-right: 8px;
        }
        
        /* 数据来源和刷新按钮容器 */
        .data-source-refresh-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .data-source {
            flex: 1;
            color: #888;
            font-size: 14px;
            min-width: 300px;
        }
        
        .refresh-section {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .refresh-form {
            margin: 0;
        }
        
        .refresh-button {
            background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
            color: white;
            border: none;
            padding: 8px 16px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
            min-width: 100px;
            justify-content: center;
        }
        
        .refresh-button:hover:not(.refresh-disabled) {
            background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }
        
        .refresh-disabled {
            background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
            cursor: not-allowed;
            opacity: 0.7;
            transform: none !important;
            box-shadow: none !important;
        }
        
        .refresh-message {
            padding: 6px 10px;
            border-radius: 4px;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
        }
        
        .refresh-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .refresh-success {
            background: #d1edff;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .button-text {
            margin-right: 5px;
        }
        
        @media (max-width: 768px) {
            .search-form {
                flex-direction: column;
            }
            
            .search-input {
                border-radius: 8px;
                margin-bottom: 10px;
            }
            
            .search-button {
                border-radius: 8px;
                padding: 12px;
            }
            
            .security-info {
                flex-direction: column;
                gap: 10px;
            }
            
            .interpretation {
                padding: 20px 15px;
            }
            
            .section-heading {
                font-size: 22px;
            }
            
            .data-source-refresh-container {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }
            
            .data-source {
                min-width: auto;
                order: 2;
            }
            
            .refresh-section {
                justify-content: center;
                order: 1;
            }
            
            .refresh-button {
                padding: 10px 20px;
                font-size: 14px;
                min-width: 120px;
            }
        }
        
        @media (max-width: 480px) {
            .refresh-section {
                flex-direction: column;
                gap: 8px;
            }
            
            .refresh-message {
                font-size: 12px;
            }
        }