hunt
Rebuild Miranda-Engine from scratch — real repo, real content
fed1528
Raw History Blame Contribute Delete
4.06 kB
:root {
color-scheme: dark;
/* Near-black canvas — electric blue must punch (ref control UI) */
--bg-0: #020304;
--bg-1: #050608;
--bg-2: #0a0c10;
--bg-3: #10141c;
--panel: rgba(6, 8, 12, 0.96);
--panel-border: rgba(90, 140, 210, 0.18);
--text: #f4f8ff;
--muted: #8fa0b8;
--faint: #5a6a82;
/* Electric blue stack — primary graph language */
--accent: #3db4ff;
--accent-2: #1a8cff;
--accent-3: #7ec8ff;
--accent-glow: rgba(61, 180, 255, 0.55);
--accent-soft: rgba(61, 180, 255, 0.16);
--accent-line: rgba(61, 180, 255, 0.7);
/* Contrast spark — gold lift, still secondary */
--spark: #f0c14d;
--spark-soft: rgba(240, 193, 77, 0.14);
--spark-line: rgba(240, 193, 77, 0.45);
--warn: #f5b942;
--danger: #ff6b7a;
--ok: #3dde9a;
--node-bg: rgba(8, 11, 18, 0.98);
--node-border: rgba(70, 150, 230, 0.38);
--edge-idle: rgba(50, 150, 255, 0.42);
--edge-live: rgba(70, 190, 255, 1);
--shadow: 0 22px 56px rgba(0, 0, 0, 0.72);
--radius: 14px;
--font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
--mono: "Cascadia Code", "Consolas", ui-monospace, monospace;
--header-h: 56px;
--footer-h: 34px;
--split: 58%;
}
* {
box-sizing: border-box;
}
html,
body,
#root {
width: 100%;
height: 100%;
margin: 0;
}
body {
font-family: var(--font);
background:
radial-gradient(1100px 520px at 12% -12%, rgba(26, 140, 255, 0.14), transparent 58%),
radial-gradient(800px 420px at 88% 0%, rgba(61, 180, 255, 0.09), transparent 52%),
radial-gradient(640px 380px at 76% 10%, rgba(240, 193, 77, 0.04), transparent 50%),
var(--bg-0);
color: var(--text);
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
font: inherit;
color: inherit;
}
button {
cursor: pointer;
}
a {
color: inherit;
text-decoration: none;
}
.app-shell {
display: grid;
grid-template-rows: var(--header-h) 1fr var(--footer-h);
height: 100%;
min-height: 0;
}
.workspace {
display: grid;
grid-template-columns: minmax(0, var(--split)) 6px minmax(0, calc(100% - var(--split) - 6px));
min-height: 0;
height: 100%;
}
.pane {
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
background: var(--panel);
border: 1px solid var(--panel-border);
overflow: hidden;
}
.pane-left {
border-left: none;
border-radius: 0 0 0 0;
}
.pane-right {
border-right: none;
}
.splitter {
background: linear-gradient(180deg, transparent, rgba(77, 179, 255, 0.28), transparent);
cursor: col-resize;
position: relative;
}
.splitter::after {
content: "";
position: absolute;
inset: 0 -3px;
}
.splitter:hover,
.splitter:active {
background: linear-gradient(180deg, transparent, rgba(77, 179, 255, 0.62), transparent);
}
.pane-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 14px;
border-bottom: 1px solid var(--panel-border);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.pane-title {
display: flex;
flex-direction: column;
gap: 2px;
}
.pane-title strong {
font-size: 13px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.pane-title span {
font-size: 11px;
color: var(--muted);
}
.pane-body {
flex: 1;
min-height: 0;
position: relative;
}
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border-radius: 999px;
border: 1px solid var(--panel-border);
background: rgba(255, 255, 255, 0.03);
color: var(--muted);
font-size: 11px;
letter-spacing: 0.02em;
}
.badge .dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--faint);
}
.badge.live .dot {
background: var(--ok);
box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
}
.badge.warn .dot {
background: var(--warn);
}
.badge.spark {
border-color: var(--spark-line);
color: var(--spark);
background: var(--spark-soft);
}
.mono {
font-family: var(--mono);
}
.muted {
color: var(--muted);
}
.faint {
color: var(--faint);
}