File size: 3,966 Bytes
d3ad7d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

/* ── Dark theme (default) ── */
:root {
    --bg-deep: #06080f;
    --bg-surface: #0c1018;
    --bg-card: rgba(14, 18, 30, 0.7);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --accent: #6d5cff;
    --accent-2: #38bdf8;
    --accent-glow: rgba(109, 92, 255, 0.25);
    --text-1: #f0f2f7;
    --text-2: #a0a8c0;
    --text-3: #5a6280;
    --danger: #f87171;
    --success: #34d399;
    --warning: #fbbf24;
    --radius: 0.875rem;
    --radius-sm: 0.5rem;

    /* theme-aware helpers */
    --hover-bg: rgba(255, 255, 255, 0.06);
    --hover-border: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(255, 255, 255, 0.03);
    --input-focus-bg: rgba(255, 255, 255, 0.04);
    --code-bg: rgba(0, 0, 0, 0.4);
    --overlay-bg: rgba(0, 0, 0, 0.85);
    --subtle-border: rgba(255, 255, 255, 0.025);
    --subtle-bg: rgba(255, 255, 255, 0.04);
    --plot-actions-bg: rgba(0, 0, 0, 0.3);
    --code-block-bg: rgba(0, 0, 0, 0.5);
    --modal-close-bg: rgba(255, 255, 255, 0.08);
    --modal-close-hover: rgba(255, 255, 255, 0.15);
    --shadow-strength: 0.3;
    --scrollbar-thumb: rgba(255, 255, 255, 0.08);
    --scrollbar-hover: rgba(255, 255, 255, 0.14);
    --glow-1-opacity: 0.08;
    --glow-2-opacity: 0.06;
}

/* ── Light theme ── */
:root.light-theme {
    --bg-deep: #f5f6fa;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --glass: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.08);
    --accent: #6d5cff;
    --accent-2: #0ea5e9;
    --accent-glow: rgba(109, 92, 255, 0.18);
    --text-1: #1a1d2e;
    --text-2: #5b6178;
    --text-3: #9499b0;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;

    --hover-bg: rgba(0, 0, 0, 0.04);
    --hover-border: rgba(0, 0, 0, 0.12);
    --input-bg: rgba(0, 0, 0, 0.02);
    --input-focus-bg: rgba(0, 0, 0, 0.03);
    --code-bg: rgba(0, 0, 0, 0.05);
    --overlay-bg: rgba(0, 0, 0, 0.6);
    --subtle-border: rgba(0, 0, 0, 0.04);
    --subtle-bg: rgba(0, 0, 0, 0.03);
    --plot-actions-bg: rgba(0, 0, 0, 0.04);
    --code-block-bg: rgba(0, 0, 0, 0.04);
    --modal-close-bg: rgba(0, 0, 0, 0.08);
    --modal-close-hover: rgba(0, 0, 0, 0.15);
    --shadow-strength: 0.1;
    --scrollbar-thumb: rgba(0, 0, 0, 0.1);
    --scrollbar-hover: rgba(0, 0, 0, 0.18);
    --glow-1-opacity: 0.04;
    --glow-2-opacity: 0.03;
}

html,
body,
#root {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-deep);
    color: var(--text-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.35s ease, color 0.35s ease;
}

/* ambient glow */
body::before {
    content: '';
    position: fixed;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(109, 92, 255, var(--glow-1-opacity)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    right: -15%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, var(--glow-2-opacity)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* highlight.js */
.hljs {
    background: transparent !important;
    padding: 0 !important;
}

::selection {
    background: rgba(109, 92, 255, 0.3);
}

/* scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover);
}