Death242 commited on
Commit
eada153
·
verified ·
1 Parent(s): 4651f6c

Static site

Browse files
Files changed (8) hide show
  1. README.md +1 -1
  2. index.html +8 -8
  3. static/city.js +1 -1
  4. static/game.js +1 -1
  5. static/hub.js +18 -4
  6. static/npc.js +1 -1
  7. static/race.js +1 -1
  8. static/style.css +2 -2
README.md CHANGED
@@ -7,4 +7,4 @@ sdk: static
7
  pinned: false
8
  ---
9
 
10
- VOID. Made by Awsaa.
 
7
  pinned: false
8
  ---
9
 
10
+ VOID. Made by Legion.
index.html CHANGED
@@ -4,11 +4,11 @@
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <title>VOID</title>
7
- <meta name="description" content="VOID: the Hydra LTE242, an black-and-red hypercar concept that drives a loop and then flies. Watch the film, play the game, build your own. Made by Awsaa.">
8
  <meta name="theme-color" content="#10131b">
9
  <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
  <link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@500;800;900&family=Inter:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@700&display=swap" rel="stylesheet">
11
- <link rel="stylesheet" href="/static/style.css?v=1793427423">
12
  <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Crect width=%2764%27 height=%2764%27 rx=%2714%27 fill=%27%23050506%27/%3E%3Ccircle cx=%2732%27 cy=%2732%27 r=%2716%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%275%27/%3E%3C/svg%3E">
13
  <script type="importmap">
14
  { "imports": {
@@ -29,7 +29,7 @@
29
 
30
  <nav id="nav">
31
  <button class="logo" data-go="home" aria-label="VOID home">VOID</button>
32
- <span class="credit">Made by Awsaa</span>
33
  <div class="right">
34
  <button id="snd" class="pill" aria-pressed="false" title="Music and engine sound">Sound off</button>
35
  <button id="exit" class="pill" title="Back home (Esc)">&#10005;</button>
@@ -45,7 +45,7 @@
45
  </div>
46
  <div class="choices">
47
  <button class="choice main" data-go="watch"><b>&#9654;&ensp;Watch</b><span>The 44-second film, with music</span></button>
48
- <button class="choice" data-go="play"><b>Play</b><span>Free roam in VOID City: skyscrapers, traffic, stunts</span></button>
49
  <button class="choice" data-go="build"><b>Build</b><span>Paint it your way</span></button>
50
  </div>
51
  <a class="more" href="#specs">Specs</a>
@@ -68,7 +68,7 @@
68
  </div>
69
  <footer>
70
  <div class="foot-logo">VOID</div>
71
- <p><b>Made by Awsaa.</b> The Hydra LTE242 is the creator&rsquo;s dream car, if it existed. It&rsquo;s a concept, not a real car for sale. Its shape is inspired by the McLaren 765LT, and this site isn&rsquo;t made by or linked to McLaren. The music is original and made in code. The city is VOID City, a New York-style city made entirely in code (<span id="osmCredit"></span>).</p>
72
  </footer>
73
  </section>
74
  </main>
@@ -182,7 +182,7 @@
182
  <div class="pad-r"><button data-pad="nitro" class="nos">Nitro</button><button data-pad="drift" class="ground">Drift</button><button data-pad="brake">Brake</button><button data-pad="gas" class="big">Gas</button><button data-pad="down" class="air">Down</button><button data-pad="up" class="big air">Up</button></div>
183
  </div>
184
  <div class="g-card g-welcome" id="gReady">
185
- <h2>VOID City</h2>
186
  <p class="sub">Drive, fly, smash, race. Everything else is in the ☰ Menu.</p>
187
  <div class="tips">
188
  <div><b>🚗</b><span><kbd>W</kbd><kbd>A</kbd><kbd>S</kbd><kbd>D</kbd> drive · <kbd>Space</kbd> drift · <kbd>Shift</kbd> nitro</span></div>
@@ -218,7 +218,7 @@
218
 
219
  <div id="toast" role="status"></div>
220
  <noscript><p style="position:fixed;inset:auto 0 0;padding:16px;background:#111;color:#fff;text-align:center">VOID needs JavaScript for the 3D car.</p></noscript>
221
- <script src="/static/hub.js" data-app="void" defer></script>
222
- <script type="module" src="/static/main.js?v=1793427423"></script>
223
  </body>
224
  </html>
 
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
  <title>VOID</title>
7
+ <meta name="description" content="VOID: the Hydra LTE242, an black-and-red hypercar concept that drives a loop and then flies. Watch the film, play the game, build your own. Made by Legion.">
8
  <meta name="theme-color" content="#10131b">
9
  <link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
  <link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@500;800;900&family=Inter:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@700&display=swap" rel="stylesheet">
11
+ <link rel="stylesheet" href="/static/style.css?v=1793449451">
12
  <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Crect width=%2764%27 height=%2764%27 rx=%2714%27 fill=%27%23050506%27/%3E%3Ccircle cx=%2732%27 cy=%2732%27 r=%2716%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%275%27/%3E%3C/svg%3E">
13
  <script type="importmap">
14
  { "imports": {
 
29
 
30
  <nav id="nav">
31
  <button class="logo" data-go="home" aria-label="VOID home">VOID</button>
32
+ <span class="credit">Made by Legion</span>
33
  <div class="right">
34
  <button id="snd" class="pill" aria-pressed="false" title="Music and engine sound">Sound off</button>
35
  <button id="exit" class="pill" title="Back home (Esc)">&#10005;</button>
 
45
  </div>
46
  <div class="choices">
47
  <button class="choice main" data-go="watch"><b>&#9654;&ensp;Watch</b><span>The 44-second film, with music</span></button>
48
+ <button class="choice" data-go="play"><b>Play</b><span>Free roam in New Legion: skyscrapers, traffic, stunts</span></button>
49
  <button class="choice" data-go="build"><b>Build</b><span>Paint it your way</span></button>
50
  </div>
51
  <a class="more" href="#specs">Specs</a>
 
68
  </div>
69
  <footer>
70
  <div class="foot-logo">VOID</div>
71
+ <p><b>Made by Legion.</b> The Hydra LTE242 is the creator&rsquo;s dream car, if it existed. It&rsquo;s a concept, not a real car for sale. Its shape is inspired by the McLaren 765LT, and this site isn&rsquo;t made by or linked to McLaren. The music is original and made in code. The city is New Legion, a New York-style city made entirely in code (<span id="osmCredit"></span>).</p>
72
  </footer>
73
  </section>
74
  </main>
 
182
  <div class="pad-r"><button data-pad="nitro" class="nos">Nitro</button><button data-pad="drift" class="ground">Drift</button><button data-pad="brake">Brake</button><button data-pad="gas" class="big">Gas</button><button data-pad="down" class="air">Down</button><button data-pad="up" class="big air">Up</button></div>
183
  </div>
184
  <div class="g-card g-welcome" id="gReady">
185
+ <h2>New Legion</h2>
186
  <p class="sub">Drive, fly, smash, race. Everything else is in the ☰ Menu.</p>
187
  <div class="tips">
188
  <div><b>🚗</b><span><kbd>W</kbd><kbd>A</kbd><kbd>S</kbd><kbd>D</kbd> drive · <kbd>Space</kbd> drift · <kbd>Shift</kbd> nitro</span></div>
 
218
 
219
  <div id="toast" role="status"></div>
220
  <noscript><p style="position:fixed;inset:auto 0 0;padding:16px;background:#111;color:#fff;text-align:center">VOID needs JavaScript for the 3D car.</p></noscript>
221
+ <script src="/static/hub.js" data-app="void" data-credit="none" defer></script>
222
+ <script type="module" src="/static/main.js?v=1793449451"></script>
223
  </body>
224
  </html>
static/city.js CHANGED
@@ -1,4 +1,4 @@
1
- // VOID City: a New York-style grid, built entirely in code. Straight avenues (north-south) and streets
2
  // (east-west) with lane lines and crosswalks, glass skyscrapers with setbacks, spires and rooftop helipads,
3
  // art-deco stone towers, brick brownstone rows with stoops, brick walk-ups with fire escapes and wooden
4
  // water towers, ground-floor shops (burgers, pizza, delis, bagels...), subway entrances, a big central park
 
1
+ // New Legion: a New York-style grid, built entirely in code. Straight avenues (north-south) and streets
2
  // (east-west) with lane lines and crosswalks, glass skyscrapers with setbacks, spires and rooftop helipads,
3
  // art-deco stone towers, brick brownstone rows with stoops, brick walk-ups with fire escapes and wooden
4
  // water towers, ground-floor shops (burgers, pizza, delis, bagels...), subway entrances, a big central park
static/game.js CHANGED
@@ -1,4 +1,4 @@
1
- // Play: free roam in VOID City. Drive anywhere (grip, drift with the handbrake, nitro), hit the loop, the ramps
2
  // and the sky rings, press Fly to lift off: the thrusters hold you up when slow, the wings and real lift and drag
3
  // take over when fast (bank to turn, pull up to climb, too slow and it stalls). Land on the park lawn or a
4
  // skyscraper's helipad. Smash traffic that is slower than you; anything faster that hits you does the damage.
 
1
+ // Play: free roam in New Legion. Drive anywhere (grip, drift with the handbrake, nitro), hit the loop, the ramps
2
  // and the sky rings, press Fly to lift off: the thrusters hold you up when slow, the wings and real lift and drag
3
  // take over when fast (bank to turn, pull up to climb, too slow and it stalls). Land on the park lawn or a
4
  // skyscraper's helipad. Smash traffic that is slower than you; anything faster that hits you does the damage.
static/hub.js CHANGED
@@ -48,6 +48,10 @@
48
  @keyframes hubFlip{to{transform:rotate(180deg)}}@keyframes hubShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}
49
  @keyframes hubHue{to{filter:hue-rotate(360deg)}}@keyframes hubSpin{to{transform:rotate(360deg)}}@keyframes hubFall{to{transform:translateY(110vh) rotate(540deg)}}
50
  @keyframes hubDisco{0%{background:#f0b429}33%{background:#3dd49b}66%{background:#5b93ff}100%{background:#ff6b74}}
 
 
 
 
51
  .hub-fall{position:fixed;top:-30px;z-index:2147483050;pointer-events:none;animation:hubFall linear forwards}
52
  @media (prefers-reduced-motion:reduce){.hub-fall{display:none}}`;
53
  const style = document.createElement("style"); style.textContent = css; document.head.append(style);
@@ -107,18 +111,18 @@
107
  function form(view) {
108
  const f = (id, type, ph, extra = "") => `<input class="hub-in" id="${id}" type="${type}" placeholder="${ph}" ${extra}>`;
109
  const notice = `<p class="hub-small">The site owner can see the email you sign up with, never your password.</p>`;
110
- if (view === "up") return `<h3>Create your account</h3><p>One account for every app by Awsaa.</p>${f("hubE", "email", "Email", 'autocomplete="email"')}${f("hubP", "password", "Password (8+ characters)", 'autocomplete="new-password"')}<button id="hubGo">Create account</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="in">I already have an account</a></p>${notice}`;
111
  if (view === "forgot") return `<h3>Forgot your password?</h3><p>Your request goes to the owner. Once they approve it you can set a new password right here.</p>${f("hubE", "email", "Your account's email", 'autocomplete="email"')}<button id="hubGo">Ask for a new password</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="in">Back to sign in</a></p>`;
112
  if (view === "wait") return `<h3>Waiting for the owner</h3><p>Your request <b id="hubCode2"></b> is with the owner. Keep this page open or come back later: when it's approved you can set a new password here.</p><div class="err" id="hubErr" role="alert"></div><button class="alt" id="hubCheck">Check again</button><p class="hub-links"><a href="#" data-v="cancel">Cancel the request</a></p>`;
113
  if (view === "newpw") return `<h3>Set a new password</h3><p>The owner approved your request.</p>${f("hubP", "password", "New password (8+ characters)", 'autocomplete="new-password"')}<button id="hubGo">Save and sign in</button><div class="err" id="hubErr" role="alert"></div>`;
114
  if (view === "code") return `<h3>Link with a code</h3><p>In Cramly open <b>Settings</b>, tap <b>Use Cramly on another device</b>, and type the 6 digits here.</p><input id="hubCode" inputmode="numeric" maxlength="6" placeholder="000000" aria-label="6 digit code"><button id="hubGo">Link</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="in">Sign in with email instead</a></p>`;
115
- return `<h3>Sign in</h3><p>One account for every app by Awsaa.</p>${f("hubE", "email", "Email", 'autocomplete="email"')}${f("hubP", "password", "Password", 'autocomplete="current-password"')}<button id="hubGo">Sign in</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="up">Create an account</a> · <a href="#" data-v="forgot">Forgot password?</a> · <a href="#" data-v="code">Cramly code</a></p>`;
116
  }
117
  async function togglePanel(view) {
118
  if (box && !view) { box.remove(); box = null; return; }
119
  if (!box) { box = el("div", "hub-box"); box.setAttribute("role", "dialog"); document.body.append(box); }
120
  if (linked) {
121
- box.innerHTML = `<h3>Signed in</h3><p><b>${esc(store.get("email") || who || "your account")}</b><br>The same account works in every app by Awsaa.</p><button class="alt" id="hubOut">Sign out here</button><p style="margin:10px 0 0;font-size:11px">Device id: ${esc(dev)}</p>`;
122
  box.querySelector("#hubOut").onclick = () => { store.set("key", ""); store.set("email", ""); linked = false; who = ""; box.remove(); box = null; drawChip(); poll(); window.dispatchEvent(new CustomEvent("hub:account", { detail: { email: "" } })); };
123
  if (!store.get("email")) api("/api/uni/acct/me").then(j => { if (j.email) { store.set("email", j.email); const b = box && box.querySelector("p b"); if (b) b.textContent = j.email; } }).catch(() => { });
124
  return;
@@ -185,6 +189,16 @@
185
  } catch (e) { /* fail open: Cramly may be asleep */ }
186
  finally { busy = false; }
187
  }
188
- const start = () => { drawChip(); poll(); setInterval(poll, 30000); document.addEventListener("visibilitychange", () => { if (!document.hidden) poll(); }); };
 
 
 
 
 
 
 
 
 
 
189
  if (document.body) start(); else addEventListener("DOMContentLoaded", start);
190
  })();
 
48
  @keyframes hubFlip{to{transform:rotate(180deg)}}@keyframes hubShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}
49
  @keyframes hubHue{to{filter:hue-rotate(360deg)}}@keyframes hubSpin{to{transform:rotate(360deg)}}@keyframes hubFall{to{transform:translateY(110vh) rotate(540deg)}}
50
  @keyframes hubDisco{0%{background:#f0b429}33%{background:#3dd49b}66%{background:#5b93ff}100%{background:#ff6b74}}
51
+ .hub-credit{position:fixed;right:10px;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:2147481000;text-decoration:none;font:600 10.5px/1 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:.06em;color:#9a9aa3;background:rgba(14,14,16,.62);border:1px solid rgba(255,255,255,.08);padding:5px 8px;border-radius:999px;opacity:.75;backdrop-filter:blur(6px)}
52
+ .hub-credit u{text-decoration:none;color:#c9c9d1}.hub-credit:hover,.hub-credit:focus-visible{opacity:1;color:#ececf0}
53
+ .hub-credit.l{right:auto;left:54px}.hub-credit.t{bottom:auto;top:calc(8px + env(safe-area-inset-top,0px))}
54
+ @media print{.hub-credit{display:none}}
55
  .hub-fall{position:fixed;top:-30px;z-index:2147483050;pointer-events:none;animation:hubFall linear forwards}
56
  @media (prefers-reduced-motion:reduce){.hub-fall{display:none}}`;
57
  const style = document.createElement("style"); style.textContent = css; document.head.append(style);
 
111
  function form(view) {
112
  const f = (id, type, ph, extra = "") => `<input class="hub-in" id="${id}" type="${type}" placeholder="${ph}" ${extra}>`;
113
  const notice = `<p class="hub-small">The site owner can see the email you sign up with, never your password.</p>`;
114
+ if (view === "up") return `<h3>Create your account</h3><p>One account for every app by Legion.</p>${f("hubE", "email", "Email", 'autocomplete="email"')}${f("hubP", "password", "Password (8+ characters)", 'autocomplete="new-password"')}<button id="hubGo">Create account</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="in">I already have an account</a></p>${notice}`;
115
  if (view === "forgot") return `<h3>Forgot your password?</h3><p>Your request goes to the owner. Once they approve it you can set a new password right here.</p>${f("hubE", "email", "Your account's email", 'autocomplete="email"')}<button id="hubGo">Ask for a new password</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="in">Back to sign in</a></p>`;
116
  if (view === "wait") return `<h3>Waiting for the owner</h3><p>Your request <b id="hubCode2"></b> is with the owner. Keep this page open or come back later: when it's approved you can set a new password here.</p><div class="err" id="hubErr" role="alert"></div><button class="alt" id="hubCheck">Check again</button><p class="hub-links"><a href="#" data-v="cancel">Cancel the request</a></p>`;
117
  if (view === "newpw") return `<h3>Set a new password</h3><p>The owner approved your request.</p>${f("hubP", "password", "New password (8+ characters)", 'autocomplete="new-password"')}<button id="hubGo">Save and sign in</button><div class="err" id="hubErr" role="alert"></div>`;
118
  if (view === "code") return `<h3>Link with a code</h3><p>In Cramly open <b>Settings</b>, tap <b>Use Cramly on another device</b>, and type the 6 digits here.</p><input id="hubCode" inputmode="numeric" maxlength="6" placeholder="000000" aria-label="6 digit code"><button id="hubGo">Link</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="in">Sign in with email instead</a></p>`;
119
+ return `<h3>Sign in</h3><p>One account for every app by Legion.</p>${f("hubE", "email", "Email", 'autocomplete="email"')}${f("hubP", "password", "Password", 'autocomplete="current-password"')}<button id="hubGo">Sign in</button><div class="err" id="hubErr" role="alert"></div><p class="hub-links"><a href="#" data-v="up">Create an account</a> · <a href="#" data-v="forgot">Forgot password?</a> · <a href="#" data-v="code">Cramly code</a></p>`;
120
  }
121
  async function togglePanel(view) {
122
  if (box && !view) { box.remove(); box = null; return; }
123
  if (!box) { box = el("div", "hub-box"); box.setAttribute("role", "dialog"); document.body.append(box); }
124
  if (linked) {
125
+ box.innerHTML = `<h3>Signed in</h3><p><b>${esc(store.get("email") || who || "your account")}</b><br>The same account works in every app by Legion.</p><button class="alt" id="hubOut">Sign out here</button><p style="margin:10px 0 0;font-size:11px">Device id: ${esc(dev)}</p>`;
126
  box.querySelector("#hubOut").onclick = () => { store.set("key", ""); store.set("email", ""); linked = false; who = ""; box.remove(); box = null; drawChip(); poll(); window.dispatchEvent(new CustomEvent("hub:account", { detail: { email: "" } })); };
127
  if (!store.get("email")) api("/api/uni/acct/me").then(j => { if (j.email) { store.set("email", j.email); const b = box && box.querySelector("p b"); if (b) b.textContent = j.email; } }).catch(() => { });
128
  return;
 
189
  } catch (e) { /* fail open: Cramly may be asleep */ }
190
  finally { busy = false; }
191
  }
192
+ /* the credit on every app: "Made by Legion". A page can move it with data-credit="bl|br|tl|tr" on this script tag, or hide it with "none". */
193
+ const credit = () => {
194
+ if (!document.querySelector('meta[name="author"]')) { const m = document.createElement("meta"); m.name = "author"; m.content = "Legion"; document.head.append(m); }
195
+ const pos = (me && me.dataset.credit) || "br";
196
+ if (pos === "none" || document.querySelector(".hub-credit")) return;
197
+ const c = el("a", "hub-credit" + (pos[0] === "t" ? " t" : "") + (pos[1] === "l" ? " l" : ""), "Made by Legion · <u>Contact me</u>");
198
+ c.href = "mailto:Awsaa-Legion@proton.me"; c.title = "Awsaa-Legion@proton.me";
199
+ c.setAttribute("aria-label", "Made by Legion. Contact me: Awsaa-Legion@proton.me");
200
+ document.body.append(c);
201
+ };
202
+ const start = () => { credit(); drawChip(); poll(); setInterval(poll, 30000); document.addEventListener("visibilitychange", () => { if (!document.hidden) poll(); }); };
203
  if (document.body) start(); else addEventListener("DOMContentLoaded", start);
204
  })();
static/npc.js CHANGED
@@ -1,4 +1,4 @@
1
- // Life in the streets of VOID City: thousands of cars, cabs, buses, trucks and police cruisers that drive
2
  // in their lanes, stop at red lights, follow the car in front and turn at the corners, and thousands of
3
  // people walking round the blocks. Ram a car faster than it is going and it breaks apart and flies;
4
  // let something faster hit you and you take the damage. People always leap out of the way.
 
1
+ // Life in the streets of New Legion: thousands of cars, cabs, buses, trucks and police cruisers that drive
2
  // in their lanes, stop at red lights, follow the car in front and turn at the corners, and thousands of
3
  // people walking round the blocks. Ram a car faster than it is going and it breaks apart and flies;
4
  // let something faster hit you and you take the damage. People always leap out of the way.
static/race.js CHANGED
@@ -1,4 +1,4 @@
1
- // Street races round VOID City: drive into a start marker and press Enter (or tap Race). Gates on the real streets,
2
  // three AI rivals in sports cars (solo), or everybody in your online room. A countdown, a timer, live positions,
3
  // best times kept on this device. The Sky Rings race is a flying time trial through gates in the air.
4
  // Ghosts: your best run on every route is recorded and races beside you next time, with a split at every gate.
 
1
+ // Street races round New Legion: drive into a start marker and press Enter (or tap Race). Gates on the real streets,
2
  // three AI rivals in sports cars (solo), or everybody in your online room. A countdown, a timer, live positions,
3
  // best times kept on this device. The Sky Rings race is a flying time trial through gates in the air.
4
  // Ghosts: your best run on every route is recorded and races beside you next time, with a split at every gate.
static/style.css CHANGED
@@ -214,7 +214,7 @@ body.garage[data-mode="play"] #playUI > *:not(.g-card) { opacity: .25; pointer-e
214
  }
215
  @media (prefers-reduced-motion: reduce) { #grain, .ld-word span { animation: none; } }
216
 
217
- /* VOID City HUD: health and nitro, combo, hurt flash, photo mode */
218
  .g-score em { font: 800 15px var(--wide); color: #ffd23d; font-style: normal; min-height: 18px; }
219
  .g-bars { position: absolute; left: var(--pad); top: calc(128px + var(--top)); display: grid; gap: 6px; width: 160px; }
220
  .g-btns { max-width: min(560px, 58vw); }
@@ -405,7 +405,7 @@ body[data-mode="play"] .hub-chip { display: none !important; }
405
  .up-row button:disabled { background: rgba(255,255,255,.1); color: var(--mute); cursor: not-allowed; }
406
  .up-row em { font: 800 11px var(--body); font-style: normal; color: #ffd23d; }
407
  #gCash { color: #9dffb0; }
408
- .up-note { margin: 10px 0 0; color: var(--mute); font-size: 11.5px; line-height: 1.4; }
409
 
410
  /* contracts, routes, the route builder, backups */
411
  .con-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
 
214
  }
215
  @media (prefers-reduced-motion: reduce) { #grain, .ld-word span { animation: none; } }
216
 
217
+ /* New Legion HUD: health and nitro, combo, hurt flash, photo mode */
218
  .g-score em { font: 800 15px var(--wide); color: #ffd23d; font-style: normal; min-height: 18px; }
219
  .g-bars { position: absolute; left: var(--pad); top: calc(128px + var(--top)); display: grid; gap: 6px; width: 160px; }
220
  .g-btns { max-width: min(560px, 58vw); }
 
405
  .up-row button:disabled { background: rgba(255,255,255,.1); color: var(--mute); cursor: not-allowed; }
406
  .up-row em { font: 800 11px var(--body); font-style: normal; color: #ffd23d; }
407
  #gCash { color: #9dffb0; }
408
+ .up-note { margin: 10px 0 0; color: var(--mute); font-size: 11.5px; line-height: 1.4; }
409
 
410
  /* contracts, routes, the route builder, backups */
411
  .con-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }