-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
174 lines (154 loc) · 11.2 KB
/
Copy pathstyle.css
File metadata and controls
174 lines (154 loc) · 11.2 KB
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
:root {
--bg: #0b0b12;
--panel: rgba(20, 20, 32, 0.78);
--text: #e7e7ee;
--muted: #a6a9b5;
--brand: #7c4dff;
--cyan: #00d4ff;
--danger: #ff2d55;
--stroke: rgba(255, 255, 255, 0.10);
--stroke2: rgba(255, 255, 255, 0.14);
--shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
color: var(--text);
background:
radial-gradient(1200px 800px at 70% -10%, rgba(124, 77, 255, 0.20) 0, rgba(11, 11, 18, 0) 55%),
radial-gradient(900px 600px at 20% 0%, rgba(0, 212, 255, 0.12) 0, rgba(11, 11, 18, 0) 60%),
linear-gradient(180deg, #0b0b12, #07070c);
}
/* ================= SKIP LINK (Accessibility) ================= */
.skip-link {
position: absolute; left: -9999px; top: auto;
background: var(--cyan); color: #000; padding: 8px 16px;
font-weight: 900; border-radius: 0 0 8px 0; z-index: 9999;
text-decoration: none;
}
.skip-link:focus {
left: 0; top: 0;
}
/* ================= HEADER / FOOTER ================= */
.site-header, .site-footer { text-align: center; padding: clamp(14px, 3vw, 22px); }
.site-header h1 { margin: 10px 0 6px; font-size: clamp(24px, 7vw, 44px); letter-spacing: .5px; }
.tagline { margin: 0; color: var(--muted); opacity: .9; font-size: clamp(12px, 3.5vw, 15px); }
.site-footer small { color: var(--muted); opacity: .75; }
main { max-width: 980px; margin: 0 auto; padding: 16px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
/* ================= LEGACY CONTROLS CARD ================= */
.controls {
background: var(--panel); border: 1px solid var(--stroke); border-radius: 20px;
padding: 18px; display: grid; gap: 14px; box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.controls button {
appearance: none; -webkit-appearance: none; border: 1px solid var(--stroke2); background: rgba(40, 40, 60, 0.55);
color: var(--text); border-radius: 18px; padding: 16px 16px; cursor: pointer; font-weight: 800; letter-spacing: .2px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.controls button:active { transform: translateY(1px) scale(.99); }
.controls button:hover { border-color: rgba(255, 255, 255, 0.22); }
.controls button.primary { background: linear-gradient(135deg, rgba(124, 77, 255, 0.92), rgba(124, 77, 255, 0.62)); border-color: rgba(124, 77, 255, 0.55); }
.controls button.primary:hover { border-color: rgba(124, 77, 255, 0.75); }
/* ================= SLIDERS ================= */
.sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; margin-top: 2px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 560px) { .sliders { grid-template-columns: 1fr; } .controls { padding: 16px; gap: 12px; } .controls button { padding: 15px 14px; } }
.sliders label { display: grid; gap: 8px; font-weight: 800; color: rgba(231, 231, 238, 0.92); font-size: 14px; background: rgba(0, 0, 0, 0.16); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 12px 12px 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.sliders label > input, .sliders label > select { font-size: 16px; }
/* ================= RANGE INPUTS ================= */
input[type="range"] { width: 100%; height: 40px; background: transparent; margin: 0; padding: 0; accent-color: var(--cyan); }
input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.10); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 999px; margin-top: -6px; background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(124, 77, 255, 0.75)); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 10px 26px rgba(0, 212, 255, 0.18); }
input[type="range"]::-moz-range-track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.10); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 999px; background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(124, 77, 255, 0.75)); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 10px 26px rgba(0, 212, 255, 0.18); }
/* ================= SELECT ================= */
select { width: 100%; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(14, 14, 22, 0.70); color: var(--text); padding: 12px 44px 12px 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); outline: none; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(143, 234, 255, 0.95) 50%), linear-gradient(135deg, rgba(143, 234, 255, 0.95) 50%, transparent 50%), linear-gradient(to right, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.10)); background-position: calc(100% - 20px) calc(50% - 4px), calc(100% - 14px) calc(50% - 4px), calc(100% - 40px) 50%; background-size: 6px 6px, 6px 6px, 1px 18px; background-repeat: no-repeat; }
select:focus { border-color: rgba(0, 212, 255, 0.55); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16), 0 10px 24px rgba(0, 0, 0, 0.25); }
option { background: #0f0f18; color: var(--text); }
/* ================= KBD HINT ================= */
.kbd-hint { color: rgba(231, 231, 238, 0.78); font-size: 13px; line-height: 1.4; }
kbd { display: inline-block; padding: 2px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 800; font-size: 12px; }
/* ================= STAGE ================= */
.stage { margin-top: 16px; position: relative; background: #000; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: var(--shadow); width: 100%; height: min(62vh, 720px); transition: border-radius 0.3s ease, height 0.3s ease; }
.stage.fullscreen-active { height: 100vh; border-radius: 0; border: none; }
.stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 60px rgba(124, 77, 255, 0.10), inset 0 0 80px rgba(0, 212, 255, 0.06); }
#viz { width: 100%; height: 100%; display: block; }
.a11y { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* ================= HUD ================= */
#si-hud {
position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
z-index: 2000; display: flex; gap: 12px; align-items: center; justify-content: space-between;
pointer-events: none; box-sizing: border-box; max-width: 980px; margin: 0 auto;
}
.hud-btn {
pointer-events: auto; font-family: inherit; font-weight: 900; border-radius: 999px;
padding: 12px 16px; cursor: pointer; transition: transform 0.1s ease, filter 0.2s ease;
}
.hud-btn:active { transform: scale(0.95); }
.hud-btn:focus-visible {
outline: 2px solid var(--cyan); outline-offset: 2px;
}
#si-recBtn {
background: var(--danger); color: #111; border: 1px solid rgba(255, 255, 255, 0.15);
letter-spacing: 0.5px; box-shadow: 0 12px 30px rgba(255, 43, 90, 0.25);
display: inline-flex; align-items: center; gap: 10px;
}
.recording-pulse { animation: pulseRed 1.5s infinite; }
#si-fsBtn {
background: rgba(10, 10, 10, 0.85); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); letter-spacing: 1px;
}
#si-engineToggle {
background: rgba(10, 10, 10, 0.85); color: var(--cyan); border: 1px solid rgba(0, 212, 255, 0.65);
letter-spacing: 2px; box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.15), 0 16px 40px rgba(0, 212, 255, 0.12);
}
/* ================= SETTINGS PANEL ================= */
#si-enginePanel {
position: fixed; left: 16px; right: 16px; bottom: calc(74px + env(safe-area-inset-bottom));
z-index: 2001; max-width: calc(100vw - 32px); width: 980px; margin: 0 auto;
background: rgba(10, 10, 10, 0.92); border: 1px solid rgba(0, 212, 255, 0.65); border-radius: 18px;
padding: 14px; color: #fff; font-family: inherit; backdrop-filter: blur(12px);
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55); box-sizing: border-box;
transform: translateY(150%); opacity: 0; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
pointer-events: none;
}
#si-enginePanel.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.panel-icon-wrap { width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(0, 212, 255, 0.5); display: flex; align-items: center; justify-content: center; color: var(--cyan); }
.panel-title { font-weight: 900; letter-spacing: 3px; color: var(--cyan); }
.panel-subtitle { font-size: 12px; opacity: 0.65; }
.close-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; border-radius: 12px; padding: 8px 10px; cursor: pointer; font-weight: 900; }
.close-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.panel-grid { display: grid; gap: 10px; }
/* Visual Presets (formerly chapters) */
.preset-box { display: grid; gap: 8px; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 14px; }
.preset-title { font-weight: 900; letter-spacing: 2px; font-size: 12px; opacity: 0.85; }
.preset-btns { display: flex; gap: 8px; }
.chap-btn { flex: 1; border-radius: 12px; padding: 10px; cursor: pointer; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; font-weight: bold; }
.chap-btn:hover { background: rgba(255,255,255,0.1); }
.chap-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* Overlay upload (formerly sigil) */
.overlay-row { display: flex; gap: 10px; }
.overlay-btn { flex: 1; background: rgba(124, 77, 255, 0.2); border: 1px solid rgba(124, 77, 255, 0.6); padding: 10px; border-radius: 12px; color: #fff; cursor: pointer; font-weight: bold; }
.overlay-btn:hover { background: rgba(124, 77, 255, 0.3); }
.overlay-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.preset-info { flex: 1; font-size: 11px; color: #aaa; text-align: center; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; }
.panel-label { font-size: 12px; opacity: 0.8; display: block; }
.panel-label input[type="range"] { margin-top: 6px; }
.checkbox-row { font-size: 12px; display: flex; align-items: center; gap: 10px; }
.mic-section { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
#feedbackWarn { display: none; margin-top: 10px; font-size: 12px; color: var(--danger); font-weight: 900; }
#midiStatus { font-size: 11px; color: var(--cyan); text-align: center; padding: 4px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
/* ================= FOCUS STYLES (Accessibility) ================= */
button:focus-visible,
input:focus-visible,
select:focus-visible {
outline: 2px solid var(--cyan);
outline-offset: 2px;
}
/* ================= ANIMATIONS ================= */
@keyframes pulseRed {
0% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.7); }
70% { box-shadow: 0 0 0 15px rgba(255, 45, 85, 0); }
100% { box-shadow: 0 0 0 0 rgba(255, 45, 85, 0); }
}