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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .header p {
            font-size: 1.1em;
            opacity: 0.9;
            margin-bottom: 15px;
        }

        .header .credits {
            font-size: 0.9em;
            opacity: 0.8;
            margin-top: 15px;
        }

        .header .credits a {
            color: white;
            text-decoration: none;
            border-bottom: 1px solid rgba(255,255,255,0.3);
            transition: all 0.3s ease;
        }

        .header .credits a:hover {
            border-bottom-color: white;
        }

        .search-section {
            padding: 30px;
            background: #f8f9fa;
        }

        .search-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 800px;
            margin: 0 auto;
        }

        .search-main {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .advanced-options {
            background: white;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-top: 10px;
        }

        .advanced-options.collapsed {
            display: none;
        }

        .options-toggle {
            background: none;
            border: none;
            color: #667eea;
            cursor: pointer;
            font-size: 0.9em;
            text-decoration: underline;
            margin-top: 10px;
            padding: 5px 0;
            text-align: center;
            width: 100%;
        }

        .options-toggle:hover {
            color: #4facfe;
        }

        .options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .option-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .option-group label {
            font-weight: 500;
            color: #333;
            font-size: 0.9em;
        }

        .option-group select,
        .option-group input[type="number"],
        .option-group textarea {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 0.9em;
            font-family: inherit;
        }

        .option-group textarea {
            resize: vertical;
            min-height: 60px;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 16px;
            height: 16px;
        }

        .search-input {
            flex: 1;
            min-width: 300px;
            padding: 15px 20px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #4facfe;
            box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
        }

        .search-btn {
            padding: 15px 30px;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
        }

        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
        }

        .search-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .loading {
            text-align: center;
            padding: 40px;
            display: none;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #4facfe;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .results {
            padding: 30px;
            display: none;
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
        }

        .results-count {
            font-size: 1.2em;
            font-weight: 600;
            color: #495057;
        }

        /* 标签页样式 */
        .tabs-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 20px;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 10px;
        }

        .tab-button {
            padding: 12px 20px;
            border: none;
            background: #f8f9fa;
            color: #6c757d;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 120px;
            justify-content: center;
        }

        .tab-button:hover {
            background: #e9ecef;
            color: #495057;
        }

        .tab-button.active {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
        }

        .tab-count {
            background: rgba(255,255,255,0.2);
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .tab-button:not(.active) .tab-count {
            background: #dee2e6;
            color: #6c757d;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .resource-item {
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .resource-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .resource-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .platform-icon {
            font-size: 1.5em;
            margin-right: 10px;
        }

        .resource-title {
            font-weight: 600;
            color: #495057;
            font-size: 1.1em;
            line-height: 1.4;
            flex: 1;
        }

        .resource-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.9em;
            color: #6c757d;
        }

        .resource-actions {
            display: flex;
            gap: 10px;
        }

        .copy-btn, .open-btn {
            flex: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .copy-btn {
            background: #28a745;
            color: white;
        }

        .copy-btn:hover {
            background: #218838;
            transform: translateY(-1px);
        }

        .open-btn {
            background: #007bff;
            color: white;
        }

        .open-btn:hover {
            background: #0056b3;
            transform: translateY(-1px);
        }

        .error {
            background: #f8d7da;
            color: #721c24;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 30px;
            border: 1px solid #f5c6cb;
            display: none;
        }

        .pan-icons {
            width: 24px;
            height: 24px;
        }

        /* 列表视图样式 */
        .pan-types.list-view {
            display: block;
        }

        .pan-types.list-view .pan-type {
            margin-bottom: 15px;
        }

        .pan-types.list-view .pan-type-header {
            padding: 15px 20px;
        }

        .pan-types.list-view .pan-links {
            padding: 15px 20px;
        }

        .pan-types.list-view .pan-link {
            padding: 12px;
            margin-bottom: 8px;
        }

        /* 空状态样式 */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #6c757d;
        }

        .empty-state .empty-icon {
            font-size: 4em;
            margin-bottom: 20px;
            opacity: 0.5;
        }

        .empty-state h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
            color: #495057;
        }

        .empty-state p {
            font-size: 1.1em;
            line-height: 1.6;
        }

        /* 复制成功提示 */
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transform: translateX(400px);
            transition: transform 0.3s ease;
            z-index: 1000;
        }

        .toast.show {
            transform: translateX(0);
        }

        /* 加载动画优化 */
        .loading p {
            font-size: 1.1em;
            color: #6c757d;
            margin-top: 10px;
        }

        /* 链接悬停效果 */
        .pan-link:hover .link-title {
            color: #4facfe;
        }

        /* 按钮加载状态 */
        .search-btn.loading {
            position: relative;
            color: transparent;
        }

        .search-btn.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid transparent;
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* 使用说明样式 */
        .usage-guide {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin: 30px auto;
            max-width: 800px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: block; /* 默认显示 */
        }

        .usage-guide.hidden {
            display: none; /* 隐藏状态 */
        }

        .usage-guide h2 {
            color: #333;
            margin-bottom: 20px;
            font-size: 1.5em;
            text-align: center;
        }

        .usage-guide .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }

        .usage-guide .step {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #667eea;
        }

        .usage-guide .step h3 {
            color: #667eea;
            margin-bottom: 10px;
            font-size: 1.1em;
        }

        .usage-guide .step p {
            color: #666;
            line-height: 1.6;
            margin: 0;
        }

        .usage-guide .tips {
            background: #e3f2fd;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #2196f3;
        }

        .usage-guide .tips h3 {
            color: #1976d2;
            margin-bottom: 10px;
        }

        .usage-guide .tips ul {
            color: #666;
            line-height: 1.6;
            margin: 0;
            padding-left: 20px;
        }

        /* 页脚样式 */
        .footer {
            text-align: center;
            padding: 30px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            margin-top: 50px;
        }

        .footer a {
            color: white;
            text-decoration: none;
            border-bottom: 1px solid rgba(255,255,255,0.3);
            transition: all 0.3s ease;
        }

        .footer a:hover {
            border-bottom-color: white;
        }
        
        /* Pagination Controls */
        .pagination-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 25px;
            padding: 15px 0;
            border-top: 1px solid #e9ecef;
        }

        .pagination-btn, .page-number {
            padding: 8px 14px;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            background-color: #fff;
            color: #007bff;
            cursor: pointer;
            font-size: 0.9em;
            transition: all 0.2s ease;
            user-select: none;
        }

        .pagination-btn:hover, .page-number:hover {
            background-color: #e9ecef;
            border-color: #c8ced3;
        }

        .pagination-btn:disabled {
            color: #6c757d;
            cursor: not-allowed;
            background-color: #f8f9fa;
        }

        .page-number.active {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
            font-weight: 600;
        }

        .page-ellipsis {
            padding: 8px 5px;
            color: #6c757d;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .usage-guide {
                margin: 20px;
                padding: 20px;
            }

            .usage-guide .steps {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            .search-main {
                flex-direction: column;
            }

            .search-input {
                min-width: auto;
            }

            .options-grid {
                grid-template-columns: 1fr;
            }

            .advanced-options {
                padding: 15px;
            }

            .options {
                flex-direction: column;
                align-items: stretch;
            }

            .results-header {
                flex-direction: column;
                gap: 15px;
                align-items: stretch;
            }

            .pan-link {
                flex-direction: column;
                gap: 15px;
                align-items: stretch;
            }

            .link-actions {
                justify-content: space-between;
            }

            .copy-btn, .open-btn {
                flex: 1;
            }

            .toast {
                right: 10px;
                left: 10px;
                transform: translateY(-100px);
            }

            .toast.show {
                transform: translateY(0);
            }
        }
    
