+
-
+
OpenRouter connected
@@ -52,21 +53,12 @@
-
+
-
-
diff --git a/packages/app/src/styles/main.css b/packages/app/src/styles/main.css
index 312422a7..72f4ce00 100644
--- a/packages/app/src/styles/main.css
+++ b/packages/app/src/styles/main.css
@@ -13,13 +13,13 @@
--color-warning: #F59E0B;
--color-info: #3B82F6;
- --color-glass-bg: rgba(255, 255, 255, 0.08);
- --color-glass-border: rgba(255, 255, 255, 0.12);
- --color-glass-bg-hover: rgba(255, 255, 255, 0.14);
- --color-glass-border-hover: rgba(255, 255, 255, 0.22);
+ --color-glass-dark: rgba(0, 0, 0, 0.35);
+ --color-glass-darker: rgba(0, 0, 0, 0.6);
+ --color-glass-border: rgba(255, 255, 255, 0.18);
+ --color-glass-highlight: rgba(255, 255, 255, 0.22);
- --color-glass-bg-light: rgba(255, 255, 255, 0.65);
- --color-glass-border-light: rgba(255, 255, 255, 0.45);
+ --shadow-glass: 0 8px 24px rgba(0, 0, 0, 0.45);
+ --shadow-glass-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
--font-mono: 'Menlo', 'Monaco', 'Courier New', monospace;
@@ -31,60 +31,155 @@ html {
body {
overscroll-behavior: none;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
}
-.glass {
- background: var(--color-glass-bg);
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- border: 1px solid var(--color-glass-border);
+/* ===== GLASSMORPHISM — ported from Archy ===== */
+
+@layer components {
+ .glass {
+ background-color: rgba(0, 0, 0, 0.35);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
+ }
+
+ .glass-strong {
+ background-color: rgba(0, 0, 0, 0.35);
+ backdrop-filter: blur(24px);
+ -webkit-backdrop-filter: blur(24px);
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
+ }
+
+ .glass-card {
+ background-color: rgba(0, 0, 0, 0.65);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
+ border-radius: 1rem;
+ overflow-x: hidden;
+ overflow-y: visible;
+ }
+
+ .glass-button {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ height: 48px;
+ min-height: 48px;
+ padding-block: 0 !important;
+ line-height: 48px;
+ background-color: rgba(0, 0, 0, 0.6);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ color: rgba(255, 255, 255, 0.9);
+ }
+
+ .glass-button-sm {
+ min-height: 0 !important;
+ height: auto !important;
+ line-height: inherit;
+ padding-block: 0.375rem !important;
+ padding-inline: 0.75rem;
+ }
+
+ .gradient-card {
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border: 1px solid rgba(255, 255, 255, 0.15);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
+ border-radius: 1rem;
+ }
+
+ .gradient-card-dark {
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
+ border-radius: 1rem;
+ }
+
+ .gradient-button {
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.8) 100%);
+ backdrop-filter: blur(10px);
+ -webkit-backdrop-filter: blur(10px);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ color: rgba(255, 255, 255, 0.95);
+ transition: all 0.3s ease;
+ }
+
+ .gradient-button:hover {
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
+ border-color: rgba(255, 255, 255, 0.3);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
+ }
+
+ .gradient-border-container {
+ position: relative;
+ border-radius: 1.5rem;
+ padding: 4px;
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%);
+ box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
+ }
+
+ .gradient-border-container-inner {
+ background: rgba(0, 0, 0, 0.35);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border-radius: 1.25rem;
+ }
+
+ .toast-glass {
+ background-color: rgba(0, 0, 0, 0.65);
+ backdrop-filter: blur(18px);
+ -webkit-backdrop-filter: blur(18px);
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
+ border-radius: 0.75rem;
+ }
+
+ .nav-tab-active {
+ position: relative;
+ background: rgba(0, 0, 0, 0.35) !important;
+ box-shadow:
+ 0 6px 16px rgba(0, 0, 0, 0.6),
+ inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
+ color: rgba(255, 255, 255, 1) !important;
+ font-weight: 600 !important;
+ }
+
+ .nav-tab-active::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ border-radius: inherit;
+ padding: 2px;
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
+ -webkit-mask:
+ linear-gradient(#fff 0 0) content-box,
+ linear-gradient(#fff 0 0);
+ -webkit-mask-composite: xor;
+ mask-composite: exclude;
+ pointer-events: none;
+ }
}
-.glass-subtle {
- background: rgba(255, 255, 255, 0.05);
- backdrop-filter: blur(8px);
- -webkit-backdrop-filter: blur(8px);
- border: 1px solid rgba(255, 255, 255, 0.08);
+/* ===== FOCUS STATES — gamepad/keyboard glow ===== */
+
+*:focus-visible {
+ outline: none;
+ box-shadow: 0 0 16px rgba(120, 180, 255, 0.2), 0 0 32px rgba(100, 160, 255, 0.1);
+ transition: box-shadow 0.2s ease;
}
-.glass-strong {
- background: rgba(255, 255, 255, 0.15);
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- border: 1px solid rgba(255, 255, 255, 0.18);
-}
-
-.glass-light {
- background: var(--color-glass-bg-light);
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- border: 1px solid var(--color-glass-border-light);
-}
-
-.glass-dark {
- background: rgba(0, 0, 0, 0.45);
- backdrop-filter: blur(16px);
- -webkit-backdrop-filter: blur(16px);
- border: 1px solid rgba(255, 255, 255, 0.08);
-}
-
-.glass:hover {
- background: var(--color-glass-bg-hover);
- border-color: var(--color-glass-border-hover);
-}
-
-.glow-accent {
- box-shadow: 0 0 20px rgba(247, 147, 26, 0.15),
- 0 0 40px rgba(247, 147, 26, 0.05);
-}
-
-.glow-soft {
- box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
-}
-
-.inner-glow {
- box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
-}
+/* ===== GRADIENT TEXT ===== */
.gradient-text {
background: linear-gradient(to right, #ffffff, #9ca3af);
@@ -93,9 +188,52 @@ body {
color: transparent;
}
-@keyframes fadeSlideUp {
- from { opacity: 0; transform: translateY(12px); }
- to { opacity: 1; transform: translateY(0); }
+/* ===== SCROLLBAR — Archy custom gradient scrollbar ===== */
+
+.custom-scrollbar::-webkit-scrollbar {
+ width: 10px;
+}
+
+.custom-scrollbar::-webkit-scrollbar-track {
+ background: rgba(0, 0, 0, 0.2);
+ border-radius: 10px;
+}
+
+.custom-scrollbar::-webkit-scrollbar-thumb {
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
+ border-radius: 10px;
+ border: 2px solid rgba(0, 0, 0, 0.2);
+}
+
+.custom-scrollbar::-webkit-scrollbar-thumb:hover {
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
+}
+
+.scrollbar-hide {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
+
+.scrollbar-hide::-webkit-scrollbar {
+ display: none;
+}
+
+/* ===== ANIMATIONS — Archy timings ===== */
+
+@keyframes fadeUpIn {
+ 0% {
+ opacity: 0;
+ transform: translateY(28px);
+ }
+ 100% {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+@keyframes fadeIn {
+ from { opacity: 0; }
+ to { opacity: 1; }
}
@keyframes scaleIn {
@@ -109,7 +247,15 @@ body {
}
.animate-fade-up {
- animation: fadeSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
+ animation: fadeUpIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
+}
+
+.animate-fade-up-fast {
+ animation: fadeUpIn 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
+}
+
+.animate-fade-in {
+ animation: fadeIn 0.5s ease forwards;
}
.animate-scale-in {
@@ -120,23 +266,7 @@ body {
animation: pulseGlow 2s ease-in-out infinite;
}
-.scrollbar-thin {
- scrollbar-width: thin;
- scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
-}
-
-.scrollbar-thin::-webkit-scrollbar {
- width: 4px;
-}
-
-.scrollbar-thin::-webkit-scrollbar-track {
- background: transparent;
-}
-
-.scrollbar-thin::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.15);
- border-radius: 2px;
-}
+/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
* {