File size: 7,526 Bytes
67be617
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# UI Visual Standards β€” Corner Store Parallax & Floating Composition

*Mapping-and-Inventory v22.2171 | RESONANCE_HARDENING*

This document records the visual design language of the Corner Store Wix
storefront and codifies it as a reusable CSS/layout template for all
fleet-facing Truth Teller portals and Gradio faceplates.

---

## 1. Design Principles

| Principle | Value |
|---|---|
| **Primary sensation** | Floating β€” content layers appear suspended in deep space |
| **Target refresh** | 144 Hz smooth scroll and parallax |
| **Colour palette** | Deep black `#000000`, electric cyan `#00FFFF`, gold accent `#FFD700` |
| **Typography** | Monospace stack: `'Courier New', Courier, monospace` |
| **Depth layers** | 3 discrete Z-index bands (background, mid, foreground) |

---

## 2. Parallax Depth Settings

The parallax effect is achieved with three stacked layers scrolling at
different rates, producing the "floating" spatial sensation.

| Layer | Z-index | Scroll speed (relative) | CSS class |
|---|---|---|---|
| Background (stars / void) | `0` | `0.2Γ—` | `.layer-bg` |
| Mid-ground (content cards) | `1` | `0.6Γ—` | `.layer-mid` |
| Foreground (nav / HUD) | `2` | `1.0Γ—` | `.layer-fg` |

### CSS Template

```css

/* ── Corner Store Parallax Foundation ─────────────────────────────────── */



:root {

  --color-void:   #000000;

  --color-cyan:   #00FFFF;

  --color-gold:   #FFD700;

  --color-panel:  rgba(0, 255, 255, 0.05);

  --color-border: rgba(0, 255, 255, 0.2);

  --font-mono:    'Courier New', Courier, monospace;

  --transition:   0.3s ease;

  --border-radius: 8px;

}



/* Viewport reset */

html, body {

  margin: 0;

  padding: 0;

  background: var(--color-void);

  color: var(--color-cyan);

  font-family: var(--font-mono);

  overflow-x: hidden;

}



/* Parallax container */

.parallax-root {

  position: relative;

  height: 100vh;

  overflow: hidden;

  perspective: 1px;

}



/* Layer β€” background (stars / ambient) */

.layer-bg {

  position: absolute;

  inset: 0;

  transform: translateZ(-0.8px) scale(1.8);

  background-image:

    radial-gradient(circle, rgba(0,255,255,0.08) 1px, transparent 1px);

  background-size: 60px 60px;

  will-change: transform;

}



/* Layer β€” mid-ground (product cards / content) */

.layer-mid {

  position: absolute;

  inset: 0;

  transform: translateZ(-0.4px) scale(1.4);

  will-change: transform;

}



/* Layer β€” foreground (HUD / navigation) */

.layer-fg {

  position: relative;

  z-index: 2;

  will-change: transform;

}



/* Floating card β€” used for product panels and Truth Teller portals */

.floating-card {

  background: var(--color-panel);

  border: 1px solid var(--color-border);

  border-radius: var(--border-radius);

  padding: 1.5rem;

  box-shadow:

    0 0 20px rgba(0, 255, 255, 0.1),

    0 0 60px rgba(0, 255, 255, 0.04);

  transition: box-shadow var(--transition), transform var(--transition);

  backdrop-filter: blur(4px);

}



.floating-card:hover {

  transform: translateY(-4px);

  box-shadow:

    0 0 40px rgba(0, 255, 255, 0.25),

    0 0 80px rgba(0, 255, 255, 0.10);

}



/* Gold accent rule β€” used below section headings */

.accent-rule {

  border: none;

  border-top: 1px solid var(--color-gold);

  opacity: 0.4;

  margin: 0.5rem 0 1.5rem;

}



/* CTA button */

.btn-sovereign {

  display: inline-block;

  padding: 0.6rem 1.4rem;

  background: transparent;

  color: var(--color-cyan);

  border: 1px solid var(--color-cyan);

  border-radius: var(--border-radius);

  font-family: var(--font-mono);

  letter-spacing: 0.1em;

  cursor: pointer;

  transition: background var(--transition), color var(--transition);

}



.btn-sovereign:hover {

  background: var(--color-cyan);

  color: var(--color-void);

}

```

---

## 3. Product Page Logic (Fridge / Storage Units)

Each product panel maps to the `.floating-card` component above.

```

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚  .floating-card                                                β”‚

β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚

β”‚  β”‚  Product image   β”‚  β”‚  Product title (cyan, 1.1rem)       β”‚ β”‚

β”‚  β”‚  (layer-mid bg)  β”‚  β”‚  Short description (0.85rem)        β”‚ β”‚

β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  Price (gold accent)                β”‚ β”‚

β”‚                        β”‚  [  Add to Cart  ]  .btn-sovereign  β”‚ β”‚

β”‚                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

```

- **Grid layout**: `display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem;`
- **Image container**: `border-radius: 4px; overflow: hidden; border: 1px solid var(--color-border);`
- **Price**: `color: var(--color-gold); font-size: 1.2rem;`

---

## 4. Truth Teller Portal Adaptation

When deploying the visual language to a Gradio faceplate or other node
portal, apply these inline overrides to the Gradio `css=` parameter:

```python

TRUTH_TELLER_CSS = """

body, .gradio-container {

    background: #000000 !important;

    color: #00FFFF !important;

    font-family: 'Courier New', Courier, monospace !important;

}

.gr-button {

    background: transparent !important;

    border: 1px solid #00FFFF !important;

    color: #00FFFF !important;

    border-radius: 8px !important;

}

.gr-button:hover {

    background: #00FFFF !important;

    color: #000000 !important;

}

.gr-box, .gr-panel {

    background: rgba(0,255,255,0.05) !important;

    border: 1px solid rgba(0,255,255,0.2) !important;

    border-radius: 8px !important;

    box-shadow: 0 0 20px rgba(0,255,255,0.1) !important;

}

"""

```

---

## 5. Texture-by-Texture Build History

| Step | Element | Setting |
|---|---|---|
| 1 | Viewport | `background: #000000`, `overflow: hidden` |
| 2 | Stars layer | Radial-gradient dot pattern, 60 px grid, `translateZ(-0.8px)` |
| 3 | Mid layer | Content cards, `translateZ(-0.4px)` |
| 4 | Foreground | HUD/nav, `translateZ(0)` |
| 5 | Cards | `backdrop-filter: blur(4px)`, cyan glow shadow |
| 6 | Hover effect | `-4px` lift, increased glow |
| 7 | Typography | Monospace, cyan primary, gold accent for prices |
| 8 | Buttons | Transparent background, cyan border, invert on hover |

---

## 6. Node Deployment Checklist

Before deploying these standards to a new fleet node:

- [ ] Import `TRUTH_TELLER_CSS` string into the Gradio `gr.Blocks(css=…)` call
- [ ] Ensure `.floating-card` is applied to all panel-type components
- [ ] Verify 144 Hz: `scroll-behavior: smooth` on `html`, no blocking JS on scroll
- [ ] Test parallax on mobile: replace `translateZ` with `background-attachment: fixed` fallback
- [ ] Confirm colour contrast: cyan `#00FFFF` on black `#000000` passes WCAG AA

---

*Last updated: 2026-04-16 | Spec: v22.2171 RESONANCE_HARDENING*