Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

style(tokens): finish routing the remaining inline page and stylesheet palettes through the theme tokens

nirholas319b347a19d2
diff --git a/pages/agent-edit.html b/pages/agent-edit.html
index d1fe56ed4..852ac6e75 100644
--- a/pages/agent-edit.html
+++ b/pages/agent-edit.html
@@ -938,16 +938,16 @@
display: inline-flex; align-items: center; justify-content: center;
min-width: 1.05rem; height: 1.05rem; padding: 0 0.3rem; margin-left: 0.4rem;
font-size: 0.6rem; font-weight: 700; line-height: 1; border-radius: 999px;
- background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff; vertical-align: middle;
+ background: linear-gradient(135deg, var(--accent-violet-strong), #7c3aed); color: #fff; vertical-align: middle;
}
.dreams-head { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.dreams-meta { font-size: 0.7rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; min-height: 1em; }
- .dreams-meta .dot { color: #a78bfa; }
+ .dreams-meta .dot { color: var(--accent-violet-strong); }
.dreams-reflect-btn { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.dreams-reflect-btn[disabled] { opacity: 0.6; cursor: progress; }
.dreams-reflect-btn.is-dreaming .dreams-reflect-label::after {
content: ''; display: inline-block; width: 0.5rem; height: 0.5rem; margin-left: 0.4rem;
- border-radius: 50%; background: #a78bfa; animation: dream-pulse 1.1s ease-in-out infinite;
+ border-radius: 50%; background: var(--accent-violet-strong); animation: dream-pulse 1.1s ease-in-out infinite;
}
@keyframes dream-pulse { 0%,100%{ opacity:0.25; transform:scale(0.7);} 50%{ opacity:1; transform:scale(1);} }
@media (prefers-reduced-motion: reduce) { .dreams-reflect-btn.is-dreaming .dreams-reflect-label::after { animation: none; } }
@@ -966,7 +966,7 @@
.dream-kind {
display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.6rem;
text-transform: uppercase; letter-spacing: 0.09em; font-weight: 600;
- color: #c4b5fd; padding: 0.18rem 0.5rem; border-radius: 999px;
+ color: var(--accent-violet); padding: 0.18rem 0.5rem; border-radius: 999px;
background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.25);
}
.dream-kind.kind-question { color: #fcd34d; background: rgba(252, 211, 77, 0.1); border-color: rgba(252, 211, 77, 0.3); }
@@ -974,7 +974,7 @@
.dream-rationale { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin: 0 0 0.6rem; }
.dream-conf { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.dream-conf-bar { width: 64px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
- .dream-conf-fill { height: 100%; background: linear-gradient(90deg, #7c3aed, #a78bfa); border-radius: 999px; }
+ .dream-conf-fill { height: 100%; background: linear-gradient(90deg, #7c3aed, var(--accent-violet-strong)); border-radius: 999px; }
.dream-prop { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-bottom: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.dream-prop .pill { background: rgba(255,255,255,0.06); border-radius: 999px; padding: 0.12rem 0.5rem; color: rgba(255,255,255,0.7); }
.dream-sources { margin: 0.4rem 0 0.7rem; }
@@ -1005,8 +1005,8 @@
.dream-card-status { font-size: 0.72rem; margin-top: 0.5rem; min-height: 1em; }
.dream-card-status.err { color: #fca5a5; }
.dream-card-status.ok { color: #86efac; }
- .link-btn { background: none; border: none; color: #a78bfa; cursor: pointer; font-family: inherit; font-size: inherit; text-decoration: underline; padding: 0; }
- .link-btn:hover { color: #c4b5fd; }
+ .link-btn { background: none; border: none; color: var(--accent-violet-strong); cursor: pointer; font-family: inherit; font-size: inherit; text-decoration: underline; padding: 0; }
+ .link-btn:hover { color: var(--accent-violet); }
.link-btn:focus-visible { outline: 2px solid rgba(167,139,250,0.6); outline-offset: 2px; }
.dreams-empty { text-align: center; padding: 2.5rem 1rem; color: rgba(255,255,255,0.5); }
diff --git a/pages/agent-screen.html b/pages/agent-screen.html
index ae713c4ee..d833a28e6 100644
--- a/pages/agent-screen.html
+++ b/pages/agent-screen.html
@@ -1111,7 +1111,7 @@
.asc-forge-btn:hover { opacity: 0.9; }
.asc-forge-btn:active { transform: scale(0.95); }
.asc-forge-btn:disabled { cursor: not-allowed; }
- .asc-forge-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .asc-forge-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.asc-forge-btn-spin { display: none; width: 13px; height: 13px; border: 2px solid rgba(10,10,11,0.35); border-top-color: #0a0a0b; border-radius: 50%; animation: ws-spin 0.7s linear infinite; }
.asc-forge-btn.forging .asc-forge-btn-label { opacity: 0.6; }
.asc-forge-btn.forging .asc-forge-btn-spin { display: inline-block; }
@@ -1123,7 +1123,7 @@
transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.asc-forge-view:hover, .asc-forge-use:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.3); color: #fff; }
- .asc-forge-view:focus-visible, .asc-forge-use:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .asc-forge-view:focus-visible, .asc-forge-use:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.asc-forge-cam-note {
position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 6px 10px;
font-size: 0.7rem; font-weight: 600; line-height: 1.3; color: #fff;
@@ -1788,7 +1788,7 @@
}
.asc-stage-start:hover { filter: brightness(1.08); }
.asc-stage-start:active { transform: translateY(1px); }
- .asc-stage-start:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .asc-stage-start:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.asc-stage-start.live { background: rgba(255,255,255,0.08); color: #f4f4f5; border: 1px solid var(--asc-border); }
.asc-stage-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--screen-live); animation: asc-stage-pulse 1.6s infinite; }
.asc-stage-lead { border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.02); }
@@ -1816,7 +1816,7 @@
}
.asc-stage-ask-send:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); }
.asc-stage-ask-send:active { transform: translateY(1px); }
- .asc-stage-ask-send:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .asc-stage-ask-send:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.asc-stage-ask-status { font-size: 0.72rem; min-height: 1em; color: rgba(255,255,255,0.5); }
.asc-stage-ask-status.ok { color: #7fdca0; }
.asc-stage-ask-status.err { color: #f1808a; }
@@ -1991,7 +1991,7 @@
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.asc-hud-three-chip {
- font-weight: 800; color: #c4b5fd; letter-spacing: 0.01em;
+ font-weight: 800; color: var(--accent-violet); letter-spacing: 0.01em;
}
.asc-hud-row-logo { width: 15px; height: 15px; border-radius: 50%; flex: none; object-fit: cover; }
.asc-hud-row-logo--ph { background: rgba(255,255,255,0.08); }
diff --git a/pages/agent-trade.html b/pages/agent-trade.html
index b88cd5669..f07cea4ed 100644
--- a/pages/agent-trade.html
+++ b/pages/agent-trade.html
@@ -192,7 +192,7 @@
}
#topicSelect:disabled { opacity: 0.45; cursor: default; }
#topicSelect:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
- #startBtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ #startBtn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
#startBtn {
padding: 10px 24px; background: var(--blue); color: #fff;
border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
diff --git a/pages/animations.html b/pages/animations.html
index ad0a8c0e9..dd6ce9391 100644
--- a/pages/animations.html
+++ b/pages/animations.html
@@ -600,7 +600,7 @@
flex: 0 0 auto;
}
.ag-modal-transport button:hover { background: rgba(255, 255, 255, 0.22); }
- .ag-modal-transport button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
+ .ag-modal-transport button:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 1px; }
.ag-modal-scrub {
flex: 1;
accent-color: #fff;
diff --git a/pages/avatar-engines.html b/pages/avatar-engines.html
index 721af44d9..7720e07b7 100644
--- a/pages/avatar-engines.html
+++ b/pages/avatar-engines.html
@@ -245,7 +245,7 @@
padding: 3px 8px; border-radius: 6px; white-space: nowrap;
border: 1px solid var(--hairline-strong, #2a2a2a); color: var(--text-2, #a8a8a8);
}
- .ae-rep[data-rep='gaussian'] { color: #c4b5fd; border-color: #4c3f7a; background: rgba(124,93,243,0.1); }
+ .ae-rep[data-rep='gaussian'] { color: var(--accent-violet); border-color: #4c3f7a; background: rgba(124,93,243,0.1); }
.ae-rep[data-rep='nerf'] { color: #93c5fd; border-color: #2c4a6e; background: rgba(59,130,246,0.1); }
.ae-rep[data-rep='mesh'] { color: #86efac; border-color: #2d5a3d; background: rgba(34,197,94,0.09); }
.ae-rep[data-rep='gltf'] { color: #fcd34d; border-color: #6b561f; background: rgba(234,179,8,0.09); }
@@ -277,7 +277,7 @@
padding: 3px 8px; border-radius: 6px;
}
.ae-int-badge[data-tone='live'], .ae-int-badge[data-tone='forge'] { background: rgba(74,222,128,0.14); color: var(--success); }
- .ae-int-badge[data-tone='splat'] { background: rgba(124,93,243,0.16); color: #c4b5fd; }
+ .ae-int-badge[data-tone='splat'] { background: rgba(124,93,243,0.16); color: var(--accent-violet); }
.ae-int-badge[data-tone='interop'] { background: rgba(234,179,8,0.14); color: #fcd34d; }
.ae-int-badge[data-tone='reference'] { background: rgba(255,255,255,0.06); color: var(--text-3, #8a8a8a); }
/* A flex item will not shrink below its longest word without min-width:0,
diff --git a/pages/brownout.html b/pages/brownout.html
index 8973e395a..b653eddc0 100644
--- a/pages/brownout.html
+++ b/pages/brownout.html
@@ -39,7 +39,7 @@
--bo-live: #34d399;
--bo-cache: #38bdf8;
--bo-stale: var(--warn);
- --bo-fallback: #a78bfa;
+ --bo-fallback: var(--accent-violet-strong);
--bo-fail: var(--danger);
}
diff --git a/pages/cosmos.html b/pages/cosmos.html
index c6b537475..3e9850739 100644
--- a/pages/cosmos.html
+++ b/pages/cosmos.html
@@ -474,7 +474,7 @@
filter: brightness(1.06);
}
.cz-generate:focus-visible {
- outline: 2px solid #fff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
.cz-generate:disabled {
diff --git a/pages/create-review.html b/pages/create-review.html
index 70f7811de..ddec4a0b1 100644
--- a/pages/create-review.html
+++ b/pages/create-review.html
@@ -319,7 +319,7 @@
.panel input:focus {
outline: none;
border-color: var(--accent);
- background: #0a0a0a;
+ background: var(--bg-0);
}
/* ── Name + live handle preview ────────────────────────────────── */
diff --git a/pages/create.html b/pages/create.html
index f3dbcfa9c..1df7777d1 100644
--- a/pages/create.html
+++ b/pages/create.html
@@ -664,7 +664,7 @@
letter-spacing: 0.01em;
}
.card-example-mark {
- color: #a78bfa;
+ color: var(--accent-violet-strong);
}
.card-example-text {
flex: 1;
diff --git a/pages/daily-match.html b/pages/daily-match.html
index 02a19d60f..32063f195 100644
--- a/pages/daily-match.html
+++ b/pages/daily-match.html
@@ -35,7 +35,7 @@
excess was clipped rather than scrolled and the PnL/Score columns
became unreachable under ~715px. min-width:0 hands the overflow back
to .dm-table-wrap, which scrolls it properly. */
- .dm-shell { max-width: 980px; width: 100%; min-width: 0; margin: 0 auto; padding: var(--space-lg) var(--space-md) var(--space-2xl); }
+ .dm-shell { max-width: 1120px; width: 100%; min-width: 0; margin: 0 auto; padding: var(--space-lg) var(--space-md) var(--space-2xl); }
.dm-hero { padding: var(--space-xl) 0 var(--space-md); display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-md); }
.dm-hero-main { flex: 1 1 380px; min-width: 0; }
@@ -72,10 +72,6 @@
/* Leader spotlight */
.dm-leader { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); padding: var(--space-md); }
- @media (max-width: 420px) {
- .dm-leader-avatar { width: 48px; height: 48px; }
- .dm-leader-score { margin-left: 0; text-align: left; width: 100%; }
- }
.dm-leader-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 1px solid var(--color-border); flex: none; }
.dm-leader-name { font: var(--weight-bold) var(--text-lg)/1.2 var(--font-display); color: var(--color-text-bright); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-leader-name a { color: inherit; text-decoration: none; }
@@ -84,18 +80,36 @@
.dm-leader-score { margin-left: auto; text-align: right; flex: none; }
.dm-leader-score-num { font: var(--weight-bold) var(--text-xl)/1.1 var(--font-mono); color: var(--color-success); font-variant-numeric: tabular-nums; }
.dm-leader-score-label { font: var(--weight-medium) var(--text-2xs)/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-dim); }
+ /* Below ~420px the spotlight's three blocks cannot share a row without
+ crushing the name to two characters, so the score drops beneath it. */
+ @media (max-width: 420px) {
+ .dm-leader-avatar { width: 48px; height: 48px; }
+ .dm-leader-score { margin-left: 0; text-align: left; width: 100%; }
+ }
/* Standings table */
- .dm-table-wrap { overflow-x: auto; }
+ /* Scroll shadows: the two `local` layers ride with the content and mask
+ the two fixed `scroll` layers, so an edge shadow shows up exactly when
+ there is more table in that direction and never when the table fits. */
+ .dm-table-wrap {
+ overflow-x: auto;
+ background:
+ linear-gradient(to right, var(--surface-1) 40%, transparent) left center / 28px 100% no-repeat local,
+ linear-gradient(to left, var(--surface-1) 40%, transparent) right center / 28px 100% no-repeat local,
+ radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.45), transparent) left center / 14px 100% no-repeat scroll,
+ radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.45), transparent) right center / 14px 100% no-repeat scroll;
+ }
.dm-table { width: 100%; border-collapse: collapse; font: var(--weight-regular) var(--text-sm)/1.4 var(--font-body); }
.dm-table th {
- text-align: right; padding: var(--space-xs) var(--space-md);
+ text-align: right; padding: var(--space-xs) var(--space-sm);
font: var(--weight-medium) var(--text-2xs)/1.3 var(--font-mono);
letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-dim);
border-bottom: 1px solid var(--color-border); white-space: nowrap;
}
.dm-table th:first-child, .dm-table th:nth-child(2) { text-align: left; }
- .dm-table td { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-border); text-align: right; font-variant-numeric: tabular-nums; color: var(--color-text); white-space: nowrap; }
+ .dm-table td { padding: var(--space-sm); border-bottom: 1px solid var(--color-border); text-align: right; font-variant-numeric: tabular-nums; color: var(--color-text); white-space: nowrap; }
+ .dm-table th:first-child, .dm-table td:first-child { padding-left: var(--space-md); }
+ .dm-table th:last-child, .dm-table td:last-child { padding-right: var(--space-md); }
.dm-table tr:last-child td { border-bottom: 0; }
.dm-table td:first-child { text-align: left; color: var(--color-text-dim); width: 40px; }
.dm-table td:nth-child(2) { text-align: left; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
@@ -187,7 +201,7 @@
<span class="dm-card-title dm-stale" id="dm-stale" role="status" hidden></span>
<span class="dm-card-title" id="dm-count"></span>
</div>
- <div class="dm-table-wrap" id="dm-standings" aria-busy="true"><div class="dm-skeleton"></div></div>
+ <div class="dm-table-wrap" id="dm-standings" role="region" aria-label="Today's standings table" tabindex="0" aria-busy="true"><div class="dm-skeleton"></div></div>
</section>
<p class="dm-rules" id="dm-rules"></p>
diff --git a/pages/drop.html b/pages/drop.html
index f6fc389e7..a9628cad6 100644
--- a/pages/drop.html
+++ b/pages/drop.html
@@ -59,7 +59,7 @@
.errbox { border: 1px solid rgba(248,113,113,.4); background: rgba(248,113,113,.08); color: #fca5a5; }
.okbox.show, .warnbox.show, .errbox.show { display: block; }
- .keybox { background: #0a0a0a; border: 1px solid rgba(255,176,32,.35); border-radius: 8px; padding: .8rem; margin-top: .8rem; }
+ .keybox { background: var(--bg-0); border: 1px solid rgba(255,176,32,.35); border-radius: 8px; padding: .8rem; margin-top: .8rem; }
.keybox code { display: block; word-break: break-all; font-family: ui-monospace, monospace; font-size: .78rem; color: #fcd34d; background: #111; padding: .5rem; border-radius: 6px; margin: .4rem 0; }
.statebox { text-align: center; padding: 1.6rem 1rem; }
@@ -80,7 +80,7 @@
button.ghost .spin { border-color: rgba(255,255,255,.2); border-top-color: #fff; }
@keyframes rot { to { transform: rotate(360deg); } }
- #drop-toast.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(120%); background: #1a1a1a; border: 1px solid var(--border); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-size: .85rem; transition: transform .3s ease; z-index: 50; max-width: 90vw; }
+ #drop-toast.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(120%); background: var(--bg-1); border: 1px solid var(--border); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-size: .85rem; transition: transform .3s ease; z-index: 50; max-width: 90vw; }
#drop-toast.toast.show { transform: translateX(-50%) translateY(0); }
</style>
diff --git a/pages/economy.html b/pages/economy.html
index 8f1ee8474..58fc09499 100644
--- a/pages/economy.html
+++ b/pages/economy.html
@@ -188,18 +188,18 @@
appearance: none; font: inherit; font-weight: 600; font-size: 13.5px;
flex: 1; border-radius: 11px; padding: 9px 14px; cursor: pointer;
border: 1px solid transparent; color: #0b0b14;
- background: linear-gradient(135deg, #a78bfa, #7c5cff);
+ background: linear-gradient(135deg, var(--accent-violet-strong), #7c5cff);
transition: transform 0.1s ease, background 0.15s ease;
}
.ae-hire-btn:hover { background: linear-gradient(135deg, #b6a0ff, #8c6dff); }
.ae-hire-btn:active { transform: translateY(1px); }
- .ae-hire-btn:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
+ .ae-hire-btn:focus-visible { outline: 2px solid var(--accent-violet); outline-offset: 2px; }
.ae-offer-link { font-size: 12.5px; color: var(--text-muted, #888); text-decoration: none; white-space: nowrap; }
.ae-offer-link:hover { color: var(--text, #e8e8e8); }
.ae-fresh { color: #6ee7a8; }
.ae-skel-offer { height: 196px; }
.ae-hire-foot-note { font-size: 12.5px; color: var(--text-muted, #888); margin: 16px 0 0; }
- .ae-hire-foot-note a { color: #a78bfa; text-decoration: none; }
+ .ae-hire-foot-note a { color: var(--accent-violet-strong); text-decoration: none; }
.ae-hire-foot-note a:hover { text-decoration: underline; }
</style>
diff --git a/pages/feed.html b/pages/feed.html
index dc2775b55..a047dee29 100644
--- a/pages/feed.html
+++ b/pages/feed.html
@@ -227,7 +227,7 @@
transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.feed-scope button:hover { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.3); }
- .feed-scope button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .feed-scope button:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.feed-scope button[aria-pressed="true"] {
background: #fff;
color: #000;
diff --git a/pages/forge-embed.html b/pages/forge-embed.html
index d89bde376..30e98bad5 100644
--- a/pages/forge-embed.html
+++ b/pages/forge-embed.html
@@ -131,7 +131,7 @@
transform: translateX(-50%) translateY(1px);
}
.ar-cta:focus-visible {
- outline: 2px solid #fff;
+ outline: 2px solid var(--focus-ring-color, #fff);
outline-offset: 3px;
}
.ar-cta svg {
diff --git a/pages/forge-spark.html b/pages/forge-spark.html
index d6c913442..797ebbe94 100644
--- a/pages/forge-spark.html
+++ b/pages/forge-spark.html
@@ -166,7 +166,7 @@
.generate-btn:hover { filter: brightness(1.06); }
.generate-btn:active { transform: translateY(1px); }
.generate-btn:disabled { opacity: 0.55; cursor: not-allowed; filter: none; }
- .generate-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .generate-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
/* Pipeline stages -------------------------------------------- */
.pipeline {
list-style: none;
diff --git a/pages/guards.html b/pages/guards.html
index c84b5d40a..ae6d1af28 100644
--- a/pages/guards.html
+++ b/pages/guards.html
@@ -39,7 +39,7 @@
--gd-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 34px rgba(0, 0, 0, 0.34);
/* One hue per stage, reused for chip, badge and card accent. */
--gd-prebuild: #38bdf8;
- --gd-gate: #a78bfa;
+ --gd-gate: var(--accent-violet-strong);
--gd-deploy: var(--warn);
--gd-prepush: #34d399;
--gd-manual: #94a3b8;
diff --git a/pages/home.html b/pages/home.html
index 729f1379e..f4af3c9a2 100644
--- a/pages/home.html
+++ b/pages/home.html
@@ -1998,11 +1998,11 @@ import { attendRotation } from '/src/shared/attended-rotation.js';
color: var(--text-3); cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
#home-forge .hf-icon-mini svg { width: 16px; height: 16px; }
- #home-forge .hf-icon-mini:hover { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.1); transform: translateY(-1px); }
+ #home-forge .hf-icon-mini:hover { color: var(--accent-violet); border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.1); transform: translateY(-1px); }
#home-forge .hf-icon-mini:active { transform: translateY(0); }
#home-forge .hf-icon-mini:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 2px; }
#home-forge .hf-icon-mini[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
- #home-forge .hf-icon-mini.is-working { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.5); }
+ #home-forge .hf-icon-mini.is-working { color: var(--accent-violet); border-color: rgba(139, 92, 246, 0.5); }
#home-forge .hf-icon-mini.is-working svg { animation: hf-spin 0.9s linear infinite; }
@keyframes hf-spin { to { transform: rotate(360deg); } }
@@ -2061,7 +2061,7 @@ import { attendRotation } from '/src/shared/attended-rotation.js';
#home-forge .hfc-engine-btn:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 2px; }
#home-forge .hfc-engine-btn[data-health="degraded"] { border-color: rgba(245, 196, 81, 0.4); }
#home-forge .hfc-engine-auto[aria-pressed="true"] { background: rgba(139, 92, 246, 0.14); border-color: rgba(139, 92, 246, 0.5); }
- #home-forge .hfc-auto-pill { font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; color: #c4b5fd; }
+ #home-forge .hfc-auto-pill { font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent-violet); }
#home-forge .hfc-free-pill { font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; color: #6ee7a8; background: rgba(110, 231, 168, 0.14); padding: 1px 4px; border-radius: 4px; }
#home-forge .hfc-key { width: 12px; height: 12px; opacity: 0.7; }
diff --git a/pages/ibm/hello.html b/pages/ibm/hello.html
index 1c930dce7..88aa39625 100644
--- a/pages/ibm/hello.html
+++ b/pages/ibm/hello.html
@@ -641,7 +641,7 @@ a:focus-visible{outline-offset:3px}
.wb-retry{margin-top:18px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.4);cursor:pointer;font-family:var(--font-sans);font-size:13px;font-weight:600;padding:9px 16px;border-radius:2px;transition:background .12s}
.wb-retry[hidden]{display:none}
.wb-retry:hover{background:rgba(255,255,255,.22)}
-.wb-retry:focus-visible{outline:2px solid #fff;outline-offset:2px}
+.wb-retry:focus-visible{outline:2px solid var(--focus-ring-color, #fff);outline-offset:2px}
.wb-player{position:absolute;inset:0;background:#000}
.wb-player[hidden]{display:none}
.wb-player>video,.wb-player>iframe{width:100%;height:100%;display:block;border:0;background:#000;object-fit:contain}
@@ -671,7 +671,7 @@ a:focus-visible{outline-offset:3px}
.wb-gate-input:focus-visible{outline:2px solid #78a9ff;outline-offset:1px;background:rgba(255,255,255,.14)}
.wb-gate-btn{flex:0 0 auto;background:var(--ibm-blue-fill);color:#fff;border:none;cursor:pointer;font-family:var(--font-sans);font-size:15px;font-weight:500;padding:0 22px;height:46px;border-radius:2px;transition:background .12s}
.wb-gate-btn:hover{background:var(--ibm-blue-fill-hover)}
-.wb-gate-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
+.wb-gate-btn:focus-visible{outline:2px solid var(--focus-ring-color, #fff);outline-offset:2px}
.wb-gate-err{margin-top:14px;font-size:13px;color:#ffb3b8}
.wb-gate-err[hidden]{display:none}
</style>
diff --git a/pages/ibm/hello.live.html b/pages/ibm/hello.live.html
index 51a52c34f..bdb9d5497 100644
--- a/pages/ibm/hello.live.html
+++ b/pages/ibm/hello.live.html
@@ -629,7 +629,7 @@ a:focus-visible{outline-offset:3px}
.wb-retry{margin-top:18px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.4);cursor:pointer;font-family:var(--font-sans);font-size:13px;font-weight:600;padding:9px 16px;border-radius:2px;transition:background .12s}
.wb-retry[hidden]{display:none}
.wb-retry:hover{background:rgba(255,255,255,.22)}
-.wb-retry:focus-visible{outline:2px solid #fff;outline-offset:2px}
+.wb-retry:focus-visible{outline:2px solid var(--focus-ring-color, #fff);outline-offset:2px}
.wb-player{position:absolute;inset:0;background:#000}
.wb-player[hidden]{display:none}
.wb-player>video,.wb-player>iframe{width:100%;height:100%;display:block;border:0;background:#000;object-fit:contain}
@@ -659,7 +659,7 @@ a:focus-visible{outline-offset:3px}
.wb-gate-input:focus-visible{outline:2px solid #78a9ff;outline-offset:1px;background:rgba(255,255,255,.14)}
.wb-gate-btn{flex:0 0 auto;background:var(--ibm-blue-fill);color:#fff;border:none;cursor:pointer;font-family:var(--font-sans);font-size:15px;font-weight:500;padding:0 22px;height:46px;border-radius:2px;transition:background .12s}
.wb-gate-btn:hover{background:var(--ibm-blue-fill-hover)}
-.wb-gate-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
+.wb-gate-btn:focus-visible{outline:2px solid var(--focus-ring-color, #fff);outline-offset:2px}
.wb-gate-err{margin-top:14px;font-size:13px;color:#ffb3b8}
.wb-gate-err[hidden]{display:none}
</style>
diff --git a/pages/ibm/x402-demo.html b/pages/ibm/x402-demo.html
index 63c250146..322cc0d14 100644
--- a/pages/ibm/x402-demo.html
+++ b/pages/ibm/x402-demo.html
@@ -507,7 +507,7 @@ agent-3d:defined ~ .agent-skel{display:none}
.wb-retry{margin-top:18px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.4);cursor:pointer;font-family:var(--font-sans);font-size:13px;font-weight:600;padding:9px 16px;border-radius:2px;transition:background .12s}
.wb-retry[hidden]{display:none}
.wb-retry:hover{background:rgba(255,255,255,.22)}
-.wb-retry:focus-visible{outline:2px solid #fff;outline-offset:2px}
+.wb-retry:focus-visible{outline:2px solid var(--focus-ring-color, #fff);outline-offset:2px}
.wb-player{position:absolute;inset:0;background:#000}
.wb-player[hidden]{display:none}
.wb-player>video,.wb-player>iframe{width:100%;height:100%;display:block;border:0;background:#000;object-fit:contain}
diff --git a/pages/integrations.html b/pages/integrations.html
index 47878a9d0..2e72a14f6 100644
--- a/pages/integrations.html
+++ b/pages/integrations.html
@@ -51,7 +51,7 @@
--accent-ink: #000;
--green: var(--success);
--blue: #60a5fa;
- --purple: #a78bfa;
+ --purple: var(--accent-violet-strong);
--amber: var(--warn);
--pink: #f472b6;
--radius: 12px;
@@ -505,11 +505,11 @@
border-radius: 100px;
}
.cat-badge.avatar { background: rgba(96,165,250,0.14); color: #93c5fd; }
- .cat-badge.chat { background: rgba(167,139,250,0.14); color: #c4b5fd; }
+ .cat-badge.chat { background: rgba(167,139,250,0.14); color: var(--accent-violet); }
.cat-badge.companion { background: rgba(74,222,128,0.12); color: #86efac; }
.cat-badge.narrator { background: rgba(251,191,36,0.12); color: #fcd34d; }
.cat-badge.crypto { background: rgba(244,114,182,0.12); color: #f9a8d4; }
- .cat-badge.mcp { background: rgba(167,139,250,0.10); color: #c4b5fd; }
+ .cat-badge.mcp { background: rgba(167,139,250,0.10); color: var(--accent-violet); }
.diff-badge {
font-size: 10px;
@@ -608,7 +608,7 @@
white-space: pre;
}
pre.code-block .k { color: #60a5fa; }
- pre.code-block .a { color: #c4b5fd; }
+ pre.code-block .a { color: var(--accent-violet); }
pre.code-block .s { color: #86efac; }
pre.code-block .c { color: #52525b; }
pre.code-block .p { color: var(--warn); }
diff --git a/pages/marketplace-walk.html b/pages/marketplace-walk.html
index de33d7d58..f15639001 100644
--- a/pages/marketplace-walk.html
+++ b/pages/marketplace-walk.html
@@ -1307,7 +1307,7 @@
fallback is what a no-JS visitor (and many crawlers) actually see. -->
<style>
#walk-loading, #walk-stage, .walk-site-header { display: none !important; }
- html, body { overflow: auto !important; height: auto !important; background: #0a0a0a !important; }
+ html, body { overflow: auto !important; height: auto !important; background: var(--bg-0) !important; }
</style>
<div style="max-width:640px;margin:12vh auto;padding:0 24px;font-family:'Inter',system-ui,sans-serif;color:#fafafa;text-align:center;">
<h1 style="font-size:26px;font-weight:700;letter-spacing:-0.01em;margin:0 0 12px;">Walk-Browse the Marketplace</h1>
diff --git a/pages/marketplace.html b/pages/marketplace.html
index 0cc78f359..177e7f801 100644
--- a/pages/marketplace.html
+++ b/pages/marketplace.html
@@ -494,7 +494,7 @@
background-color: #fafafa;
}
.market-hero-dots button:focus-visible {
- outline: 2px solid #ffffff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 3px;
}
@media (max-width: 880px) {
@@ -1249,7 +1249,7 @@
}
.avatar-modal-sale input[type='number'],
.avatar-modal-sale input[type='text'] {
- background: #0a0a0a;
+ background: var(--bg-0);
border: 1px solid #2a2a2a;
border-radius: 8px;
color: #fafafa;
@@ -1272,7 +1272,7 @@
flex: 1;
}
.avatar-modal-sale .sale-row .sale-currency {
- background: #1a1a1a;
+ background: var(--bg-1);
border: 1px solid #2a2a2a;
color: #d4d4d8;
padding: 8px 10px;
@@ -1701,7 +1701,7 @@
width: 22px;
height: 22px;
border-radius: 6px;
- background: #1a1a1a;
+ background: var(--bg-1);
display: inline-flex;
align-items: center;
justify-content: center;
@@ -1782,7 +1782,7 @@
background: #ffffff;
}
.market-empty-cta-btn:focus-visible {
- outline: 2px solid #ffffff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
@@ -1923,7 +1923,7 @@
flex-wrap: wrap;
}
.payment-chain-pill {
- background: #1a1a1a;
+ background: var(--bg-1);
border: 1px solid #2a2a2a;
color: #cbd5e1;
padding: 6px 12px;
@@ -2127,7 +2127,7 @@
text-underline-offset: 2px;
}
.card-profile-link:focus-visible {
- outline: 2px solid #ffffff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
border-radius: 2px;
}
diff --git a/pages/mirror.html b/pages/mirror.html
index 08ed119ff..04ade3700 100644
--- a/pages/mirror.html
+++ b/pages/mirror.html
@@ -48,7 +48,7 @@
.mp-seg button[aria-pressed="true"] { background: rgba(255,255,255,.06); color: #fff; font-weight: 600; }
.mp-seg button:hover:not([aria-pressed="true"]) { color: rgba(255,255,255,.65); background: rgba(255,255,255,.03); }
.mp-board { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
- .mp-lrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #0a0a0a; transition: background .14s; }
+ .mp-lrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-0); transition: background .14s; }
.mp-lrow:hover { background: rgba(255,255,255,.03); }
.mp-rank { font-family: var(--font-mono, monospace); font-size: .78rem; color: rgba(255,255,255,.25); width: 24px; text-align: right; flex: 0 0 auto; }
.mp-rank.top { color: rgba(255,255,255,.7); font-weight: 600; }
diff --git a/pages/mocap-studio.html b/pages/mocap-studio.html
index 2bc35480d..e5fd84077 100644
--- a/pages/mocap-studio.html
+++ b/pages/mocap-studio.html
@@ -286,7 +286,7 @@
.field-row select,
.field-row textarea {
flex: 1;
- background: #0a0a0a;
+ background: var(--bg-0);
color: var(--text);
border: 1px solid var(--hairline-strong);
border-radius: 8px;
diff --git a/pages/motion.html b/pages/motion.html
index e7a2e6920..245546367 100644
--- a/pages/motion.html
+++ b/pages/motion.html
@@ -171,7 +171,7 @@
padding: 3px 8px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--ink);
}
.mo-lane[data-lane='composer'] { border-color: #34d399; color: #34d399; }
- .mo-lane[data-lane='model'] { border-color: #a78bfa; color: #a78bfa; }
+ .mo-lane[data-lane='model'] { border-color: var(--accent-violet-strong); color: var(--accent-violet-strong); }
.mo-lane[data-lane='edited'] { border-color: var(--warn); color: var(--warn); }
.mo-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(251,191,36,.4); background: rgba(251,191,36,.08); color: var(--ink); font-size: 12.5px; line-height: 1.55; }
diff --git a/pages/partners.html b/pages/partners.html
index 5d2368375..41d4daf91 100644
--- a/pages/partners.html
+++ b/pages/partners.html
@@ -51,7 +51,7 @@
--accent-ink: #000;
--green: var(--success);
--blue: #60a5fa;
- --purple: #a78bfa;
+ --purple: var(--accent-violet-strong);
--amber: var(--warn);
--pink: #f472b6;
--radius: 12px;
diff --git a/pages/pay-simulator.html b/pages/pay-simulator.html
index 6b9ddc8b5..092aadb2e 100644
--- a/pages/pay-simulator.html
+++ b/pages/pay-simulator.html
@@ -35,7 +35,7 @@
.chip { font: inherit; font-size: 12.5px; font-weight: 500; padding: 6px 13px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.72); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.24); }
.chip:focus-visible { outline: 2px solid #7c5cff; outline-offset: 2px; }
- .chip[aria-pressed='true'] { background: rgba(124,92,255,0.18); border-color: rgba(124,92,255,0.45); color: #c4b5fd; }
+ .chip[aria-pressed='true'] { background: rgba(124,92,255,0.18); border-color: rgba(124,92,255,0.45); color: var(--accent-violet); }
/* ── Two-column workspace ────────────────────────────────── */
.ps-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@@ -70,7 +70,7 @@
.btn-primary { font: inherit; font-size: 13.5px; font-weight: 600; padding: 11px 20px; border-radius: 10px; border: none; background: linear-gradient(135deg, #7c5cff, #6144e0); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: opacity .15s, transform .1s; box-shadow: 0 2px 12px rgba(124,92,255,0.3); }
.btn-primary:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
- .btn-primary:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
+ .btn-primary:focus-visible { outline: 2px solid var(--accent-violet); outline-offset: 2px; }
.btn-primary:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn-ghost { font: inherit; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.72); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
@@ -114,7 +114,7 @@
.stat { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 0.85rem 1rem; background: rgba(255,255,255,0.022); }
.stat .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 0.4rem; }
.stat .v { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
- .stat .v.g { color: #2fbf71; } .stat .v.r { color: var(--danger); } .stat .v.p { color: #a78bfa; } .stat .v.b { color: #7dd3fc; }
+ .stat .v.g { color: #2fbf71; } .stat .v.r { color: var(--danger); } .stat .v.p { color: var(--accent-violet-strong); } .stat .v.b { color: #7dd3fc; }
/* ── Spend curve ─────────────────────────────────────────── */
.curve { border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.1rem 1.2rem 0.9rem; background: rgba(255,255,255,0.022); margin-bottom: 1.35rem; }
@@ -152,7 +152,7 @@
/* ── Recommendation ──────────────────────────────────────── */
.rec { border: 1px solid rgba(124,92,255,0.32); border-radius: 15px; background: linear-gradient(135deg, rgba(124,92,255,0.09), rgba(124,92,255,0.02)); padding: 1.25rem 1.35rem 1.35rem; margin-top: 1.5rem; }
- .rec h3 { margin: 0 0 0.35rem; font-size: 14.5px; font-weight: 650; color: #c4b5fd; }
+ .rec h3 { margin: 0 0 0.35rem; font-size: 14.5px; font-weight: 650; color: var(--accent-violet); }
.rec > p { margin: 0 0 1.1rem; font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.85rem; margin-bottom: 1.15rem; }
.rec-item .k { font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.42); font-weight: 600; margin-bottom: 0.3rem; }
diff --git a/pages/payment-outcomes.html b/pages/payment-outcomes.html
index 9b86605cc..5876ababe 100644
--- a/pages/payment-outcomes.html
+++ b/pages/payment-outcomes.html
@@ -29,7 +29,7 @@
.po-note code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }
.po-note.bad { background: rgba(248,113,113,0.05); border-color: rgba(248,113,113,0.18); }
.po-note h2 { font-size: 15px; margin: 0 0 0.6rem; color: #e2e8f0; font-weight: 700; }
- .po-note a { color: #a78bfa; }
+ .po-note a { color: var(--accent-violet-strong); }
.po-banner { padding: 0.85rem 1.1rem; border-radius: 11px; margin-bottom: 1.5rem; font-size: 12.5px; line-height: 1.6; background: rgba(240,169,59,0.07); border: 1px solid rgba(240,169,59,0.24); color: #f0a93b; }
diff --git a/pages/payments.html b/pages/payments.html
index 1ba5031f3..3ec481a18 100644
--- a/pages/payments.html
+++ b/pages/payments.html
@@ -41,13 +41,13 @@
.pw-stat { border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.1rem 1.25rem 1rem; background: rgba(255,255,255,0.025); position: relative; overflow: hidden; transition: border-color .2s; }
.pw-stat::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 14px 14px 0 0; }
.pw-stat.s-active::after { background: linear-gradient(90deg, #2fbf71, #52e89a); }
- .pw-stat.s-budget::after { background: linear-gradient(90deg, #7c5cff, #a78bfa); }
+ .pw-stat.s-budget::after { background: linear-gradient(90deg, #7c5cff, var(--accent-violet-strong)); }
.pw-stat.s-paid::after { background: linear-gradient(90deg, #3b82f6, #7dd3fc); }
.pw-stat.s-endpoints::after { background: linear-gradient(90deg, #f0a93b, #ffd280); }
.pw-stat .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 0.55rem; }
.pw-stat .val { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pw-stat .val.c-green { color: #2fbf71; }
- .pw-stat .val.c-purple { color: #a78bfa; }
+ .pw-stat .val.c-purple { color: var(--accent-violet-strong); }
.pw-stat .val.c-blue { color: #7dd3fc; }
.pw-stat .val.c-amber { color: var(--warn); }
.pw-stat .sub { font-size: 11.5px; color: rgba(255,255,255,0.35); margin-top: 0.35rem; }
@@ -125,15 +125,15 @@
.sc-act { font: inherit; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 8px; cursor: pointer; transition: opacity .15s, background .15s; display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; }
.sc-act.danger { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.22); color: var(--danger); }
.sc-act.danger:hover { opacity: 0.8; }
- .sc-act.copy { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.22); color: #c4b5fd; }
+ .sc-act.copy { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.22); color: var(--accent-violet); }
.sc-act.copy:hover { background: rgba(167,139,250,0.18); }
.sc-act.edit { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.sc-act.edit:hover { background: rgba(255,255,255,0.12); }
/* MCP snippet box */
- .mcp-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.875rem 1rem; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11.5px; color: #a78bfa; line-height: 1.65; word-break: break-all; display: none; margin-bottom: 1rem; position: relative; }
+ .mcp-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.875rem 1rem; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11.5px; color: var(--accent-violet-strong); line-height: 1.65; word-break: break-all; display: none; margin-bottom: 1rem; position: relative; }
.mcp-box.show { display: block; }
- .mcp-copy-btn { position: absolute; top: 0.6rem; right: 0.6rem; font: inherit; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(167,139,250,0.3); background: rgba(167,139,250,0.12); color: #c4b5fd; cursor: pointer; transition: background .15s; }
+ .mcp-copy-btn { position: absolute; top: 0.6rem; right: 0.6rem; font: inherit; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(167,139,250,0.3); background: rgba(167,139,250,0.12); color: var(--accent-violet); cursor: pointer; transition: background .15s; }
.mcp-copy-btn:hover { background: rgba(167,139,250,0.22); }
/* Executions section */
@@ -178,7 +178,7 @@
.tpl-row { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.tpl-btn { flex: 1; font: inherit; font-size: 12px; font-weight: 600; padding: 8px 6px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.65); cursor: pointer; transition: border-color .15s, background .15s, color .15s; text-align: center; line-height: 1.3; }
.tpl-btn:hover { border-color: rgba(124,92,255,0.5); background: rgba(124,92,255,0.08); color: #fff; }
- .tpl-btn.on { border-color: rgba(124,92,255,0.6); background: rgba(124,92,255,0.14); color: #c4b5fd; }
+ .tpl-btn.on { border-color: rgba(124,92,255,0.6); background: rgba(124,92,255,0.14); color: var(--accent-violet); }
.tpl-btn .tpl-price { display: block; font-size: 14px; font-weight: 800; color: inherit; margin-bottom: 2px; }
.tpl-btn .tpl-desc { display: block; font-size: 10.5px; font-weight: 500; opacity: 0.7; }
@@ -188,7 +188,7 @@
.f-row label span { font-size: 11px; color: rgba(255,255,255,0.3); text-transform: none; letter-spacing: 0; font-weight: 400; }
.f-row input, .f-row select, .f-row textarea { width: 100%; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; background: rgba(255,255,255,0.04); color: #fff; transition: border-color .15s, background .15s; box-sizing: border-box; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: none; border-color: rgba(124,92,255,0.6); background: rgba(124,92,255,0.05); }
- .f-row select option { background: #1a1a1a; }
+ .f-row select option { background: var(--bg-1); }
.f-hint { font-size: 11.5px; color: rgba(255,255,255,0.35); margin-top: 5px; line-height: 1.45; }
.f-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@@ -209,12 +209,12 @@
.token-reveal { margin-top: 1.25rem; }
.token-warn { display: flex; align-items: flex-start; gap: 0.625rem; background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.25); border-radius: 10px; padding: 0.875rem 1rem; font-size: 13px; color: #fcd34d; margin-bottom: 1rem; line-height: 1.5; }
.token-warn svg { flex-shrink: 0; margin-top: 1px; }
- .token-box { background: rgba(124,92,255,0.07); border: 1px solid rgba(124,92,255,0.25); border-radius: 10px; padding: 1rem; word-break: break-all; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 12px; color: #c4b5fd; line-height: 1.65; position: relative; }
+ .token-box { background: rgba(124,92,255,0.07); border: 1px solid rgba(124,92,255,0.25); border-radius: 10px; padding: 1rem; word-break: break-all; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 12px; color: var(--accent-violet); line-height: 1.65; position: relative; }
.token-env { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 0.5rem; }
.token-env span { color: #86efac; }
.token-actions { display: flex; gap: 0.625rem; margin-top: 0.875rem; }
.token-btn { font: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 8px; cursor: pointer; transition: opacity .15s, background .15s; display: inline-flex; align-items: center; gap: 6px; }
- .token-btn.copy { background: rgba(124,92,255,0.18); border: 1px solid rgba(124,92,255,0.3); color: #c4b5fd; }
+ .token-btn.copy { background: rgba(124,92,255,0.18); border: 1px solid rgba(124,92,255,0.3); color: var(--accent-violet); }
.token-btn.copy:hover { background: rgba(124,92,255,0.28); }
.token-btn.env { background: rgba(134,239,172,0.1); border: 1px solid rgba(134,239,172,0.22); color: #86efac; }
.token-btn.env:hover { background: rgba(134,239,172,0.18); }
diff --git a/pages/profile.html b/pages/profile.html
index bf92d6d94..90cf6f7e5 100644
--- a/pages/profile.html
+++ b/pages/profile.html
@@ -900,7 +900,7 @@
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--bg-0, #000);
- background: #0a0a0a;
+ background: var(--bg-0);
flex-shrink: 0;
}
diff --git a/pages/pump-live.html b/pages/pump-live.html
index c7f045a5e..da4f1f128 100644
--- a/pages/pump-live.html
+++ b/pages/pump-live.html
@@ -32,7 +32,7 @@
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
- background: #0a0a0a;
+ background: var(--bg-0);
color: var(--text-color);
font-family: 'Roboto Mono', 'Courier New', monospace;
font-size: 14px;
diff --git a/pages/pump-visualizer.html b/pages/pump-visualizer.html
index 43f3b1299..6da4f30e2 100644
--- a/pages/pump-visualizer.html
+++ b/pages/pump-visualizer.html
@@ -541,7 +541,7 @@
color: var(--vz-text);
}
.vz-legend li:hover { background: rgba(255,255,255,0.04); }
- .vz-legend li:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+ .vz-legend li:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.vz-legend li.is-selected { background: var(--accent-soft); }
.vz-legend li .rank { color: var(--vz-muted); width: 26px; font-size: 10px; font-variant-numeric: tabular-nums; }
.vz-legend li .rank.age { color: var(--vz-red); font-weight: 600; }
diff --git a/pages/sign-language.html b/pages/sign-language.html
index 5d605a12f..1d1e2b561 100644
--- a/pages/sign-language.html
+++ b/pages/sign-language.html
@@ -53,7 +53,7 @@
background: var(--surface-1); font-size: 12px; letter-spacing: .04em;
text-transform: uppercase; color: var(--ink-dim); font-family: var(--font-mono);
}
- .sl-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.18); }
+ .sl-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-violet-strong); box-shadow: 0 0 0 3px rgba(167,139,250,.18); }
.sl-hero h1 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.03; margin: 18px 0 14px; letter-spacing: -.02em; }
.sl-hero-lede { max-width: 54ch; color: var(--ink-dim); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; margin: 0; }
@@ -208,7 +208,7 @@
}
.sl-api-letter[data-active] { background: rgba(167,139,250,.55); color: var(--ink); }
- .sl-api-playhead { position: absolute; top: -4px; bottom: 20px; width: 2px; background: #a78bfa; box-shadow: 0 0 8px rgba(167,139,250,.9); pointer-events: none; border-radius: 2px; }
+ .sl-api-playhead { position: absolute; top: -4px; bottom: 20px; width: 2px; background: var(--accent-violet-strong); box-shadow: 0 0 8px rgba(167,139,250,.9); pointer-events: none; border-radius: 2px; }
.sl-api-ruler { position: relative; height: 18px; margin-top: 4px; }
.sl-api-tick { position: absolute; top: 0; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; color: var(--ink-dim); }
diff --git a/pages/splat.html b/pages/splat.html
index 156ba6b1b..c6620b132 100644
--- a/pages/splat.html
+++ b/pages/splat.html
@@ -45,7 +45,7 @@
display: inline-flex; align-items: center; gap: 6px;
padding: 4px 11px; background: rgba(124,93,243,0.12);
border: 1px solid #3a2f63; border-radius: 20px;
- font-size: 11px; color: #c4b5fd; letter-spacing: 0.05em;
+ font-size: 11px; color: var(--accent-violet); letter-spacing: 0.05em;
text-transform: uppercase; margin-bottom: 16px;
}
.sp-head h1 {
@@ -79,7 +79,7 @@
.sp-overlay[hidden] { display: none; }
.sp-spinner {
width: 34px; height: 34px; border-radius: 50%;
- border: 3px solid rgba(255,255,255,0.12); border-top-color: #c4b5fd;
+ border: 3px solid rgba(255,255,255,0.12); border-top-color: var(--accent-violet);
animation: sp-spin 0.8s linear infinite;
}
@keyframes sp-spin { to { transform: rotate(360deg); } }
@@ -89,7 +89,7 @@
.sp-overlay--drop:hover, .sp-stage.is-dragover .sp-overlay--drop { background: rgba(124,93,243,0.08); }
.sp-glyph {
width: 54px; height: 54px; border-radius: 14px;
- display: grid; place-items: center; color: #c4b5fd;
+ display: grid; place-items: center; color: var(--accent-violet);
background: rgba(124,93,243,0.12); border: 1px solid #3a2f63;
}
.sp-err-actions { display: flex; gap: 8px; pointer-events: auto; }
@@ -164,7 +164,7 @@
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
- .sp-sample-dot { width: 8px; height: 8px; border-radius: 50%; background: #c4b5fd; flex: 0 0 auto; }
+ .sp-sample-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-violet); flex: 0 0 auto; }
.sp-note { font-size: 11.5px; color: var(--text-3, #8a8a8a); line-height: 1.55; }
@media (max-width: 860px) {
diff --git a/pages/voice.html b/pages/voice.html
index 9c8d84754..570bb5fef 100644
--- a/pages/voice.html
+++ b/pages/voice.html
@@ -59,7 +59,7 @@
/* ── Card base ──────────────────────────────── */
.vl-card {
- background: #0a0a0a;
+ background: var(--bg-0);
border: 1px solid #1a1a1a;
border-radius: 16px;
overflow: hidden;
@@ -514,7 +514,7 @@
gap: 12px;
}
.vl-voice-card {
- background: #0a0a0a;
+ background: var(--bg-0);
border: 1px solid #1a1a1a;
border-radius: 12px;
padding: 16px;
@@ -756,7 +756,7 @@
border-color: rgba(255,255,255,0.3);
color: #ffffff;
}
- .vb-pill:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
+ .vb-pill:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.vb-pill.active {
background: #ffffff;
border-color: #ffffff;
@@ -921,7 +921,7 @@
.vl-byok-row input:focus-visible,
.vb-filters input[type="search"]:focus-visible,
.vb-filters select:focus-visible {
- outline: 2px solid #ffffff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
diff --git a/pages/walk-landing.html b/pages/walk-landing.html
index a318272e7..68d817e8d 100644
--- a/pages/walk-landing.html
+++ b/pages/walk-landing.html
@@ -503,7 +503,7 @@
flex: 1;
}
.wl-tok-tag { color: #7dd3fc; }
- .wl-tok-attr { color: #c4b5fd; }
+ .wl-tok-attr { color: var(--accent-violet); }
.wl-tok-val { color: var(--color-success); }
.wl-tok-com { color: var(--color-text-faint); font-style: italic; }
.wl-dev-preview .wl-frame-stage { aspect-ratio: 1 / 1; height: auto; }
diff --git a/public/brain.css b/public/brain.css
index 5e7049960..5170771f9 100644
--- a/public/brain.css
+++ b/public/brain.css
@@ -302,7 +302,7 @@ body {
display: flex;
align-items: center;
gap: 10px;
- background: #0a0a0a;
+ background: var(--bg-0);
border: 1px solid #181824;
border-radius: 12px;
padding: 10px 16px;
diff --git a/public/choreograph.css b/public/choreograph.css
index 24d332e9d..1c01920c2 100644
--- a/public/choreograph.css
+++ b/public/choreograph.css
@@ -16,7 +16,7 @@
--ch-accent: #7dd3fc;
--ch-accent-ink: #04141f;
--ch-muted: rgba(255, 255, 255, 0.6);
- --ch-ok: #4ade80;
+ --ch-ok: var(--success);
--ch-err: #f87171;
}
:root[data-theme='light'] {
diff --git a/public/docs-live.css b/public/docs-live.css
index 9bf5b1c9f..f199a6b9f 100644
--- a/public/docs-live.css
+++ b/public/docs-live.css
@@ -316,7 +316,7 @@
.dlive-chip-warn,
.dlive-chip-redirect {
- color: #fbbf24;
+ color: var(--warn);
background: rgba(251, 191, 36, 0.13);
border-color: rgba(251, 191, 36, 0.32);
}
@@ -328,7 +328,7 @@
}
.dlive-chip-err {
- color: #f87171;
+ color: var(--danger);
background: rgba(248, 113, 113, 0.13);
border-color: rgba(248, 113, 113, 0.32);
}
@@ -443,11 +443,11 @@
}
.dlive-line-warn {
- color: #fbbf24;
+ color: var(--warn);
}
.dlive-line-error {
- color: #f87171;
+ color: var(--danger);
}
.dlive-line-muted {
diff --git a/public/docs-world.css b/public/docs-world.css
index b1b52f37b..c29f6527c 100644
--- a/public/docs-world.css
+++ b/public/docs-world.css
@@ -434,7 +434,7 @@ body {
}
.dw-reader-classic {
font-size: 12.5px;
- color: #c4b5fd;
+ color: var(--accent-violet);
text-decoration: none;
white-space: nowrap;
}
@@ -467,7 +467,7 @@ body {
margin: 20px 0 8px;
}
.dw-reader-body a {
- color: #c4b5fd;
+ color: var(--accent-violet);
}
.dw-reader-body a:hover {
color: #ede9fe;
diff --git a/public/economy-ticker.css b/public/economy-ticker.css
index c1e9b9c1f..5e5e92c97 100644
--- a/public/economy-ticker.css
+++ b/public/economy-ticker.css
@@ -60,9 +60,9 @@
background: currentColor;
box-shadow: 0 0 8px currentColor;
}
-.eco-status--live { color: #4ade80; }
+.eco-status--live { color: var(--success); }
.eco-status--live .eco-dot { animation: eco-pulse 2s ease-in-out infinite; }
-.eco-status--stale { color: #fbbf24; }
+.eco-status--stale { color: var(--warn); }
@keyframes eco-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
.eco-status--live .eco-dot { animation: none; }
diff --git a/public/examples.css b/public/examples.css
index a4d5ae922..224d6be94 100644
--- a/public/examples.css
+++ b/public/examples.css
@@ -446,7 +446,7 @@
width: 100%;
border: 1px solid var(--border, #26262e);
border-radius: 12px;
- background: #0a0a0a;
+ background: var(--bg-0);
display: block;
}
diff --git a/public/features.css b/public/features.css
index 5f93d534e..4404e843c 100644
--- a/public/features.css
+++ b/public/features.css
@@ -34,7 +34,7 @@
.skip-link:focus,
.skip-link:focus-visible {
top: 8px;
- outline: 2px solid #ffffff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
@@ -42,7 +42,7 @@
.features-page a:focus-visible,
.features-page button:focus-visible {
- outline: 2px solid #ffffff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
border-radius: var(--radius-sm);
}
@@ -1133,7 +1133,7 @@
}
.feat-goal-pill:focus-visible {
- outline: 2px solid #fff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
@@ -1394,7 +1394,7 @@
.feat-code-block {
width: 100%;
max-width: 400px;
- background: #0a0a0a;
+ background: var(--bg-0);
border: 1px solid rgba(255,255,255,0.07);
border-radius: var(--radius-lg);
overflow: hidden;
diff --git a/public/galaxy.css b/public/galaxy.css
index ee2665c62..0f967e405 100644
--- a/public/galaxy.css
+++ b/public/galaxy.css
@@ -675,7 +675,7 @@
height: 16px;
flex: none;
border-radius: 50%;
- background: radial-gradient(circle at 35% 30%, #fff, #c4b5fd 45%, #6d28d9 100%);
+ background: radial-gradient(circle at 35% 30%, #fff, var(--accent-violet) 45%, #6d28d9 100%);
box-shadow: 0 0 12px rgba(196, 181, 253, 0.8), 0 0 4px #fff;
animation: gx-pulse 2.6s ease-in-out infinite;
}
@@ -734,8 +734,8 @@
transition: background 0.2s, box-shadow 0.2s;
}
.gx-mc-live-dot.gx-mc-on {
- background: #4ade80;
- box-shadow: 0 0 10px #4ade80;
+ background: var(--success);
+ box-shadow: 0 0 10px var(--success);
animation: gx-pulse 1.8s ease-in-out infinite;
}
.gx-mc-live-dot.gx-mc-stale { background: var(--warn, #fbbf24); box-shadow: 0 0 8px var(--warn, #fbbf24); }
@@ -823,7 +823,7 @@
width: 14px;
height: 14px;
border-radius: 50%;
- background: #c4b5fd;
+ background: var(--accent-violet);
box-shadow: 0 0 8px rgba(196, 181, 253, 0.7);
cursor: pointer;
}
@@ -832,7 +832,7 @@
height: 14px;
border: 0;
border-radius: 50%;
- background: #c4b5fd;
+ background: var(--accent-violet);
box-shadow: 0 0 8px rgba(196, 181, 253, 0.7);
cursor: pointer;
}
@@ -920,9 +920,9 @@
}
.gx-mc-leg { display: inline-flex; align-items: center; gap: 6px; }
.gx-mc-leg i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
-.gx-mc-leg[data-k="tip"] i { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
+.gx-mc-leg[data-k="tip"] i { background: var(--success); box-shadow: 0 0 6px var(--success); }
.gx-mc-leg[data-k="trade"] i { background: #4589ff; box-shadow: 0 0 6px #4589ff; }
-.gx-mc-leg[data-k="payment"] i { background: #c4b5fd; box-shadow: 0 0 6px #c4b5fd; }
+.gx-mc-leg[data-k="payment"] i { background: var(--accent-violet); box-shadow: 0 0 6px var(--accent-violet); }
.gx-mc-leg[data-k="launch"] i { background: #ffd27a; box-shadow: 0 0 6px #ffd27a; }
/* Flow-count chip on the agent inspect card. */
diff --git a/public/genome.css b/public/genome.css
index 0d1e12746..8fa09cfdd 100644
--- a/public/genome.css
+++ b/public/genome.css
@@ -175,7 +175,7 @@
.gn-trait-row { display: flex; justify-content: space-between; font-size: var(--text-xs); margin-bottom: 3px; }
.gn-trait-row .gn-mut { color: #ffd479; font-size: var(--text-2xs); }
.gn-bar { height: 6px; border-radius: 3px; background: var(--surface-3, #1c1f27); overflow: hidden; }
-.gn-bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent, #7aa2ff), #a78bfa); transition: width 0.5s cubic-bezier(0.2,0.8,0.2,1); }
+.gn-bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent, #7aa2ff), var(--accent-violet-strong)); transition: width 0.5s cubic-bezier(0.2,0.8,0.2,1); }
/* skill chips */
.gn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
diff --git a/public/gestures.css b/public/gestures.css
index 2b3e36f66..9d9271f6d 100644
--- a/public/gestures.css
+++ b/public/gestures.css
@@ -362,10 +362,10 @@
min-height: 1em;
}
.gv-apply-status.is-ok {
- color: #4ade80;
+ color: var(--success);
}
.gv-apply-status.is-err {
- color: #f87171;
+ color: var(--danger);
}
.gv-apply-status a {
color: inherit;
@@ -790,10 +790,10 @@
* atlas, so a colour means the same body part everywhere on the page. */
:root {
- --gv-r-head: #a78bfa;
+ --gv-r-head: var(--accent-violet-strong);
--gv-r-arms: #7dd3fc;
--gv-r-torso: #34d399;
- --gv-r-root: #fbbf24;
+ --gv-r-root: var(--warn);
--gv-r-legs: #f472b6;
--gv-warn: #f59e0b;
--gv-ok: #34d399;
diff --git a/public/getting-started.css b/public/getting-started.css
index 9c3bfffbd..79b88541c 100644
--- a/public/getting-started.css
+++ b/public/getting-started.css
@@ -85,7 +85,7 @@
color: #a1a1aa;
font-weight: 500;
}
-.twg-pill.is-complete .twg-pill-count { color: #4ade80; }
+.twg-pill.is-complete .twg-pill-count { color: var(--success); }
.twg-pill.is-complete {
border-color: rgba(74, 222, 128, 0.25);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.08);
diff --git a/public/marketplace.css b/public/marketplace.css
index f3522f037..42ba95dae 100644
--- a/public/marketplace.css
+++ b/public/marketplace.css
@@ -1308,7 +1308,7 @@ body.market-page > header {
}
.market-bookmark.on {
- color: #fbbf24;
+ color: var(--warn);
}
.market-tabs {
@@ -2855,7 +2855,7 @@ body.market-page > header {
}
.earn-val-pending {
- color: #fbbf24;
+ color: var(--warn);
}
.earn-val-settled {
@@ -3183,7 +3183,7 @@ body.market-page > header {
}
.earn-status-pending {
- color: #fbbf24;
+ color: var(--warn);
background: rgba(251, 191, 36, 0.12);
}
@@ -3627,7 +3627,7 @@ body.market-page > header {
.market-card-avatar .thumb {
position: relative;
overflow: hidden;
- background: #0a0a0a;
+ background: var(--bg-0);
}
.market-card-avatar .thumb .mv-placeholder {
@@ -4471,11 +4471,11 @@ body.market-page > header {
}
.d-rating-summary .stars {
font-size: 18px;
- color: #fbbf24;
+ color: var(--warn);
letter-spacing: 1px;
}
.d-rating-summary .stars .stars-filled {
- color: #fbbf24;
+ color: var(--warn);
}
.d-rating-summary .count {
font-size: 13px;
@@ -4510,7 +4510,7 @@ body.market-page > header {
}
.breakdown-fill {
height: 100%;
- background: #fbbf24;
+ background: var(--warn);
border-radius: var(--radius-sm);
transition: width 0.4s ease;
}
@@ -4567,11 +4567,11 @@ body.market-page > header {
}
.review-star-picker .star-pick:hover,
.review-star-picker .star-pick.hover {
- color: #fbbf24;
+ color: var(--warn);
transform: scale(1.15);
}
.review-star-picker .star-pick.active {
- color: #fbbf24;
+ color: var(--warn);
}
.review-star-picker .star-pick:focus-visible {
outline: 2px solid rgba(255, 255, 255, 0.5);
@@ -4637,7 +4637,7 @@ body.market-page > header {
color: var(--ink);
}
.review-mine-notice.editing { opacity: 0.5; }
-.review-mine-notice strong { color: #fbbf24; letter-spacing: 1px; }
+.review-mine-notice strong { color: var(--warn); letter-spacing: 1px; }
.review-mine-actions {
display: flex;
gap: var(--space-xs);
@@ -4747,7 +4747,7 @@ body.market-page > header {
color: var(--ink-dim);
}
.review-stars {
- color: #fbbf24;
+ color: var(--warn);
font-size: 14px;
letter-spacing: 1px;
flex-shrink: 0;
@@ -5307,7 +5307,7 @@ body.market-page > header {
outline: none;
}
.mkt-wallet-menu-item.danger {
- color: #f87171;
+ color: var(--danger);
}
.mkt-wallet-menu-item.danger:hover,
.mkt-wallet-menu-item.danger:focus-visible {
diff --git a/public/memory-studio.css b/public/memory-studio.css
index 2a2066aa0..0165566bd 100644
--- a/public/memory-studio.css
+++ b/public/memory-studio.css
@@ -132,7 +132,7 @@
.mem-badge[data-type='user'] { color: #93c5fd; background: rgba(59, 130, 246, 0.14); }
.mem-badge[data-type='feedback'] { color: #fca5a5; background: rgba(239, 68, 68, 0.14); }
.mem-badge[data-type='project'] { color: #86efac; background: rgba(34, 197, 94, 0.14); }
-.mem-badge[data-type='reference'] { color: #c4b5fd; background: rgba(139, 92, 246, 0.14); }
+.mem-badge[data-type='reference'] { color: var(--accent-violet); background: rgba(139, 92, 246, 0.14); }
.mem-tier-tag {
font-size: 10px; font-weight: var(--weight-semibold, 600); padding: 1px 7px; border-radius: var(--radius-pill, 999px);
border: 1px solid var(--stroke);
@@ -140,7 +140,7 @@
.mem-tier-tag[data-tier='working'] { color: var(--mem-working); border-color: rgba(139, 92, 246, 0.4); }
.mem-tier-tag[data-tier='recall'] { color: var(--mem-recall); border-color: rgba(34, 211, 238, 0.4); }
.mem-tier-tag[data-tier='archival'] { color: #94a3b8; border-color: rgba(100, 116, 139, 0.4); }
-.mem-pin-on { color: #fbbf24; font-size: 12px; }
+.mem-pin-on { color: var(--warn); font-size: 12px; }
.mem-embed-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success, #4ade80); box-shadow: 0 0 6px rgba(74, 222, 128, 0.6); }
.mem-embed-dot.pending { background: var(--ink-faint, #555); box-shadow: none; animation: mem-pulse 1.6s ease-in-out infinite; }
@keyframes mem-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@@ -247,7 +247,7 @@
.mem-ctx-tokens { color: var(--ink-dim, #888); font-variant-numeric: tabular-nums; }
.mem-ctx-bar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-3, rgba(255, 255, 255, 0.08)); overflow: hidden; }
.mem-ctx-fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--mem-working), var(--mem-recall)); transition: width var(--duration-slow, 320ms) var(--ease-out); }
-.mem-ctx-budget.over .mem-ctx-fill { background: linear-gradient(90deg, #f59e0b, #f87171); }
+.mem-ctx-budget.over .mem-ctx-fill { background: linear-gradient(90deg, #f59e0b, var(--danger)); }
.mem-ctx-warn { margin: 8px 0 0; font-size: var(--text-2xs, 0.6875rem); color: var(--warn, #fbbf24); }
.mem-ctx-counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mem-count { padding: 10px; border-radius: var(--radius-md); border: 1px solid var(--stroke); background: var(--surface-1); text-align: center; display: flex; flex-direction: column; gap: 2px; }
@@ -261,7 +261,7 @@
.mem-search-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: var(--space-md); }
.mem-search-head h3 { margin: 0; font-family: var(--font-display); font-size: var(--text-lg, 1.236rem); color: var(--ink-bright, #fff); }
.mem-search-note { font-size: var(--text-2xs, 0.6875rem); color: var(--ink-faint, #666); }
-.mem-score { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-pill); background: rgba(139, 92, 246, 0.18); color: #c4b5fd; font-variant-numeric: tabular-nums; }
+.mem-score { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-pill); background: rgba(139, 92, 246, 0.18); color: var(--accent-violet); font-variant-numeric: tabular-nums; }
.mem-score-lex { background: var(--surface-3); color: var(--ink-dim); }
/* ── Merge bar ───────────────────────────────────────────────────────────── */
diff --git a/public/model-diff.css b/public/model-diff.css
index dd41cc252..b4844532b 100644
--- a/public/model-diff.css
+++ b/public/model-diff.css
@@ -508,7 +508,7 @@ button.dx-row[aria-pressed='true'] { background: var(--surface-3); }
.dx-mark-add { color: var(--success); }
.dx-mark-del { color: var(--danger); }
.dx-mark-mod { color: var(--warn); }
-.dx-mark-ren { color: #c4b5fd; }
+.dx-mark-ren { color: var(--accent-violet); }
.dx-mark-mov { color: #60a5fa; }
.dx-row-name { font-family: var(--font-mono); font-size: var(--text-sm); word-break: break-word; }
diff --git a/public/nav.css b/public/nav.css
index 82ffbfe4f..a98bff7c8 100644
--- a/public/nav.css
+++ b/public/nav.css
@@ -487,7 +487,7 @@
/* "new" tone — recently shipped. Distinct from "live" on purpose: a new
surface is worth a look, a live one is worth watching. */
.nav-pill-new {
- background: rgba(139,92,246,0.16); color: #c4b5fd;
+ background: rgba(139,92,246,0.16); color: var(--accent-violet);
box-shadow: inset 0 0 0 1px rgba(139,92,246,0.3);
}
diff --git a/public/pitch.css b/public/pitch.css
index d5a57b6d3..1613e939c 100644
--- a/public/pitch.css
+++ b/public/pitch.css
@@ -799,7 +799,7 @@ a { color: inherit; }
clean deck file. */
@media print {
@page { size: 1280px 720px; margin: 0; }
- html, body { overflow: visible; height: auto; background: #0a0a0a; }
+ html, body { overflow: visible; height: auto; background: var(--bg-0); }
.deck-top, .deck-controls, .kbd-hint, .deck-progress, .deck-bg, .deck-grid { display: none !important; }
.deck, .deck-stage { position: static; }
.slide {
diff --git a/public/pricing.css b/public/pricing.css
index b466fc518..8c42f04f2 100644
--- a/public/pricing.css
+++ b/public/pricing.css
@@ -1301,7 +1301,7 @@
}
.pricing-three-discount {
- color: #4ade80;
+ color: var(--success);
font-weight: 600;
}
@@ -1441,7 +1441,7 @@
position: absolute;
top: -9px;
right: 10px;
- background: #4ade80;
+ background: var(--success);
color: #05240f;
font-size: 10.5px;
font-weight: 700;
@@ -1573,7 +1573,7 @@
border-radius: 50%;
background: rgba(74, 222, 128, 0.14);
border: 1px solid rgba(74, 222, 128, 0.45);
- color: #4ade80;
+ color: var(--success);
font-size: 24px;
font-weight: 700;
}
diff --git a/public/studio-panels.css b/public/studio-panels.css
index 8ef7fa183..5b228d6f0 100644
--- a/public/studio-panels.css
+++ b/public/studio-panels.css
@@ -839,10 +839,10 @@
.tb-risk-calm .tb-risk-label { color: #34d399; }
.tb-risk-balanced .tb-risk-fill { background: linear-gradient(90deg, #38bdf8, #6366f1); }
.tb-risk-balanced .tb-risk-label { color: #60a5fa; }
-.tb-risk-warm .tb-risk-fill { background: linear-gradient(90deg, #fbbf24, #f97316); }
-.tb-risk-warm .tb-risk-label { color: #fbbf24; }
+.tb-risk-warm .tb-risk-fill { background: linear-gradient(90deg, var(--warn), #f97316); }
+.tb-risk-warm .tb-risk-label { color: var(--warn); }
.tb-risk-hot .tb-risk-fill { background: linear-gradient(90deg, #f97316, #ef4444); }
-.tb-risk-hot .tb-risk-label { color: #f87171; }
+.tb-risk-hot .tb-risk-label { color: var(--danger); }
/* — Keyboard hints on action buttons — */
.tb-kbd {
@@ -862,7 +862,7 @@
.tb-dist-grad { background: #34d399; }
.tb-dist-pump { background: #60a5fa; }
.tb-dist-flat { background: #94a3b8; }
-.tb-dist-rug { background: #f87171; }
+.tb-dist-rug { background: var(--danger); }
.tb-dist-legend { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-dist-key { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-2xs, 0.6875rem); color: var(--ink-dim, #999); }
.tb-dist-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
diff --git a/public/studio/studio.css b/public/studio/studio.css
index 7df60bedb..1148224b1 100644
--- a/public/studio/studio.css
+++ b/public/studio/studio.css
@@ -774,7 +774,7 @@ a:hover {
.pending-banner {
background: rgba(245, 158, 11, 0.08);
border: 1px solid rgba(245, 158, 11, 0.3);
- color: #fbbf24;
+ color: var(--warn);
padding: 0.6rem 0.7rem;
border-radius: var(--radius-sm);
font-size: 0.78rem;
diff --git a/public/tutorial-figures.css b/public/tutorial-figures.css
index 2827d0448..9e31752da 100644
--- a/public/tutorial-figures.css
+++ b/public/tutorial-figures.css
@@ -356,7 +356,7 @@ html.tfig-lb-open body {
.tfig-lb-close:focus-visible,
.tfig-lb-nav:focus-visible {
- outline: 2px solid #fff;
+ outline: 2px solid var(--focus-ring-color);
outline-offset: 2px;
}
diff --git a/src/defi.css b/src/defi.css
index 37f392a61..d9d98b806 100644
--- a/src/defi.css
+++ b/src/defi.css
@@ -112,3 +112,47 @@
animation: none;
}
}
+
+/* Below 640px only three columns survive (rank, category, chains and the 7d
+ move all drop out), so the shared 540px table floor buys nothing but a
+ sideways scroll that parks the TVL and the 1d move off-screen. Let the table
+ shrink to the viewport and tighten the cells so all three read at 320px.
+ Mirrors the same override on /chains. */
+@media (max-width: 639px) {
+ #defi-table .cv-table {
+ min-width: 0;
+ }
+ #defi-table .cv-table th,
+ #defi-table .cv-table td {
+ padding-left: 0.5rem;
+ padding-right: 0.5rem;
+ }
+ #defi-table .cv-table .name-cell .nm {
+ max-width: 8.5rem;
+ }
+}
+
+/* Phone widths: the protocol names are the longest strings in the table, and
+ at 320px they are what pushed the percentages off the edge. The logo steps
+ down with them so the name still has room to read. */
+@media (max-width: 479px) {
+ #defi-table .cv-table {
+ font-size: 0.8125rem;
+ }
+ #defi-table .cv-table th,
+ #defi-table .cv-table td {
+ padding-left: 0.375rem;
+ padding-right: 0.375rem;
+ }
+ #defi-table .cv-table .name-cell .nm {
+ max-width: 5.75rem;
+ }
+ #defi-table .cv-table .name-cell .inner {
+ gap: 0.375rem;
+ }
+ #defi-table .cv-table .name-cell img,
+ #defi-table .defi-logo-fallback {
+ width: 20px;
+ height: 20px;
+ }
+}
diff --git a/src/game/coin-buy.css b/src/game/coin-buy.css
index eeeccfd80..46cd344d4 100644
--- a/src/game/coin-buy.css
+++ b/src/game/coin-buy.css
@@ -81,7 +81,7 @@
cursor: pointer; font-size: 13px; line-height: 1; transition: border-color 0.12s ease, color 0.12s ease;
}
.cc-buy-x:hover { border-color: var(--cc-edge-hi); color: var(--cc-text); }
-.cc-buy-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-x:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
/* Buy / Sell direction toggle. */
.cc-buy-tabs {
@@ -96,7 +96,7 @@
}
.cc-buy-tab:hover { color: var(--cc-text); }
.cc-buy-tab.cc-on { background: rgba(255, 255, 255, 0.08); border-color: var(--cc-edge-hi); color: var(--cc-text); }
-.cc-buy-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-tab:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-buy-field { display: block; }
.cc-buy-field-label { display: block; color: var(--cc-dim); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 7px; }
@@ -121,7 +121,7 @@
cursor: pointer; transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.cc-buy-preset:hover { border-color: var(--cc-edge-hi); color: var(--cc-text); }
-.cc-buy-preset:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-preset:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-buy-preset.cc-on { background: rgba(255, 255, 255, 0.08); border-color: var(--cc-edge-hi); color: var(--cc-text); }
/* Wallet balance / holdings line under the amount (USDC buys + all sells). */
@@ -160,7 +160,7 @@
font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color 0.12s ease, color 0.12s ease;
}
.cc-buy-slip-btn:hover { border-color: var(--cc-edge-hi); color: var(--cc-text); }
-.cc-buy-slip-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-slip-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-buy-slip-btn.cc-on { border-color: var(--cc-edge-hi); color: var(--cc-text); background: rgba(255, 255, 255, 0.06); }
.cc-buy-wallet {
@@ -200,7 +200,7 @@
.cc-buy-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 22px rgba(255, 255, 255, 0.55); }
.cc-buy-cta:active:not(:disabled) { transform: translateY(1px); }
.cc-buy-cta:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
-.cc-buy-cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-cta:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-buy-status {
margin-top: 12px; font-size: 12.5px; line-height: 1.45; text-align: center;
@@ -210,7 +210,7 @@
.cc-buy-status[data-kind="err"] { color: #d88a8a; }
.cc-buy-status a { color: inherit; text-decoration: underline; }
.cc-buy-link { background: none; border: none; padding: 0; color: var(--cc-text); text-decoration: underline; cursor: pointer; font: inherit; }
-.cc-buy-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-link:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-buy-pumplink {
display: block; margin-top: 14px; text-align: center;
@@ -218,4 +218,4 @@
transition: color 0.12s ease;
}
.cc-buy-pumplink:hover { color: var(--cc-text); }
-.cc-buy-pumplink:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-pumplink:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
diff --git a/src/game/coincommunities.css b/src/game/coincommunities.css
index def24c913..f8492ba6e 100644
--- a/src/game/coincommunities.css
+++ b/src/game/coincommunities.css
@@ -412,7 +412,7 @@ html[data-bg="transparent"] #cc-lobby {
}
.cc-brand-logo svg { width: 26px; height: 26px; display: block; }
.cc-brand-logo:hover { transform: translateY(-1px); }
-.cc-brand-logo:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-brand-logo:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-brand-title { font-size: 13px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.cc-brand-sub { color: var(--cc-dim); font-size: 12px; margin-top: 3px; letter-spacing: 0.02em; }
.cc-hero-title {
@@ -1501,7 +1501,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-adventure:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--cc-edge-hi); transform: translateY(-1px); }
.cc-adventure:active { transform: translateY(1px); }
-.cc-adventure:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-adventure:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-adventure span { display: flex; flex-direction: column; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: 0.02em; }
/* Inline SVG mark: the grayscaled ⚔️ emoji collapsed into a bare ✕ glyph on
most platforms, which read as a close button instead of "adventure". Selector
@@ -1527,7 +1527,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-buy-btn:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(255, 255, 255, 0.55); }
.cc-buy-btn:active { transform: translateY(1px); }
-.cc-buy-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-buy-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-buy-btn-ico { font-size: 13px; line-height: 1; }
.cc-buy-btn-text { white-space: nowrap; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
@@ -2298,7 +2298,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
position: relative; z-index: 1;
width: min(400px, 100%); padding: 32px 28px 26px;
display: flex; flex-direction: column; align-items: center; text-align: center;
- background: #0a0a0a;
+ background: var(--bg-0);
border: 1px solid var(--cc-edge);
border-top-color: rgba(255, 255, 255, 0.26);
border-radius: var(--cc-radius);
@@ -2455,7 +2455,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-shop-btn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-shop-btn:active { transform: translateY(1px); }
-.cc-shop-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-shop-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-shop-btn-ico { font-size: 14px; line-height: 1; }
/* "My Fits" wardrobe button (R23), mirrors the shop button. */
@@ -2471,7 +2471,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-wardrobe-btn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-wardrobe-btn:active { transform: translateY(1px); }
-.cc-wardrobe-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-wardrobe-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-wardrobe-btn-ico { font-size: 14px; line-height: 1; }
@media (max-width: 480px) { .cc-wardrobe-btn-text { display: none; } }
@@ -2489,7 +2489,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-avatarbtn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-avatarbtn:active { transform: translateY(1px); }
-.cc-avatarbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-avatarbtn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-avatarbtn.is-active { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.1); }
.cc-avatarbtn-ico { font-size: 14px; line-height: 1; }
@media (max-width: 480px) { .cc-avatarbtn-text { display: none; } }
@@ -2506,7 +2506,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-jobs-btn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-jobs-btn:active { transform: translateY(1px); }
-.cc-jobs-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-jobs-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-jobs-btn-ico { font-size: 14px; line-height: 1; }
@media (max-width: 480px) { .cc-jobs-btn-text { display: none; } }
@@ -2525,7 +2525,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-friends-btn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-friends-btn:active { transform: translateY(1px); }
-.cc-friends-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-friends-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-friends-btn.is-active { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.12); }
.cc-friends-btn-ico { font-size: 14px; line-height: 1; }
@media (max-width: 480px) { .cc-friends-btn-text { display: none; } }
@@ -2581,7 +2581,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
transition: border-color 0.14s ease, background 0.14s ease;
}
.cc-friends-panel-crew:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); }
-.cc-friends-panel-crew:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-friends-panel-crew:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-friends-panel-close {
flex: none; width: 30px; height: 30px;
display: inline-flex; align-items: center; justify-content: center;
@@ -2591,7 +2591,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
transition: border-color 0.14s ease, background 0.14s ease;
}
.cc-friends-panel-close:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); }
-.cc-friends-panel-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-friends-panel-close:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
/* The FriendsPanel renders its own scrolling list into this body. */
.cc-friends-panel-body { flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
@@ -2636,7 +2636,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-friends-loaderr-retry:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); }
.cc-friends-loaderr-retry:active { background: rgba(255, 255, 255, 0.14); }
-.cc-friends-loaderr-retry:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-friends-loaderr-retry:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-friends-panel-hint {
flex: none; padding: 8px 14px 12px;
color: var(--cc-dim, #8b93a3); font-size: 11px; letter-spacing: 0.02em;
@@ -2685,7 +2685,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-avsw-chip:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }
.cc-avsw-chip:active { transform: translateY(1px); }
-.cc-avsw-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-avsw-chip:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-avsw-chip.is-active { border-color: var(--cc-accent, #7ee787); background: rgba(255, 255, 255, 0.08); }
.cc-avsw-chip.is-busy { opacity: 0.6; cursor: progress; }
.cc-avsw-thumb {
@@ -2717,7 +2717,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
color: var(--cc-text); text-decoration: underline;
}
.cc-avsw-link:hover { color: #fff; }
-.cc-avsw-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-avsw-link:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-avsw-row { display: flex; gap: 8px; }
.cc-avsw-paste-input {
@@ -2726,7 +2726,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
border: 1px solid var(--cc-edge); border-radius: var(--cc-radius);
font-size: 13px; font-family: inherit;
}
-.cc-avsw-paste-input:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
+.cc-avsw-paste-input:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 1px; }
.cc-avsw-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-avsw-btn {
appearance: none; -webkit-appearance: none; font-family: inherit;
@@ -2740,11 +2740,11 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-avsw-btn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-avsw-btn:active { transform: translateY(1px); }
-.cc-avsw-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-avsw-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-avsw-btn.is-busy { opacity: 0.6; cursor: progress; }
.cc-avsw-upload { position: relative; }
.cc-avsw-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
-.cc-avsw-upload:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-avsw-upload:focus-within { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
/* Creator-only holders-gate button (R24), mirrors the shop button, accented. */
.cc-gate-cfg-btn {
@@ -2759,7 +2759,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-gate-cfg-btn:hover { border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.cc-gate-cfg-btn:active { transform: translateY(1px); }
-.cc-gate-cfg-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-gate-cfg-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-gate-cfg-ico { font-size: 14px; line-height: 1; }
/* Gate-config modal fields (reuses .cc-gate-overlay/.cc-gate-modal/.cc-gate-btn). */
@@ -2771,7 +2771,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
border: 1px solid var(--cc-edge); border-radius: var(--cc-radius);
font-size: 15px; font-variant-numeric: tabular-nums;
}
-.cc-gatecfg-input:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-color: var(--cc-edge-hi); }
+.cc-gatecfg-input:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 1px; border-color: var(--cc-edge-hi); }
.cc-gatecfg-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--cc-dim); text-align: left; }
.cc-gatecfg-err { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #e7cccc; text-align: left; }
@@ -2818,7 +2818,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-shop-flex:hover { color: var(--cc-text); border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.07); }
.cc-shop-flex:active { background: rgba(255, 255, 255, 0.02); }
-.cc-shop-flex:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-shop-flex:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-shop-close {
flex: none; width: 32px; height: 32px; display: grid; place-items: center;
background: none; border: 1px solid var(--cc-edge); border-radius: var(--cc-radius-sm);
@@ -2826,7 +2826,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.cc-shop-close:hover { color: var(--cc-text); border-color: var(--cc-edge-hi); background: rgba(255, 255, 255, 0.05); }
-.cc-shop-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-shop-close:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-shop-filters {
display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 18px;
@@ -2839,7 +2839,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
cursor: pointer; transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.cc-shop-chip:hover { color: var(--cc-text); border-color: var(--cc-edge-hi); }
-.cc-shop-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-shop-chip:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-shop-chip.cc-active {
color: var(--cc-ink); background: var(--cc-accent); border-color: var(--cc-accent);
box-shadow: var(--cc-glow);
@@ -2883,7 +2883,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
margin: 0; font: inherit; color: inherit; cursor: pointer;
width: 100%; display: block;
}
-.cc-shop-thumb-btn:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
+.cc-shop-thumb-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: -2px; }
.cc-shop-thumb {
position: relative; aspect-ratio: 1 / 1; width: 100%;
@@ -2934,7 +2934,7 @@ body.is-zen #cc-photo-btn:hover, body.is-zen #cc-photo-btn:focus-visible { opaci
}
.cc-shop-buy:hover { transform: translateY(-1px); background: #fff; }
.cc-shop-buy:active { transform: translateY(1px); }
-.cc-shop-buy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-shop-buy:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.cc-shop-buy:disabled { opacity: 0.55; cursor: progress; transform: none; }
span.cc-shop-action.cc-owned { align-self: flex-start; }
.cc-shop-badge {
@@ -2981,7 +2981,7 @@ span.cc-shop-action.cc-owned { align-self: flex-start; }
}
.cc-shop-retry:hover { transform: translateY(-1px); }
.cc-shop-retry:active { transform: translateY(1px); }
-.cc-shop-retry:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.cc-shop-retry:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
.cc-shop, .cc-shop-panel, .cc-shop-card, .cc-shop-preview-tag { transition: none; }
diff --git a/src/game/combat-system.css b/src/game/combat-system.css
index 1421810d3..66da95cbd 100644
--- a/src/game/combat-system.css
+++ b/src/game/combat-system.css
@@ -55,7 +55,7 @@
}
.combat-attack-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.combat-attack-btn:active { transform: scale(0.96); }
-.combat-attack-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.combat-attack-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.combat-attack-glyph { font-size: 16px; }
.combat-hitflash {
diff --git a/src/game/play-systems.css b/src/game/play-systems.css
index 5f834bb74..c9096bb82 100644
--- a/src/game/play-systems.css
+++ b/src/game/play-systems.css
@@ -332,7 +332,7 @@
transition: transform 0.09s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.14s ease;
}
.ps-cos-card[role="button"]:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--cc-edge); transform: translateY(-2px); }
-.ps-cos-card[role="button"]:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
+.ps-cos-card[role="button"]:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 1px; }
.ps-cos-card.is-equipped { border-color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: var(--cc-glow); cursor: default; }
.ps-cos-card.is-locked { opacity: 0.5; cursor: default; }
.ps-cos-card.is-locked:hover { transform: none; }
@@ -401,7 +401,7 @@
}
.ps-cos-hint a { color: var(--cc-text); text-decoration: none; border-bottom: 1px solid var(--cc-edge); white-space: nowrap; }
.ps-cos-hint a:hover { border-bottom-color: currentColor; }
-.ps-cos-hint a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
+.ps-cos-hint a:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 3px; border-radius: 2px; }
.ps-cos-state {
display: flex;
flex-direction: column;
diff --git a/src/game/spin-wheel.css b/src/game/spin-wheel.css
index 8d5e8f4f0..2bf45cb4e 100644
--- a/src/game/spin-wheel.css
+++ b/src/game/spin-wheel.css
@@ -62,7 +62,7 @@
transition: border-color 0.12s ease, color 0.12s ease;
}
.kg-spin-close:hover { border-color: var(--cc-edge-hi); color: var(--cc-text); }
-.kg-spin-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.kg-spin-close:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
/* ── The wheel itself ───────────────────────────────────────────────────── */
.kg-spin-wheelwrap {
@@ -117,7 +117,7 @@
.kg-spin-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 22px rgba(255, 255, 255, 0.55); }
.kg-spin-btn:active:not(:disabled) { transform: translateY(1px); }
.kg-spin-btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
-.kg-spin-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.kg-spin-btn:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
/* `.kg-spin-free` carries no rules on purpose: the free spin is the primary
action, so it takes `.kg-spin-btn` above unchanged. The class stays as a hook
for tests and future theming. Only the paid button overrides. */
@@ -144,7 +144,7 @@
background: none; border: none; padding: 0; margin-left: 4px;
color: var(--cc-text); text-decoration: underline; cursor: pointer; font: inherit;
}
-.kg-spin-retry:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
+.kg-spin-retry:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 2px; }
.kg-spin-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; justify-content: center; }
.kg-spin-legend-h { color: var(--cc-faint); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
@@ -155,7 +155,7 @@
border-bottom: 1px solid rgba(255, 255, 255, 0.22); transition: color 0.15s ease, border-color 0.15s ease;
}
.kg-spin-paytable:hover { color: var(--cc-text); border-bottom-color: currentColor; }
-.kg-spin-paytable:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
+.kg-spin-paytable:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 3px; border-radius: 2px; }
/* ── Background-settle pill ─────────────────────────────────────────────────
Shown after the player closes the modal while a paid spin is still settling:
diff --git a/src/theater.css b/src/theater.css
index 959805f84..665fc98c5 100644
--- a/src/theater.css
+++ b/src/theater.css
@@ -3,7 +3,7 @@
global stylesheet (which this bespoke 3D page skips). */
.th-root {
- --th-accent: #c4b5fd;
+ --th-accent: var(--accent-violet);
--th-accent-fill: rgba(139, 92, 246, 0.16);
--th-accent-stroke: rgba(139, 92, 246, 0.34);
position: fixed;