Spaces:
Running
Running
| <html lang="de" class="dark"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>OpenRouter FreeScout</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { | |
| --background: #09090b; | |
| --surface: #18181b; | |
| --primary: #6366f1; | |
| --secondary: #10b981; | |
| --gray-50: #fafafa; | |
| --gray-100: #f4f4f5; | |
| --gray-200: #e4e4e7; | |
| --gray-300: #d4d4d8; | |
| --gray-400: #a1a1aa; | |
| --gray-500: #71717a; | |
| --gray-600: #52525b; | |
| --gray-700: #3f3f46; | |
| --gray-800: #27272a; | |
| --gray-900: #18181b; | |
| --emerald-400: #34d399; | |
| --emerald-500: #10b981; | |
| --emerald-600: #059669; | |
| --emerald-800: #065f46; | |
| --emerald-900: #064e3b; | |
| --emerald-950: #022c22; | |
| --red-400: #f87171; | |
| --red-500: #ef4444; | |
| --red-800: #991b1b; | |
| --red-900: #7f1d1d; | |
| --red-950: #450a0a; | |
| --blue-400: #60a5fa; | |
| --blue-500: #3b82f6; | |
| --yellow-500: #eab308; | |
| --purple-500: #a855f7; | |
| --purple-600: #9333ea; | |
| --pink-400: #f472b6; | |
| --amber-400: #fbbf24; | |
| --indigo-400: #818cf8; | |
| --indigo-500: #6366f1; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: var(--background); | |
| color: var(--gray-200); | |
| min-height: 100vh; | |
| line-height: 1.5; | |
| } | |
| /* Custom Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--surface); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--gray-700); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--gray-600); | |
| } | |
| /* Animations */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| } | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 0.3s ease-out; | |
| } | |
| .animate-pulse { | |
| animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| .animate-spin { | |
| animation: spin 1s linear infinite; | |
| } | |
| /* Header */ | |
| .header { | |
| position: sticky; | |
| top: 0; | |
| z-index: 30; | |
| background: rgba(9, 9, 11, 0.95); | |
| backdrop-filter: blur(12px); | |
| border-bottom: 1px solid var(--gray-800); | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); | |
| } | |
| .header-content { | |
| max-width: 1280px; | |
| margin: 0 auto; | |
| padding: 1rem; | |
| } | |
| .header-top { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| @media (min-width: 1024px) { | |
| .header-top { | |
| flex-direction: row; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| } | |
| .logo-section { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| } | |
| .logo-icon { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 12px; | |
| background: linear-gradient(135deg, var(--primary), var(--purple-600)); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2); | |
| } | |
| .logo-text h1 { | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| color: white; | |
| letter-spacing: -0.025em; | |
| } | |
| .logo-text p { | |
| font-size: 0.75rem; | |
| color: var(--gray-500); | |
| } | |
| .built-with { | |
| font-size: 0.75rem; | |
| color: var(--gray-500); | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .built-with:hover { | |
| color: var(--primary); | |
| } | |
| .controls-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| width: 100%; | |
| } | |
| @media (min-width: 640px) { | |
| .controls-section { | |
| flex-direction: row; | |
| align-items: center; | |
| width: auto; | |
| } | |
| } | |
| .api-key-group { | |
| display: flex; | |
| gap: 0.5rem; | |
| flex: 1; | |
| } | |
| .api-key-input-wrapper { | |
| position: relative; | |
| flex: 1; | |
| } | |
| @media (min-width: 640px) { | |
| .api-key-input-wrapper { | |
| width: 256px; | |
| flex: none; | |
| } | |
| } | |
| .api-key-input { | |
| width: 100%; | |
| background: var(--surface); | |
| border: 1px solid var(--gray-700); | |
| border-radius: 8px; | |
| padding: 0.5rem 2.25rem 0.5rem 0.75rem; | |
| font-size: 0.875rem; | |
| color: white; | |
| height: 40px; | |
| transition: all 0.2s; | |
| } | |
| .api-key-input::placeholder { | |
| color: var(--gray-600); | |
| } | |
| .api-key-input:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); | |
| } | |
| .help-btn { | |
| position: absolute; | |
| right: 0; | |
| top: 0; | |
| height: 100%; | |
| display: flex; | |
| align-items: center; | |
| padding-right: 0.5rem; | |
| color: var(--gray-500); | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| transition: color 0.2s; | |
| } | |
| .help-btn:hover { | |
| color: var(--primary); | |
| } | |
| .key-link-btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 40px; | |
| height: 40px; | |
| background: var(--gray-800); | |
| border: 1px solid var(--gray-700); | |
| border-radius: 8px; | |
| color: var(--gray-400); | |
| text-decoration: none; | |
| transition: all 0.2s; | |
| } | |
| .key-link-btn:hover { | |
| background: var(--gray-700); | |
| color: white; | |
| } | |
| .action-buttons { | |
| display: flex; | |
| gap: 0.5rem; | |
| } | |
| .btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| padding: 0 1.5rem; | |
| height: 40px; | |
| border-radius: 8px; | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| border: none; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .btn-primary { | |
| background: var(--primary); | |
| color: white; | |
| box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25); | |
| } | |
| .btn-primary:hover:not(:disabled) { | |
| background: var(--indigo-500); | |
| box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4); | |
| } | |
| .btn-primary:disabled { | |
| background: var(--gray-800); | |
| color: var(--gray-500); | |
| cursor: not-allowed; | |
| box-shadow: none; | |
| } | |
| .btn-icon { | |
| width: 40px; | |
| padding: 0; | |
| } | |
| .btn-pause { | |
| background: var(--gray-800); | |
| border: 1px solid var(--gray-700); | |
| color: var(--yellow-500); | |
| } | |
| .btn-pause:hover { | |
| background: var(--gray-700); | |
| } | |
| .btn-pause.active { | |
| background: rgba(234, 179, 8, 0.2); | |
| border-color: var(--yellow-500); | |
| } | |
| .btn-stop { | |
| background: rgba(69, 10, 10, 0.3); | |
| border: 1px solid var(--red-900); | |
| color: var(--red-500); | |
| } | |
| .btn-stop:hover { | |
| background: rgba(127, 29, 29, 0.5); | |
| } | |
| .progress-bar { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 3px; | |
| background: var(--gray-800); | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, var(--primary), var(--purple-500)); | |
| transition: width 0.3s ease-out; | |
| } | |
| /* Main Content */ | |
| .main-content { | |
| max-width: 1280px; | |
| margin: 0 auto; | |
| padding: 2rem 1rem; | |
| } | |
| /* Stats Grid */ | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(1, 1fr); | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| @media (min-width: 768px) { | |
| .stats-grid { | |
| grid-template-columns: repeat(4, 1fr); | |
| } | |
| } | |
| .stat-card { | |
| padding: 1rem; | |
| border-radius: 12px; | |
| background: var(--surface); | |
| border: 1px solid var(--gray-800); | |
| } | |
| .stat-label { | |
| font-size: 0.75rem; | |
| text-transform: uppercase; | |
| font-weight: 700; | |
| letter-spacing: 0.05em; | |
| color: var(--gray-500); | |
| margin-bottom: 0.25rem; | |
| } | |
| .stat-value { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: white; | |
| display: flex; | |
| align-items: baseline; | |
| gap: 0.5rem; | |
| } | |
| .stat-badge { | |
| font-size: 0.75rem; | |
| font-weight: 400; | |
| color: var(--emerald-500); | |
| background: rgba(2, 44, 34, 0.3); | |
| padding: 0.125rem 0.5rem; | |
| border-radius: 9999px; | |
| border: 1px solid var(--emerald-900); | |
| } | |
| .stat-sub { | |
| font-size: 0.875rem; | |
| color: var(--gray-500); | |
| } | |
| /* Results Section */ | |
| .results-section { | |
| margin-bottom: 2rem; | |
| } | |
| .export-bar { | |
| display: flex; | |
| justify-content: flex-end; | |
| margin-bottom: 0.5rem; | |
| } | |
| .btn-export { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| color: var(--gray-400); | |
| background: var(--gray-800); | |
| border: 1px solid var(--gray-700); | |
| padding: 0.375rem 0.75rem; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .btn-export:hover { | |
| background: var(--gray-700); | |
| color: white; | |
| } | |
| .results-wrapper { | |
| background: var(--background); | |
| padding: 1rem; | |
| margin: -1rem; | |
| } | |
| .charts-grid { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| @media (min-width: 1024px) { | |
| .charts-grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| /* Chart Container */ | |
| .chart-container { | |
| background: var(--surface); | |
| border: 1px solid var(--gray-800); | |
| border-radius: 12px; | |
| padding: 1rem; | |
| height: 400px; | |
| } | |
| .chart-title { | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| color: var(--gray-400); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 0.5rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .chart-subtitle { | |
| font-size: 0.75rem; | |
| text-transform: none; | |
| color: var(--gray-600); | |
| } | |
| .chart-bars { | |
| height: calc(100% - 30px); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| overflow-y: auto; | |
| } | |
| .chart-bar-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| } | |
| .chart-bar-label { | |
| width: 120px; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| color: var(--gray-200); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| flex-shrink: 0; | |
| } | |
| .chart-bar-track { | |
| flex: 1; | |
| height: 20px; | |
| background: var(--gray-800); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .chart-bar-fill { | |
| height: 100%; | |
| border-radius: 0 4px 4px 0; | |
| transition: width 0.5s ease-out; | |
| } | |
| .chart-bar-fill.latency { | |
| background: var(--emerald-500); | |
| } | |
| .chart-bar-fill.throughput { | |
| background: var(--primary); | |
| } | |
| .chart-bar-value { | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| color: white; | |
| width: 70px; | |
| text-align: right; | |
| flex-shrink: 0; | |
| } | |
| /* Ranking Table */ | |
| .ranking-table-container { | |
| background: var(--surface); | |
| border: 1px solid var(--gray-800); | |
| border-radius: 12px; | |
| overflow: hidden; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2); | |
| } | |
| .ranking-header { | |
| padding: 1rem; | |
| border-bottom: 1px solid var(--gray-800); | |
| background: rgba(0, 0, 0, 0.2); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .ranking-title { | |
| font-size: 1.125rem; | |
| font-weight: 700; | |
| color: white; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .ranking-count { | |
| font-size: 0.75rem; | |
| font-weight: 400; | |
| color: var(--gray-500); | |
| background: var(--gray-800); | |
| padding: 0.125rem 0.5rem; | |
| border-radius: 9999px; | |
| } | |
| .ranking-table-wrapper { | |
| overflow-x: auto; | |
| } | |
| .ranking-table { | |
| width: 100%; | |
| min-width: 800px; | |
| border-collapse: collapse; | |
| text-align: left; | |
| } | |
| .ranking-table thead tr { | |
| background: rgba(0, 0, 0, 0.4); | |
| border-bottom: 1px solid var(--gray-800); | |
| } | |
| .ranking-table th { | |
| padding: 1rem; | |
| font-size: 0.75rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| font-weight: 500; | |
| color: var(--gray-500); | |
| } | |
| .ranking-table th.text-right { | |
| text-align: right; | |
| } | |
| .ranking-table th.text-center { | |
| text-align: center; | |
| } | |
| .ranking-table tbody tr { | |
| border-bottom: 1px solid var(--gray-800); | |
| transition: background 0.2s; | |
| } | |
| .ranking-table tbody tr:hover { | |
| background: rgba(255, 255, 255, 0.03); | |
| } | |
| .ranking-table td { | |
| padding: 1rem; | |
| font-size: 0.875rem; | |
| } | |
| .ranking-table td.text-right { | |
| text-align: right; | |
| } | |
| .ranking-table td.text-center { | |
| text-align: center; | |
| } | |
| .rank-number { | |
| color: var(--gray-600); | |
| font-family: monospace; | |
| } | |
| .model-name { | |
| font-weight: 700; | |
| color: white; | |
| max-width: 240px; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| margin-bottom: 0.25rem; | |
| } | |
| .model-tags { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.375rem; | |
| } | |
| .tag { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| font-size: 0.625rem; | |
| padding: 0.125rem 0.375rem; | |
| border-radius: 4px; | |
| border: 1px solid; | |
| } | |
| .tag-coding { | |
| color: var(--blue-400); | |
| background: rgba(96, 165, 250, 0.1); | |
| border-color: rgba(96, 165, 250, 0.2); | |
| } | |
| .tag-story { | |
| color: var(--amber-400); | |
| background: rgba(251, 191, 36, 0.1); | |
| border-color: rgba(251, 191, 36, 0.2); | |
| } | |
| .tag-general { | |
| color: var(--emerald-400); | |
| background: rgba(52, 211, 153, 0.1); | |
| border-color: rgba(52, 211, 153, 0.2); | |
| } | |
| .tag-roleplay { | |
| color: var(--pink-400); | |
| background: rgba(244, 114, 182, 0.1); | |
| border-color: rgba(244, 114, 182, 0.2); | |
| } | |
| .tag-math { | |
| color: var(--indigo-400); | |
| background: rgba(129, 140, 248, 0.1); | |
| border-color: rgba(129, 140, 248, 0.2); | |
| } | |
| .tag-assistant { | |
| color: var(--gray-400); | |
| background: rgba(161, 161, 170, 0.1); | |
| border-color: rgba(161, 161, 170, 0.2); | |
| } | |
| .tag-vision { | |
| color: var(--purple-500); | |
| background: rgba(168, 85, 247, 0.1); | |
| border-color: rgba(168, 85, 247, 0.2); | |
| } | |
| .action-icons { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.75rem; | |
| } | |
| .action-icon { | |
| color: var(--gray-500); | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| transition: color 0.2s; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .action-icon:hover { | |
| color: var(--primary); | |
| } | |
| .action-icon.copied { | |
| color: var(--emerald-500); | |
| } | |
| .metric-value { | |
| font-family: monospace; | |
| color: var(--gray-300); | |
| } | |
| .metric-unit { | |
| font-size: 0.75rem; | |
| color: var(--gray-600); | |
| } | |
| .metric-up { | |
| font-size: 0.625rem; | |
| color: var(--emerald-500); | |
| } | |
| .latency-value { | |
| font-family: monospace; | |
| font-weight: 700; | |
| color: #4ade80; | |
| } | |
| .latency-unit { | |
| font-size: 0.75rem; | |
| font-weight: 400; | |
| color: rgba(74, 222, 128, 0.7); | |
| } | |
| .context-value { | |
| font-size: 1rem; | |
| font-weight: 700; | |
| color: white; | |
| } | |
| .context-sub { | |
| font-size: 0.625rem; | |
| color: var(--gray-500); | |
| } | |
| .generated-footer { | |
| text-align: center; | |
| font-size: 0.75rem; | |
| color: var(--gray-600); | |
| padding: 1rem 0 0.5rem; | |
| } | |
| /* Divider */ | |
| .divider { | |
| border-top: 1px solid var(--gray-800); | |
| margin: 2rem 0; | |
| } | |
| /* Filter Bar */ | |
| .filter-bar { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| background: var(--surface); | |
| padding: 1rem; | |
| border-radius: 12px; | |
| border: 1px solid var(--gray-800); | |
| position: sticky; | |
| top: 80px; | |
| z-index: 20; | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); | |
| margin-bottom: 1rem; | |
| } | |
| @media (min-width: 768px) { | |
| .filter-bar { | |
| flex-direction: row; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| } | |
| .search-wrapper { | |
| position: relative; | |
| width: 100%; | |
| max-width: 400px; | |
| } | |
| .search-icon { | |
| position: absolute; | |
| left: 0.75rem; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| color: var(--gray-500); | |
| } | |
| .search-input { | |
| width: 100%; | |
| background: rgba(0, 0, 0, 0.4); | |
| border: 1px solid var(--gray-700); | |
| border-radius: 8px; | |
| padding: 0.5rem 1rem 0.5rem 2.25rem; | |
| font-size: 0.875rem; | |
| color: white; | |
| } | |
| .search-input:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| } | |
| .filter-controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| overflow-x: auto; | |
| padding-bottom: 0.5rem; | |
| } | |
| @media (min-width: 768px) { | |
| .filter-controls { | |
| padding-bottom: 0; | |
| } | |
| } | |
| .filter-btn { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.5rem 0.75rem; | |
| border-radius: 8px; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| border: 1px solid var(--gray-700); | |
| background: rgba(0, 0, 0, 0.4); | |
| color: var(--gray-400); | |
| cursor: pointer; | |
| white-space: nowrap; | |
| transition: all 0.2s; | |
| } | |
| .filter-btn:hover { | |
| color: white; | |
| } | |
| .filter-btn.active { | |
| background: rgba(2, 44, 34, 0.3); | |
| border-color: var(--emerald-800); | |
| color: var(--emerald-400); | |
| } | |
| .filter-divider { | |
| height: 24px; | |
| width: 1px; | |
| background: var(--gray-700); | |
| margin: 0 0.25rem; | |
| } | |
| .sort-select { | |
| background: rgba(0, 0, 0, 0.4); | |
| border: 1px solid var(--gray-700); | |
| color: var(--gray-300); | |
| font-size: 0.75rem; | |
| border-radius: 8px; | |
| padding: 0.5rem 0.75rem; | |
| cursor: pointer; | |
| } | |
| .sort-select:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| } | |
| /* Model Cards */ | |
| .models-grid { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 0.75rem; | |
| } | |
| .model-card { | |
| border-radius: 12px; | |
| border: 1px solid var(--gray-800); | |
| background: var(--surface); | |
| padding: 1rem; | |
| transition: all 0.3s; | |
| } | |
| .model-card.success { | |
| border-color: rgba(16, 185, 129, 0.3); | |
| background: rgba(2, 44, 34, 0.1); | |
| } | |
| .model-card.error { | |
| border-color: rgba(239, 68, 68, 0.3); | |
| background: rgba(69, 10, 10, 0.1); | |
| } | |
| .model-card-header { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 1rem; | |
| } | |
| .model-card-info { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .model-card-title-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin-bottom: 0.25rem; | |
| } | |
| .model-card-title { | |
| font-size: 1.125rem; | |
| font-weight: 700; | |
| color: white; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .model-card-ctx { | |
| font-size: 0.75rem; | |
| padding: 0.125rem 0.5rem; | |
| border-radius: 9999px; | |
| background: var(--gray-800); | |
| color: var(--gray-400); | |
| border: 1px solid var(--gray-700); | |
| } | |
| .model-card-id-row { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| .model-card-id { | |
| font-family: monospace; | |
| font-size: 0.75rem; | |
| color: var(--gray-500); | |
| background: rgba(0, 0, 0, 0.5); | |
| padding: 0.125rem 0.375rem; | |
| border-radius: 4px; | |
| max-width: 200px; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| @media (min-width: 640px) { | |
| .model-card-id { | |
| max-width: 300px; | |
| } | |
| } | |
| .model-card-copy { | |
| background: none; | |
| border: none; | |
| color: var(--gray-500); | |
| cursor: pointer; | |
| transition: color 0.2s; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .model-card-copy:hover { | |
| color: white; | |
| } | |
| .model-card-copy.copied { | |
| color: var(--emerald-500); | |
| } | |
| .model-card-desc { | |
| font-size: 0.875rem; | |
| color: var(--gray-400); | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| .model-card-metrics { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: flex-end; | |
| gap: 0.5rem; | |
| min-width: 100px; | |
| } | |
| .model-card-status { | |
| font-size: 0.75rem; | |
| color: var(--gray-500); | |
| } | |
| .model-card-status.running { | |
| color: var(--blue-400); | |
| } | |
| .model-card-metric { | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-end; | |
| gap: 0.375rem; | |
| } | |
| .model-card-metric.latency { | |
| color: var(--emerald-400); | |
| } | |
| .model-card-metric.speed { | |
| color: var(--blue-400); | |
| } | |
| .model-card-metric-value { | |
| font-family: monospace; | |
| font-weight: 700; | |
| } | |
| .model-card-error-status { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| color: var(--red-500); | |
| font-weight: 700; | |
| font-size: 0.875rem; | |
| margin-bottom: 0.25rem; | |
| } | |
| .model-card-details { | |
| overflow: hidden; | |
| transition: all 0.3s ease-in-out; | |
| max-height: 0; | |
| opacity: 0; | |
| } | |
| .model-card-details.expanded { | |
| max-height: 500px; | |
| opacity: 1; | |
| margin-top: 1rem; | |
| } | |
| .model-card-details-content { | |
| padding-top: 1rem; | |
| border-top: 1px solid var(--gray-800); | |
| } | |
| .model-card-error-msg { | |
| margin-bottom: 0.75rem; | |
| padding: 0.5rem; | |
| background: rgba(69, 10, 10, 0.3); | |
| border: 1px solid rgba(127, 29, 29, 0.5); | |
| border-radius: 4px; | |
| color: #fca5a5; | |
| font-size: 0.75rem; | |
| font-family: monospace; | |
| } | |
| .model-card-details-grid { | |
| display: grid; | |
| grid-template-columns: 1fr; | |
| gap: 1rem; | |
| } | |
| @media (min-width: 768px) { | |
| .model-card-details-grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| .model-card-details-section h4 { | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--gray-500); | |
| margin-bottom: 0.5rem; | |
| } | |
| .model-card-details-section p { | |
| font-size: 0.875rem; | |
| color: var(--gray-300); | |
| line-height: 1.6; | |
| } | |
| .model-card-details-section ul { | |
| list-style: none; | |
| font-size: 0.75rem; | |
| font-family: monospace; | |
| color: var(--gray-400); | |
| } | |
| .model-card-details-section li { | |
| display: flex; | |
| justify-content: space-between; | |
| padding: 0.25rem 0; | |
| } | |
| .model-card-details-section li span:last-child { | |
| color: white; | |
| } | |
| .model-card-toggle { | |
| width: 100%; | |
| margin-top: 0.75rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.25rem; | |
| padding: 0.25rem; | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--gray-600); | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| transition: color 0.2s; | |
| } | |
| .model-card-toggle:hover { | |
| color: var(--gray-300); | |
| } | |
| .empty-state { | |
| text-align: center; | |
| padding: 5rem 1rem; | |
| color: var(--gray-500); | |
| border: 1px dashed var(--gray-800); | |
| border-radius: 12px; | |
| } | |
| .loading-state { | |
| text-align: center; | |
| padding: 5rem 1rem; | |
| color: var(--gray-500); | |
| } | |
| /* Modal */ | |
| .modal-overlay { | |
| position: fixed; | |
| inset: 0; | |
| z-index: 50; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1rem; | |
| background: rgba(0, 0, 0, 0.8); | |
| backdrop-filter: blur(4px); | |
| animation: fadeIn 0.2s ease-out; | |
| } | |
| .modal-content { | |
| background: var(--surface); | |
| border: 1px solid var(--gray-700); | |
| border-radius: 16px; | |
| width: 100%; | |
| max-width: 500px; | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .modal-close { | |
| position: absolute; | |
| top: 1rem; | |
| right: 1rem; | |
| background: none; | |
| border: none; | |
| color: var(--gray-400); | |
| cursor: pointer; | |
| transition: color 0.2s; | |
| } | |
| .modal-close:hover { | |
| color: white; | |
| } | |
| .modal-body { | |
| padding: 1.5rem; | |
| } | |
| .modal-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .modal-icon { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background: rgba(99, 102, 241, 0.2); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: var(--primary); | |
| } | |
| .modal-title { | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| color: white; | |
| } | |
| .modal-steps { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1.5rem; | |
| } | |
| .modal-step { | |
| display: flex; | |
| gap: 1rem; | |
| } | |
| .modal-step-number { | |
| flex-shrink: 0; | |
| width: 32px; | |
| height: 32px; | |
| border-radius: 50%; | |
| background: var(--gray-800); | |
| border: 1px solid var(--gray-700); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 700; | |
| font-size: 0.875rem; | |
| color: var(--gray-300); | |
| } | |
| .modal-step-content h3 { | |
| font-weight: 600; | |
| color: white; | |
| margin-bottom: 0.25rem; | |
| } | |
| .modal-step-content p { | |
| font-size: 0.875rem; | |
| color: var(--gray-400); | |
| line-height: 1.6; | |
| } | |
| .modal-step-content a { | |
| color: var(--primary); | |
| text-decoration: none; | |
| } | |
| .modal-step-content a:hover { | |
| text-decoration: underline; | |
| } | |
| .modal-footer { | |
| margin-top: 2rem; | |
| padding-top: 1.5rem; | |
| border-top: |