5xYourTeam card + Draft Day art (2026-11-15, LOCAL ONLY): kie.ai tier frames, Envato rings/medals/holo/back, Draft Day confetti/spotlights/scoreboard, Champiun

- Trading cards: five kie.ai nano-banana-pro tier frames (Rookie steel, Starter silver, Pro gold trim, All-Star gold + holo,
  Hall of Fame ornate gold + laurels), F4 avatar ring + B1 rank medal per tier, F5 holo foil on Pro/All-Star/HoF, sized in cqw
- Card back from F1 (text layers hidden, green re-tinted gold): tap/Enter flips a card to the stats layout (team, how drafted,
  milestone, games played, the tier ladder); landscape, takes two grid slots. Milestones only, never earnings.
- Draft Day 1080 card: D2 spotlights, D1 gold confetti, D5 scoreboard plate (blank) for the totals
- Champiun (T3, Basic Latin WOFF subset) only for the ON THE CLOCK headline and pick numbers
- tools/derive-art.py builds the web derivatives from ../assets-src (raw packs stay out of public/); public/art/MANIFEST.md maps
  each file to its source item, author and license code; tools/art.mjs renders kit/OG/proof/tier art with the same cards
- ?v= tags bumped to 2; unit 62/62, smoke 156/156 (UI_FONTS=1), iap-tank 23/23

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-15 07:45:43 -06:00
parent 8645b471ae
commit f6dbbfdcd3
69 changed files with 322 additions and 82 deletions
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body data-page="admin">
<main class="wrap">
@@ -28,7 +28,7 @@
<section class="panel"><h3>Best Coach pot (last week)</h3><pre id="potOut" class="kit-pre"></pre></section>
<section class="panel"><h3>Old-link map (JSON {"oldrefs": {"old": "network username"}})</h3><input type="file" id="oldFile" accept="application/json"><pre id="oldOut" class="kit-pre"></pre></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/misc.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/misc.js?v=2"></script>
</body>
</html>
+37
View File
@@ -0,0 +1,37 @@
# 5xYourTeam art manifest
Every derived art file in `public/art/tc`, `public/art/dd` and the web font, with its source. Built by `python tools/derive-art.py`
from the source packs in `../assets-src` (outside the app, never in a public folder). Envato Elements items are licensed to
Marty Bostick under the license name **5xYourTeam.com** (2026-11-15); certificates in `../assets-src/envato/licenses/`.
kie.ai frames: nano-banana-pro, 2K, 2:3, generated 2026-11-15; masters + prompts in `../assets-src/kie/`.
| Derived file | Source | Item / author | License code |
|---|---|---|---|
| tc/frame-rookie.jpg | kie.ai `r1-rookie` | kie.ai nano-banana-pro (generated for 5xYourTeam) | n/a |
| tc/frame-starter.jpg | kie.ai `r2-starter-b` | kie.ai nano-banana-pro | n/a |
| tc/frame-pro.jpg | kie.ai `r1-pro` | kie.ai nano-banana-pro | n/a |
| tc/frame-allstar.jpg | kie.ai `r1-allstar` | kie.ai nano-banana-pro | n/a |
| tc/frame-hof.jpg | kie.ai `r1-hof` | kie.ai nano-banana-pro | n/a |
| tc/ring-rookie.png | F4, Tier Frame 18 | Tier 3D Frame / Unerispace | M6S5QHEDNX |
| tc/ring-starter.png | F4, Tier Frame 20 | Tier 3D Frame / Unerispace | M6S5QHEDNX |
| tc/ring-pro.png | F4, Tier Frame 12 | Tier 3D Frame / Unerispace | M6S5QHEDNX |
| tc/ring-allstar.png | F4, Tier Frame 15 | Tier 3D Frame / Unerispace | M6S5QHEDNX |
| tc/ring-hof.png | F4, Tier Frame 17 | Tier 3D Frame / Unerispace | M6S5QHEDNX |
| tc/medal-rookie.png | B1, ri_4_12 | Game Rank Icons Vol.4 / myteamart | Z9LXSK35WR |
| tc/medal-starter.png | B1, ri_4_07 | Game Rank Icons Vol.4 / myteamart | Z9LXSK35WR |
| tc/medal-pro.png | B1, ri_4_09 | Game Rank Icons Vol.4 / myteamart | Z9LXSK35WR |
| tc/medal-allstar.png | B1, ri_4_03 | Game Rank Icons Vol.4 / myteamart | Z9LXSK35WR |
| tc/medal-hof.png | B1, ri_4_05 | Game Rank Icons Vol.4 / myteamart | Z9LXSK35WR |
| tc/holo.jpg (Pro, All-Star, Hall of Fame overlay) | F5, Holographic Foil_12 | 15 Holographic Foil Textures Vol.2 / DavidBalev | HDWZ83U4YK |
| tc/back.jpg (card back, text layers hidden, green re-tinted gold) | F1, Back-Baseball-Trading-Card-Template.psd | Futuristic Baseball Trading Card PSD Template / bornx | FV8QTMNUXL |
| dd/confetti.png | D1, overlay 6 | 10 Golden Foil Confetti Overlays / PartikusiDesign | ZRT2PWEJDN |
| dd/spotlight.jpg | D2, background 2 | Stage Spotlight Overlay / Pitchlook | XWF8DYE2K4 |
| dd/scoreboard.png (blank plate: printed text covered with its own texture) | D5, k_049-01 preview | Sports scoreboard - set of vector isolated objects / BoykoPictures | B8JMRDXUKQ |
| ../assets/champiun.woff (Bold, Basic Latin subset) | T3, Champiun-Bold.ttf | Champiun - Bold and Powerful Sports Fonts / DikasStudio | L7KSTFCHAQ |
Used where: the trading cards (`FX.card` in `public/assets/common.js`, styles in `public/assets/fx.css`, and the static renders in
`tools/art.mjs`: cards/, kit/, proof/, og-share.png); the Draft Day card (`public/draftday.html` from `tools/pages.mjs`).
Champiun is only for the "ON THE CLOCK" headline (`#heroKick`) and pick numbers (draft tracker, Draft Day rows).
Files not listed here (icon-192.png, og-share.png, cards/, kit/, proof/, draftday/week-*.png) are rendered by `tools/art.mjs`
from HTML; their card images come from the files above.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 508 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.
+17 -3
View File
@@ -76,12 +76,26 @@ window.FX = (function () {
tick(); setInterval(tick, 25000);
}
// a trading card (milestones only, never earnings)
// Front: the tier frame (public/art/tc, see public/art/MANIFEST.md), the avatar ring with initials, the rank medal, name + team
// + milestone. Tap or Enter flips it to the back (the stats layout: team, how drafted, milestone, games played, the tier ladder).
const CARD_TIERS = [['rookie', 'Rookie', 'Drafted'], ['starter', 'Starter', 'Wallet'], ['pro', 'Pro', 'Payouts'], ['allstar', 'All-Star', 'Purchase'], ['hof', 'Hall of Fame', 'Own team']];
function card(c, opts) {
const o = opts || {};
return '<article class="tc ' + esc(c.tier) + (c.status === 'returned' ? ' faded' : '') + '"><div class="tier">' + esc(c.tierName) + '</div><div class="face">' + esc(initials(c.username)) + '</div>'
+ '<div class="info"><b>@' + esc(c.username || 'player') + '</b><span>Team @' + esc(c.coach) + (c.round ? ' · Round ' + esc(c.round) : c.kind === 'instant' ? ' · Instant pick' : '') + '</span><span>' + esc(c.milestone) + '</span>'
+ '<span>Games played: ' + (c.plays == null ? 'not tracked yet' : n(c.plays)) + '</span>' + (c.status === 'returned' ? '<span class="dim">Back in the pool</span>' : '') + (o.extra || '') + '</div></article>';
const how = c.round ? 'Round ' + esc(c.round) : c.kind === 'instant' ? 'Instant pick' : 'Drafted';
const games = c.plays == null ? 'not tracked yet' : n(c.plays);
const at = Math.max(0, CARD_TIERS.findIndex(t => t[0] === c.tier));
const back = c.status === 'returned' ? '<span class="dim">Back in the pool</span>' : '';
return '<article class="tc ' + esc(c.tier) + (c.status === 'returned' ? ' faded' : '') + '" tabindex="0" role="button" aria-pressed="false" aria-label="@' + esc(c.username || 'player') + ', ' + esc(c.tierName) + ' card. Flip for the stats.">'
+ '<div class="fr"><div class="tier">' + esc(c.tierName) + '</div><div class="face"><span>' + esc(initials(c.username)) + '</span></div><i class="medal" aria-hidden="true"></i>'
+ '<div class="info"><b>@' + esc(c.username || 'player') + '</b><span>Team @' + esc(c.coach) + (c.round ? ' · Round ' + esc(c.round) : c.kind === 'instant' ? ' · Instant pick' : '') + '</span><span>' + esc(c.milestone) + '</span>' + back + (o.extra || '') + '</div></div>'
+ '<div class="bk" aria-hidden="true"><b class="nm">@' + esc(c.username || 'player') + '</b><span class="tg">' + esc(c.tierName) + '</span>'
+ '<dl><dt>Team</dt><dd>@' + esc(c.coach) + '</dd><dt>Joined the team</dt><dd>' + how + '</dd><dt>Latest milestone</dt><dd>' + esc(c.milestone) + '</dd><dt>Games played</dt><dd>' + games + '</dd>' + (back ? '<dt>Status</dt><dd>' + back + '</dd>' : '') + '</dl>'
+ '<p class="cap">CARD LADDER</p><div class="lad">' + CARD_TIERS.map((t, i) => '<span' + (i <= at ? ' class="on"' : '') + '><em>' + esc(t[1]) + '</em><i>' + esc(t[2]) + '</i><u>' + (i <= at ? '✓' : '-') + '</u></span>').join('') + '</div>'
+ '<p class="ft">5xyourteam.com/cards · milestones only, never earnings</p></div></article>';
}
document.addEventListener('click', e => { const t = e.target.closest && e.target.closest('.tc'); if (t && !e.target.closest('a,button')) flip(t); });
document.addEventListener('keydown', e => { if ((e.key === 'Enter' || e.key === ' ') && e.target.classList && e.target.classList.contains('tc')) { e.preventDefault(); flip(e.target); } });
function flip(t) { const on = t.classList.toggle('flip'); t.setAttribute('aria-pressed', on ? 'true' : 'false'); t.querySelector('.bk').setAttribute('aria-hidden', on ? 'false' : 'true'); }
// signed in on InstantAdPay already? one quick hop there and back signs you in here too
async function silentSso(to) { try { const ss = await getJSON('/api/sso/status'); if (ss && ss.check) { location.replace('/sso/start?mode=check&via=iap&to=' + encodeURIComponent(to)); return true; } } catch (e) {} return false; }
function signInBlock(to) {
+56 -12
View File
@@ -117,17 +117,61 @@ textarea{min-height:84px;resize:vertical}
.help .h{display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--panel2);padding:10px 12px;flex-wrap:wrap}
.help .h b{font-family:var(--disp);font-size:17px}
/* trading cards */
.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.tc{border:6px solid var(--rookie);background:#e5e9f4;color:var(--paperInk);min-height:380px;display:flex;flex-direction:column}
.tc .tier{font-family:var(--disp);letter-spacing:3px;text-align:center;padding:6px;background:var(--rookie);color:var(--paperInk);text-transform:uppercase}
.tc .face{height:150px;display:flex;align-items:center;justify-content:center;font-family:var(--disp);font-size:48px;background:#c6cde0;color:var(--paperMuted)}
.tc .info{padding:12px;display:flex;flex-direction:column;gap:4px;font-size:13px}
.tc .info b{font-family:var(--disp);font-size:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc.starter{border-color:var(--starter);background:#eaf6ef}.tc.starter .tier{background:var(--starter);color:#fff}.tc.starter .face{background:#bfe3cf;color:#1f5c40}
.tc.pro{border-color:var(--pro);background:#e8eefc}.tc.pro .tier{background:var(--pro);color:#fff}.tc.pro .face{background:#c3d2fa;color:#1d3a96}
.tc.allstar{border-color:var(--allstar);background:#fff7df;box-shadow:0 0 0 3px var(--paperInk),0 0 24px rgba(255,201,60,.6)}.tc.allstar .tier{background:var(--allstar)}.tc.allstar .face{background:#ffe8a3;color:#7a5a00}
.tc.hof{border-color:var(--gold);background:#1a1030;color:#fff;box-shadow:0 0 0 3px var(--red)}.tc.hof .tier{background:linear-gradient(90deg,var(--gold),var(--red))}.tc.hof .face{background:#2a1a4a;color:var(--gold)}
.tc.faded{opacity:.55}
/* Art (public/art/tc, sources in public/art/MANIFEST.md): kie.ai tier frames (2:3), F4 avatar rings, B1 rank medals, F5 holo
foil on Pro / All-Star / Hall of Fame, F1 card back. Every size is in cqw (card width) so a card reads the same at any width.
Per tier: --hy/--hh header ribbon, --cy/--cd the round window (centre, diameter), --py/--ph/--px the name plaque. */
.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:start}
.tc{--hy:8.4;--hh:10.5;--hx:8.8;--cy:62.8;--cd:72.5;--py:111.5;--ph:27.9;--px:9.7;--ink:#d7deef;--ring:url(/art/tc/ring-rookie.png);--medal:url(/art/tc/medal-rookie.png);--holo:0;
container-type:inline-size;position:relative;aspect-ratio:2/3;cursor:pointer;color:#fff;outline-offset:4px;user-select:none;-webkit-tap-highlight-color:transparent}
.tc .fr{position:absolute;inset:0;background:#0b1530 url(/art/tc/frame-rookie.jpg) center/100% 100% no-repeat;box-shadow:0 10px 26px rgba(0,0,0,.45)}
.tc .fr::before{content:"";position:absolute;inset:0;background:url(/art/tc/holo.jpg) center/cover;mix-blend-mode:soft-light;opacity:var(--holo);pointer-events:none}
.tc .tier{position:absolute;left:calc(var(--hx)*1cqw);right:calc(var(--hx)*1cqw);top:calc(var(--hy)*1cqw);height:calc(var(--hh)*1cqw);display:flex;align-items:center;justify-content:center;
font-family:var(--disp);font-weight:700;font-size:6.2cqw;letter-spacing:.9cqw;text-transform:uppercase;color:var(--ink);white-space:nowrap;text-shadow:0 .3cqw .8cqw rgba(0,0,0,.6)}
.tc .face{position:absolute;left:50%;top:calc(var(--cy)*1cqw);width:calc(var(--cd)*.84cqw);aspect-ratio:1;transform:translate(-50%,-50%);background:var(--ring) center/contain no-repeat;
display:flex;align-items:center;justify-content:center}
.tc .face span{font-family:var(--disp);font-weight:700;font-size:13.5cqw;color:#fff;letter-spacing:.4cqw;text-shadow:0 .4cqw 1.6cqw rgba(0,0,0,.7);margin-top:-1cqw}
.tc .medal{position:absolute;width:18cqw;aspect-ratio:1;left:calc(50% + var(--cd)*.22cqw);top:calc((var(--cy) + var(--cd)*.18)*1cqw);background:var(--medal) center/contain no-repeat;filter:drop-shadow(0 .6cqw 1cqw rgba(0,0,0,.6))}
.tc .info{position:absolute;left:calc(var(--px)*1cqw);right:calc(var(--px)*1cqw);top:calc(var(--py)*1cqw);height:calc(var(--ph)*1cqw);padding:1.2cqw 4cqw;display:flex;flex-direction:column;justify-content:center;gap:.3cqw;
font-size:max(4.7cqw,9.5px);line-height:1.2;color:#cfd8ee;overflow:hidden;text-align:center}
.tc .info b{font-family:var(--disp);font-size:8cqw;line-height:1.05;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc .info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc .info .dim{color:#ff8a8a}
.tc.starter{--hy:6.9;--hh:8.25;--hx:7.2;--cy:50.9;--cd:61.2;--py:90.9;--ph:50.4;--px:9;--ink:#fff;--ring:url(/art/tc/ring-starter.png);--medal:url(/art/tc/medal-starter.png)}
.tc.starter .fr{background-image:url(/art/tc/frame-starter.jpg)}
.tc.starter .info{justify-content:flex-start;padding-top:3.5cqw;gap:5cqw}
.tc.pro{--hy:14.7;--hh:7.5;--hx:14.3;--cy:65;--cd:64.4;--py:108.3;--ph:27.6;--px:13.7;--ink:var(--gold);--ring:url(/art/tc/ring-pro.png);--medal:url(/art/tc/medal-pro.png);--holo:.28}
.tc.pro .fr{background-image:url(/art/tc/frame-pro.jpg)}
.tc.allstar{--hy:12.9;--hh:8.4;--hx:12.8;--cy:61.7;--cd:61.2;--py:105.9;--ph:29.7;--px:13.8;--ink:var(--gold);--ring:url(/art/tc/ring-allstar.png);--medal:url(/art/tc/medal-allstar.png);--holo:.5}
.tc.allstar .fr{background-image:url(/art/tc/frame-allstar.jpg);box-shadow:0 0 0 2px #0b1530,0 0 26px rgba(255,201,60,.55)}
.tc.hof{--hy:13.35;--hh:7.05;--hx:13.5;--cy:62.9;--cd:58.4;--py:105;--ph:28.35;--px:14.7;--ink:var(--gold);--ring:url(/art/tc/ring-hof.png);--medal:url(/art/tc/medal-hof.png);--holo:.36}
.tc.hof .fr{background-image:url(/art/tc/frame-hof.jpg);box-shadow:0 0 0 2px var(--red),0 0 30px rgba(255,77,77,.4)}
.tc.hof .tier{font-size:5.4cqw;letter-spacing:.6cqw}
.tc.faded .fr{filter:grayscale(.7) brightness(.8)}
.tc:focus-visible{outline:3px solid var(--gold)}
/* the back (F1 template, re-tinted gold): landscape, so a flipped card takes two grid slots (two 2:3 cards side by side are
about the back's own 1125:825) */
.tc .bk{display:none}
.tc.flip{grid-column:span 2;aspect-ratio:1125/825}
.tc.flip .fr{display:none}
.tc.flip .bk{display:block;position:absolute;inset:0;background:#fff url(/art/tc/back.jpg) center/100% 100% no-repeat;color:#0b1530;box-shadow:0 10px 26px rgba(0,0,0,.45);font-size:max(2.8cqw,10px);line-height:1.25}
.tc .bk .nm{position:absolute;left:12cqw;top:10.9cqw;width:40cqw;font-family:var(--disp);font-size:4.4cqw;line-height:1;color:#0b1530;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc .bk .tg{position:absolute;left:62cqw;top:11.3cqw;font-family:var(--disp);font-size:3.4cqw;letter-spacing:.5cqw;text-transform:uppercase;color:#fff}
.tc .bk dl{position:absolute;left:10.4cqw;right:7.5cqw;top:20.8cqw;margin:0;display:grid;grid-template-columns:auto 1fr;gap:1cqw 3cqw}
.tc .bk dt{font-weight:700;text-transform:uppercase;letter-spacing:.1cqw;color:#4a587e;white-space:nowrap}
.tc .bk dd{margin:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc .bk .cap{position:absolute;left:10.4cqw;top:46.4cqw;margin:0;font-weight:700;font-size:max(2cqw,9px);letter-spacing:.2cqw;color:#0b1530}
.tc .bk .lad{position:absolute;left:10.1cqw;right:6.9cqw;top:49.5cqw;height:10cqw;display:grid;grid-template-columns:repeat(5,1fr);text-align:center}
.tc .bk .lad span{display:grid;grid-template-rows:repeat(3,1fr);align-items:center;font-size:max(1.9cqw,8px);line-height:1;color:#4a587e;white-space:nowrap;overflow:hidden}
.tc .bk .lad em,.tc .bk .lad i,.tc .bk .lad u{font-style:normal;text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.tc .bk .lad em{font-weight:700;color:#0b1530;text-transform:uppercase}
.tc .bk .lad u{font-weight:700;color:rgba(11,21,48,.45)}.tc .bk .lad span.on u{color:#0b1530}
.tc .bk .lad span.on i{color:#0b1530;font-weight:600}
@container (max-width:210px){.tc .info>span:first-of-type{display:none}}
.tc .bk .ft{position:absolute;left:10.4cqw;right:7.5cqw;top:63.2cqw;margin:0;font-size:max(1.7cqw,8px);color:#4a587e}
/* Champiun (T3, subset WOFF): only the "ON THE CLOCK" headline and pick numbers */
@font-face{font-family:Champiun;src:url(/assets/champiun.woff) format('woff');font-weight:700;font-display:swap}
#heroKick{font-family:Champiun,var(--disp);font-weight:700;font-size:30px;letter-spacing:2px;line-height:1.1}
#track td:first-child{font-family:Champiun,var(--disp);font-weight:700;color:var(--gold);font-size:17px;letter-spacing:1px}
/* coach card */
.ccard{display:flex;flex-wrap:wrap;gap:0;background:var(--paper);color:var(--paperInk)}
.ccard .l{flex:1 1 260px;background:var(--panel);color:#fff;padding:22px;display:flex;flex-direction:column;gap:8px;border-left:8px solid var(--gold)}
@@ -156,7 +200,7 @@ footer.foot p{margin:4px 0}footer.foot a{color:var(--gold)}footer.foot .here{col
.wm{font-size:24px}nav.top .links{gap:12px;font-size:13px}
.hero h1{font-size:38px}h2{font-size:24px}
.pool{grid-template-columns:minmax(0,1fr)}.team{grid-template-columns:repeat(2,minmax(0,1fr))}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tc{min-height:300px}.tc .face{height:100px;font-size:36px}
.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.how{grid-template-columns:minmax(0,1fr)}
.toasts{left:16px;right:16px;bottom:16px;max-width:none}
}
+4 -4
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body data-page="builder">
<main class="wrap">
@@ -28,8 +28,8 @@
<p id="status" class="note" hidden></p>
<section class="panel" id="bList"></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/wallet.js?v=1"></script>
<script src="/assets/misc.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/wallet.js?v=2"></script>
<script src="/assets/misc.js?v=2"></script>
</body>
</html>
+4 -4
View File
@@ -19,16 +19,16 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
<section class="sh"><div><p class="kicker">CARD COLLECTION</p><h1 style="font-size:44px">Trading cards: they level up as your picks do</h1></div><p>Public cards show milestones, never earnings.</p></section>
<section id="mine" hidden style="display:flex;flex-direction:column;gap:12px"><h2 id="mineTitle"></h2><div class="cards" id="mineCards"></div></section>
<section style="display:flex;flex-direction:column;gap:12px"><h2>The five tiers</h2><div class="cards" id="tiers"></div>
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team.</p></section>
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team. Tap a card to flip it for the stats on the back.</p></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/cards.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/cards.js?v=2"></script>
</body>
</html>
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
@@ -27,7 +27,7 @@
<div class="r"><h3>The team</h3><p class="small" style="color:#4a587e">Milestones only. Every Monday this coach drafts people who joined the network without a sponsor and helps them get started.</p><div class="row"><a class="btn-gold" id="cJoin" href="https://instantadpay.com/">Join the network free</a><a class="btn" href="/join">Coach a team of your own</a></div></div></section>
<section class="cards" id="cTeam"></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/coach.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/coach.js?v=2"></script>
</body>
</html>
+3 -3
View File
@@ -19,14 +19,14 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
<section><p class="kicker">CONTRACT</p><h1 style="font-size:44px">Check the contract yourself</h1><p class="muted">Read live from Polygon. No owner withdraw, no proxy, the split fixed in the code.</p></section>
<section class="panel"><div class="tbl"><table id="facts"></table></div></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/contract.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/contract.js?v=2"></script>
</body>
</html>
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body data-page="legal">
<main class="wrap legal">
@@ -30,7 +30,7 @@
<section class="card"><h2>Prices and taxes</h2><p>Positions are priced in US dollars and paid in POL, whose price moves. You are responsible for any taxes on what you receive where you live.</p></section>
<section class="card"><h2>Who to ask</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>.</p></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/misc.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/misc.js?v=2"></script>
</body>
</html>
+11 -6
View File
@@ -1,13 +1,18 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="noindex"><title>Draft Day | 5xYourTeam</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap"><style>
*{box-sizing:border-box}body{margin:0;width:1080px;height:1080px;overflow:hidden;background:#0b1530}
.dd{width:1080px;height:1080px;background:#0b1530;color:#fff;font-family:Inter,system-ui,sans-serif;padding:64px;display:flex;flex-direction:column;gap:32px;border:14px solid #ffc93c}
@font-face{font-family:Champiun;src:url(/assets/champiun.woff) format('woff');font-weight:700}
.dd{position:relative;width:1080px;height:1080px;background:radial-gradient(ellipse at 50% 0,#1b2c5e 0,#0b1530 62%);color:#fff;font-family:Inter,system-ui,sans-serif;padding:52px 64px 56px;display:flex;flex-direction:column;gap:26px;border:14px solid #ffc93c;overflow:hidden}
.dd>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.dd .spot{mix-blend-mode:screen;opacity:.6}.dd .conf{opacity:.5}
.dd>:not(img){position:relative;z-index:1}
.top{display:flex;justify-content:space-between;align-items:center}.wm{font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:44px;letter-spacing:1px}.wm b{color:#ffc93c}
.wk{font-family:Oswald,sans-serif;font-size:22px;background:#ff4d4d;padding:6px 14px;letter-spacing:3px}
h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:120px;line-height:.95}h1 span{color:#ffc93c}
.rows{display:flex;flex-direction:column;gap:14px;font-size:30px}.dd-r{display:flex;justify-content:space-between;border-bottom:2px solid #2a3a6e;padding-bottom:10px}.dd-r .s{font-family:Oswald,sans-serif;color:#ffc93c}
.ft{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end}.ft div{display:flex;flex-direction:column;gap:6px;font-size:26px}.ft .p{color:#ffc93c}.url{font-family:Oswald,sans-serif;font-size:26px;color:#b8c4e0}
</style></head><body data-page="draftday"><div class="dd"><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:108px;line-height:.95;text-shadow:0 6px 24px rgba(0,0,0,.55)}h1 span{color:#ffc93c}
.rows{display:flex;flex-direction:column;gap:12px;font-size:30px;background:rgba(7,16,42,.86);padding:16px 24px;border-left:6px solid #ffc93c}.dd-r{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid #2a3a6e;padding-bottom:8px}.dd-r:last-child{border-bottom:0;padding-bottom:0}
.dd-r .s{font-family:Champiun,Oswald,sans-serif;font-weight:700;color:#ffc93c;font-size:34px;letter-spacing:1px;min-width:90px}
.ft{margin-top:auto;height:216px;background:url(/art/dd/scoreboard.png) center/100% 100% no-repeat;padding:34px 48px;display:flex;justify-content:space-between;align-items:center;filter:drop-shadow(0 10px 24px rgba(0,0,0,.6))}
.ft div{display:flex;flex-direction:column;gap:10px;font-family:Oswald,sans-serif;font-size:32px;letter-spacing:.5px}.ft .p{color:#ffc93c}.url{font-family:Oswald,sans-serif;font-size:26px;color:#b8c4e0;align-self:flex-end}
</style></head><body data-page="draftday"><div class="dd"><img class="spot" src="/art/dd/spotlight.jpg" alt=""><img class="conf" src="/art/dd/confetti.png" alt=""><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
<h1>DRAFT DAY<br><span>RESULTS</span></h1><div class="rows" id="ddRows"></div>
<div class="ft"><div><span id="ddStats"></span><span class="p" id="ddPot"></span></div><span class="url">5xyourteam.com</span></div></div>
<script src="/assets/common.js?v=1"></script><script src="/assets/misc.js?v=1"></script></body></html>
<script src="/assets/common.js?v=2"></script><script src="/assets/misc.js?v=2"></script></body></html>
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
@@ -53,7 +53,7 @@
<p class="small">A position buys a draft spot and coaching tools, not income. Nothing is promised.</p></div>
</section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/board.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/board.js?v=2"></script>
</body>
</html>
+4 -4
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
@@ -34,8 +34,8 @@
<p class="small">Your sponsor gets 25% and levels 2 to 5 of your network sponsor line get 5% each. Only people who hold a position can receive a share: anyone in your line who does not is passed over and the share goes up to the next person who does. 10% goes to the weekly Best Coach pot and 45% to 5xYourTeam. The contract keeps nothing. Check it on the <a href="/contract">contract page</a> and every payment on the <a href="/ledger">ledger</a>.</p>
<p class="small">A position buys a draft spot and coaching tools, not income. Nothing is promised.</p></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/wallet.js?v=1"></script>
<script src="/assets/join.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/wallet.js?v=2"></script>
<script src="/assets/join.js?v=2"></script>
</body>
</html>
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
@@ -28,7 +28,7 @@
<section class="panel"><div class="tbl"><table id="rows"><thead><tr><th>WHEN</th><th>POSITION</th><th>PAID IN THE SAME TRANSACTION</th><th></th></tr></thead><tbody></tbody></table></div></section>
<section class="panel"><h3 style="font-size:24px">Best Coach payouts</h3><div class="tbl"><table id="payouts"><thead><tr><th>WEEK</th><th>COACH</th><th>POL</th><th></th></tr></thead><tbody></tbody></table></div></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/ledger.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/ledger.js?v=2"></script>
</body>
</html>
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body data-page="legal">
<main class="wrap legal">
@@ -32,7 +32,7 @@
<section class="card"><h2>Your choices</h2><p>You can ask us to remove your account and messages here. Records on the blockchain cannot be removed by anyone.</p></section>
<section class="card"><h2>Contact</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>. Last updated November 15, 2026.</p></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/misc.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/misc.js?v=2"></script>
</body>
</html>
+4 -4
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body data-page="promote">
<main class="wrap">
@@ -28,8 +28,8 @@
<p id="status" class="note" hidden></p>
<div id="kit" style="display:flex;flex-direction:column;gap:16px"></div>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/kitpage.js?v=1"></script>
<script src="/assets/misc.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/kitpage.js?v=2"></script>
<script src="/assets/misc.js?v=2"></script>
</body>
</html>
+4 -4
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body>
<main class="wrap">
@@ -52,8 +52,8 @@
</div>
</div>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/wallet.js?v=1"></script>
<script src="/assets/team.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/wallet.js?v=2"></script>
<script src="/assets/team.js?v=2"></script>
</body>
</html>
+3 -3
View File
@@ -19,7 +19,7 @@
<link rel="icon" type="image/png" href="/art/icon-192.png"><link rel="apple-touch-icon" href="/art/icon-192.png">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap">
<link rel="stylesheet" href="/assets/fx.css?v=1">
<link rel="stylesheet" href="/assets/fx.css?v=2">
</head>
<body data-page="legal">
<main class="wrap legal">
@@ -37,7 +37,7 @@
<section class="card"><h2>The service</h2><p>The site is provided as it is. We work to keep it running but cannot promise it will always be available or free of errors. The smart contract runs on Polygon on its own; its rules are public on the <a href="/contract">contract page</a>. We may change features, draft settings, the price of future positions or these terms; changes apply from the date they are posted here. As far as the law allows, our total responsibility to you is limited to what you paid for the purchase in question. These terms are governed by the laws of the State of Alabama, USA.</p></section>
<section class="card"><h2>Contact</h2><p>TrustClickz, 615 Green Valley Drive, Moody, AL 35004. <a href="https://instantadpay.com/support" target="_blank" rel="noopener">Network support</a>. Last updated November 15, 2026.</p></section>
</main>
<script src="/assets/common.js?v=1"></script>
<script src="/assets/misc.js?v=1"></script>
<script src="/assets/common.js?v=2"></script>
<script src="/assets/misc.js?v=2"></script>
</body>
</html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 KiB

After

Width:  |  Height:  |  Size: 439 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 488 KiB

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 760 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 KiB

After

Width:  |  Height:  |  Size: 481 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 492 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 KiB

After

Width:  |  Height:  |  Size: 525 KiB

+1 -1
View File
@@ -1 +1 @@
2026-11-15T12:15:13.035Z 156 passed, 0 failed
2026-11-15T13:45:12.044Z 156 passed, 0 failed
+11 -9
View File
@@ -24,19 +24,21 @@ body{background:#0b1530;color:#fff;font-family:Inter,sans-serif;position:relativ
.g{color:#ffc93c}.tag{display:inline-block;background:#ff4d4d;color:#fff;font-family:Oswald,sans-serif;letter-spacing:2px;white-space:nowrap}
.cta{display:inline-block;background:#ffc93c;color:#0b1530;font-family:Oswald,sans-serif;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}
.stripes{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 9.5%,rgba(255,255,255,.045) 9.5% 10%);pointer-events:none}
.tc{border-style:solid;display:flex;flex-direction:column;color:#0b1530}.tc .t{font-family:Oswald,sans-serif;letter-spacing:3px;text-align:center}.tc .f{display:flex;align-items:center;justify-content:center;font-family:Oswald,sans-serif}`;
`;
const WM = px => `<span class="wm" style="font-size:${px}px">5X<b>YOUR</b>TEAM</span>`;
const TIERS = { rookie: ['ROOKIE', '#e5e9f4', '#9aa6c4', '#0b1530', '#c6cde0', '#4a587e', 'Drafted'], starter: ['STARTER', '#eaf6ef', '#1f8a5b', '#fff', '#bfe3cf', '#1f5c40', 'Wallet linked'],
pro: ['PRO', '#e8eefc', '#2f5be0', '#fff', '#c3d2fa', '#1d3a96', 'Payouts switched on'], allstar: ['ALL-STAR', '#fff7df', '#ffc93c', '#0b1530', '#ffe8a3', '#7a5a00', 'First purchase'],
hof: ['HALL OF FAME', '#1a1030', '#ffc93c', '#0b1530', '#2a1a4a', '#ffc93c', 'Built a team of their own'] };
// one trading card at scale f (base 220 x 380)
// one trading card at scale f (base 220 wide, 2:3): the same front as the site's FX.card (public/assets/common.js), with the
// card CSS lifted from public/assets/fx.css and its /art/tc images inlined as data URIs (setContent pages have no origin)
const FXCSS = fs.readFileSync(path.join(APP, 'public', 'assets', 'fx.css'), 'utf8');
const CARDCSS = ':root{--disp:Oswald,Impact,sans-serif;--gold:#ffc93c;--red:#ff4d4d}' + FXCSS.slice(FXCSS.indexOf('/* Art (public/art/tc'), FXCSS.indexOf('/* Champiun'))
.replace(/url\((\/art\/tc\/[\w.-]+)\)/g, (m, u) => 'url(data:image/' + (u.endsWith('.png') ? 'png' : 'jpeg') + ';base64,' + fs.readFileSync(path.join(APP, 'public', u)).toString('base64') + ')');
const ini = u => String(u || '').replace(/[^A-Za-z0-9]/g, '').slice(0, 2).toUpperCase() || '?';
function tcard(tier, name, team, f) {
const [lab, bg, bd, ink, face, fink, ms] = TIERS[tier];
const hof = tier === 'hof';
return `<div class="tc" style="width:${220 * f}px;height:${380 * f}px;background:${bg};border-width:${6 * f}px;border-color:${bd};${tier === 'allstar' ? `box-shadow:0 0 0 ${3 * f}px #0b1530,0 0 ${24 * f}px rgba(255,201,60,.6);` : hof ? `box-shadow:0 0 0 ${3 * f}px #ff4d4d;` : ''}color:${hof ? '#fff' : '#0b1530'}">
<div class="t" style="background:${hof ? 'linear-gradient(90deg,#ffc93c,#ff4d4d)' : bd};color:${ink};font-size:${15 * f}px;padding:${6 * f}px">${lab}</div>
<div class="f" style="height:${150 * f}px;background:${face};color:${fink};font-size:${48 * f}px">${name.slice(0, 2).toUpperCase()}</div>
<div style="padding:${12 * f}px;display:flex;flex-direction:column;gap:${4 * f}px;font-size:${13 * f}px"><b style="font-family:Oswald,sans-serif;font-size:${20 * f}px">@${name}</b><span>Team @${team}</span><span>${ms}</span></div></div>`;
const [lab, , , , , , ms] = TIERS[tier];
return `<div style="width:${220 * f}px;flex:0 0 auto"><article class="tc ${tier}"><div class="fr"><div class="tier">${lab}</div><div class="face"><span>${ini(name)}</span></div><i class="medal"></i>
<div class="info"><b>@${name}</b><span>Team @${team}</span><span>${ms}</span></div></div></article></div>`;
}
const ANG = {
draft: { k: 'EVERY MONDAY', h1: 'Draft your team', h2: 'every Monday', s: 'Coaches draft people who joined the network without a sponsor. Draft order is earned.', cta: 'Get a position' },
@@ -79,7 +81,7 @@ const coachHtml = () => `<body style="display:flex;padding:0;background:#fff"><d
async function shot(browser, html, file, w, h, fonts) {
const pg = await browser.newPage({ viewport: { width: w, height: h } });
await pg.setContent('<!doctype html><html><head><meta charset="utf-8">' + (fonts ? FONTS : '') + '<style>' + BASE + '</style></head>' + html + '</html>', { waitUntil: 'load' });
await pg.setContent('<!doctype html><html><head><meta charset="utf-8">' + (fonts ? FONTS : '') + '<style>' + BASE + CARDCSS + '</style></head>' + html + '</html>', { waitUntil: 'load' });
await pg.evaluate(() => document.fonts && document.fonts.ready).catch(() => {});
await pg.screenshot({ path: file, clip: { x: 0, y: 0, width: w, height: h } }); await pg.close();
}
+133
View File
@@ -0,0 +1,133 @@
# Builds the web derivatives in public/art/tc (trading cards) and public/art/dd (Draft Day card) plus the subset web font
# public/assets/champiun.woff from the licensed source packs in ../assets-src (Envato Elements, licence "5xYourTeam.com",
# certificates in ../assets-src/envato/licenses) and the kie.ai frame masters in ../assets-src/kie. The raw packs never go in
# public/: only these resized, flattened files do. Local only. Run: python tools/derive-art.py (needs Pillow, numpy, scipy,
# fontTools). See public/art/MANIFEST.md for which file comes from which item.
import os, sys, glob, colorsys
from PIL import Image, ImageFilter
import numpy as np
from scipy import ndimage as nd
Image.MAX_IMAGE_PIXELS = None
APP = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
SRC = os.path.abspath(os.path.join(APP, '..', 'assets-src'))
ENV = os.path.join(SRC, 'envato')
TC = os.path.join(APP, 'public', 'art', 'tc'); DD = os.path.join(APP, 'public', 'art', 'dd')
os.makedirs(TC, exist_ok=True); os.makedirs(DD, exist_ok=True)
TIERS = ['rookie', 'starter', 'pro', 'allstar', 'hof']
def pack(code):
d = [p for p in glob.glob(os.path.join(ENV, code + '__*')) if os.path.isdir(p)]
if not d: sys.exit('missing pack ' + code)
return d[0]
def one(code, pattern):
f = sorted(glob.glob(os.path.join(pack(code), '**', pattern), recursive=True))
f = [x for x in f if '__MACOSX' not in x]
if not f: sys.exit('missing ' + code + ' ' + pattern)
return f[0]
def trim(im):
bb = im.getchannel('A').point(lambda a: 255 if a > 8 else 0).getbbox(); return im.crop(bb)
def square(im, size):
im = trim(im); s = max(im.size); c = Image.new('RGBA', (s, s), (0, 0, 0, 0)); c.paste(im, ((s - im.width) // 2, (s - im.height) // 2))
return c.resize((size, size), Image.LANCZOS)
def save_png(im, path, colors=None):
if colors: im = im.quantize(colors=colors, method=Image.FASTOCTREE, dither=Image.FLOYDSTEINBERG)
im.save(path, optimize=True); print(os.path.relpath(path, APP), os.path.getsize(path) // 1024, 'KB')
def save_jpg(im, path, q=84):
im.convert('RGB').save(path, quality=q, optimize=True, progressive=True); print(os.path.relpath(path, APP), os.path.getsize(path) // 1024, 'KB')
# 1. card frames (kie.ai nano-banana-pro, 1696x2528 masters, 2:3) -> 600x900
KIE = {'rookie': 'r1-rookie', 'starter': 'r2-starter-b', 'pro': 'r1-pro', 'allstar': 'r1-allstar', 'hof': 'r1-hof'}
for t in TIERS:
save_jpg(Image.open(os.path.join(SRC, 'kie', KIE[t] + '.png')).convert('RGB').resize((600, 900), Image.LANCZOS), os.path.join(TC, 'frame-' + t + '.jpg'), 86)
# 2. avatar rings (F4 Tier 3D Frame, Unerispace) -> 320x320
RING = {'rookie': '18', 'starter': '20', 'pro': '12', 'allstar': '15', 'hof': '17'}
for t in TIERS:
save_png(square(Image.open(one('F4', 'Tier Frame ' + RING[t] + '.png')).convert('RGBA'), 320), os.path.join(TC, 'ring-' + t + '.png'), 200)
# 3. rank medals (B1 Game Rank Icons Vol.4, myteamart) -> 160x160
MEDAL = {'rookie': '12', 'starter': '07', 'pro': '09', 'allstar': '03', 'hof': '05'}
for t in TIERS:
save_png(square(Image.open(one('B1', 'ri_4_' + MEDAL[t] + '.png')).convert('RGBA'), 160), os.path.join(TC, 'medal-' + t + '.png'), 160)
# 4. holo foil overlay (F5 15 Holographic Foil Textures Vol.2, DavidBalev, foil 12) -> portrait 600x900
h = Image.open(one('F5', 'Holographic Foil_12.jpg')).convert('RGB'); w = int(h.height * 2 / 3)
save_jpg(h.crop(((h.width - w) // 2, 0, (h.width - w) // 2 + w, h.height)).resize((600, 900), Image.LANCZOS), os.path.join(TC, 'holo.jpg'), 78)
# 5. card back (F1 Futuristic Baseball Trading Card PSD Template, bornx): the back with every text + logo layer hidden, the
# template's green re-tinted to 5xYourTeam gold, 1125x825 -> 900x660
from psd_tools import PSDImage
p = PSDImage.open(one('F1', 'Back-Baseball-Trading-Card-Template.psd'))
for l in p.descendants():
if l.kind == 'type' or 'Logo' in l.name: l.visible = False
b = np.asarray(p.composite(force=True).convert('RGB')).astype(float) / 255
r, g, bl = b[..., 0], b[..., 1], b[..., 2]
mx = b.max(2); mn = b.min(2); green = (g > r + .08) & (g > bl + .04)
lum = (0.3 * r + 0.59 * g + 0.11 * bl)
gold = np.array([1.0, 0.788, 0.235]); deep = np.array([0.80, 0.55, 0.05])
k = np.clip((lum - 0.25) / 0.45, 0, 1)[..., None]
tint = deep * (1 - k) + gold * k
out = np.where(green[..., None], tint, b)
save_jpg(Image.fromarray((out * 255).astype('uint8')).resize((900, 660), Image.LANCZOS), os.path.join(TC, 'back.jpg'), 86)
# 6. Draft Day: gold confetti (D1, PartikusiDesign, overlay 6) 4000x2000 -> 1080x1080 transparent
c = Image.open(one('D1', '6.png')).convert('RGBA').resize((2160, 1080), Image.LANCZOS).crop((540, 0, 1620, 1080))
save_png(c, os.path.join(DD, 'confetti.png'), 128)
# 7. Draft Day: stage spotlights (D2, Pitchlook, background 2) on black, blended with screen -> 1080x1080
s = Image.open(one('D2', 'Stage Spotlight Overlay Background 2.jpg')).convert('RGB').resize((1620, 1080), Image.LANCZOS).crop((270, 0, 1350, 1080))
save_jpg(s, os.path.join(DD, 'spotlight.jpg'), 80)
# 8. Draft Day: scoreboard plate (D5, BoykoPictures). The pack is EPS + a 4167px preview on a baked checkerboard; no EPS
# rasteriser here, so the preview's checkerboard (period 4167/30 px) is modelled and removed, the board plate is cut out
# and its printed TIME / HOME / GUEST / digits are covered with the plate's own clean texture (a blank board).
im = Image.open(one('D5', 'k_049-01.jpg')).convert('RGB'); a = np.asarray(im).astype(int); L = a.mean(2); H, W = L.shape
S = W / 30.0; yy, xx = np.mgrid[0:H, 0:W]
par = (np.floor((yy + .5) / S).astype(int) + np.floor((xx + .5) / S).astype(int)) % 2
v0 = np.median(L[:130, :130]); v1 = np.median(L[:130, 145:270]); exp = np.where(par == 0, v0, v1)
band = (np.abs((yy + .5) / S - np.round((yy + .5) / S)) * S < 2) | (np.abs((xx + .5) / S - np.round((xx + .5) / S)) * S < 2)
bg = ((np.abs(L - exp) <= 7) | (band & (L > 30) & (L < 60))) & ((a.max(2) - a.min(2)) <= 10)
lab, n = nd.label(bg); edge = set(np.unique(np.concatenate([lab[0], lab[-1], lab[:, 0], lab[:, -1]]))) - {0}
fg = nd.binary_opening(~np.isin(lab, list(edge)), iterations=2)
lab2, n2 = nd.label(fg); sizes = nd.sum(fg, lab2, range(1, n2 + 1)); big = int(np.argmax(sizes)) + 1 # the board + posts
board = nd.binary_fill_holes(lab2 == big)
rows = np.where(board.any(1))[0]; cols = np.where(board.any(0))[0]
# the plate is the wide part: rows where the board spans more than 60% of its width (posts are narrow)
wide = [y for y in rows if board[y].sum() > 0.6 * (cols[-1] - cols[0])]; y0, y1 = wide[0], wide[-1]
x0, x1 = cols[0], cols[-1]
orig = np.asarray(im).astype(float); plate = orig.copy()
# clean texture: a strip just inside the left edge of the plate (no print there), mirrored across the interior, then shaded
# left to right toward a clean strip on the right edge (the plate darkens to the right) and feathered into the original
inset = int(0.035 * (x1 - x0)); sx0 = x0 + inset; sw = int(0.04 * (x1 - x0))
strip = orig[:, sx0:sx0 + sw].copy()
ix0, ix1 = x0 + inset, x1 - inset; iy0, iy1 = y0 + int(inset * .55), y1 - inset
fill = np.zeros((iy1 - iy0, ix1 - ix0, 3)); x = 0; flip = False
while x < ix1 - ix0:
wpart = min(sw, ix1 - ix0 - x); part = strip[iy0:iy1, :wpart] if not flip else strip[iy0:iy1, ::-1][:, :wpart]
fill[:, x:x + wpart] = part; x += wpart; flip = not flip
lm = strip[iy0:iy1].mean((1, 2)); rm = orig[iy0:iy1, ix1 - sw:ix1].mean((1, 2))
lm = nd.uniform_filter1d(lm, 61); rm = nd.uniform_filter1d(rm, 61)
t = np.linspace(0, 1, ix1 - ix0)[None, :]; ratio = (1 + t * (rm / np.maximum(lm, 1) - 1)[:, None])[..., None]
fill = fill * ratio
m = np.zeros(L.shape); m[iy0:iy1, ix0:ix1] = 1; m = nd.gaussian_filter(m, 4)[iy0:iy1, ix0:ix1][..., None]
plate[iy0:iy1, ix0:ix1] = fill * m + orig[iy0:iy1, ix0:ix1] * (1 - m)
plate = np.clip(plate, 0, 255).astype('uint8')
alpha = Image.fromarray((board * 255).astype('uint8')).filter(ImageFilter.GaussianBlur(1.2))
pl = Image.fromarray(plate); pl.putalpha(alpha); pl = pl.crop((x0 - 4, y0 - 4, x1 + 5, y1 + 5))
# the Draft Day card wants a wide, short panel (900 x 210): drop rows from the plate's uniform middle instead of squashing it
th = int(210 * pl.width / 900); keep = th // 2
pl = Image.fromarray(np.concatenate([np.asarray(pl)[:keep], np.asarray(pl)[-(th - keep):]]))
save_png(pl.resize((900, 210), Image.LANCZOS), os.path.join(DD, 'scoreboard.png'), 96)
# 9. Champiun (T3, DikasStudio) Bold, subset to Basic Latin, WOFF (only the "ON THE CLOCK" headline and pick numbers use it)
from fontTools import subset
from fontTools.ttLib import TTFont
f = TTFont(one('T3', 'Champiun-Bold.ttf'))
sub = subset.Subsetter(subset.Options(layout_features=['kern', 'liga'], flavor='woff', desubroutinize=True))
sub.populate(unicodes=list(range(0x20, 0x7f)) + [0x2019, 0xb7]); sub.subset(f)
f.flavor = 'woff'; fp = os.path.join(APP, 'public', 'assets', 'champiun.woff'); f.save(fp); print('public/assets/champiun.woff', os.path.getsize(fp) // 1024, 'KB')
+12 -7
View File
@@ -8,7 +8,7 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
const PUB = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'public');
const SITE = 'https://5xyourteam.com';
const V = { css: 1, js: 1 };
const V = { css: 2, js: 2 };
const F = { co: 'TrustClickz', addr: '615 Green Valley Drive, Moody, AL 35004', updated: 'November 15, 2026', usd: 10, picks: 5, rounds: 5, returnDays: 3, maxOpen: 10 };
const FONTS = 'https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;600;700&display=swap';
const NOTE = 'A position buys a draft spot and coaching tools, not income. Nothing is promised.';
@@ -118,7 +118,7 @@ page('cards.html', { path: '/cards', title: 'Card Collection | 5xYourTeam', desc
<section class="sh"><div><p class="kicker">CARD COLLECTION</p><h1 style="font-size:44px">Trading cards: they level up as your picks do</h1></div><p>Public cards show milestones, never earnings.</p></section>
<section id="mine" hidden style="display:flex;flex-direction:column;gap:12px"><h2 id="mineTitle"></h2><div class="cards" id="mineCards"></div></section>
<section style="display:flex;flex-direction:column;gap:12px"><h2>The five tiers</h2><div class="cards" id="tiers"></div>
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team.</p></section>
<p class="small">Rookie when drafted, Starter when they link a wallet, Pro when they switch on payouts, All-Star at their first purchase, Hall of Fame when they hold a position of their own and coach a team. Tap a card to flip it for the stats on the back.</p></section>
</main>
`, ['cards.js']);
@@ -184,13 +184,18 @@ page('admin.html', { path: '/admin', title: 'Admin | 5xYourTeam', desc: 'Admin.'
fs.writeFileSync(path.join(PUB, 'draftday.html'), `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="noindex"><title>Draft Day | 5xYourTeam</title>
<link rel="stylesheet" href="${FONTS}"><style>
*{box-sizing:border-box}body{margin:0;width:1080px;height:1080px;overflow:hidden;background:#0b1530}
.dd{width:1080px;height:1080px;background:#0b1530;color:#fff;font-family:Inter,system-ui,sans-serif;padding:64px;display:flex;flex-direction:column;gap:32px;border:14px solid #ffc93c}
@font-face{font-family:Champiun;src:url(/assets/champiun.woff) format('woff');font-weight:700}
.dd{position:relative;width:1080px;height:1080px;background:radial-gradient(ellipse at 50% 0,#1b2c5e 0,#0b1530 62%);color:#fff;font-family:Inter,system-ui,sans-serif;padding:52px 64px 56px;display:flex;flex-direction:column;gap:26px;border:14px solid #ffc93c;overflow:hidden}
.dd>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.dd .spot{mix-blend-mode:screen;opacity:.6}.dd .conf{opacity:.5}
.dd>:not(img){position:relative;z-index:1}
.top{display:flex;justify-content:space-between;align-items:center}.wm{font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:44px;letter-spacing:1px}.wm b{color:#ffc93c}
.wk{font-family:Oswald,sans-serif;font-size:22px;background:#ff4d4d;padding:6px 14px;letter-spacing:3px}
h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:120px;line-height:.95}h1 span{color:#ffc93c}
.rows{display:flex;flex-direction:column;gap:14px;font-size:30px}.dd-r{display:flex;justify-content:space-between;border-bottom:2px solid #2a3a6e;padding-bottom:10px}.dd-r .s{font-family:Oswald,sans-serif;color:#ffc93c}
.ft{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end}.ft div{display:flex;flex-direction:column;gap:6px;font-size:26px}.ft .p{color:#ffc93c}.url{font-family:Oswald,sans-serif;font-size:26px;color:#b8c4e0}
</style></head><body data-page="draftday"><div class="dd"><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
h1{margin:0;font-family:Oswald,Impact,sans-serif;font-weight:700;font-size:108px;line-height:.95;text-shadow:0 6px 24px rgba(0,0,0,.55)}h1 span{color:#ffc93c}
.rows{display:flex;flex-direction:column;gap:12px;font-size:30px;background:rgba(7,16,42,.86);padding:16px 24px;border-left:6px solid #ffc93c}.dd-r{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid #2a3a6e;padding-bottom:8px}.dd-r:last-child{border-bottom:0;padding-bottom:0}
.dd-r .s{font-family:Champiun,Oswald,sans-serif;font-weight:700;color:#ffc93c;font-size:34px;letter-spacing:1px;min-width:90px}
.ft{margin-top:auto;height:216px;background:url(/art/dd/scoreboard.png) center/100% 100% no-repeat;padding:34px 48px;display:flex;justify-content:space-between;align-items:center;filter:drop-shadow(0 10px 24px rgba(0,0,0,.6))}
.ft div{display:flex;flex-direction:column;gap:10px;font-family:Oswald,sans-serif;font-size:32px;letter-spacing:.5px}.ft .p{color:#ffc93c}.url{font-family:Oswald,sans-serif;font-size:26px;color:#b8c4e0;align-self:flex-end}
</style></head><body data-page="draftday"><div class="dd"><img class="spot" src="/art/dd/spotlight.jpg" alt=""><img class="conf" src="/art/dd/confetti.png" alt=""><div class="top"><span class="wm">5X<b>YOUR</b>TEAM</span><span class="wk" id="ddWeek"></span></div>
<h1>DRAFT DAY<br><span>RESULTS</span></h1><div class="rows" id="ddRows"></div>
<div class="ft"><div><span id="ddStats"></span><span class="p" id="ddPot"></span></div><span class="url">5xyourteam.com</span></div></div>
<script src="/assets/common.js?v=${V.js}"></script><script src="/assets/misc.js?v=${V.js}"></script></body></html>