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.

fix(play): line up every community card's enter button with its neighbours

nirholas60b5686924e3
diff --git a/src/game/coincommunities.css b/src/game/coincommunities.css
index 8e9e363a5..fb208cd61 100644
--- a/src/game/coincommunities.css
+++ b/src/game/coincommunities.css
@@ -928,14 +928,19 @@ html[data-bg="transparent"] #cc-lobby {
}
.cc-card-live .cc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cc-live); box-shadow: var(--cc-glow); animation: cc-blink 1.8s infinite; }
@keyframes cc-blink { 50% { opacity: 0.3; } }
-.cc-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
+/* The body takes the leftover height and the call to action is pinned to the
+ bottom of it, so every card in a row lines its button up with its neighbours
+ whatever mix of badges the coins carry. */
+.cc-card-body { flex: 1; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.cc-card-name { font-weight: 700; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
-.cc-card-meta { display: flex; align-items: center; gap: 8px; color: var(--cc-dim); font-size: 12px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
+/* The bottom margin here (and on the tags row) is what keeps a gap above the
+ pinned call to action, which `margin-top: auto` alone would collapse. */
+.cc-card-meta { display: flex; align-items: center; gap: 8px; color: var(--cc-dim); font-size: 12px; font-variant-numeric: tabular-nums; flex-wrap: wrap; margin-bottom: 8px; }
.cc-card-sym { color: var(--cc-text); font-weight: 700; }
.cc-card-age { color: var(--cc-faint); }
/* Coin signals: shown only when true of that coin (NEW under a day old, a
completed bonding curve, a board with replies on it). */
-.cc-card-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
+.cc-card-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.cc-tag {
font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
padding: 3px 7px; border-radius: var(--cc-radius-sm);
@@ -951,7 +956,7 @@ html[data-bg="transparent"] #cc-lobby {
is a quiet ghost button that fills the space and names the action; hover,
keyboard focus, and any hover-less pointer promote it to solid white. */
.cc-card-cta {
- margin-top: 11px; padding: 8px 0; text-align: center; border-radius: var(--cc-radius-sm);
+ margin-top: auto; padding: 8px 0; text-align: center; border-radius: var(--cc-radius-sm);
background: rgba(255, 255, 255, 0.05); color: var(--cc-dim);
border: 1px solid var(--cc-edge-soft);
font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;