93 lines
1.9 KiB
CSS
93 lines
1.9 KiB
CSS
:root {
|
|
--bg-color: #050508;
|
|
--panel-bg: rgba(20, 20, 30, 0.4);
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #8888aa;
|
|
--accent-cyan: #00f2ff;
|
|
--accent-purple: #bd00ff;
|
|
--glass-border: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-primary);
|
|
width: 100vw;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Header / Controls Overlay */
|
|
header {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
z-index: 10;
|
|
background: var(--panel-bg);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--glass-border);
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-primary);
|
|
text-transform: uppercase;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
h1::before {
|
|
content: '';
|
|
display: block;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: var(--accent-cyan);
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 10px var(--accent-cyan);
|
|
}
|
|
|
|
.status {
|
|
font-size: 0.75rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* Main Canvas Area */
|
|
main {
|
|
flex: 1;
|
|
position: relative;
|
|
width: 100%;
|
|
/* User requested 20% margin top/bottom, 10% left/right */
|
|
padding: 20vh 10vw;
|
|
}
|
|
|
|
canvas {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Instructions Overlay (if js fails or loading) */
|
|
#loading {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: var(--text-secondary);
|
|
pointer-events: none;
|
|
} |