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
+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}
}