Spaces:
Sleeping
Sleeping
| /* ===== DESIGN TOKENS ===== */ | |
| :root { | |
| --bg: #06090f; | |
| --panel: rgba(14, 20, 32, 0.85); | |
| --panel-border: rgba(255,255,255,0.07); | |
| --text: #e8edf5; | |
| --muted: #8b95a8; | |
| --accent: #ff6f3c; | |
| --accent2: #38d39f; | |
| --red: #da3633; | |
| --green: #2ea043; | |
| --blue: #58a6ff; | |
| --amber: #f0c040; | |
| --font: 'Inter', system-ui, sans-serif; | |
| --mono: 'JetBrains Mono', monospace; | |
| --radius: 20px; | |
| --glass: blur(18px) saturate(1.6); | |
| } | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| min-height: 100vh; | |
| background: linear-gradient(170deg, #080c16 0%, #060a12 50%, #0a0e18 100%); | |
| color: var(--text); | |
| font-family: var(--font); | |
| overflow-x: hidden; | |
| } | |
| #particles-canvas { | |
| position: fixed; top: 0; left: 0; width: 100%; height: 100%; | |
| z-index: 0; pointer-events: none; opacity: 0.5; | |
| } | |
| .page-shell { | |
| position: relative; z-index: 1; | |
| width: min(1360px, calc(100% - 32px)); | |
| margin: 0 auto; | |
| padding: 24px 0 48px; | |
| } | |
| /* ===== GLASS PANEL ===== */ | |
| .glass-panel, .panel { | |
| background: var(--panel); | |
| border: 1px solid var(--panel-border); | |
| border-radius: var(--radius); | |
| backdrop-filter: var(--glass); | |
| -webkit-backdrop-filter: var(--glass); | |
| box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04); | |
| padding: 24px; | |
| transition: transform 0.25s ease, box-shadow 0.25s ease; | |
| } | |
| .glass-panel:hover { | |
| box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06); | |
| } | |
| .panel-header { margin-bottom: 18px; } | |
| .panel-header h2 { font-size: 1.2rem; font-weight: 700; } | |
| .panel-header p, .panel-subtitle { color: var(--muted); font-size: 0.9rem; margin-top: 4px; } | |
| .panel-badge { | |
| display: inline-block; padding: 4px 12px; border-radius: 999px; | |
| background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border); | |
| font-size: 0.8rem; font-family: var(--mono); font-weight: 600; color: var(--muted); | |
| } | |
| .panel-badge.green { color: var(--accent2); border-color: rgba(56,211,159,0.3); background: rgba(56,211,159,0.08); } | |
| .panel-badge.red { color: var(--red); border-color: rgba(218,54,51,0.3); background: rgba(218,54,51,0.08); } | |
| .panel-wide { grid-column: 1 / -1; } | |
| /* ===== HERO ===== */ | |
| .hero { | |
| position: relative; padding: 56px 40px 48px; border-radius: 28px; | |
| background: var(--panel); border: 1px solid var(--panel-border); | |
| backdrop-filter: var(--glass); overflow: hidden; | |
| box-shadow: 0 16px 60px rgba(0,0,0,0.4); | |
| } | |
| .hero-glow { | |
| position: absolute; top: -120px; right: -80px; width: 400px; height: 400px; | |
| background: radial-gradient(circle, rgba(56,211,159,0.15) 0%, transparent 70%); | |
| pointer-events: none; | |
| } | |
| .hero-layout { | |
| display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; | |
| } | |
| .hero-content { position: relative; max-width: 600px; } | |
| /* New Hero Visual */ | |
| .hero-visual { | |
| position: relative; height: 100%; display: flex; justify-content: center; align-items: center; | |
| } | |
| .glass-orb { | |
| position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; | |
| } | |
| .orb-1 { width: 200px; height: 200px; background: var(--accent); top: 10%; right: 10%; } | |
| .orb-2 { width: 250px; height: 250px; background: var(--accent2); bottom: 10%; left: 10%; } | |
| .hero-card { | |
| position: relative; z-index: 2; width: 100%; max-width: 380px; | |
| background: rgba(14, 20, 32, 0.6); border: 1px solid rgba(255,255,255,0.1); | |
| border-radius: 20px; backdrop-filter: blur(24px) saturate(2); | |
| padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1); | |
| transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); | |
| transition: transform 0.4s ease; | |
| } | |
| .hero-card:hover { | |
| transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px); | |
| } | |
| .hc-header { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 20px; border-bottom: 1px solid var(--panel-border); padding-bottom: 12px; } | |
| .hc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 10px var(--accent2); animation: pulse 2s infinite; } | |
| .hc-body { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; } | |
| .hc-line { display: flex; justify-content: space-between; color: var(--muted); border-bottom: 1px dashed rgba(255,255,255,0.05); padding-bottom: 8px; } | |
| .hc-line strong { color: var(--text); font-family: var(--mono); font-size: 0.85rem; } | |
| .hc-success { color: var(--accent2); justify-content: center; font-weight: 600; padding-top: 8px; border-bottom: none; background: rgba(56,211,159,0.1); border-radius: 8px; padding: 10px; margin-top: 4px; } | |
| .eyebrow { | |
| display: inline-block; margin-bottom: 12px; color: var(--accent); | |
| font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; | |
| } | |
| h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; line-height: 1; margin-bottom: 8px; } | |
| .gradient-text { | |
| background: linear-gradient(135deg, #ff934f 0%, #ff6f3c 40%, #38d39f 100%); | |
| -webkit-background-clip: text; -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .hero-subtitle { font-size: 1.3rem; font-weight: 500; color: var(--muted); margin-bottom: 16px; } | |
| .hero-desc { font-size: 1.05rem; line-height: 1.7; color: var(--muted); max-width: 60ch; margin-bottom: 28px; } | |
| .hero-desc strong { color: var(--text); } | |
| .hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; } | |
| .stat-pill { | |
| padding: 12px 18px; border-radius: 16px; | |
| background: rgba(255,255,255,0.04); border: 1px solid var(--panel-border); | |
| text-align: center; min-width: 100px; | |
| } | |
| .stat-value { display: block; font-size: 1.4rem; font-weight: 800; font-family: var(--mono); color: var(--accent); } | |
| .stat-label { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; } | |
| .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; } | |
| /* ===== BUTTONS ===== */ | |
| .btn { | |
| display: inline-flex; align-items: center; gap: 8px; | |
| padding: 12px 22px; border: none; border-radius: 14px; | |
| font: 600 0.95rem var(--font); cursor: pointer; | |
| transition: all 0.2s ease; position: relative; overflow: hidden; | |
| } | |
| .btn:hover { transform: translateY(-2px); } | |
| .btn:active { transform: translateY(0); } | |
| .btn-icon { font-size: 1rem; } | |
| .btn-primary { | |
| background: linear-gradient(135deg, #ff934f, #ff6f3c); | |
| color: #fff; box-shadow: 0 8px 24px rgba(255,111,60,0.25); | |
| } | |
| .btn-primary:hover { box-shadow: 0 12px 32px rgba(255,111,60,0.35); } | |
| .btn-glow::after { | |
| content: ''; position: absolute; inset: -2px; border-radius: 16px; | |
| background: linear-gradient(135deg, #ff934f, #ff6f3c); | |
| z-index: -1; opacity: 0; filter: blur(12px); | |
| transition: opacity 0.3s; | |
| } | |
| .btn-glow:hover::after { opacity: 0.5; } | |
| .btn-secondary { | |
| background: rgba(255,255,255,0.07); color: var(--text); | |
| border: 1px solid var(--panel-border); | |
| } | |
| .btn-outline { | |
| background: transparent; color: var(--accent2); | |
| border: 1px solid rgba(56,211,159,0.3); | |
| } | |
| .btn-outline:hover { background: rgba(56,211,159,0.08); } | |
| .btn-group { display: flex; gap: 10px; flex-wrap: wrap; } | |
| .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none ; } | |
| /* ===== TAB NAV ===== */ | |
| .tab-nav { | |
| display: flex; gap: 4px; margin: 24px 0 20px; | |
| padding: 6px; border-radius: 18px; | |
| background: rgba(14,20,32,0.6); border: 1px solid var(--panel-border); | |
| backdrop-filter: var(--glass); | |
| } | |
| .tab-btn { | |
| flex: 1; padding: 12px 16px; border: none; border-radius: 14px; | |
| background: transparent; color: var(--muted); font: 600 0.9rem var(--font); | |
| cursor: pointer; transition: all 0.25s ease; | |
| display: flex; align-items: center; justify-content: center; gap: 8px; | |
| } | |
| .tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); } | |
| .tab-btn.active { | |
| color: var(--text); background: rgba(255,255,255,0.08); | |
| box-shadow: 0 2px 12px rgba(0,0,0,0.2); | |
| } | |
| .tab-icon { font-size: 1rem; } | |
| .tab-content { display: none; animation: fadeIn 0.35s ease; } | |
| .tab-content.active { display: block; } | |
| @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } | |
| /* ===== SIMULATION TAB ===== */ | |
| .sim-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; } | |
| .sim-right { display: grid; gap: 16px; align-content: start; } | |
| .graph-container { | |
| position: relative; background: rgba(0,0,0,0.25); border-radius: 16px; | |
| border: 1px solid rgba(255,255,255,0.05); overflow: hidden; | |
| } | |
| #graph-svg { width: 100%; height: 420px; display: block; } | |
| .graph-legend { | |
| display: flex; gap: 16px; padding: 10px 16px; flex-wrap: wrap; | |
| border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; color: var(--muted); | |
| } | |
| .legend-item { display: flex; align-items: center; gap: 6px; } | |
| .legend-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; } | |
| .legend-ring { | |
| width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; | |
| border: 2px dashed #d29922; background: transparent; | |
| } | |
| /* Controls */ | |
| .control-group { display: grid; gap: 14px; } | |
| .control-row { display: flex; align-items: center; gap: 12px; } | |
| .control-label { font-size: 0.85rem; color: var(--muted); min-width: 90px; } | |
| .range-input { flex: 1; accent-color: var(--accent); height: 6px; } | |
| .range-value { font-family: var(--mono); font-size: 0.9rem; font-weight: 700; min-width: 36px; text-align: right; } | |
| /* Progress */ | |
| .progress-container { margin-top: 12px; } | |
| .progress-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; } | |
| .progress-fill { | |
| height: 100%; width: 0%; border-radius: 3px; | |
| background: linear-gradient(90deg, var(--accent), var(--accent2)); | |
| transition: width 0.3s ease; | |
| } | |
| .progress-text { font-size: 0.8rem; color: var(--muted); margin-top: 6px; display: block; } | |
| /* Belief bars */ | |
| .belief-bars { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; } | |
| .belief-empty { color: var(--muted); font-size: 0.85rem; padding: 12px; text-align: center; } | |
| .belief-row { display: grid; grid-template-columns: 100px 1fr 50px; gap: 8px; align-items: center; } | |
| .belief-name { font-size: 0.8rem; font-family: var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; } | |
| .belief-bar-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden; } | |
| .belief-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease, background 0.5s ease; } | |
| .belief-prob { font-size: 0.8rem; font-family: var(--mono); font-weight: 700; text-align: right; } | |
| /* Stats grid */ | |
| .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } | |
| .mini-stat { | |
| padding: 12px; border-radius: 14px; | |
| background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); | |
| } | |
| .mini-stat-label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; } | |
| .mini-stat-value { display: block; font-size: 1.1rem; font-weight: 700; font-family: var(--mono); } | |
| /* Comparison panel */ | |
| .comparison-panel { margin-top: 20px; } | |
| .comparison-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; } | |
| .comparison-card { | |
| padding: 24px; border-radius: 18px; | |
| background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); | |
| } | |
| .comparison-card.bad { border-color: rgba(218,54,51,0.25); } | |
| .comparison-card.good { border-color: rgba(46,160,67,0.25); } | |
| .comparison-title { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } | |
| .comparison-dot { width: 10px; height: 10px; border-radius: 50%; } | |
| .comparison-dot.red { background: var(--red); } | |
| .comparison-dot.green { background: var(--green); } | |
| .comparison-f1 { font-size: 2rem; font-weight: 800; font-family: var(--mono); margin-bottom: 16px; } | |
| .comparison-card.bad .comparison-f1 { color: var(--red); } | |
| .comparison-card.good .comparison-f1 { color: var(--green); } | |
| .comparison-arrow { font-size: 2.5rem; color: var(--muted); text-align: center; } | |
| .comparison-stats { font-size: 0.85rem; color: var(--muted); line-height: 1.8; font-family: var(--mono); } | |
| /* ===== TRAINING CURVES TAB ===== */ | |
| .charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } | |
| .chart-panel { min-height: 300px; } | |
| .chart-area { position: relative; min-height: 240px; } | |
| .chart-area svg { width: 100%; height: 240px; display: block; } | |
| .chart-empty { color: var(--muted); font-size: 0.85rem; padding: 80px 20px; text-align: center; } | |
| .summary-panel { margin-top: 20px; } | |
| .summary-row { | |
| display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); | |
| gap: 12px; | |
| } | |
| .summary-item { | |
| padding: 14px; border-radius: 14px; | |
| background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); | |
| text-align: center; | |
| } | |
| .summary-item-label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; } | |
| .summary-item-value { display: block; font-size: 1.2rem; font-weight: 800; font-family: var(--mono); } | |
| /* ===== OPENENV TAB ===== */ | |
| .openenv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } | |
| .controls { display: grid; gap: 14px; } | |
| .field { display: grid; gap: 6px; } | |
| .field span { font-size: 0.85rem; color: var(--muted); } | |
| select { | |
| padding: 12px 14px; border-radius: 14px; | |
| border: 1px solid var(--panel-border); background: rgba(7,13,24,0.9); | |
| color: var(--text); font: 600 0.9rem var(--font); | |
| } | |
| select:focus { outline: 2px solid rgba(255,111,60,0.4); outline-offset: 2px; } | |
| select option { background: #0d1525; } | |
| .task-summary-box { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); } | |
| .task-summary-box h3 { margin-bottom: 6px; font-size: 1rem; } | |
| .task-summary-box p { color: var(--muted); font-size: 0.9rem; } | |
| .score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } | |
| .score-card { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); } | |
| .score-card span { display: block; color: var(--muted); font-size: 0.8rem; } | |
| .score-card strong { display: block; margin-top: 4px; font-size: 1.15rem; font-family: var(--mono); } | |
| .all-results-box { margin-top: 14px; font-size: 0.85rem; color: var(--muted); max-height: 200px; overflow-y: auto; } | |
| .oe-layout { display: grid; grid-template-columns: 380px 1fr; gap: 18px; } | |
| .oe-visuals { display: grid; gap: 14px; } | |
| .mini-panel-box { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); } | |
| .mini-panel-box h3 { margin-bottom: 8px; font-size: 0.95rem; } | |
| .oe-chart-area { min-height: 180px; } | |
| .oe-chart-area svg { width: 100%; height: 180px; } | |
| .oe-summary-area { font-size: 0.85rem; } | |
| .oe-log-area { | |
| max-height: 600px; min-height: 300px; overflow-y: auto; padding: 18px; | |
| border-radius: 14px; background: rgba(0,0,0,0.2); border: 1px solid var(--panel-border); | |
| font-family: var(--mono); font-size: 0.85rem; color: var(--muted); line-height: 1.6; | |
| } | |
| .log-step { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); } | |
| .log-step:last-child { border-bottom: none; } | |
| .log-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } | |
| .log-title strong { color: var(--text); } | |
| .action-chip { | |
| padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; | |
| background: rgba(255,111,60,0.12); color: #ffd6c5; | |
| border: 1px solid rgba(255,111,60,0.2); text-transform: uppercase; letter-spacing: 0.06em; | |
| } | |
| .action-meta { display: grid; gap: 4px; } | |
| /* ===== ABOUT TAB ===== */ | |
| .about-grid { display: grid; gap: 20px; } | |
| .about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; } | |
| .about-card { | |
| padding: 20px; border-radius: 16px; | |
| background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); | |
| transition: transform 0.2s, border-color 0.2s; | |
| } | |
| .about-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.12); } | |
| .about-icon { font-size: 1.8rem; margin-bottom: 10px; } | |
| .about-card h3 { font-size: 1rem; margin-bottom: 8px; } | |
| .about-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; } | |
| .coevolution-explainer { | |
| margin-top: 24px; | |
| padding: 22px; | |
| border: 1px solid rgba(46, 160, 67, 0.22); | |
| border-radius: 16px; | |
| background: | |
| linear-gradient(135deg, rgba(46, 160, 67, 0.08), rgba(88, 166, 255, 0.04)), | |
| rgba(255,255,255,0.02); | |
| } | |
| .coevolution-explainer.compact { | |
| margin: 0 0 16px; | |
| } | |
| .coevolution-heading { | |
| max-width: 820px; | |
| margin-bottom: 18px; | |
| } | |
| .section-kicker, | |
| .card-label { | |
| display: inline-block; | |
| color: var(--accent2); | |
| font-size: 0.72rem; | |
| font-weight: 800; | |
| letter-spacing: 0.08em; | |
| text-transform: uppercase; | |
| } | |
| .coevolution-heading h3 { | |
| margin: 6px 0 8px; | |
| color: #7ee787; | |
| font-size: 1.35rem; | |
| line-height: 1.25; | |
| } | |
| .coevolution-heading p, | |
| .coevolution-card p, | |
| .flow-step p, | |
| .curve-card p { | |
| color: var(--muted); | |
| line-height: 1.65; | |
| } | |
| .coevolution-grid, | |
| .curve-cards { | |
| display: grid; | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| gap: 12px; | |
| } | |
| .coevolution-card, | |
| .curve-card { | |
| min-width: 0; | |
| padding: 16px; | |
| border: 1px solid rgba(255,255,255,0.07); | |
| border-radius: 12px; | |
| background: rgba(7, 13, 24, 0.52); | |
| } | |
| .coevolution-card strong, | |
| .curve-card span, | |
| .flow-step strong { | |
| display: block; | |
| color: var(--text); | |
| font-size: 0.98rem; | |
| line-height: 1.35; | |
| } | |
| .coevolution-card strong { | |
| margin: 8px 0 6px; | |
| } | |
| .coevolution-card p, | |
| .curve-card p, | |
| .flow-step p { | |
| font-size: 0.86rem; | |
| } | |
| .coevolution-flow { | |
| display: grid; | |
| grid-template-columns: 1fr auto 1fr auto 1fr; | |
| gap: 12px; | |
| align-items: stretch; | |
| margin: 16px 0; | |
| } | |
| .flow-step { | |
| min-width: 0; | |
| padding: 16px; | |
| border: 1px solid rgba(88, 166, 255, 0.16); | |
| border-radius: 12px; | |
| background: rgba(88, 166, 255, 0.06); | |
| } | |
| .flow-step span { | |
| display: inline-flex; | |
| width: 32px; | |
| height: 32px; | |
| align-items: center; | |
| justify-content: center; | |
| margin-bottom: 10px; | |
| border-radius: 50%; | |
| background: rgba(56, 211, 159, 0.12); | |
| color: var(--accent2); | |
| font-family: var(--mono); | |
| font-size: 0.78rem; | |
| font-weight: 800; | |
| } | |
| .flow-connector { | |
| display: flex; | |
| align-items: center; | |
| color: var(--accent2); | |
| font-family: var(--mono); | |
| opacity: 0.8; | |
| } | |
| .curve-card { | |
| border-color: rgba(240, 192, 64, 0.16); | |
| background: rgba(240, 192, 64, 0.05); | |
| } | |
| .curve-card span { | |
| margin-bottom: 6px; | |
| color: #f6d365; | |
| } | |
| .theme-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } | |
| .theme-card { padding: 20px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); } | |
| .theme-tag { | |
| display: inline-block; padding: 3px 10px; border-radius: 8px; | |
| font-size: 0.75rem; font-weight: 700; margin-bottom: 10px; | |
| } | |
| .theme-tag.orange { background: rgba(255,111,60,0.15); color: var(--accent); } | |
| .theme-tag.teal { background: rgba(56,211,159,0.12); color: var(--accent2); } | |
| .theme-card h3 { font-size: 1rem; margin-bottom: 6px; } | |
| .theme-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; } | |
| .link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; } | |
| .link-card { | |
| display: flex; flex-direction: column; align-items: center; gap: 6px; | |
| padding: 16px; border-radius: 14px; text-decoration: none; color: var(--text); | |
| background: rgba(255,255,255,0.03); border: 1px solid var(--panel-border); | |
| transition: all 0.2s; | |
| } | |
| .link-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); transform: translateY(-2px); } | |
| .link-icon { font-size: 1.4rem; } | |
| .link-card span:last-child { font-size: 0.85rem; } | |
| /* ===== LLM AGENT TAB ===== */ | |
| .llm-hero { margin-bottom: 20px; } | |
| .llm-desc { | |
| color: var(--muted); font-size: 0.92rem; line-height: 1.7; | |
| margin: 12px 0 20px; max-width: 700px; | |
| } | |
| .llm-desc a { color: var(--accent); text-decoration: none; } | |
| .llm-desc a:hover { text-decoration: underline; } | |
| .llm-controls { | |
| display: flex; gap: 12px; align-items: center; flex-wrap: wrap; | |
| } | |
| .llm-select { | |
| padding: 10px 16px; border-radius: 12px; | |
| background: rgba(255,255,255,0.06); border: 1px solid var(--panel-border); | |
| color: var(--text); font-family: var(--font); font-size: 0.9rem; | |
| outline: none; min-width: 200px; cursor: pointer; | |
| } | |
| .llm-select:focus { border-color: var(--accent); } | |
| .llm-results { display: grid; gap: 20px; } | |
| .model-output-box { | |
| margin-top: 8px; padding: 10px 14px; border-radius: 10px; | |
| background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.06); | |
| font-family: var(--mono); font-size: 0.78rem; color: #a8b2c1; | |
| word-break: break-all; line-height: 1.5; | |
| } | |
| .model-output-label { | |
| display: block; font-size: 0.7rem; color: var(--muted); | |
| font-family: var(--font); font-weight: 600; margin-bottom: 4px; | |
| text-transform: uppercase; letter-spacing: 0.5px; | |
| } | |
| .model-output-box code { | |
| display: block; white-space: pre-wrap; color: #c9d1d9; | |
| } | |
| /* ===== FOOTER ===== */ | |
| .footer { text-align: center; padding: 32px 0 0; color: var(--muted); font-size: 0.85rem; } | |
| .footer-sub { font-size: 0.78rem; margin-top: 4px; opacity: 0.6; } | |
| /* ===== ANIMATIONS ===== */ | |
| .animate-in { opacity: 0; transform: translateY(16px); animation: slideUp 0.6s ease forwards; } | |
| .delay-1 { animation-delay: 0.1s; } | |
| .delay-2 { animation-delay: 0.2s; } | |
| .delay-3 { animation-delay: 0.3s; } | |
| .delay-4 { animation-delay: 0.4s; } | |
| .delay-5 { animation-delay: 0.5s; } | |
| @keyframes slideUp { to { opacity: 1; transform: translateY(0); } } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 0.6; transform: scale(1); } | |
| 50% { opacity: 1; transform: scale(1.05); } | |
| } | |
| .hidden { display: none ; } | |
| /* ========================================================================= | |
| 13. Manual Mode | |
| ========================================================================= */ | |
| .manual-controls { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .input-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| .input-group label { | |
| font-size: 0.85rem; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| } | |
| .input-group select { | |
| background: rgba(255,255,255,0.05); | |
| border: 1px solid var(--panel-border); | |
| color: var(--text); | |
| padding: 0.75rem; | |
| border-radius: 6px; | |
| font-family: var(--font); | |
| font-size: 0.95rem; | |
| outline: none; | |
| } | |
| .input-group select:focus { | |
| border-color: var(--accent); | |
| box-shadow: 0 0 0 2px rgba(255,111,60,0.2); | |
| } | |
| .action-log { | |
| background: rgba(0,0,0,0.3); | |
| border: 1px solid var(--panel-border); | |
| border-radius: 6px; | |
| padding: 1rem; | |
| height: 250px; | |
| overflow-y: auto; | |
| font-family: var(--mono); | |
| font-size: 0.85rem; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| .action-log .log-item { | |
| padding: 0.5rem; | |
| background: rgba(255,255,255,0.03); | |
| border-radius: 4px; | |
| border-left: 3px solid var(--panel-border); | |
| color: var(--muted); | |
| } | |
| .action-log .log-item.success { | |
| border-left-color: var(--success); | |
| color: var(--text); | |
| } | |
| .action-log .log-item.error { | |
| border-left-color: var(--danger); | |
| color: var(--text); | |
| } | |
| /* Scrollbars */ | |
| ::-webkit-scrollbar { width: 8px; } | |
| ::-webkit-scrollbar-track { background: transparent; } | |
| ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; } | |
| ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); } | |
| /* ===== RESPONSIVE ===== */ | |
| @media (max-width: 1000px) { | |
| .sim-grid, .charts-grid, .openenv-grid, .theme-cards, .arch-grid { grid-template-columns: 1fr; } | |
| .coevolution-grid, .curve-cards { grid-template-columns: 1fr; } | |
| .coevolution-flow { grid-template-columns: 1fr; } | |
| .flow-connector { justify-content: center; transform: rotate(90deg); } | |
| .comparison-grid { grid-template-columns: 1fr; } | |
| .comparison-arrow { transform: rotate(90deg); } | |
| .oe-layout { grid-template-columns: 1fr; } | |
| .hero { padding: 32px 20px; } | |
| } | |
| @media (max-width: 640px) { | |
| .tab-btn span:not(.tab-icon) { display: none; } | |
| .hero-stats { gap: 8px; } | |
| .stat-pill { min-width: 70px; padding: 8px 12px; } | |
| .coevolution-explainer { padding: 16px; } | |
| } | |
| /* ===== GRADIO STYLE UI ===== */ | |
| .inner-tab-nav { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid #30363d; padding-bottom: 8px; } | |
| .inner-tab-btn { background: none; border: none; color: #8b949e; font-size: 1rem; padding: 8px 16px; cursor: pointer; transition: 0.2s; font-weight: 500; border-radius: 6px; } | |
| .inner-tab-btn:hover { color: #c9d1d9; background: rgba(255,255,255,0.05); } | |
| .inner-tab-btn.active { color: #f97316; } | |
| .gradio-tab-content { display: none; } | |
| .gradio-tab-content.active { display: block; } | |
| .gradio-section-title { font-size: 1.25rem; color: #c9d1d9; margin-bottom: 16px; font-weight: 600; } | |
| .gradio-run-btn { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; border: none; padding: 16px 32px; font-size: 1.1rem; font-weight: 600; border-radius: 12px; cursor: pointer; margin-bottom: 24px; width: 100%; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3); } | |
| .gradio-run-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(239, 68, 68, 0.5); } | |
| .gradio-run-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; } | |
| .gradio-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; } | |
| #tab-g-rl .gradio-stats-row { grid-template-columns: 1fr 1fr 1fr; } | |
| .gradio-stat-box { background: linear-gradient(135deg, #161b22, #1c2333); border: 1px solid #30363d; padding: 16px; border-radius: 12px; display: flex; flex-direction: column; gap: 8px; } | |
| .gradio-stat-box label { color: #8b949e; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; } | |
| .gradio-stat-box input { background: transparent; border: none; color: #e6edf3; font-size: 1.5rem; font-weight: 700; outline: none; } | |
| .plot-tab-nav { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; } | |
| .plot-tab-btn { background: #161b22; border: 1px solid #30363d; color: #8b949e; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: 0.2s; font-size: 0.9rem; } | |
| .plot-tab-btn:hover { background: #21262d; color: #c9d1d9; } | |
| .plot-tab-btn.active { background: #1f6feb; border-color: #388bfd; color: #ffffff; } | |
| .plot-container { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 24px; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; } | |
| .gradio-plot-img { max-width: 100%; max-height: 600px; object-fit: contain; border-radius: 8px; } | |
| .gradio-log { width: 100%; height: 400px; background: #0d1117; border: 1px solid #30363d; border-radius: 8px; padding: 16px; color: #c9d1d9; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; resize: none; outline: none; } | |
| /* Architecture styling */ | |
| .rl-architecture-panel { | |
| margin: 0 0 24px; | |
| padding: 20px; | |
| border: 1px solid rgba(56, 189, 248, 0.2); | |
| border-radius: 12px; | |
| background: linear-gradient(135deg, rgba(56, 189, 248, 0.07), rgba(99, 102, 241, 0.04)); | |
| } | |
| .rl-architecture-header { | |
| display: flex; | |
| align-items: baseline; | |
| justify-content: space-between; | |
| gap: 16px; | |
| margin-bottom: 16px; | |
| flex-wrap: wrap; | |
| } | |
| .rl-architecture-header h3 { | |
| color: #e6edf3; | |
| font-size: 1.25rem; | |
| margin: 0; | |
| } | |
| .arch-container { padding: 8px; } | |
| .arch-title { font-size: 1.5rem; margin-bottom: 20px; color: #e6edf3; } | |
| .arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; } | |
| .arch-card { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 20px; margin-bottom: 16px; } | |
| .arch-reward-card { background: #161b22; border: 1px solid #30363d; border-radius: 12px; padding: 20px; margin-bottom: 16px; } | |
| .rl-network-card { margin-bottom: 0; } | |
| .arch-agent-1 { color: #f97316; font-size: 1.1rem; margin-bottom: 12px; } | |
| .arch-agent-2 { color: #ef4444; font-size: 1.1rem; margin-bottom: 12px; } | |
| .arch-reward-title { color: #22c55e; font-size: 1.1rem; margin-bottom: 12px; } | |
| .arch-rl-title { color: #38bdf8; font-size: 1.1rem; margin-bottom: 12px; } | |
| .tool-badges { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; } | |
| .tool-badge { background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); border-radius: 6px; padding: 2px 8px; font-size: 0.85rem; color: #818cf8; font-family: 'JetBrains Mono', monospace; } | |
| .adv-badge { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); border-radius: 6px; padding: 2px 8px; font-size: 0.85rem; color: #f87171; font-family: 'JetBrains Mono', monospace; } | |
| .arch-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } | |
| .arch-table td { padding: 8px; border-bottom: 1px solid #30363d; } | |
| .r-recall { color: #4ade80; font-weight: 600; } | |
| .r-precision { color: #ef4444; font-weight: 600; } | |
| .r-calib { color: #a78bfa; font-weight: 600; } | |
| .r-eff { color: #f59e0b; font-weight: 600; } | |
| .r-desc { color: #8b949e; } | |
| .arch-pre { background: #0d1117; border-radius: 8px; padding: 16px; font-size: 0.85rem; color: #c9d1d9; font-family: 'JetBrains Mono', monospace; overflow-x: auto; line-height: 1.5; } | |
| /* ===== DATASET BUILDER MODAL ===== */ | |
| .ds-modal-overlay { | |
| position: fixed; inset: 0; z-index: 9999; | |
| background: rgba(0,0,0,0.7); | |
| backdrop-filter: blur(8px); | |
| display: none; align-items: center; justify-content: center; | |
| padding: 20px; | |
| } | |
| .ds-modal-overlay.active { display: flex; animation: fadeIn 0.25s ease; } | |
| .ds-modal { | |
| background: linear-gradient(145deg, #0e1420, #131a2a); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| border-radius: 24px; | |
| width: min(720px, 95vw); | |
| max-height: 85vh; | |
| display: flex; flex-direction: column; | |
| box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); | |
| } | |
| .ds-modal-header { | |
| display: flex; justify-content: space-between; align-items: center; | |
| padding: 24px 28px 16px; | |
| border-bottom: 1px solid rgba(255,255,255,0.06); | |
| } | |
| .ds-modal-header h2 { font-size: 1.3rem; font-weight: 700; color: var(--text); } | |
| .ds-modal-close { | |
| width: 36px; height: 36px; border-radius: 10px; | |
| background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); | |
| color: var(--muted); font-size: 1.1rem; cursor: pointer; | |
| display: flex; align-items: center; justify-content: center; | |
| transition: all 0.2s; | |
| } | |
| .ds-modal-close:hover { background: rgba(218,54,51,0.15); color: var(--red); border-color: rgba(218,54,51,0.3); } | |
| .ds-modal-body { | |
| padding: 24px 28px 28px; | |
| overflow-y: auto; | |
| flex: 1; | |
| } | |
| .ds-form-row { | |
| margin-bottom: 16px; | |
| } | |
| .ds-form-row label { | |
| display: block; font-size: 0.85rem; color: var(--muted); | |
| font-weight: 600; margin-bottom: 6px; text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .ds-input { | |
| width: 100%; padding: 12px 16px; border-radius: 12px; | |
| background: rgba(7,13,24,0.9); border: 1px solid rgba(255,255,255,0.1); | |
| color: var(--text); font: 500 0.95rem var(--font); | |
| outline: none; transition: border-color 0.2s; | |
| } | |
| .ds-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,111,60,0.15); } | |
| .ds-input-sm { padding: 8px 12px; font-size: 0.85rem; border-radius: 10px; } | |
| .ds-scenarios-header { | |
| display: flex; justify-content: space-between; align-items: center; | |
| margin: 20px 0 12px; padding-bottom: 8px; | |
| border-bottom: 1px solid rgba(255,255,255,0.06); | |
| } | |
| .ds-scenarios-header h3 { font-size: 1rem; font-weight: 700; color: var(--text); } | |
| .btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 10px; } | |
| .ds-scenarios-list { | |
| display: grid; gap: 12px; | |
| max-height: 340px; overflow-y: auto; | |
| padding-right: 4px; | |
| } | |
| .ds-scenario-card { | |
| background: rgba(255,255,255,0.03); | |
| border: 1px solid rgba(255,255,255,0.08); | |
| border-radius: 14px; padding: 14px 16px; | |
| transition: border-color 0.2s; | |
| } | |
| .ds-scenario-card:hover { border-color: rgba(255,255,255,0.15); } | |
| .ds-scenario-header { | |
| display: flex; justify-content: space-between; align-items: center; | |
| margin-bottom: 10px; | |
| } | |
| .ds-scenario-num { | |
| font-family: var(--mono); font-size: 0.85rem; font-weight: 700; | |
| color: var(--accent); background: rgba(255,111,60,0.12); | |
| padding: 2px 10px; border-radius: 8px; | |
| } | |
| .ds-scenario-remove { | |
| width: 28px; height: 28px; border-radius: 8px; | |
| background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); | |
| color: var(--muted); font-size: 0.9rem; cursor: pointer; | |
| display: flex; align-items: center; justify-content: center; | |
| transition: all 0.2s; | |
| } | |
| .ds-scenario-remove:hover { background: rgba(218,54,51,0.15); color: var(--red); } | |
| .ds-scenario-fields { | |
| display: grid; grid-template-columns: 80px 1fr 1fr; gap: 10px; | |
| } | |
| .ds-field { display: flex; flex-direction: column; gap: 4px; } | |
| .ds-field label { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; } | |
| .ds-field-wide { grid-column: 1 / -1; } | |
| @media (max-width: 640px) { | |
| .ds-scenario-fields { grid-template-columns: 1fr 1fr; } | |
| .ds-modal { border-radius: 16px; } | |
| .ds-modal-body { padding: 16px; } | |
| } | |
| /* ===== DATASET RESULTS UI ===== */ | |
| .ds-result-card { | |
| background: rgba(20, 25, 35, 0.4); | |
| border: 1px solid rgba(255,255,255,0.08); | |
| border-radius: 16px; | |
| padding: 16px 20px; | |
| margin-bottom: 14px; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .ds-result-card:hover { | |
| background: rgba(25, 30, 42, 0.6); | |
| border-color: rgba(255,255,255,0.15); | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 24px rgba(0,0,0,0.3); | |
| } | |
| .ds-result-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 16px; | |
| border-bottom: 1px dashed rgba(255,255,255,0.06); | |
| padding-bottom: 12px; | |
| } | |
| .ds-result-title { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .ds-scenario-id { | |
| font-family: var(--mono); | |
| font-weight: 800; | |
| color: var(--muted); | |
| font-size: 0.9rem; | |
| } | |
| .ds-result-title strong { | |
| font-size: 1.05rem; | |
| color: var(--text); | |
| letter-spacing: 0.2px; | |
| } | |
| .ds-result-tags { | |
| display: flex; | |
| gap: 8px; | |
| } | |
| .ds-result-metrics { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); | |
| gap: 12px; | |
| } | |
| .ds-metric { | |
| background: rgba(0,0,0,0.2); | |
| border: 1px solid rgba(255,255,255,0.04); | |
| border-radius: 12px; | |
| padding: 10px 14px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| text-align: center; | |
| transition: all 0.2s ease; | |
| } | |
| .ds-metric-label { | |
| font-size: 0.75rem; | |
| color: var(--muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| font-weight: 600; | |
| } | |
| .ds-metric-val { | |
| font-family: var(--mono); | |
| font-size: 1.25rem; | |
| font-weight: 800; | |
| color: var(--text); | |
| } | |
| .ds-metric-good { | |
| background: rgba(46, 160, 67, 0.08); | |
| border-color: rgba(46, 160, 67, 0.2); | |
| } | |
| .ds-metric-good .ds-metric-val { color: var(--accent2); } | |
| .ds-metric-warn { | |
| background: rgba(240, 192, 64, 0.08); | |
| border-color: rgba(240, 192, 64, 0.2); | |
| } | |
| .ds-metric-warn .ds-metric-val { color: var(--amber); } | |
| .ds-metric-bad { | |
| background: rgba(218, 54, 51, 0.08); | |
| border-color: rgba(218, 54, 51, 0.2); | |
| } | |
| .ds-metric-bad .ds-metric-val { color: var(--red); } | |