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.

4.6 KB
Raw Blame
/* Jobs Board UI (W08), shares the .ec-* shell tokens from economy-ui.css
 * (same overlay/card/tabs/row/status chrome as the general store and bank),
 * this file only adds the quest-specific bits: objective checklists, reward
 * chips, and the highlight flash when a giver NPC opens straight to their job. */

.qb-row { align-items: flex-start; }
.qb-obj-preview { font-size: 11px; color: var(--cc-dim); margin-top: 4px; line-height: 1.4; }
.qb-reward {
	font-size: 11px; font-weight: 700; color: var(--cc-text); margin-top: 6px;
	font-variant-numeric: tabular-nums;
}

.qb-obj-list { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; }
.qb-obj { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--cc-dim); }
.qb-obj-mark { flex: none; width: 14px; text-align: center; }
.qb-obj-label { flex: 1; min-width: 0; }
.qb-obj-count { flex: none; font-variant-numeric: tabular-nums; color: var(--cc-dim); }
.qb-obj.is-done { color: var(--cc-dim); text-decoration: line-through; opacity: 0.65; }
.qb-obj.is-current { color: var(--cc-text); font-weight: 700; }
.qb-obj.is-current .qb-obj-mark { color: #ffce6e; }

.qb-active-row .ec-row-main { display: flex; flex-direction: column; }

/* Momentary highlight when a specific quest-giver NPC opens straight to
 * their own job, so the board reads as "here's the one you asked about",
 * not an undifferentiated list. */
@keyframes qb-flash-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 206, 110, 0.55); border-color: rgba(255, 206, 110, 0.7); }
	100% { box-shadow: 0 0 0 8px rgba(255, 206, 110, 0); border-color: var(--cc-edge-soft); }
}
.qb-flash { animation: qb-flash-pulse 1.4s ease-out 1; }

/* Live event: the quest line's jobs and the standings they feed. The event tint
 * is the one warm accent on an otherwise monochrome panel, used only where
 * "this expires when the event does" is the point. */
.qb-event-tab { border-color: rgba(255, 206, 110, 0.45); }
.qb-event-tab:hover { border-color: rgba(255, 206, 110, 0.8); }

.qb-event-row { border-color: rgba(255, 206, 110, 0.35); background: rgba(255, 206, 110, 0.05); }
.qb-event-badge {
	display: inline-block; margin-left: 7px; padding: 1px 6px; vertical-align: 1px;
	font-size: 9px; font-weight: 800; letter-spacing: 0.09em;
	color: #ffce6e; border: 1px solid rgba(255, 206, 110, 0.55); border-radius: 999px;
}

.qb-lb-head { padding: 2px 2px 10px; border-bottom: 1px solid var(--cc-edge-soft); margin-bottom: 8px; }
.qb-lb-title { font-size: 14px; font-weight: 800; color: var(--cc-text); }
.qb-lb-note { font-size: 11px; color: var(--cc-dim); line-height: 1.5; margin-top: 4px; }

.qb-lb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.qb-lb-row {
	display: flex; align-items: center; gap: 10px; padding: 8px 10px;
	background: rgba(255, 255, 255, 0.03); border: 1px solid var(--cc-edge-soft);
	border-radius: var(--cc-radius-sm); transition: border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard);
}
.qb-lb-row.is-you { border-color: rgba(255, 206, 110, 0.55); background: rgba(255, 206, 110, 0.07); }
.qb-lb-rank {
	flex: none; min-width: 34px; font-size: 12px; font-weight: 800;
	color: var(--cc-dim); font-variant-numeric: tabular-nums;
}
.qb-lb-row.is-you .qb-lb-rank { color: #ffce6e; }
.qb-lb-name { flex: 1; min-width: 0; font-size: 13px; color: var(--cc-text); overflow-wrap: anywhere; }
.qb-lb-score { flex: none; font-size: 11px; color: var(--cc-dim); font-variant-numeric: tabular-nums; }

/* Your own rank is PINNED, not merely appended: on a long board it sticks to the
 * bottom of the scrolling body so "where am I" is answered without scrolling. */
.qb-lb-you-wrap {
	position: sticky; bottom: -16px; z-index: 1;
	margin-top: 12px; padding: 10px 0 16px;
	border-top: 1px solid var(--cc-edge-soft);
	background: linear-gradient(to bottom, transparent, var(--cc-panel-solid) 18%);
}
.qb-lb-prize { margin-top: 12px; font-size: 10px; color: var(--cc-dim); line-height: 1.5; opacity: 0.85; }

/* Skeleton rows while the first read is in flight, the shape of the answer,
 * so the panel doesn't jump when the real rows land. */
@keyframes qb-lb-shimmer {
	0%, 100% { opacity: 0.35; }
	50% { opacity: 0.7; }
}
.qb-lb-ghost { height: 35px; animation: qb-lb-shimmer 1.3s ease-in-out infinite; }
.qb-lb-skeleton .qb-lb-ghost:nth-child(2) { animation-delay: 0.1s; }
.qb-lb-skeleton .qb-lb-ghost:nth-child(3) { animation-delay: 0.2s; }
.qb-lb-skeleton .qb-lb-ghost:nth-child(4) { animation-delay: 0.3s; }
.qb-lb-skeleton .qb-lb-ghost:nth-child(5) { animation-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
	.qb-lb-ghost { animation: none; opacity: 0.45; }
	.qb-flash { animation: none; }
}