Restyle ViralAdBlitz to the approved "daylight cyberpunk" look (Marty 2026-11-14)
Replaces the dark ink-green/amber newsroom look Marty rejected as too dark. Look only: routes, ids, copy facts and the trust pack are unchanged. - vab.css rewritten around CSS variables: #EAF0FF ground, white clipped cards, royal #0A1F6B bands/ticker, #0A2FA8 hero panels with network lines, red pill CTA, gold Boost/boosted, Barlow Condensed / Chakra Petch / Inter / JetBrains Mono. [hidden] now always wins over display rules. - Front page: slanted hero, ribbon, green-check list, rising bars, three YOUR AD screens, gold chips; board tabs (verified clicks / on the wire / boosted, from data the page already has); Boost band; ledger chips. - Member page: own ad as a hero panel, level rows with LEVEL chips, royal join bar. Rows are now labelled LEVEL 1 to LEVEL 5 in display order (Marty's decision); the real place is kept in the API as depth. - My page becomes the dashboard: side menu, stat cards, my-ad card with LIVE/BOOSTED badges and a folded editor, line bars, Boost ring, recent activity, payouts. All figures from /api/my, nothing estimated. - Boost, ledger, contract, promote, legal and admin pages restyled; 404 too. - Default JOIN_URL is now https://instantadpay.com/join/{ref} (no ref falls back to the InstantAdPay home page). - New mark, icon, OG image, 21 kit creatives and 3 proof cards (royal/daylight/navy) rendered by tools/art.mjs; asset tags bumped to v=4. - smoke.mjs: new headline, level/depth and join URL checks, UI_FONTS=1. Tests: qa/smoke.mjs 162/162, qa/chain.mjs 20/20 (local anvil). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+15
-10
@@ -1,5 +1,5 @@
|
||||
// Shared page helpers (VAB namespace, modelled on VBB / Downline Banners common.js): nav, the amber ticker, verified visits,
|
||||
// ad cards, footer (legal, company line, the network line from the hub), network ad zones and toasts of real events.
|
||||
// Shared page helpers (VAB namespace, modelled on VBB / Downline Banners common.js): nav, the royal ticker, verified visits,
|
||||
// ad cards, the shared SVG bits of the daylight look (mark, network lines, green checks), footer (legal, company line, the network line from the hub), network ad zones and toasts of real events.
|
||||
window.VAB = (function () {
|
||||
let cfgP = null, vt = null;
|
||||
const $ = id => document.getElementById(id);
|
||||
@@ -12,10 +12,14 @@ window.VAB = (function () {
|
||||
async function getJSON(url, opts) { const r = await fetch(url, opts); let j = {}; try { j = await r.json(); } catch (e) {} if (!r.ok && !j.error) j.error = 'Request failed (' + r.status + ')'; j._status = r.status; return j; }
|
||||
const post = (url, body) => getJSON(url, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(body || {}) });
|
||||
|
||||
// the daylight look's shared SVG bits
|
||||
const MARK = '<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#3D8BFF" stroke-width="2.4" aria-hidden="true"><path d="M4 18 L12 4 L20 18"/><path d="M8 12 H16" stroke="#FF3B30"/></svg>';
|
||||
const NETLINES = '<svg class="netlines" viewBox="0 0 600 400" preserveAspectRatio="none" aria-hidden="true"><g stroke="#9DBEFF" stroke-width="1" fill="none"><path d="M0 300 Q150 180 300 240 T600 120"/><path d="M0 220 Q200 90 360 160 T600 40"/><path d="M40 400 L220 120 L420 260 L600 60"/></g><g fill="#FFC21A"><circle cx="220" cy="120" r="4"/><circle cx="420" cy="260" r="4"/><circle cx="360" cy="160" r="3"/><circle cx="300" cy="240" r="3"/><circle cx="520" cy="90" r="4"/></g></svg>';
|
||||
const CHECK = '<svg width="24" height="24" viewBox="0 0 26 26" aria-hidden="true"><circle cx="13" cy="13" r="12" fill="#16B85A" stroke="#FFFFFF" stroke-width="2"/><path d="M7.5 13.5 L11.5 17 L18.5 9" fill="none" stroke="#FFFFFF" stroke-width="3"/></svg>';
|
||||
function renderNav(active) {
|
||||
const nav = document.createElement('nav'); nav.className = 'top';
|
||||
const links = [['/#board', 'Top ads'], ['/my', 'My page'], ['/boost', 'Boost'], ['/ledger', 'Ledger'], ['/contract', 'Contract'], ['/promote', 'Promote']];
|
||||
nav.innerHTML = '<div class="wrap"><a class="brand" href="/"><span class="wm">ViralAdBlitz</span><span class="live">LIVE</span></a><div class="links">'
|
||||
nav.innerHTML = '<div class="wrap"><a class="brand" href="/" aria-label="ViralAdBlitz, front page"><span class="mk">' + MARK + '</span><span class="wm">VIRAL<b>AD</b>BLITZ</span></a><div class="links">'
|
||||
+ links.map(l => '<a href="' + l[0] + '"' + (l[0] === active ? ' class="on" aria-current="page"' : '') + '>' + l[1] + '</a>').join('') + '</div>'
|
||||
+ '<a class="cta" href="/my">Post my free text ad</a></div>';
|
||||
document.body.prepend(nav);
|
||||
@@ -30,15 +34,16 @@ window.VAB = (function () {
|
||||
const el = $('ticker'); if (!el) return;
|
||||
if (!items || !items.length) { el.innerHTML = '<span class="empty">The wire is quiet. Post the first text ad.</span>'; return; }
|
||||
const one = items.map(t => '<a data-go="' + t.id + '" data-p="ticker" target="_blank" rel="noopener sponsored" class="' + (t.boosted ? 'star' : '') + '" href="' + goHref(t.id, 'ticker') + '">'
|
||||
+ (t.boosted ? '<b>★ BOOSTED:</b> ' : '▲ ') + esc(t.headline) + ' · ' + esc(t.owner) + '</a>').join('');
|
||||
+ (t.boosted ? '<b>★ BOOSTED</b> ' : '<i>▲ LIVE</i> ') + esc(t.headline) + ' · ' + esc(t.owner) + '</a>').join('');
|
||||
const reps = Math.max(1, Math.ceil(8 / items.length));
|
||||
el.innerHTML = '<div class="run" style="--tick-s:' + Math.max(30, items.length * reps * 6) + 's">' + one.repeat(reps) + one.repeat(reps) + '</div>';
|
||||
}
|
||||
// a newsprint card for a text ad (front board, member page Boosted places)
|
||||
function paper(t, tag, place) {
|
||||
return '<article class="paper' + (t.boosted ? ' star' : '') + '"><span class="tag">' + (t.boosted ? '★ BOOSTED' + (tag ? ' · ' : '') : '') + esc(tag || '') + '</span>'
|
||||
// a white clipped card for a text ad (front board, member page Boosted places); right = a small figure (verified clicks)
|
||||
function paper(t, tag, place, right) {
|
||||
const lab = (t.boosted ? '★ BOOSTED' + (tag ? ' · ' : '') : '') + (tag || '');
|
||||
return '<article class="paper' + (t.boosted ? ' star' : '') + '">' + (lab || right ? '<div class="top"><span class="tag">' + esc(lab) + '</span>' + (right ? '<span class="cl">' + esc(right) + '</span>' : '') + '</div>' : '')
|
||||
+ '<h3>' + esc(t.headline) + '</h3><p>' + esc(t.line1) + (t.line2 ? ' ' + esc(t.line2) : '') + '</p>'
|
||||
+ '<a class="visit" data-go="' + t.id + '" data-p="' + esc(place || 'card') + '" target="_blank" rel="noopener sponsored" href="' + goHref(t.id, place) + '">Visit ' + esc(t.host) + ' · ' + esc(t.owner) + '</a></article>';
|
||||
+ '<div class="foot"><a class="visit" data-go="' + t.id + '" data-p="' + esc(place || 'card') + '" target="_blank" rel="noopener sponsored" href="' + goHref(t.id, place) + '">Visit ' + esc(t.host) + '</a><span class="host">' + esc(t.owner) + '</span></div></article>';
|
||||
}
|
||||
// the page's data and its verified visit: the ads come with a ticket; after visitSeconds of the page being visible the
|
||||
// visit is sent once, and from then on clicks carry the verified token
|
||||
@@ -109,7 +114,7 @@ window.VAB = (function () {
|
||||
const seen = new Set(); let first = true;
|
||||
const box = document.createElement('div'); box.className = 'toasts'; box.setAttribute('aria-live', 'polite'); document.body.appendChild(box);
|
||||
const show = c => {
|
||||
const el = document.createElement('a'); el.className = 'toast';
|
||||
const el = document.createElement('a'); el.className = 'toast' + (c.kind === 'boost' ? ' gold' : '');
|
||||
if (c.kind === 'boost') { el.href = '/ledger'; el.innerHTML = '<b>' + (c.name ? '@' + esc(c.name) : 'A member') + ' just boosted an ad</b><br><span>' + (c.levels ? (c.levels === 1 ? '1 sponsor' : c.levels + ' sponsors') + ' paid in the same transaction' : 'paid on-chain, split by the contract') + '</span>'; }
|
||||
else { el.href = '/'; el.innerHTML = '<b>' + (c.name ? '@' + esc(c.name) : 'A member') + ' posted a new text ad</b><br><span>' + esc(c.headline) + '</span>'; }
|
||||
box.appendChild(el); requestAnimationFrame(() => el.classList.add('in'));
|
||||
@@ -125,5 +130,5 @@ window.VAB = (function () {
|
||||
}
|
||||
const polOf = (w, d) => { try { const k = BigInt(w || 0); const v = Number(k / 10n ** 12n) / 1e6; return v.toFixed(d != null ? d : (v >= 100 ? 2 : 4)); } catch (e) { return '0'; } };
|
||||
const when = t => t ? new Date(t).toLocaleString('en-US', { timeZone: 'America/Chicago', month: 'short', day: 'numeric', hour: 'numeric', minute: '2-digit' }) + ' CT' : '';
|
||||
return { $, esc, getConfig, short, framed, status, getJSON, post, n, renderNav, renderFooter, renderTicker, paper, wire, decorate, goHref, polOf, when };
|
||||
return { MARK, NETLINES, CHECK, $, esc, getConfig, short, framed, status, getJSON, post, n, renderNav, renderFooter, renderTicker, paper, wire, decorate, goHref, polOf, when };
|
||||
})();
|
||||
|
||||
+18
-5
@@ -1,4 +1,5 @@
|
||||
// Front page: the ticker, today's numbers, "Top ads this week" by verified clicks, the live ledger and the contract box.
|
||||
// Front page: the ticker, today's numbers, "Top ads this week" by verified clicks (with "On the wire" and "Boosted" views of the
|
||||
// ads the ticker already shows), the live ledger and the contract box.
|
||||
(async function () {
|
||||
VAB.renderNav('/'); VAB.renderFooter();
|
||||
const $ = VAB.$, esc = VAB.esc;
|
||||
@@ -6,8 +7,20 @@
|
||||
const t = d.today || {};
|
||||
$('stViews').textContent = VAB.n(t.views); $('stClicks').textContent = VAB.n(t.vclicks); $('stBoosts').textContent = VAB.n(t.boosts); $('stAds').textContent = VAB.n(t.ads);
|
||||
const items = (d.board && d.board.items) || [];
|
||||
$('boardCards').innerHTML = items.length ? items.map(x => VAB.paper(x, 'No. ' + x.rank + ' · ' + VAB.n(x.clicks) + ' verified click' + (x.clicks === 1 ? '' : 's'), 'board')).join('')
|
||||
: '<p class="muted">No verified clicks yet this week. The first ad clicked by a verified visitor takes No. 1.</p>';
|
||||
const wireAds = d.ticker || [];
|
||||
const views = {
|
||||
clicks: () => items.length ? items.map(x => VAB.paper(x, '#' + x.rank, 'board', VAB.n(x.clicks) + ' verified click' + (x.clicks === 1 ? '' : 's'))).join('')
|
||||
: '<p class="muted">No verified clicks yet this week. The first ad clicked by a verified visitor takes #1.</p>',
|
||||
wire: () => wireAds.length ? wireAds.map(x => VAB.paper(x, x.boosted ? '' : 'LIVE', 'wire')).join('') : '<p class="muted">The wire is quiet. Post the first text ad.</p>',
|
||||
boosted: () => { const b = wireAds.filter(x => x.boosted); return b.length ? b.map(x => VAB.paper(x, '', 'wire')).join('') : '<p class="muted">No Boosted ads on the wire right now. A Boost stars your ad here and on the ticker.</p>'; }
|
||||
};
|
||||
const show = k => {
|
||||
$('boardCards').innerHTML = views[k]();
|
||||
document.querySelectorAll('#board [data-sort]').forEach(b => { const on = b.dataset.sort === k; b.classList.toggle('on', on); b.setAttribute('aria-pressed', on ? 'true' : 'false'); });
|
||||
VAB.decorate();
|
||||
};
|
||||
document.querySelectorAll('#board [data-sort]').forEach(b => { b.onclick = () => show(b.dataset.sort); });
|
||||
show('clicks');
|
||||
// the ledger: the newest Boost rows and their payouts
|
||||
const L = await VAB.getJSON('/api/ledger?n=6').catch(() => ({}));
|
||||
const ex = L.explorer || 'https://polygonscan.com';
|
||||
@@ -15,8 +28,8 @@
|
||||
const rows = [];
|
||||
for (const r of (L.items || [])) {
|
||||
const link = '<a href="' + esc(ex) + '/tx/' + esc(r.tx) + '" target="_blank" rel="noopener">verify</a>';
|
||||
rows.push('<tr><td>' + VAB.when(r.at) + '</td><td class="ev">Boost bought</td><td>' + who(r.buyer, r.buyerName) + '</td><td>' + VAB.polOf(r.weiPaid) + '</td><td>' + link + '</td></tr>');
|
||||
for (const p of r.pays || []) if (p.level > 0) rows.push('<tr><td></td><td>Paid level ' + p.level + (p.failed ? ' (waiting to be claimed)' : '') + '</td><td>' + (p.to ? who(p.to, p.name) : 'sponsor') + '</td><td>' + VAB.polOf(p.wei) + '</td><td>' + link + '</td></tr>');
|
||||
rows.push('<tr><td>' + VAB.when(r.at) + '</td><td><span class="chip red">Boost bought</span></td><td>' + who(r.buyer, r.buyerName) + '</td><td class="pol">' + VAB.polOf(r.weiPaid) + '</td><td>' + link + '</td></tr>');
|
||||
for (const p of r.pays || []) if (p.level > 0) rows.push('<tr><td></td><td><span class="chip blue">Paid level ' + p.level + '</span>' + (p.failed ? ' <span class="small muted">(waiting to be claimed)</span>' : '') + '</td><td>' + (p.to ? who(p.to, p.name) : 'sponsor') + '</td><td class="pol">' + VAB.polOf(p.wei) + '</td><td>' + link + '</td></tr>');
|
||||
}
|
||||
$('ledgerMini').querySelector('tbody').innerHTML = rows.length ? rows.slice(0, 12).join('') : '<tr><td colspan="5" class="muted">No Boosts yet. The first one shows here within a minute of its transaction.</td></tr>';
|
||||
if (L.contract) { $('cAddr').textContent = 'Polygon · ' + L.contract + ' · read it live'; $('cLink').textContent = 'View the contract proof'; }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// A member's page (viraladblitz.com/<username>): their own ad, the ads of the first five people above them in the network sponsor
|
||||
// line who have an ad here (labelled by their place in the line), Boosted places, and "join free under this member".
|
||||
// line who have an ad here (labelled LEVEL 1 to LEVEL 5 in the order shown), Boosted places, and "join free under this member".
|
||||
(async function () {
|
||||
VAB.renderNav(''); VAB.renderFooter();
|
||||
const $ = VAB.$, esc = VAB.esc;
|
||||
@@ -12,11 +12,12 @@
|
||||
$('teamHead').textContent = 'Also recommended by @' + pg.username + '\'s team';
|
||||
if (pg.ad) {
|
||||
const a = pg.ad;
|
||||
$('own').innerHTML = '<article class="paper big">' + (a.boosted ? '<span class="tag">★ BOOSTED</span>' : '') + '<h1>' + esc(a.headline) + '</h1><p>' + esc(a.line1) + (a.line2 ? ' ' + esc(a.line2) : '') + '</p>'
|
||||
+ '<div class="row" style="margin-top:4px"><a class="btn-green" data-go="' + a.id + '" data-p="own" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(a.id, 'own') + '">Take a look</a><span class="host mono small" style="color:var(--paper-sub)">' + esc(a.host) + ' · this member\'s own ad</span></div></article>';
|
||||
$('own').innerHTML = '<article class="paper big' + (a.boosted ? ' star' : '') + '">' + VAB.NETLINES + '<span class="tag mono">' + (a.boosted ? '★ BOOSTED · ' : '') + 'THIS MEMBER\'S OWN AD</span><h1>' + esc(a.headline) + '</h1><p>' + esc(a.line1) + (a.line2 ? ' ' + esc(a.line2) : '') + '</p>'
|
||||
+ '<div class="row" style="margin-top:6px"><a class="pill-cta" data-go="' + a.id + '" data-p="own" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(a.id, 'own') + '">Take a look<span class="chev" aria-hidden="true"> »</span></a><span class="host mono small">' + esc(a.host) + '</span></div></article>';
|
||||
} else $('own').innerHTML = '<div class="card"><h2>@' + esc(pg.username) + ' has not posted an ad yet</h2><p>Their team\'s ads are below.</p></div>';
|
||||
const rows = (pg.line || []).map(x => '<div class="lvl' + (x.boosted ? ' star' : '') + '"><span class="no">LEVEL ' + x.level + '</span><div class="txt"><b>' + esc(x.headline) + '</b><div>' + esc(x.line1) + (x.line2 ? ' ' + esc(x.line2) : '') + ' ' + esc(x.owner) + (x.boosted ? ' · ★ Boosted' : '') + '</div></div>'
|
||||
+ '<a class="btn-line" data-go="' + x.id + '" data-p="level' + x.level + '" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(x.id, 'level' + x.level) + '">Visit</a></div>');
|
||||
// LEVEL n = the nth row shown (Marty 2026-11-14), whatever the person's real place in the line
|
||||
const rows = (pg.line || []).map((x, i) => '<div class="lvl' + (x.boosted ? ' star' : '') + '"><span class="no">LEVEL ' + (i + 1) + '</span><div class="txt"><b>' + esc(x.headline) + '</b><div>' + esc(x.line1) + (x.line2 ? ' ' + esc(x.line2) : '') + ' <span class="muted">' + esc(x.owner) + '</span>' + (x.boosted ? ' · <b class="mono" style="font-size:13px;color:var(--link)">★ BOOSTED</b>' : '') + '</div></div>'
|
||||
+ '<a class="btn-line" data-go="' + x.id + '" data-p="level' + (i + 1) + '" target="_blank" rel="noopener sponsored" href="' + VAB.goHref(x.id, 'level' + (i + 1)) + '">Visit</a></div>');
|
||||
for (let i = rows.length; i < 5; i++) rows.push('<div class="lvl open"><span class="no">OPEN</span><div class="txt"><b>An open place</b><div>' + (pg.hubOk === false && !i ? 'The network line is loading slowly. Try again in a minute.' : 'When more of this member\'s line posts an ad, it shows here.') + '</div></div></div>');
|
||||
$('levels').innerHTML = rows.join('');
|
||||
if ((pg.boosted || []).length) { $('boostedSec').hidden = false; $('boosted').innerHTML = pg.boosted.map(x => VAB.paper(x, '', 'boosted')).join(''); }
|
||||
|
||||
+60
-20
@@ -1,5 +1,5 @@
|
||||
// My page: sign in (network or wallet), post or edit the one free text ad, the member's page link, their line, Boost delivery,
|
||||
// and what the contract has paid them.
|
||||
// My page (the member dashboard): sign in (network or wallet), post or edit the one free text ad, the member's page link, their
|
||||
// line, Boost delivery, recent activity and what the contract has paid them. Every figure comes from /api/my; nothing is estimated.
|
||||
(async function () {
|
||||
VAB.renderNav('/my'); VAB.renderFooter(); VAB.wire('other').catch(() => {});
|
||||
const $ = VAB.$, esc = VAB.esc;
|
||||
@@ -19,35 +19,75 @@
|
||||
}
|
||||
$('signout').onclick = async () => { await VAB.post('/api/auth/logout'); location.reload(); };
|
||||
const counter = (inp, out, max) => { const f = () => { out.textContent = inp.value.length + ' / ' + max; }; inp.addEventListener('input', f); f(); };
|
||||
const copyText = (t, b) => { try { navigator.clipboard.writeText(t); b.textContent = 'Copied'; setTimeout(() => { b.textContent = 'Copy my link'; }, 1400); } catch (e) {} };
|
||||
const copyText = (t, b) => { const o = b.textContent; try { navigator.clipboard.writeText(t); b.textContent = 'Copied'; setTimeout(() => { b.textContent = o; }, 1400); } catch (e) {} };
|
||||
const ex = c.explorer || 'https://polygonscan.com';
|
||||
const vlink = tx => '<a href="' + esc(ex) + '/tx/' + esc(tx) + '" target="_blank" rel="noopener">verify</a>';
|
||||
const stat = (label, val, note, cls) => '<div class="stat' + (cls ? ' ' + cls : '') + '"><span>' + label + '</span><b>' + val + '</b>' + (note ? '<em>' + note + '</em>' : '') + '</div>';
|
||||
let counted = false;
|
||||
async function load() {
|
||||
const d = await VAB.getJSON('/api/my'); if (d.error) { VAB.status(d.error, 'err'); return; }
|
||||
$('dash').hidden = false;
|
||||
const a = d.ad; const lim = c.ad || { headline: 60, line: 90 };
|
||||
$('stats').innerHTML = '<div class="stat"><b>' + (d.username ? '@' + esc(d.username) : esc(VAB.short(d.address))) + '</b><span>' + (d.netVerified ? 'network member' : 'not in the network yet') + '</span></div>'
|
||||
+ '<div class="stat"><b>' + VAB.n(a ? a.views : 0) + '</b><span>verified views of your ad</span></div>'
|
||||
+ '<div class="stat"><b>' + VAB.n(a ? a.vclicks : 0) + '</b><span>verified clicks</span></div>'
|
||||
+ '<div class="stat"><b>' + VAB.polOf(d.earned && d.earned.wei) + '</b><span>POL paid to you by the contract</span></div>';
|
||||
const name = d.username ? '@' + d.username : VAB.short(d.address);
|
||||
const boosts = d.boosts || [];
|
||||
const active = boosts.filter(b => b.status === 'delivering');
|
||||
$('dHello').textContent = 'Welcome back, ' + name;
|
||||
$('whoVia').textContent = d.netVerified ? 'Signed in through the network' : 'Signed in with your wallet';
|
||||
$('whoName').textContent = name; $('whoAddr').textContent = VAB.short(d.address);
|
||||
|
||||
// stat cards (lifetime figures of the member's own ad, Boost delivery, contract payouts)
|
||||
const bv = boosts.reduce((s, b) => s + (b.views || 0), 0), bd = boosts.reduce((s, b) => s + Math.min(b.delivered || 0, b.views || 0), 0);
|
||||
$('stats').innerHTML = stat('Verified views of your ad', VAB.n(a ? a.views : 0), 'real visitors, once a day each')
|
||||
+ stat('Verified clicks', VAB.n(a ? a.vclicks : 0), 'never your own', 'red')
|
||||
+ stat('Boost views delivered', VAB.n(bd), boosts.length ? 'of ' + VAB.n(bv) + ' guaranteed' : 'no Boost yet', 'blue')
|
||||
+ stat('Paid to your wallet', VAB.polOf(d.earned && d.earned.wei) + ' POL', 'straight from the contract', 'dark');
|
||||
|
||||
// the page link
|
||||
$('pageCard').innerHTML = d.page
|
||||
? '<h2>Your page</h2><p>Share it anywhere. It shows your ad and the five people above you, and everyone who joins through it shows your ad on their page.</p><p class="mono" style="overflow-wrap:anywhere"><a id="pageLink" href="' + esc(d.page) + '" target="_blank" rel="noopener">' + esc(d.page) + '</a></p><div class="row"><button class="btn-line" type="button" id="copyPage">Copy my link</button><a class="btn-quiet" href="/promote">Promo kit</a></div>'
|
||||
: '<h2>Your page</h2><p>Your page address uses your network username. Sign in through InstantAdPay or LinkSpin once and it is set.</p>';
|
||||
? '<div class="hd"><h2>Your page</h2></div><p>Share it anywhere. It shows your ad and the five people above you, and everyone who joins through it shows your ad on their page.</p><p class="mono" style="overflow-wrap:anywhere;margin:0"><a id="pageLink" href="' + esc(d.page) + '" target="_blank" rel="noopener">' + esc(d.page) + '</a></p><div class="row" style="margin:0"><button class="btn-line" type="button" id="copyPage">Copy my link</button><a class="btn-soft" href="/promote">Promo kit</a></div>'
|
||||
: '<div class="hd"><h2>Your page</h2></div><p>Your page address uses your network username. Sign in through InstantAdPay or LinkSpin once and it is set.</p>';
|
||||
if ($('copyPage')) $('copyPage').onclick = () => copyText(d.page, $('copyPage'));
|
||||
$('copyTop').hidden = !d.page; $('copyTop').onclick = () => copyText(d.page, $('copyTop'));
|
||||
|
||||
// my text ad: badges, preview, the form (folded behind "Edit ad" once the ad exists)
|
||||
$('adBadges').innerHTML = a ? (a.status === 'live' ? '<span class="chip live">LIVE</span>' : '<span class="chip idle">' + esc(a.status.toUpperCase()) + '</span>') + (active.length ? ' <span class="chip gold">★ BOOSTED</span>' : '') : '';
|
||||
$('adPrev').innerHTML = a ? '<div class="adprev' + (active.length ? ' star' : '') + '">' + (active.length ? '<span class="tag">★ BOOSTED</span>' : '') + '<b>' + esc(a.headline) + '</b><span>' + esc(a.line1) + '</span>' + (a.line2 ? '<span>' + esc(a.line2) + '</span>' : '') + '<a href="' + esc(a.link) + '" target="_blank" rel="noopener nofollow">' + esc(a.link.replace(/^https?:\/\//, '').slice(0, 60)) + '</a></div>'
|
||||
+ '<div class="row" style="margin-top:14px"><button type="button" class="btn-line" id="editAd">Edit ad</button>' + (d.page ? '<a class="btn-soft" href="' + esc(d.page) + '" target="_blank" rel="noopener">Preview my page</a>' : '') + '</div>' : '';
|
||||
if (!d.netVerified) {
|
||||
$('adNote').innerHTML = 'Text ads are free for network members. This wallet is not in the network yet: <a href="' + esc(d.joinUrl) + '" target="_blank" rel="noopener">join InstantAdPay free</a>, link this wallet there, then sign in here through InstantAdPay.';
|
||||
$('adForm').hidden = true;
|
||||
$('adForm').hidden = true; if ($('editAd')) $('editAd').hidden = true;
|
||||
} else {
|
||||
$('adForm').hidden = false;
|
||||
if (a) { $('adHead').textContent = 'Your text ad' + (a.status !== 'live' ? ' (' + a.status + ')' : ''); $('fHead').value = a.headline; $('fL1').value = a.line1; $('fL2').value = a.line2 || ''; $('fLink').value = a.link; $('adSave').textContent = 'Save changes'; }
|
||||
counter($('fHead'), $('cHead'), lim.headline); counter($('fL1'), $('cL1'), lim.line); counter($('fL2'), $('cL2'), lim.line);
|
||||
$('adForm').hidden = !!a; $('adNote').hidden = !!a;
|
||||
if ($('editAd')) $('editAd').onclick = () => { const h = !$('adForm').hidden; $('adForm').hidden = h; $('adNote').hidden = h; $('editAd').textContent = h ? 'Edit ad' : 'Close the editor'; if (!h) $('fHead').focus(); };
|
||||
if (a) { $('adHead').textContent = 'My text ad'; $('fHead').value = a.headline; $('fL1').value = a.line1; $('fL2').value = a.line2 || ''; $('fLink').value = a.link; $('adSave').textContent = 'Save changes'; }
|
||||
if (!counted) { counter($('fHead'), $('cHead'), lim.headline); counter($('fL1'), $('cL1'), lim.line); counter($('fL2'), $('cL2'), lim.line); counted = true; }
|
||||
else ['fHead', 'fL1', 'fL2'].forEach(id => $(id).dispatchEvent(new Event('input')));
|
||||
}
|
||||
$('line').innerHTML = (d.line || []).length ? '<p class="small">The people above you in the network, nearest first. Your page shows the first five who have an ad here.</p>'
|
||||
+ d.line.map(x => '<div class="kit-row"><span class="mono" style="color:var(--amber);width:84px">PLACE ' + x.depth + '</span><span style="flex:1">' + (x.username ? '@' + esc(x.username) : 'a member') + '</span><span class="pill' + (x.hasAd ? ' on' : '') + '">' + (x.hasAd ? 'ad live' : 'no ad yet') + '</span></div>').join('')
|
||||
|
||||
// the line: the people above, nearest first (their ads show on this member's page)
|
||||
$('line').innerHTML = (d.line || []).length ? '<p class="small" style="margin:0 0 14px">The people above you in the network, nearest first. Your page shows the first five who have an ad here, and your ad shows on the page of everyone you bring in.</p><div class="lbars">'
|
||||
+ d.line.map(x => '<div class="lbar' + (x.hasAd ? ' has' : '') + '"><span class="k">PLACE ' + x.depth + '</span><span class="who2"><b>' + (x.username ? '@' + esc(x.username) : 'a member') + '</b><span class="bar"><i style="width:' + (x.hasAd ? 100 : 0) + '%"></i></span></span><span class="pill' + (x.hasAd ? ' on' : '') + '">' + (x.hasAd ? 'ad live' : 'no ad yet') + '</span></div>').join('') + '</div>'
|
||||
: '<p class="small">' + (d.lineOk === false ? 'The network line could not be read just now. Try again in a minute.' : 'No sponsor line is known for you in the network yet.') + '</p>';
|
||||
$('boosts').innerHTML = (d.boosts || []).length ? d.boosts.map(b => '<div class="kit-row" style="flex-direction:column;align-items:stretch"><div style="display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap"><span>' + VAB.when(b.at) + ' · ' + VAB.n(b.views) + ' guaranteed views</span><span class="pill' + (b.status === 'delivered' ? ' done' : ' on') + '">' + esc(b.status.replace(/-/g, ' ')) + '</span></div>'
|
||||
+ '<div class="meter"><i style="width:' + Math.min(100, Math.round(b.delivered / b.views * 100)) + '%"></i></div><span class="small muted">' + VAB.n(b.delivered) + ' of ' + VAB.n(b.views) + ' delivered' + (b.nas ? ' (' + VAB.n(b.nas) + ' through Network Ad Space)' : '') + (b.dueAt && b.status === 'delivering' ? ' · on-site until ' + VAB.when(b.dueAt) : '') + '</span></div>').join('')
|
||||
: '<p class="small">No Boosts yet. A Boost is $' + (c.boost ? c.boost.usd : 5) + ' once and buys ' + VAB.n(c.boost ? c.boost.views : 500) + ' guaranteed network views for your ad.</p>';
|
||||
const ex = c.explorer || 'https://polygonscan.com';
|
||||
$('earned').innerHTML = (d.earned && d.earned.items.length) ? d.earned.items.map(x => '<div class="kit-row"><span class="small">' + VAB.when(x.at) + '</span><span style="flex:1">Level ' + x.level + ' share from ' + (x.buyerName ? '@' + esc(x.buyerName) : 'a Boost') + (x.failed ? ' (waiting in the contract for you to claim)' : '') + '</span><b class="mono">' + VAB.polOf(x.wei) + ' POL</b><a class="small" href="' + esc(ex) + '/tx/' + esc(x.tx) + '" target="_blank" rel="noopener">verify</a></div>').join('')
|
||||
|
||||
// Boosts: the ring for the Boost being delivered now, then every Boost with its delivery
|
||||
const ring = b => { const pct = Math.min(100, Math.round((b.delivered || 0) / b.views * 100)); return '<div class="ring"><svg width="96" height="96" viewBox="0 0 36 36" role="img" aria-label="' + VAB.n(b.delivered) + ' of ' + VAB.n(b.views) + ' views delivered"><circle cx="18" cy="18" r="15.9" fill="none" stroke="#23409F" stroke-width="3.5"/><circle cx="18" cy="18" r="15.9" fill="none" stroke="#3D8BFF" stroke-width="3.5" stroke-dasharray="' + pct + ' 100" pathLength="100" transform="rotate(-90 18 18)"/></svg><div><b>' + VAB.n(b.delivered) + ' / ' + VAB.n(b.views) + '</b><span>views delivered on your active Boost</span></div></div>'; };
|
||||
$('boosts').innerHTML = (boosts.length ? (active.length ? ring(active[active.length - 1]) : '')
|
||||
+ '<div class="bl">' + boosts.map(b => '<div style="flex-direction:column;align-items:stretch"><div style="display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap"><span>' + VAB.when(b.at) + ' · ' + VAB.n(b.views) + ' guaranteed views</span><span class="pill' + (b.status === 'delivered' ? ' done' : ' on') + '">' + esc(b.status.replace(/-/g, ' ')) + '</span></div>'
|
||||
+ '<div class="meter"><i style="width:' + Math.min(100, Math.round(b.delivered / b.views * 100)) + '%"></i></div><span>' + VAB.n(b.delivered) + ' of ' + VAB.n(b.views) + ' delivered' + (b.nas ? ' (' + VAB.n(b.nas) + ' through Network Ad Space)' : '') + (b.dueAt && b.status === 'delivering' ? ' · on-site until ' + VAB.when(b.dueAt) : '') + '</span></div>').join('') + '</div>'
|
||||
+ '<p class="small">Anything not delivered on ViralAdBlitz in ' + (c.deliverDays || 30) + ' days is finished through Network Ad Space.</p>'
|
||||
: '<h2>No Boost yet</h2><p class="small">A Boost is $' + (c.boost ? c.boost.usd : 5) + ' once and buys ' + VAB.n(c.boost ? c.boost.views : 500) + ' guaranteed network views for your ad, plus a starred spot on the ticker.</p>');
|
||||
$('boostMore').textContent = boosts.length ? 'Add another Boost, $' + (c.boost ? c.boost.usd : 5) : 'Boost my ad, $' + (c.boost ? c.boost.usd : 5);
|
||||
|
||||
// recent activity: real events only (payouts to this wallet, this member's Boosts, the ad going live)
|
||||
const ev = [];
|
||||
for (const x of (d.earned && d.earned.items) || []) ev.push({ at: x.at, cls: 'red', h: 'Level ' + x.level + ' paid you ' + VAB.polOf(x.wei) + ' POL', s: (x.buyerName ? '@' + esc(x.buyerName) : 'Someone in your team') + ' bought a Boost' + (x.failed ? ' (waiting in the contract for you to claim)' : '') + ' · ' + vlink(x.tx) });
|
||||
for (const b of boosts) ev.push({ at: b.at, cls: 'gold', h: 'You bought a Boost', s: VAB.n(b.views) + ' guaranteed views · ' + esc(b.status.replace(/-/g, ' ')) });
|
||||
if (a && a.createdAt) ev.push({ at: a.createdAt, cls: '', h: 'Your text ad went live', s: 'On your page and your team\'s pages' });
|
||||
ev.sort((x, y) => (y.at || 0) - (x.at || 0));
|
||||
$('acts').innerHTML = ev.length ? ev.slice(0, 6).map(e => '<div class="act ' + e.cls + '"><i></i><div><b>' + e.h + '</b><span>' + VAB.when(e.at) + ' · ' + e.s + '</span></div></div>').join('') : '<p class="small">Nothing yet. Post your free text ad to get started.</p>';
|
||||
|
||||
// what the contract paid
|
||||
$('earned').innerHTML = (d.earned && d.earned.items.length) ? d.earned.items.map(x => '<div class="lrow"><span class="small muted">' + VAB.when(x.at) + '</span><span style="flex:1;min-width:140px">Level ' + x.level + ' share from ' + (x.buyerName ? '@' + esc(x.buyerName) : 'a Boost') + (x.failed ? ' (waiting in the contract for you to claim)' : '') + '</span><b class="mono">' + VAB.polOf(x.wei) + ' POL</b><span class="small">' + vlink(x.tx) + '</span></div>').join('')
|
||||
: '<p class="small">Nothing yet. The contract pays a level share in the same transaction when someone in your team buys a Boost, if you have bought one yourself. Advertising, not income. Nothing is promised.</p>';
|
||||
}
|
||||
$('adForm').addEventListener('submit', async e => {
|
||||
|
||||
+329
-145
@@ -1,196 +1,380 @@
|
||||
/* ViralAdBlitz: the stock-ticker newsroom look (mockup approved by Marty 2026-11-14, canvas BRddgcFA8wbTKbHiWc8sjk).
|
||||
Deep ink-green ground, glowing amber ticker, newsprint cream cards, Playfair Display headlines, IBM Plex Mono figures + IBM Plex Sans text.
|
||||
/* ViralAdBlitz: "daylight cyberpunk" in Marty's colors (mockup approved by Marty 2026-11-14, "This looks good. Run with it").
|
||||
Light blue-white ground, white clipped-corner cards, deep royal bands + ticker, hero panel royal blue, red primary CTA,
|
||||
gold for Boost / starred / boosted, electric blue accents, purple as a minor accent, green check circles.
|
||||
Barlow Condensed italic for the big slanted display type, Chakra Petch headings + numbers, Inter body, JetBrains Mono labels.
|
||||
Its own look: not DLB ultraviolet, not VBB pop-art, not IAP mint, not LinkSpin. Class names are neutral (no ad/banner words). */
|
||||
:root{
|
||||
--bg:#0a1712; --bg2:#07110d; --panel:#0f2219; --line:#1f3a2d; --line2:#3a5a49;
|
||||
--amber:#ffb000; --amber2:#ffd166; --cream:#f4efe3; --paper-ink:#13201a; --paper-sub:#4b6355; --paper-gold:#7a5a00;
|
||||
--green:#0b5d3b; --green2:#0e7a4d; --text:#e8efe9; --sub:#b9c8bd; --muted:#8fa89a; --nav:#c9d6cd; --bad:#ff7a6b; --good:#6fe3a6;
|
||||
--disp:'Playfair Display',Georgia,'Times New Roman',serif; --mono:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace; --body:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
|
||||
--bg:#EAF0FF; --card:#FFFFFF; --line:#C9D6F5; --line2:#DCE5FA; --tint:#E1EBFF; --gtint:#FFF3CC; --gpale:#FFFBEA;
|
||||
--ink:#0A1F6B; --ink2:#2A3A6E; --sub:#3E4C7A; --royal:#0A1F6B; --royal2:#12308F; --royal3:#23409F; --hero:#0A2FA8; --shadow:#061A66;
|
||||
--red:#E3141E; --red-d:#8E0C12; --link:#C4111A; --gold:#FFC21A; --gold-d:#8A5A00; --gold-ink:#7A5B00;
|
||||
--blue:#1F66FF; --blue2:#3D8BFF; --blue-ink:#1546D6; --blue-dk:#0F3AB8; --on-dark:#D3DEFF; --on-dark2:#9DBEFF; --blue-on-dark:#7DB2FF;
|
||||
--purple:#6B2BD9; --green:#16B85A; --green-ink:#0B6B37; --green-tint:#E3F7EC;
|
||||
--disp:'Barlow Condensed','Chakra Petch','Arial Narrow',sans-serif; --head:'Chakra Petch',system-ui,sans-serif;
|
||||
--body:Inter,system-ui,-apple-system,'Segoe UI',sans-serif; --mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
|
||||
--cut:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
|
||||
--cuts:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
|
||||
}
|
||||
*{box-sizing:border-box}
|
||||
[hidden]{display:none!important}
|
||||
html{-webkit-text-size-adjust:100%}
|
||||
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 var(--body);min-height:100vh;overflow-x:hidden}
|
||||
a{color:var(--amber)} a:hover{color:var(--amber2)}
|
||||
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 var(--body);min-height:100vh;overflow-x:hidden}
|
||||
a{color:var(--link)} a:hover{color:var(--red-d)}
|
||||
img{max-width:100%}
|
||||
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
|
||||
@media (max-width:600px){.wrap{padding:0 16px}}
|
||||
.mono{font-family:var(--mono)} .muted{color:var(--muted)} .small{font-size:13.5px} .sub{color:var(--sub)}
|
||||
h1,h2,h3{font-family:var(--disp);color:var(--cream);line-height:1.08;margin:0}
|
||||
h1{font-weight:900;font-size:clamp(36px,6.4vw,64px);letter-spacing:-.5px}
|
||||
h2{font-size:clamp(26px,3.6vw,34px);font-weight:700}
|
||||
h3{font-size:22px;font-weight:700}
|
||||
main{padding:40px 0 56px;display:flex;flex-direction:column;gap:44px}
|
||||
main.wrap{padding-top:40px}
|
||||
.mono{font-family:var(--mono)} .muted{color:var(--sub)} .small{font-size:13.5px} .sub{color:var(--ink2)}
|
||||
h1,h2,h3{font-family:var(--head);color:var(--ink);line-height:1.1;margin:0;font-weight:700}
|
||||
h1{font-size:clamp(32px,5vw,48px)}
|
||||
h2{font-size:clamp(26px,3.4vw,34px)}
|
||||
h3{font-size:22px}
|
||||
main{padding:40px 0 64px;display:flex;flex-direction:column;gap:48px}
|
||||
main.wrap{padding-top:40px;padding-bottom:64px}
|
||||
@media (max-width:600px){main{gap:36px;padding-top:24px}main.wrap{padding-top:24px;padding-bottom:48px}}
|
||||
section{min-width:0}
|
||||
.cut{clip-path:var(--cut)} .cuts{clip-path:var(--cuts)}
|
||||
|
||||
/* top bar */
|
||||
nav.top{border-bottom:1px solid var(--line);background:var(--bg2)}
|
||||
nav.top .wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
|
||||
.brand{display:flex;align-items:baseline;gap:10px;margin-right:auto;text-decoration:none}
|
||||
.brand .wm{font-family:var(--disp);font-weight:900;font-size:28px;color:var(--cream);letter-spacing:-.5px}
|
||||
.brand .live{font:600 12px var(--mono);color:var(--amber);border:1px solid var(--amber);padding:2px 6px;letter-spacing:1px}
|
||||
nav.top .links{display:flex;gap:16px;flex-wrap:wrap;font-size:14px}
|
||||
nav.top .links a{color:var(--nav);text-decoration:none;padding:4px 0;border-bottom:2px solid transparent}
|
||||
nav.top .links a:hover,nav.top .links a.on{color:var(--cream);border-bottom-color:var(--amber)}
|
||||
.cta{background:var(--amber);color:#1a1200;font-weight:600;padding:12px 18px;text-decoration:none;font-size:14px;border:0;cursor:pointer;display:inline-block;font-family:var(--body)}
|
||||
.cta:hover{background:var(--amber2);color:#1a1200}
|
||||
@media (max-width:760px){nav.top .links{width:100%;order:3;gap:14px;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;padding-bottom:2px}.brand .wm{font-size:24px}}
|
||||
nav.top{background:var(--card);border-bottom:1px solid var(--line)}
|
||||
nav.top .wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
|
||||
.brand{display:flex;align-items:center;gap:10px;margin-right:auto;text-decoration:none;color:var(--ink)}
|
||||
.brand:hover{color:var(--ink)}
|
||||
.brand .mk{width:34px;height:34px;background:var(--royal);display:flex;align-items:center;justify-content:center;clip-path:var(--cuts);flex:0 0 auto}
|
||||
.brand .wm{font-family:var(--head);font-weight:700;font-size:22px;letter-spacing:.5px;line-height:1}
|
||||
.brand .wm b{color:var(--red);font-weight:700}
|
||||
nav.top .links{display:flex;gap:4px;flex-wrap:wrap;font-size:15px}
|
||||
nav.top .links a{color:var(--ink);text-decoration:none;padding:10px 12px;font-weight:500;border-bottom:3px solid transparent}
|
||||
nav.top .links a:hover{color:var(--blue-ink)}
|
||||
nav.top .links a.on{border-bottom-color:var(--red);font-weight:600}
|
||||
@media (max-width:860px){nav.top .links{width:100%;order:3;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;margin:0 -12px;width:calc(100% + 24px)}}
|
||||
@media (max-width:420px){.brand .wm{font-size:19px}nav.top .cta{padding:10px 12px;font-size:13px}}
|
||||
|
||||
/* the amber ticker */
|
||||
.ticker{background:#000;border-bottom:2px solid var(--amber);overflow:hidden;white-space:nowrap;font:15px var(--mono);color:var(--amber);position:relative}
|
||||
.ticker .run{display:inline-block;padding:12px 0;animation:vabtick var(--tick-s,60s) linear infinite;will-change:transform}
|
||||
/* buttons */
|
||||
.cta{background:var(--gold);color:var(--ink);font-weight:600;padding:12px 18px;text-decoration:none;font-size:14px;border:0;cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
|
||||
.cta:hover{background:#FFD24D;color:var(--ink)}
|
||||
.btn-red{background:var(--red);color:#fff;font-weight:700;padding:14px 22px;text-decoration:none;font-size:16px;border:0;cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
|
||||
.btn-red:hover{background:#C70F18;color:#fff}
|
||||
.btn-gold{background:var(--gold);color:var(--ink);font-weight:700;padding:14px 22px;text-decoration:none;font-size:16px;border:0;cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3;text-align:center}
|
||||
.btn-gold:hover{background:#FFD24D;color:var(--ink)}
|
||||
.btn-red:disabled,.btn-gold:disabled{opacity:.55;cursor:not-allowed}
|
||||
.btn-line{border:2px solid var(--ink);color:var(--ink);padding:10px 16px;text-decoration:none;font-size:14px;font-weight:600;background:var(--card);cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
|
||||
.btn-line:hover{background:var(--tint);color:var(--ink)}
|
||||
.btn-soft{border:0;color:var(--blue-dk);padding:12px 16px;text-decoration:none;font-size:14px;font-weight:600;background:var(--tint);cursor:pointer;display:inline-block;font-family:var(--body);clip-path:var(--cuts);line-height:1.3}
|
||||
.btn-soft:hover{background:#D2E0FF;color:var(--blue-dk)}
|
||||
.btn-quiet{border:1px solid var(--line);color:var(--ink2);padding:10px 14px;background:var(--card);cursor:pointer;font-family:var(--body);font-size:14px;text-decoration:none;display:inline-block}
|
||||
.btn-quiet:hover{border-color:var(--ink);color:var(--ink)}
|
||||
.on-dark .btn-line,.btn-line.light{background:transparent;border-color:#fff;color:#fff}
|
||||
.on-dark .btn-line:hover,.btn-line.light:hover{background:rgba(255,255,255,.12);color:#fff}
|
||||
/* the big red pill: white border, chevrons */
|
||||
.pill-cta{display:inline-block;white-space:nowrap;background:var(--red);color:#fff;border:4px solid #fff;border-radius:999px;padding:12px 26px;text-align:center;text-decoration:none;font-family:var(--disp);font-weight:800;font-style:italic;font-size:clamp(21px,2.5vw,30px);text-transform:uppercase;line-height:1.1;box-shadow:0 6px 0 var(--red-d);cursor:pointer}
|
||||
.pill-cta:hover{color:#fff;background:#F01B26;transform:translateY(1px);box-shadow:0 5px 0 var(--red-d)}
|
||||
.pill-cta .chev{letter-spacing:-2px;margin-left:6px}
|
||||
|
||||
/* the ticker: royal ground, gold stars for Boosted */
|
||||
.ticker{background:var(--royal);border-bottom:3px solid var(--blue2);overflow:hidden;white-space:nowrap;font:14px var(--mono);color:#E9FBFF;position:relative}
|
||||
.ticker .run{display:inline-block;padding:10px 0;animation:vabtick var(--tick-s,60s) linear infinite;will-change:transform}
|
||||
.ticker:hover .run{animation-play-state:paused}
|
||||
.ticker a{color:var(--amber);text-decoration:none;padding:0 26px}
|
||||
.ticker a:hover{color:var(--amber2);text-decoration:underline}
|
||||
.ticker a.star{color:#fff}
|
||||
.ticker a.star b{color:var(--amber)}
|
||||
.ticker .empty{padding:12px 24px;display:inline-block;color:var(--muted)}
|
||||
.ticker a{color:#E9FBFF;text-decoration:none;padding:0 18px}
|
||||
.ticker a i{font-style:normal;color:var(--blue-on-dark);font-weight:700}
|
||||
.ticker a:hover{color:#fff;text-decoration:underline}
|
||||
.ticker a.star b{color:var(--gold);font-weight:700}
|
||||
.ticker .empty{padding:10px 24px;display:inline-block;color:var(--on-dark)}
|
||||
@keyframes vabtick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
|
||||
@media (prefers-reduced-motion:reduce){.ticker .run{animation:none}.ticker{overflow-x:auto}}
|
||||
|
||||
/* hero */
|
||||
.hero{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-end}
|
||||
.hero .copy{flex:999 1 560px;min-width:0}
|
||||
.kicker{margin:0 0 12px;font:600 13px var(--mono);color:var(--amber);letter-spacing:2px;text-transform:uppercase}
|
||||
.lead{margin:20px 0 0;font-size:19px;line-height:1.55;color:var(--sub);max-width:660px}
|
||||
/* labels */
|
||||
.kicker{margin:0 0 10px;font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:2px;text-transform:uppercase}
|
||||
.lead{margin:16px 0 0;font-size:18px;line-height:1.55;color:var(--ink2);max-width:680px}
|
||||
.row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:20px}
|
||||
.wirebox{flex:1 1 300px;border:1px solid var(--line);background:var(--panel);padding:20px;display:flex;flex-direction:column;gap:12px}
|
||||
.wirebox .lab{font:12px var(--mono);color:var(--muted);letter-spacing:1px}
|
||||
.wirebox .kv{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding-bottom:8px}
|
||||
.wirebox .kv:last-child{border-bottom:0;padding-bottom:0}
|
||||
.wirebox .kv b{font-family:var(--mono);color:var(--amber)}
|
||||
.shead{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px}
|
||||
.shead .side{font-size:14px;color:var(--sub)}
|
||||
.sortg{display:flex;background:var(--card);border:1px solid var(--line);padding:4px;gap:4px;flex-wrap:wrap}
|
||||
.sortg button{padding:9px 14px;border:0;background:transparent;color:var(--ink2);font:600 13px var(--body);cursor:pointer}
|
||||
.sortg button.on{background:var(--royal);color:#fff}
|
||||
.chip{display:inline-block;padding:4px 10px;font-weight:600;font-size:13px;font-family:var(--body);white-space:nowrap}
|
||||
.chip.red{background:var(--gtint);color:var(--link)} .chip.blue{background:var(--tint);color:var(--blue-dk)}
|
||||
.chip.live{background:var(--green-tint);color:var(--green-ink);font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px}
|
||||
.chip.live:before{content:'';width:7px;height:7px;border-radius:50%;background:#16C060}
|
||||
.chip.gold{background:var(--gold);color:var(--ink);font-size:12px;font-weight:700}
|
||||
.chip.idle{background:var(--tint);color:var(--ink2);font-size:12px;font-weight:700}
|
||||
|
||||
/* section heads */
|
||||
.shead{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px;border-bottom:3px double var(--line2);padding-bottom:10px;margin-bottom:16px}
|
||||
.shead .side{font:13px var(--mono);color:var(--muted)}
|
||||
section{min-width:0}
|
||||
/* the royal-blue hero panel (front page, Boost, member page, page heads) */
|
||||
.panel{background:var(--hero);color:#fff;position:relative;overflow:hidden;clip-path:var(--cut)}
|
||||
.panel>*{position:relative}
|
||||
.panel>.netlines{position:absolute;inset:0;width:100%;height:100%;opacity:.22;pointer-events:none}
|
||||
.panel a:not([class]){color:#fff}
|
||||
.hx{padding:clamp(22px,4vw,44px);display:flex;flex-wrap:wrap;gap:32px;align-items:center}
|
||||
.hx-copy{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:18px}
|
||||
.hx-art{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:16px}
|
||||
h1.slant{font-family:var(--disp);font-weight:800;font-style:italic;text-transform:uppercase;line-height:.92;display:flex;flex-direction:column;gap:4px;color:#fff}
|
||||
h1.slant .l1{font-size:clamp(40px,6vw,76px);text-shadow:3px 3px 0 var(--shadow);overflow-wrap:anywhere}
|
||||
h1.slant .l2{font-size:clamp(44px,7.4vw,96px);color:var(--gold);text-shadow:3px 3px 0 var(--gold-d),6px 6px 0 var(--shadow);overflow-wrap:anywhere}
|
||||
.slant.sm .l1{font-size:clamp(36px,4.6vw,60px)} .slant.sm .l2{font-size:clamp(38px,5.2vw,68px)}
|
||||
.ribbon{align-self:flex-start;background:var(--red);color:#fff;font-family:var(--disp);font-weight:800;font-style:italic;font-size:clamp(19px,2.4vw,26px);text-transform:uppercase;padding:8px 22px;box-shadow:4px 4px 0 var(--shadow);transform:skewX(-12deg);line-height:1.15;max-width:100%}
|
||||
.ribbon>span{display:inline-block;transform:skewX(12deg)}
|
||||
.checks{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
|
||||
.checks li{display:flex;align-items:center;gap:12px;line-height:1.2}
|
||||
.checks svg{flex:0 0 auto}
|
||||
.checks.slant li{font-family:var(--disp);font-weight:700;font-size:21px;text-transform:uppercase}
|
||||
.checks em{font-style:normal;color:var(--gold)}
|
||||
.checks.plain li{font-size:15px;align-items:flex-start} .checks.plain svg{margin-top:-2px}
|
||||
.rise{position:relative;height:120px;display:flex;align-items:flex-end;gap:8px;justify-content:flex-end}
|
||||
.rise span{width:22px;flex:0 0 auto}
|
||||
.rise svg{position:absolute;inset:0;width:100%;height:100%}
|
||||
.screens{display:flex;align-items:flex-end;gap:10px}
|
||||
.screen{flex:1;padding:12px 8px;text-align:center;display:flex;flex-direction:column;gap:3px;clip-path:var(--cuts);color:#fff;min-width:0}
|
||||
.screen b{font-family:var(--disp);font-weight:800;font-style:italic;font-size:22px;line-height:1}
|
||||
.screen span{font-size:11px;font-weight:700}
|
||||
.screen.l1{background:var(--blue);border:3px solid var(--on-dark2)}
|
||||
.screen.l5{background:var(--purple);border:3px solid #C7A8FF}
|
||||
.glow{flex:1.35;filter:drop-shadow(0 0 16px rgba(255,194,26,.6));min-width:0;display:flex}
|
||||
.screen.you{background:var(--gold);color:var(--ink);border:3px solid #fff;padding:20px 8px;width:100%}
|
||||
.screen.you b{font-size:32px} .screen.you span{font-size:12px}
|
||||
.gchips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
|
||||
.gchip{background:var(--gold);color:var(--ink);padding:10px;display:flex;align-items:center;gap:8px;clip-path:var(--cuts);min-width:0}
|
||||
.gchip svg{flex:0 0 auto}
|
||||
.gchip>span{display:flex;flex-direction:column;line-height:1;min-width:0}
|
||||
.gchip b{font-family:var(--disp);font-size:22px;font-style:italic;font-weight:800;white-space:nowrap}
|
||||
.gchip i{font-style:normal;font-size:10px;font-weight:700;margin-top:2px}
|
||||
@media (max-width:460px){.gchip svg{display:none}.gchip b{font-size:19px}.gchip{padding:9px 8px}}
|
||||
.hx-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
|
||||
.hx-cta .pill-cta{flex:1 1 auto}
|
||||
@media (max-width:420px){.pill-cta{padding:10px 18px}}
|
||||
.slant-note{font-family:var(--disp);font-weight:700;font-style:italic;font-size:18px;text-transform:uppercase;line-height:1.1}
|
||||
|
||||
/* newsprint ad cards */
|
||||
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
|
||||
@media (max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
||||
/* compact page heads (ledger, contract, promote, legal, admin) */
|
||||
.hero{padding:clamp(22px,3.6vw,36px)}
|
||||
.hero h1{color:#fff;font-size:clamp(32px,4.6vw,46px)}
|
||||
.hero .kicker{color:var(--gold)}
|
||||
.hero .lead{color:#E3EBFF}
|
||||
.hero .muted{color:var(--on-dark)}
|
||||
|
||||
/* white clipped cards */
|
||||
.card{background:var(--card);border:1px solid var(--line);padding:22px;min-width:0;clip-path:var(--cut)}
|
||||
.card h2,.card h3{margin-bottom:10px}
|
||||
.card h2{font-size:clamp(22px,2.6vw,26px)}
|
||||
.card p{color:var(--ink2)}
|
||||
.card p:last-child{margin-bottom:0}
|
||||
.band{background:var(--royal);color:#fff;clip-path:var(--cut);padding:32px;display:flex;flex-wrap:wrap;gap:24px;align-items:center}
|
||||
.band h2,.band h3{color:#fff}
|
||||
.band .lab{font:700 12px var(--mono);letter-spacing:2px;color:var(--blue-on-dark)}
|
||||
.band p{margin:0;color:var(--on-dark);line-height:1.5}
|
||||
.band .txt{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:8px}
|
||||
@media (max-width:600px){.band{padding:24px 20px}}
|
||||
.lvlbars{display:flex;gap:6px;flex:1 1 300px;min-width:0}
|
||||
.lvlbars div{flex:1;display:flex;flex-direction:column;gap:6px;align-items:center;min-width:0}
|
||||
.lvlbars div span{width:100%;height:40px;background:var(--blue2)}
|
||||
.lvlbars b{font:700 12px var(--mono);white-space:nowrap}
|
||||
@media (max-width:420px){.lvlbars b{font-size:10.5px}}
|
||||
|
||||
/* text ad cards */
|
||||
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
|
||||
@media (max-width:600px){.cards{grid-template-columns:minmax(0,1fr)}}
|
||||
.paper{background:var(--cream);color:var(--paper-ink);padding:18px;border-top:6px solid var(--line2);display:flex;flex-direction:column;gap:8px;min-width:0}
|
||||
.paper.star{border-top-color:var(--amber)}
|
||||
.paper .tag{font:11px var(--mono);color:var(--paper-sub);letter-spacing:1px;text-transform:uppercase}
|
||||
.paper.star .tag{color:var(--paper-gold)}
|
||||
.paper h3{color:var(--paper-ink);font-size:22px;overflow-wrap:anywhere}
|
||||
.paper p{margin:0;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
|
||||
.paper .visit{color:var(--green);font-weight:600;font-size:14px;margin-top:auto}
|
||||
.paper .visit:hover{color:var(--green2)}
|
||||
.paper .host{font:12px var(--mono);color:var(--paper-sub)}
|
||||
.paper.big{padding:32px;border-top-width:8px;border-top-color:var(--amber)}
|
||||
.paper.big h1{color:var(--paper-ink);font-size:clamp(32px,5.2vw,52px);line-height:1.05;overflow-wrap:anywhere}
|
||||
.paper.big p{font-size:20px;line-height:1.5;max-width:720px}
|
||||
.btn-green{background:var(--green);color:#fff;font-weight:600;padding:14px 22px;text-decoration:none;font-size:16px;border:0;cursor:pointer;display:inline-block;font-family:var(--body)}
|
||||
.btn-green:hover{background:var(--green2);color:#fff}
|
||||
.btn-green:disabled{opacity:.55;cursor:not-allowed}
|
||||
.btn-line{border:1px solid var(--amber);color:var(--amber);padding:10px 14px;text-decoration:none;font-size:14px;background:transparent;cursor:pointer;display:inline-block;font-family:var(--body)}
|
||||
.btn-line:hover{background:rgba(255,176,0,.08);color:var(--amber2)}
|
||||
.btn-quiet{border:1px solid var(--line2);color:var(--sub);padding:10px 14px;background:transparent;cursor:pointer;font-family:var(--body);font-size:14px;text-decoration:none;display:inline-block}
|
||||
.paper{background:var(--card);border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;gap:10px;min-width:0;clip-path:var(--cut);box-shadow:0 0 0 2px var(--blue2) inset}
|
||||
.paper.star{box-shadow:0 0 0 2px var(--gold) inset,0 0 0 6px var(--gpale) inset}
|
||||
.paper .top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
|
||||
.paper .tag{font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:.5px;text-transform:uppercase}
|
||||
.paper.star .tag{color:var(--link)}
|
||||
.paper .cl{font-size:12px;color:var(--sub);font-weight:600}
|
||||
.paper h3{font-size:22px;line-height:1.15;overflow-wrap:anywhere}
|
||||
.paper p{margin:0;color:var(--ink2);line-height:1.5;overflow-wrap:anywhere}
|
||||
.paper .foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:4px;flex-wrap:wrap}
|
||||
.paper .visit{font-weight:600;font-size:15px;overflow-wrap:anywhere}
|
||||
.paper .host{font-size:13px;color:var(--sub)}
|
||||
.paper.big{background:var(--hero);color:#fff;border:0;padding:clamp(24px,4vw,44px);gap:14px;box-shadow:none;position:relative;overflow:hidden}
|
||||
.paper.big>*{position:relative}
|
||||
.paper.big>.netlines{position:absolute;inset:0;width:100%;height:100%;opacity:.22;pointer-events:none}
|
||||
.paper.big.star{box-shadow:0 0 0 4px var(--gold) inset}
|
||||
.paper.big .tag{color:var(--gold)}
|
||||
.paper.big h1{color:#fff;font-size:clamp(32px,5vw,52px);line-height:1.05;overflow-wrap:anywhere;text-shadow:3px 3px 0 var(--shadow)}
|
||||
.paper.big p{font-size:clamp(17px,2vw,20px);line-height:1.5;max-width:760px;color:#E3EBFF}
|
||||
.paper.big .host{color:var(--on-dark)}
|
||||
|
||||
/* member page: the five-level rows */
|
||||
.levels{display:flex;flex-direction:column;gap:10px}
|
||||
.lvl{display:flex;gap:16px;align-items:center;border:1px solid var(--line);background:var(--panel);padding:16px 20px;flex-wrap:wrap}
|
||||
.lvl .no{font:13px var(--mono);color:var(--amber);width:84px;flex:0 0 auto}
|
||||
.lvl .txt{flex:999 1 400px;min-width:0}
|
||||
.lvl .txt b{font-family:var(--disp);font-size:20px;color:var(--cream);overflow-wrap:anywhere}
|
||||
.lvl .txt div{color:var(--sub);font-size:15px;overflow-wrap:anywhere}
|
||||
.lvl.star{border-color:var(--amber)}
|
||||
.lvl.open .txt b{color:var(--muted)}
|
||||
.joinbar{background:var(--panel);border:1px solid var(--amber);padding:24px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}
|
||||
.joinbar .txt{flex:999 1 480px;min-width:0}
|
||||
.joinbar b{font-family:var(--disp);font-size:26px;color:var(--cream)}
|
||||
.joinbar p{margin:8px 0 0;color:var(--sub)}
|
||||
.lvl{display:flex;gap:16px;align-items:center;background:var(--card);border:1px solid var(--line);padding:16px 20px;flex-wrap:wrap;clip-path:var(--cut)}
|
||||
.lvl .no{font:700 12px var(--mono);color:#fff;background:var(--royal);padding:8px 10px;flex:0 0 auto;clip-path:var(--cuts);letter-spacing:.5px;min-width:84px;text-align:center}
|
||||
.lvl .txt{flex:999 1 380px;min-width:0}
|
||||
.lvl .txt b{font-family:var(--head);font-size:20px;color:var(--ink);overflow-wrap:anywhere;line-height:1.2}
|
||||
.lvl .txt div{color:var(--ink2);font-size:15px;overflow-wrap:anywhere}
|
||||
.lvl.star{box-shadow:0 0 0 2px var(--gold) inset;background:var(--gpale)}
|
||||
.lvl.star .no{background:var(--gold);color:var(--ink)}
|
||||
.lvl.open{background:transparent;border-style:dashed}
|
||||
.lvl.open .no{background:var(--tint);color:var(--blue-dk)}
|
||||
.lvl.open .txt b{color:var(--sub)}
|
||||
.joinbar{background:var(--royal);color:#fff;clip-path:var(--cut);padding:28px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}
|
||||
.joinbar .txt{flex:999 1 460px;min-width:0}
|
||||
.joinbar b{font-family:var(--disp);font-weight:800;font-style:italic;text-transform:uppercase;font-size:clamp(28px,3.6vw,38px);line-height:1;color:#fff}
|
||||
.joinbar p{margin:10px 0 0;color:var(--on-dark)}
|
||||
.joinbar .pill-cta{font-size:clamp(20px,2.4vw,26px);padding:10px 22px}
|
||||
|
||||
/* steps, stats, boxes */
|
||||
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
|
||||
@media (max-width:760px){.steps{grid-template-columns:minmax(0,1fr)}}
|
||||
.step{border:1px solid var(--line);padding:20px;display:flex;flex-direction:column;gap:8px}
|
||||
.step .n{font-family:var(--disp);font-size:40px;color:var(--amber);line-height:1}
|
||||
.step b{font-size:17px} .step span{color:var(--sub)}
|
||||
.splits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;font-family:var(--mono)}
|
||||
/* steps, stats, splits */
|
||||
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
|
||||
.step{background:var(--card);border:1px solid var(--line);padding:24px;display:flex;flex-direction:column;gap:10px;clip-path:var(--cut)}
|
||||
.step .n{width:44px;height:44px;display:flex;align-items:center;justify-content:center;font:700 20px var(--head);clip-path:var(--cuts)}
|
||||
.step:nth-child(1) .n{background:var(--tint);color:var(--blue-ink)} .step:nth-child(2) .n{background:var(--gtint);color:var(--link)} .step:nth-child(3) .n{background:#FFF6CC;color:var(--gold-ink)}
|
||||
.step b{font-size:18px;font-weight:600} .step span:not(.n){color:var(--ink2);line-height:1.5}
|
||||
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
|
||||
@media (max-width:600px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
||||
.stat{background:var(--card);border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0;clip-path:var(--cut)}
|
||||
.stat span{font-size:13px;color:var(--sub);font-weight:500;order:1}
|
||||
.stat b{font:700 30px var(--head);color:var(--ink);overflow-wrap:anywhere;order:2;line-height:1.15}
|
||||
.stat em{font-style:normal;font-size:13px;color:var(--blue-ink);font-weight:600;order:3}
|
||||
.stat.red b{color:var(--red)} .stat.blue b{color:var(--blue-ink)}
|
||||
.stat.dark{background:var(--royal);border-color:var(--royal)} .stat.dark span{color:var(--on-dark)} .stat.dark b{color:var(--gold)} .stat.dark em{color:var(--on-dark2)}
|
||||
@media (max-width:600px){.stat b{font-size:24px}}
|
||||
.splits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
|
||||
@media (max-width:900px){.splits{grid-template-columns:repeat(3,minmax(0,1fr))}}
|
||||
@media (max-width:420px){.splits{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
||||
.split{border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0}
|
||||
.split span{color:var(--muted);font-size:12px} .split b{color:var(--amber);font-size:26px} .split i{color:var(--sub);font-size:12px;font-style:normal}
|
||||
.split.co{border-color:var(--line2);background:var(--panel)} .split.co b{color:var(--cream)}
|
||||
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
|
||||
@media (max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
|
||||
.stat{border:1px solid var(--line);background:var(--panel);padding:14px;display:flex;flex-direction:column;gap:4px;min-width:0}
|
||||
.stat b{font:600 22px var(--mono);color:var(--amber);overflow-wrap:anywhere} .stat span{color:var(--sub);font-size:13px}
|
||||
.box{background:var(--panel);border:1px solid var(--line);padding:24px;display:flex;flex-wrap:wrap;gap:24px;align-items:center}
|
||||
.split{background:var(--card);border:1px solid var(--line);padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0;clip-path:var(--cut);border-top:6px solid var(--blue2)}
|
||||
.split span{font:700 12px var(--mono);color:var(--blue-ink)} .split b{font:700 30px var(--head);color:var(--ink)} .split i{color:var(--sub);font-size:13px;font-style:normal}
|
||||
.split.co{background:var(--royal);border-color:var(--royal);border-top-color:var(--gold)} .split.co span{color:var(--blue-on-dark)} .split.co b{color:var(--gold)} .split.co i{color:var(--on-dark)}
|
||||
.box{background:var(--card);border:1px solid var(--line);padding:24px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;clip-path:var(--cut);border-left:6px solid var(--blue)}
|
||||
.box .txt{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:8px}
|
||||
.box .lab{font:12px var(--mono);color:var(--amber);letter-spacing:1px}
|
||||
.box .big{font-family:var(--disp);font-size:26px;color:var(--cream);font-weight:700;line-height:1.2}
|
||||
.box .addr{font:14px var(--mono);color:var(--sub);word-break:break-all}
|
||||
.card{background:var(--panel);border:1px solid var(--line);padding:22px;min-width:0}
|
||||
.card h2,.card h3{margin-bottom:10px}
|
||||
.card p{color:var(--sub)}
|
||||
.card p:last-child{margin-bottom:0}
|
||||
.price{flex:1 1 320px;background:var(--cream);color:var(--paper-ink);padding:28px;border-top:8px solid var(--amber);display:flex;flex-direction:column;gap:14px}
|
||||
.price .lab{font:12px var(--mono);color:var(--paper-gold);letter-spacing:1px}
|
||||
.price .amt{font-family:var(--disp);font-size:48px;font-weight:900;line-height:1}
|
||||
.price .pol{font:14px var(--mono);color:var(--paper-sub)}
|
||||
.price ul{margin:0;padding-left:18px;line-height:1.7;font-size:15px}
|
||||
.price .qty{display:flex;gap:10px;align-items:center;font-size:14px}
|
||||
.price select{font:15px var(--mono);padding:8px;border:1px solid var(--paper-sub);background:#fff;color:var(--paper-ink)}
|
||||
.box .lab{font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:2px}
|
||||
.box .big{font-family:var(--head);font-size:clamp(20px,2.6vw,26px);color:var(--ink);font-weight:700;line-height:1.2}
|
||||
.box .addr{font:14px var(--mono);color:var(--ink2);word-break:break-all}
|
||||
.box .sub{line-height:1.5}
|
||||
|
||||
/* Boost price card */
|
||||
.price{flex:1 1 340px;background:var(--card);color:var(--ink);padding:28px;border-top:8px solid var(--gold);display:flex;flex-direction:column;gap:14px;clip-path:var(--cut);min-width:0}
|
||||
.price .lab{font:700 12px var(--mono);color:var(--blue-ink);letter-spacing:2px}
|
||||
.price .amt{font:700 60px var(--head);line-height:1}
|
||||
.price .pol{font:14px var(--mono);color:var(--sub)}
|
||||
.price .qty{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:600}
|
||||
.price select{font:15px var(--mono);padding:9px;border:2px solid var(--ink);background:#fff;color:var(--ink)}
|
||||
.price .checks li{color:var(--ink)}
|
||||
.price .small{color:var(--sub)}
|
||||
|
||||
/* tables (ledger) */
|
||||
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
|
||||
table.t{width:100%;border-collapse:collapse;font:14px var(--mono)}
|
||||
table.t th{padding:10px 8px;border-bottom:1px solid var(--line);color:var(--muted);text-align:left;font-weight:400;white-space:nowrap}
|
||||
table.t td{padding:10px 8px;border-bottom:1px dashed var(--line);vertical-align:top}
|
||||
table.t td.ev{color:var(--amber)}
|
||||
table.facts th{width:30%;color:var(--muted);font-weight:400;text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px dashed var(--line)}
|
||||
table.facts td{padding:10px 8px;border-bottom:1px dashed var(--line);overflow-wrap:anywhere}
|
||||
@media (max-width:600px){table.t{font-size:12.5px}table.facts th{width:38%}}
|
||||
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;background:var(--card);border:1px solid var(--line)}
|
||||
table.t{width:100%;border-collapse:collapse;font-size:14px}
|
||||
table.t th{padding:12px 16px;background:var(--bg);color:var(--sub);text-align:left;font:700 12px var(--mono);white-space:nowrap;letter-spacing:.5px}
|
||||
table.t td{padding:12px 16px;border-top:1px solid var(--line2);vertical-align:top}
|
||||
table.t td.pol{font-family:var(--mono)}
|
||||
table.t .muted{color:var(--sub)}
|
||||
table.facts{width:100%;border-collapse:collapse}
|
||||
table.facts th{width:30%;color:var(--sub);font:700 12px var(--mono);text-align:left;vertical-align:top;padding:12px 8px;border-bottom:1px solid var(--line2);letter-spacing:.5px;text-transform:uppercase}
|
||||
table.facts td{padding:12px 8px;border-bottom:1px solid var(--line2);overflow-wrap:anywhere}
|
||||
@media (max-width:600px){table.t{font-size:13px}table.t th,table.t td{padding:10px 10px}table.facts th{width:38%}}
|
||||
|
||||
/* forms */
|
||||
label.f{display:flex;flex-direction:column;gap:6px;font:13px var(--mono);color:var(--muted)}
|
||||
.f input,.f textarea{background:var(--bg2);border:1px solid var(--line2);color:var(--text);font:16px var(--body);padding:11px 12px;width:100%;border-radius:0}
|
||||
.f input:focus,.f textarea:focus{outline:2px solid var(--amber);outline-offset:1px}
|
||||
.f .cnt{align-self:flex-end;font-size:12px}
|
||||
label.f{display:flex;flex-direction:column;gap:6px;font:600 13px var(--body);color:var(--ink2)}
|
||||
.f input,.f textarea{background:#fff;border:2px solid var(--line);color:var(--ink);font:16px var(--body);padding:11px 12px;width:100%;border-radius:0}
|
||||
.f input:focus,.f textarea:focus{outline:none;border-color:var(--blue)}
|
||||
.f .cnt{align-self:flex-end;font:12px var(--mono);color:var(--sub)}
|
||||
.form{display:flex;flex-direction:column;gap:14px;max-width:720px}
|
||||
.note{border-left:4px solid var(--amber);background:var(--panel);padding:12px 16px;color:var(--sub);overflow-wrap:anywhere}
|
||||
.note.ok{border-left-color:var(--good);color:var(--text)} .note.err{border-left-color:var(--bad);color:var(--text)}
|
||||
.pill{display:inline-block;font:11px var(--mono);letter-spacing:1px;text-transform:uppercase;border:1px solid var(--line2);padding:2px 6px;color:var(--sub)}
|
||||
.pill.on{border-color:var(--amber);color:var(--amber)} .pill.done{border-color:var(--good);color:var(--good)}
|
||||
.meter{height:8px;background:var(--bg2);border:1px solid var(--line);margin-top:6px} .meter i{display:block;height:100%;background:var(--amber)}
|
||||
.note{border-left:4px solid var(--blue);background:var(--card);padding:12px 16px;color:var(--ink2);overflow-wrap:anywhere}
|
||||
.note.ok{border-left-color:var(--green);color:var(--ink)} .note.err{border-left-color:var(--red);color:var(--ink)}
|
||||
.pill{display:inline-block;font:700 11px var(--mono);letter-spacing:1px;text-transform:uppercase;padding:4px 8px;background:var(--tint);color:var(--ink2);white-space:nowrap}
|
||||
.pill.on{background:var(--gtint);color:var(--link)} .pill.done{background:var(--green-tint);color:var(--green-ink)}
|
||||
.meter{height:10px;background:var(--line2);margin-top:6px} .meter i{display:block;height:100%;background:var(--blue)}
|
||||
.signin{display:flex;flex-wrap:wrap;gap:12px}
|
||||
.legal .card h2{font-size:24px}
|
||||
.legal .card li{color:var(--sub);margin:4px 0}
|
||||
.legal .card li{color:var(--ink2);margin:4px 0}
|
||||
|
||||
/* My page: the dashboard */
|
||||
.dash{display:flex;flex-wrap:wrap;background:var(--bg);border:1px solid var(--line);min-width:0}
|
||||
.dside{flex:1 1 220px;background:var(--royal);color:#E9ECF8;padding:24px 16px;display:flex;flex-direction:column;gap:22px;min-width:0}
|
||||
.dside .wm{font-family:var(--head);font-weight:700;font-size:19px;color:#fff;padding:0 8px}
|
||||
.dside .wm b{color:var(--gold)}
|
||||
.dside nav{display:flex;flex-direction:column;gap:4px}
|
||||
.dside nav a{display:flex;align-items:center;gap:10px;padding:12px;color:var(--on-dark);text-decoration:none;font-weight:500;border-left:3px solid transparent}
|
||||
.dside nav a:hover{color:#fff;background:rgba(61,139,255,.1)}
|
||||
.dside nav a.on{background:rgba(61,139,255,.16);color:#fff;font-weight:600;border-left-color:var(--blue2)}
|
||||
.dside nav svg{flex:0 0 auto}
|
||||
.dside .who{margin-top:auto;background:var(--royal2);padding:16px;display:flex;flex-direction:column;gap:6px;clip-path:var(--cut)}
|
||||
.dside .who span{font-size:13px;color:var(--on-dark)}
|
||||
.dside .who b{color:#fff;font-weight:600;overflow-wrap:anywhere}
|
||||
.dside .who code{font:12px var(--mono);color:var(--on-dark2)}
|
||||
.dside .btn-quiet{background:transparent;color:var(--on-dark);border-color:var(--royal3);margin-top:4px;align-self:flex-start}
|
||||
.dside .btn-quiet:hover{color:#fff;border-color:#fff}
|
||||
@media (max-width:820px){.dside nav{flex-direction:row;flex-wrap:wrap}.dside nav a{border-left:0;border-bottom:3px solid transparent;padding:10px}.dside nav a.on{border-bottom-color:var(--blue2)}.dside .who{margin-top:0}}
|
||||
.dmain{flex:999 1 560px;min-width:0;padding:28px clamp(16px,3vw,40px) 40px;display:flex;flex-direction:column;gap:22px}
|
||||
.dtop{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
|
||||
.dtop h1{font-size:clamp(28px,3.6vw,34px);overflow-wrap:anywhere}
|
||||
.dtop .kicker{margin:0 0 4px}
|
||||
.dcols{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
|
||||
.dcol-l{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;gap:20px}
|
||||
.dcol-r{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
|
||||
.dcard{background:var(--card);border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;gap:14px;clip-path:var(--cut);min-width:0}
|
||||
.dcard h2{font-size:22px}
|
||||
.dcard .hd{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
|
||||
.dcard .hd .side-note{font-size:13px;color:var(--sub)}
|
||||
.dcard p{margin:0;color:var(--ink2)}
|
||||
.adprev{box-shadow:0 0 0 2px var(--blue2) inset;padding:18px;display:flex;flex-direction:column;gap:6px;background:#F6F9FF;clip-path:var(--cut);min-width:0}
|
||||
.adprev.star{box-shadow:0 0 0 2px var(--gold) inset;background:var(--gpale)}
|
||||
.adprev .tag{font:700 12px var(--mono);color:var(--link)}
|
||||
.adprev b{font:700 20px var(--head);overflow-wrap:anywhere}
|
||||
.adprev span{color:var(--ink2);overflow-wrap:anywhere}
|
||||
.adprev a{font-weight:600;overflow-wrap:anywhere}
|
||||
.lbars{display:flex;flex-direction:column;gap:12px}
|
||||
.lbar{display:grid;grid-template-columns:76px minmax(0,1fr) 92px;gap:12px;align-items:center}
|
||||
.lbar .k{font:700 13px var(--mono);color:var(--blue-ink)}
|
||||
.lbar .who2{display:flex;flex-direction:column;gap:4px;min-width:0}
|
||||
.lbar .who2 b{font-weight:600;font-size:14px;overflow-wrap:anywhere}
|
||||
.lbar .bar{height:14px;background:var(--line2);display:block}
|
||||
.lbar .bar i{display:block;height:100%;background:var(--blue)}
|
||||
.lbar.has .bar i{background:var(--blue)} .lbar.lo .bar i{background:var(--red)}
|
||||
.lbar .pill{text-align:center}
|
||||
@media (max-width:420px){.lbar{grid-template-columns:62px minmax(0,1fr) 84px;gap:8px}.lbar .k{font-size:11.5px}}
|
||||
.dark-card{background:var(--royal);color:#fff;padding:22px;display:flex;flex-direction:column;gap:14px;clip-path:var(--cut);min-width:0}
|
||||
.dark-card .lab{font:700 12px var(--mono);letter-spacing:1.5px;color:var(--blue-on-dark)}
|
||||
.dark-card h2{color:#fff;font-size:22px}
|
||||
.dark-card p,.dark-card .small{color:var(--on-dark);line-height:1.5;margin:0}
|
||||
.ring{display:flex;align-items:center;gap:18px}
|
||||
.ring svg{flex:0 0 auto}
|
||||
.ring b{font:700 28px var(--head);display:block;line-height:1.1}
|
||||
.ring span{font-size:13px;color:var(--on-dark)}
|
||||
.dark-card .bl{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--royal3);padding-top:12px}
|
||||
.dark-card .bl>div{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--on-dark)}
|
||||
.dark-card .meter{background:var(--royal3)} .dark-card .meter i{background:var(--blue2)}
|
||||
.dark-card .pill{background:var(--royal2);color:var(--on-dark)} .dark-card .pill.on{background:var(--gold);color:var(--ink)} .dark-card .pill.done{background:var(--green-tint);color:var(--green-ink)}
|
||||
.act{display:flex;gap:10px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid var(--line2)}
|
||||
.act:last-child{border-bottom:0;padding-bottom:0}
|
||||
.act>i{width:9px;height:9px;margin-top:7px;flex:none;background:var(--blue)}
|
||||
.act.red>i{background:var(--red)} .act.gold>i{background:var(--gold)}
|
||||
.act div{display:flex;flex-direction:column;gap:2px;min-width:0}
|
||||
.act b{font-weight:600;overflow-wrap:anywhere}
|
||||
.act span{font-size:13px;color:var(--sub);overflow-wrap:anywhere}
|
||||
.lrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line2)}
|
||||
.lrow:first-child{border-top:0}
|
||||
|
||||
/* toasts (real events only) */
|
||||
.toasts{position:fixed;left:24px;bottom:24px;z-index:50;display:flex;flex-direction:column;gap:10px;max-width:min(340px,calc(100vw - 32px))}
|
||||
.toast{background:var(--cream);color:var(--paper-ink);border-left:6px solid var(--amber);padding:12px 16px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.45);text-decoration:none;opacity:0;transform:translateY(12px);transition:opacity .35s,transform .35s}
|
||||
.toast{background:var(--card);color:var(--ink);border-left:6px solid var(--red);padding:12px 16px;font-size:14px;box-shadow:0 10px 30px rgba(10,31,107,.22);text-decoration:none;opacity:0;transform:translateY(12px);transition:opacity .35s,transform .35s}
|
||||
.toast.gold{border-left-color:var(--gold)}
|
||||
.toast:hover{color:var(--ink)}
|
||||
.toast.in{opacity:1;transform:none}
|
||||
.toast span{color:var(--paper-sub)}
|
||||
.toast span{color:var(--sub)}
|
||||
@media (max-width:600px){.toasts{left:16px;bottom:16px}}
|
||||
|
||||
/* footer */
|
||||
footer.foot{border-top:1px solid var(--line);padding:28px 0 36px;color:var(--muted);font-size:13px;text-align:center}
|
||||
footer.foot p{margin:6px 0} footer.foot a{color:var(--nav)} footer.foot a:hover{color:var(--amber)}
|
||||
footer.foot .netline a{color:var(--amber)} footer.foot .here{color:var(--cream);font-weight:600}
|
||||
footer.foot{background:var(--card);border-top:1px solid var(--line);padding:28px 0 36px;color:var(--sub);font-size:13px;text-align:center}
|
||||
footer.foot p{margin:6px 0} footer.foot a{color:var(--link)} footer.foot a:hover{color:var(--red-d)}
|
||||
footer.foot .here{color:var(--ink);font-weight:700}
|
||||
.net-zone{margin:18px auto;text-align:center}
|
||||
.net-zone-label{font:11px var(--mono);color:var(--muted);margin-bottom:4px;letter-spacing:1px}
|
||||
.net-zone-label{font:11px var(--mono);color:var(--sub);margin-bottom:4px;letter-spacing:1px}
|
||||
|
||||
/* promote page (kit) */
|
||||
.kit-who{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
|
||||
.kit-who input{flex:1 1 220px;min-width:0;background:var(--bg2);border:1px solid var(--line2);padding:11px 12px;color:var(--text);font:14px var(--mono)}
|
||||
.kit-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px dashed var(--line)}
|
||||
.kit-who input{flex:1 1 220px;min-width:0;background:#fff;border:2px solid var(--line);padding:11px 12px;color:var(--ink);font:14px var(--mono)}
|
||||
.kit-who input:focus{outline:none;border-color:var(--blue)}
|
||||
.kit-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line2)}
|
||||
.kit-row:first-of-type{border-top:0}
|
||||
.kit-l{flex:1 1 260px;min-width:0;display:flex;flex-direction:column;gap:3px}
|
||||
.kit-lab{display:block;font:11px var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
|
||||
.kit-url{font-family:var(--mono);font-size:13.5px;overflow-wrap:anywhere;color:var(--amber)}
|
||||
.kit-txt{flex:1 1 300px;margin:0;min-width:0;color:var(--sub)}
|
||||
.kit-pre{white-space:pre-wrap;font-family:var(--body);font-size:14.5px;line-height:1.55;margin:10px 0 0;padding:12px 14px;border:1px solid var(--line);background:var(--bg2);overflow-wrap:anywhere;color:var(--sub)}
|
||||
.kit-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 16px}
|
||||
.kit-tab{font:600 13px var(--mono);padding:9px 13px;border:1px solid var(--line2);background:transparent;color:var(--sub);cursor:pointer}
|
||||
.kit-tab.on{border-color:var(--amber);color:var(--amber)}
|
||||
.kit-lab{display:block;font:700 11px var(--mono);color:var(--sub);text-transform:uppercase;letter-spacing:.1em}
|
||||
.kit-url{font-family:var(--mono);font-size:13.5px;overflow-wrap:anywhere;color:var(--blue-ink)}
|
||||
.kit-txt{flex:1 1 300px;margin:0;min-width:0;color:var(--ink2)}
|
||||
.kit-pre{white-space:pre-wrap;font-family:var(--body);font-size:14.5px;line-height:1.55;margin:10px 0 0;padding:12px 14px;border:1px solid var(--line);background:#F6F9FF;overflow-wrap:anywhere;color:var(--ink2)}
|
||||
.kit-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0 16px;background:var(--bg);padding:4px;border:1px solid var(--line);width:fit-content;max-width:100%}
|
||||
.kit-tab{font:600 13px var(--body);padding:9px 13px;border:0;background:transparent;color:var(--ink2);cursor:pointer}
|
||||
.kit-tab.on{background:var(--royal);color:#fff}
|
||||
.kit-set{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}
|
||||
.kit-fig{margin:0;display:flex;flex-direction:column;gap:8px;max-width:100%}
|
||||
.kit-fig img{display:block;max-width:100%;height:auto}
|
||||
.kit-fig img{display:block;max-width:100%;height:auto;border:1px solid var(--line)}
|
||||
.kit-social img{width:600px} .kit-square img{width:360px}
|
||||
.kit-fig figcaption{font-size:13px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
|
||||
.kit-acts{display:flex;gap:6px;flex-wrap:wrap;width:100%}
|
||||
.btn{font:600 13px var(--body);padding:8px 12px;border:1px solid var(--amber);color:var(--amber);background:transparent;cursor:pointer;text-decoration:none;display:inline-block}
|
||||
.btn.sec{border-color:var(--line2);color:var(--sub)} .btn.small{font-size:12.5px;padding:6px 10px}
|
||||
.btn{font:600 13px var(--body);padding:8px 12px;border:2px solid var(--ink);color:var(--ink);background:#fff;cursor:pointer;text-decoration:none;display:inline-block}
|
||||
.btn:hover{background:var(--tint);color:var(--ink)}
|
||||
.btn.sec{border-color:var(--line);color:var(--ink2)} .btn.small{font-size:12.5px;padding:6px 10px}
|
||||
|
||||
Reference in New Issue
Block a user