File size: 11,982 Bytes
8fa497d | 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 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | :root {
--green: #41ff00;
--green-dim: #1a6600;
--green-glow: rgba(65, 255, 0, 0.25);
--black: #010800;
--panel: #020d01;
--border: #1a3310;
--muted: #3a6630;
--text: #41ff00;
--warn: #ffcc00;
--danger: #ff3366;
--font: "VT323", monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
height: 100%;
background: var(--black);
color: var(--green);
font-family: var(--font);
font-size: 20px;
line-height: 1.4;
overflow-x: hidden;
}
/* ββ CRT shell βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.crt-shell {
position: relative;
min-height: 100vh;
padding: 16px;
overflow: hidden;
animation: crt-flicker 8s infinite;
}
.scanlines {
position: fixed; inset: 0; z-index: 100; pointer-events: none;
background: repeating-linear-gradient(
to bottom,
transparent 0,
transparent 2px,
rgba(0,0,0,0.18) 2px,
rgba(0,0,0,0.18) 4px
);
}
.screen-glow {
position: fixed; inset: 0; z-index: 99; pointer-events: none;
background: radial-gradient(ellipse at 50% 50%, var(--green-glow) 0%, transparent 70%);
opacity: 0.4;
}
/* ββ Topbar ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
margin-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.mark {
font-size: 14px;
line-height: 1.2;
color: var(--green);
text-shadow: 0 0 8px var(--green);
}
.brand h1 {
font-size: 28px;
font-family: var(--font);
letter-spacing: 4px;
text-shadow: 0 0 12px var(--green);
margin: 0;
}
.brand p {
font-size: 12px;
color: var(--muted);
letter-spacing: 2px;
margin: 0;
}
.topbar-controls { display: flex; align-items: center; gap: 20px; }
.clock-block {
display: flex; flex-direction: column; align-items: flex-end;
font-size: 13px;
color: var(--muted);
}
.clock-block strong { font-size: 18px; color: var(--green); }
/* ββ Terminal button βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.terminal-button {
background: transparent;
border: 1px solid var(--border);
color: var(--green);
font-family: var(--font);
font-size: 16px;
padding: 4px 12px;
cursor: pointer;
letter-spacing: 1px;
transition: border-color 0.15s, color 0.15s;
}
.terminal-button:hover { border-color: var(--green); color: var(--green); }
.terminal-button[aria-pressed="true"] { color: var(--black); background: var(--green); }
/* ββ Dashboard grid ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.dashboard {
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: auto auto;
gap: 12px;
}
/* ββ Panel βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.panel {
background: var(--panel);
border: 1px solid var(--border);
padding: 14px;
}
.panel-title {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
color: var(--muted);
border-bottom: 1px solid var(--border);
padding-bottom: 8px;
margin-bottom: 12px;
letter-spacing: 1px;
}
.dim { color: var(--muted); font-size: 13px; }
/* ββ Agent panel βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.agent-core {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 14px;
}
.agent-orb {
position: relative;
width: 64px; height: 64px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.agent-orb.online { box-shadow: 0 0 24px var(--green), 0 0 48px rgba(65,255,0,0.2); animation: orb-pulse 2s ease-in-out infinite; }
.agent-orb.offline { opacity: 0.4; }
.orb-ring {
position: absolute; inset: 4px;
border-radius: 50%;
border: 2px solid currentColor;
animation: rotate 6s linear infinite;
}
.agent-orb.online .orb-ring { color: var(--green); }
.agent-orb.offline .orb-ring { color: var(--muted); }
.orb-center { font-size: 28px; position: relative; z-index: 1; }
.agent-orb.online .orb-center { text-shadow: 0 0 12px var(--green); }
.agent-identity { display: flex; flex-direction: column; gap: 3px; }
.agent-identity .label { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.agent-identity strong { font-size: 26px; letter-spacing: 3px; }
.state { font-size: 13px; letter-spacing: 2px; }
.state.online { color: var(--green); }
.state.offline { color: var(--muted); }
.state.processing { color: var(--warn); }
/* ββ Telemetry βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.telemetry {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px 12px;
font-size: 14px;
}
.telemetry div { display: flex; flex-direction: column; }
.telemetry dt { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.telemetry dd { color: var(--green); }
/* ββ Chain panel βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.chain-panel { grid-column: 2; grid-row: 1 / 3; }
.chain-head {
display: grid;
grid-template-columns: 40px 160px 1fr 120px;
gap: 8px;
font-size: 10px;
color: var(--muted);
letter-spacing: 1px;
padding: 0 4px 6px;
border-bottom: 1px solid var(--border);
margin-bottom: 4px;
}
.chain-terminal {
height: 420px;
overflow-y: auto;
font-size: 14px;
scrollbar-width: thin;
scrollbar-color: var(--border) var(--black);
}
.chain-line {
display: grid;
grid-template-columns: 40px 160px 1fr 120px;
gap: 8px;
padding: 3px 4px;
border-bottom: 1px solid rgba(26,51,16,0.4);
cursor: default;
}
.chain-line:hover { background: rgba(65,255,0,0.04); }
.chain-line .seq { color: var(--muted); }
.chain-line .ts { color: var(--muted); }
.chain-line .event { color: var(--green); }
.chain-line .hash { color: var(--green-dim); font-size: 12px; }
.chain-line.new-entry { animation: entry-flash 0.6s ease-out; }
.boot-line { color: var(--muted); padding: 4px; font-size: 14px; }
.chain-footer {
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--muted);
padding-top: 8px;
border-top: 1px solid var(--border);
margin-top: 6px;
}
.stream-dot {
display: inline-block;
width: 8px; height: 8px;
border-radius: 50%;
background: var(--muted);
vertical-align: middle;
}
.stream-dot.live { background: var(--green); box-shadow: 0 0 6px var(--green); animation: orb-pulse 1.5s infinite; }
/* ββ Race panel ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.race-list { display: flex; flex-direction: column; gap: 8px; }
.race-row {
display: grid;
grid-template-columns: 80px 1fr 60px;
align-items: center;
gap: 10px;
font-size: 15px;
}
.race-name { color: var(--green); letter-spacing: 1px; }
.race-track {
height: 8px;
background: var(--border);
border-radius: 2px;
overflow: hidden;
position: relative;
}
.race-fill {
height: 100%;
background: var(--green);
border-radius: 2px;
transition: width 0.4s ease;
box-shadow: 0 0 8px var(--green);
}
.race-score { color: var(--muted); font-size: 13px; text-align: right; }
.race-empty { color: var(--muted); font-size: 15px; }
/* ββ System panel ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.system-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
font-size: 15px;
}
.sys-item { display: flex; flex-direction: column; }
.sys-item .sys-label { font-size: 10px; color: var(--muted); letter-spacing: 1px; margin-bottom: 2px; }
.sys-item .sys-value { color: var(--green); }
/* ββ Command line ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.command-line {
display: flex;
align-items: center;
gap: 10px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--border);
}
#magma-input {
flex: 1;
background: transparent;
border: none;
border-bottom: 1px solid var(--border);
outline: none;
color: var(--green);
font-family: var(--font);
font-size: 18px;
padding: 2px 0;
caret-color: var(--green);
}
#command-history {
max-height: 80px;
overflow-y: auto;
font-size: 13px;
color: var(--muted);
margin-bottom: 6px;
scrollbar-width: none;
}
footer {
display: flex;
justify-content: space-between;
font-size: 13px;
color: var(--muted);
padding-top: 10px;
border-top: 1px solid var(--border);
margin-top: 12px;
letter-spacing: 1px;
}
/* ββ Keyframes βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@keyframes crt-flicker {
0%, 96%, 98%, 100% { opacity: 1; }
97% { opacity: 0.93; }
99% { opacity: 0.97; }
}
@keyframes rotate {
to { transform: rotate(360deg); }
}
@keyframes orb-pulse {
50% { box-shadow: 0 0 36px rgba(65, 255, 0, 0.35); }
}
@keyframes vertical-scan {
from { transform: translateY(-45%); }
to { transform: translateY(45%); }
}
@keyframes entry-flash {
from { color: var(--black); background: var(--green); text-shadow: none; }
to { color: var(--green); background: transparent; }
}
/* ββ Responsive ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@media (max-width: 960px) {
.dashboard { grid-template-columns: 1fr; }
.chain-panel { grid-row: auto; }
.chain-terminal { height: 350px; }
}
@media (max-width: 650px) {
body { font-size: 18px; }
.crt-shell { padding: 8px; }
.topbar, .topbar-controls { align-items: flex-start; }
.topbar { flex-direction: column; gap: 14px; }
.topbar-controls { width: 100%; justify-content: space-between; }
.chain-head { display: none; }
.chain-line { grid-template-columns: 40px 1fr; }
.chain-line .event, .chain-line .hash { grid-column: 2; }
.chain-footer, footer { flex-wrap: wrap; gap: 6px 16px; }
.command-line button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
}
}
|