/* Jimbo Social: Command Center */
.nx { --nx-a: #f5a524; --nx-b: #ff7a3d; }
.nx-cc[data-world="business"] { --nx-a: #2dd4bf; --nx-b: #0ea5e9; }
.nx-cc[data-world="learning"] { --nx-a: #a78bfa; --nx-b: #6366f1; }
.nx-cc[data-world="fun"] { --nx-a: #fb7185; --nx-b: #f59e0b; }

/* top */
.nx-cc__top { position: relative; z-index: 3; overflow: visible; border-radius: 26px; padding: 26px 22px 18px; margin-bottom: 14px; color: #f6f1e7; background: #0c111c; isolation: isolate; }
.nx-cc__aurora { position: absolute; inset: 0; border-radius: 26px; z-index: -1; background-color: #0c111c; background:
  radial-gradient(45% 45% at 15% 25%, color-mix(in srgb, var(--nx-a) 70%, transparent), transparent 70%),
  radial-gradient(40% 50% at 85% 15%, color-mix(in srgb, var(--nx-b) 65%, transparent), transparent 70%),
  radial-gradient(45% 35% at 60% 90%, color-mix(in srgb, var(--nx-a) 30%, transparent), transparent 70%);
  background-size: 160% 160%; opacity: .9; animation: nxDrift 18s ease-in-out infinite alternate; }
@keyframes nxDrift { 0% { background-position: 0% 0%; } 100% { background-position: 100% 60%; } }
@media (prefers-reduced-motion: reduce) { .nx-cc__aurora { animation: none; } }
.nx-cc__top::after { content: ""; position: absolute; inset: 0; border-radius: 26px; pointer-events: none; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 44px); mask: linear-gradient(180deg, #000, transparent 85%); }
.nx-cc__h { font: 900 clamp(30px, 6.4vw, 52px)/1 var(--font-display); letter-spacing: -.03em; margin: 2px 0 8px; overflow-wrap: anywhere; }
.nx-cc__p { margin: 0 0 16px; color: rgba(246, 241, 231, .78); line-height: 1.5; font-size: 15px; max-width: 520px; }
.nx-cc .cx-kick { color: var(--nx-a); }

/* Where to? */
.nx-where { position: relative; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px 6px 6px 14px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: #141821; box-shadow: 0 14px 36px -18px rgba(0, 0, 0, .7); margin: 0 0 14px; z-index: 5; }
.cx-hub .nx-where, .nx-road .nx-where { background: var(--js-card); color: var(--color-text); border: 1px solid var(--js-line); box-shadow: none; }
.nx-where__ic { display: grid; place-items: center; color: var(--nx-b, #ff7a3d); flex: none; }
.cx-hub .nx-where__ic { color: var(--amber); }
.nx-where__l { font: 800 15px var(--font-display); white-space: nowrap; flex: none; }
.nx-where input { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; font: 500 15px var(--font-body); padding: 10px 4px; outline: none; }
.nx-where input::placeholder { color: #8a8f99; }
.nx-where__go { flex: none; width: 44px; height: 44px; border-radius: 13px; border: 0; cursor: pointer; display: grid; place-items: center; color: #1b1205; background: linear-gradient(135deg, var(--nx-a, #f5a524), var(--nx-b, #ff7a3d)); }
.nx-where__go svg { transform: rotate(180deg); }
.nx-where__sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); display: none; flex-direction: column; padding: 6px; border-radius: 16px; background: var(--js-card, #fff); color: var(--color-text, #141821); border: 1px solid var(--js-line, #ddd); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); }
.nx-where.is-open .nx-where__sug { display: flex; }
.nx-sug { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; background: transparent; color: inherit; text-align: left; border-radius: 11px; cursor: pointer; font: inherit; }
.nx-sug:hover, .nx-sug:focus-visible, .nx-sug.is-top { background: var(--color-surface-2); }
.nx-sug svg { color: var(--amber); flex: none; }
.nx-sug span { display: flex; flex-direction: column; min-width: 0; }
.nx-sug b { font: 700 14.5px var(--font-body); }
.nx-sug small { color: var(--js-mut); font-size: 12.5px; }
.nx-sug--s { border-top: 1px solid var(--js-line); border-radius: 0 0 11px 11px; }
@media (max-width: 520px) { .nx-where__l { display: none; } }

/* worlds */
.nx-worlds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.nx-world { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 13px; border: 0; background: transparent; color: rgba(246, 241, 231, .75); cursor: pointer; text-align: left; transition: background .25s, color .25s; min-width: 0; }
.nx-world b { font: 800 14.5px var(--font-display); }
.nx-world small { font-size: 11.5px; opacity: .8; line-height: 1.25; }
.nx-world:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nx-world.is-on { color: #14100a; background: linear-gradient(135deg, var(--nx-a), var(--nx-b)); }
@media (max-width: 620px) { .nx-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nx-world small { display: none; } .nx-world { padding: 11px 12px; align-items: center; } }

/* pulse */
.nx-pulse { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding: 2px; }
.nx-pulse::-webkit-scrollbar { display: none; }
.nx-pulse:empty { display: none; }
.nx-pulse__b { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--js-card); border: 1px solid var(--js-line); text-decoration: none; color: var(--color-text) !important; }
.nx-pulse__b svg { color: var(--nx-b); }
.nx-pulse__b span { display: flex; flex-direction: column; }
.nx-pulse__b small { color: var(--js-mut); font-size: 11.5px; }
.nx-pulse__b b { font: 800 14px var(--font-body); }
.nx-pulse__b .is-live, .nx-tile .is-live { font-style: normal; color: #16a34a; }

/* ask */
.nx-ask { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; margin: 0 0 16px; background: var(--js-card); border: 1px solid var(--js-line); }
.nx-ask__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #1b1205; background: linear-gradient(135deg, var(--nx-a), var(--nx-b)); }
.nx-ask > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.nx-ask b { font: 800 15px var(--font-display); }
.nx-ask small { color: var(--js-mut); font-size: 13px; line-height: 1.4; }

/* tiles */
.nx-group { margin: 0 0 18px; animation: nxUp .45s var(--ease, ease) both; animation-delay: var(--d); }
@keyframes nxUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nx-group__h { font: 800 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--js-mut); margin: 0 0 8px 2px; }
.nx-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.nx-tile { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 108px; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--color-text) !important; background: var(--js-card); border: 1px solid var(--js-line); overflow: hidden; transition: transform .2s var(--ease, ease), border-color .2s, box-shadow .2s; }
.nx-tile::before { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--nx-a) 26%, transparent), transparent 70%); transition: transform .3s; }
.nx-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--nx-a) 60%, var(--js-line)); box-shadow: 0 14px 28px -20px color-mix(in srgb, var(--nx-b) 80%, transparent); }
.nx-tile:hover::before { transform: scale(1.5); }
.nx-tile__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--nx-b); background: color-mix(in srgb, var(--nx-a) 14%, transparent); margin-bottom: auto; }
.nx-tile b { font: 800 15px var(--font-display); line-height: 1.2; margin-top: 10px; }
.nx-tile small { color: var(--js-mut); font-size: 12.5px; min-height: 1em; }
.nx-foot, .nx-fine { color: var(--js-mut); font-size: 12.5px; line-height: 1.5; margin: 6px 2px 0; }
.nx-hubcta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; text-decoration: none; font: 700 13.5px var(--font-body); }
.nx-hubcta:hover { background: rgba(255, 255, 255, .18); }
.nx-exit { background: linear-gradient(160deg, #1d4ed8, #173ea8) !important; box-shadow: inset 0 0 0 3px #173ea8, 0 10px 24px -14px rgba(0, 0, 0, .6) !important; }

/* My Road */
.nx-odo { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-radius: 20px; background: #0e1420; color: #f6f1e7; margin: 0 0 14px; }
.nx-odo__since { flex: 1 1 100%; display: flex; flex-direction: column; margin-bottom: 4px; }
.nx-odo__since small { color: rgba(246, 241, 231, .6); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.nx-odo__since b { font: 800 20px var(--font-display); }
.nx-odo__n { flex: 1 1 80px; display: flex; flex-direction: column; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #161e2e; box-shadow: inset 0 -2px 0 rgba(245, 165, 36, .5); }
.nx-odo__n b { font: 800 24px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; color: #ffd28a; letter-spacing: .04em; }
.nx-odo__n small { color: rgba(246, 241, 231, .65); font-size: 11.5px; margin-top: 4px; }
.nx-kept { margin: 0 0 18px; }
.nx-kept__row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.nx-kept__c { flex: none; width: 150px; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 10px; background: #fffdf7; color: #2a2418 !important; text-decoration: none; border-radius: 4px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); transform: rotate(-1.5deg); transition: transform .2s; }
.nx-kept__c:nth-child(even) { transform: rotate(1.2deg); }
.nx-kept__c:hover { transform: rotate(0) translateY(-3px); }
.nx-kept__c img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.nx-kept__q { display: flex; align-items: center; aspect-ratio: 1; padding: 10px; background: #f3ead6; font: 600 13px/1.4 var(--font-body); border-radius: 2px; overflow: hidden; }
.nx-kept__c small { font-size: 11.5px; color: #6b604b; }
.nx-tl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.nx-tl::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 8px; border-radius: 4px; background: #2b2f38; }
.nx-tl::after { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, #f5c33b 0 14px, transparent 14px 26px); }
.nx-tl__mo { position: relative; margin: 6px 0 12px; padding-left: 52px; z-index: 1; }
.nx-tl__mo span { display: inline-block; padding: 5px 12px; border-radius: 6px; background: #15803d; color: #fff; font: 800 12.5px var(--font-body); letter-spacing: .04em; border: 2px solid #fff; box-shadow: 0 0 0 2px #15803d; }
.nx-tl__i { position: relative; display: flex; gap: 12px; margin: 0 0 14px; z-index: 1; }
.nx-tl__dot { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--js-card); border: 3px solid #f5a524; color: #f5a524; }
.nx-tl__b { flex: 1; min-width: 0; padding: 10px 14px 12px; border-radius: 16px; background: var(--js-card); border: 1px solid var(--js-line); }
.nx-tl__l { margin: 0 0 6px; font: 700 13px var(--font-body); color: var(--js-mut); }
.nx-tl__l time { font-weight: 500; margin-left: 4px; }
.nx-tl__post, .nx-tl__card { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--color-text) !important; }
.nx-tl__card { flex-direction: column; gap: 3px; }
.nx-tl__card b { font: 700 15px var(--font-body); }
.nx-tl__card small { color: var(--js-mut); font-size: 12.5px; }
.nx-tl__post img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.nx-tl__post span { font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.nx-tl__img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin-top: 6px; }
.nx-keep { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--js-line); background: transparent; color: var(--js-mut); font: 600 12.5px var(--font-body); cursor: pointer; }
.nx-keep:hover { color: var(--amber); border-color: var(--amber); }
.nx-keep.is-on { color: #1b1205; background: #f5c33b; border-color: #f5c33b; }
.nx-keep.is-on svg { fill: currentColor; }
.nx-tl__end { text-align: center; color: var(--js-mut); font-size: 13px; margin: 10px 0 0; }

/* Opportunity Board */
.nx-kinds { margin-top: 8px; }
.nx-opplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.nx-opp { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: 18px; background: var(--js-card); border: 1px solid var(--js-line); text-decoration: none; color: var(--color-text) !important; overflow: hidden; transition: transform .2s, border-color .2s; }
.nx-opp::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--k, #f5a524); }
.nx-opp.is-job { --k: #f5a524; } .nx-opp.is-partner { --k: #0ea5e9; } .nx-opp.is-help { --k: #22c55e; } .nx-opp.is-gig { --k: #a855f7; }
.nx-opp:hover { transform: translateY(-2px); border-color: var(--k); }
.nx-opp__k { align-self: flex-start; font: 800 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--k); }
.nx-opp__st { position: absolute; right: 14px; top: 14px; font: 700 11.5px var(--font-body); padding: 3px 9px; border-radius: 999px; background: var(--color-surface-2); color: var(--js-mut); }
.nx-opp__t { font: 800 17px/1.25 var(--font-display); }
.nx-opp p { margin: 0; color: var(--js-mut); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.nx-opp__m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--js-mut); min-height: 4px; }
.nx-opp__f { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--js-mut); }
.nx-opp__f b { color: var(--color-text); font-weight: 700; }
.nx-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--color-surface-2); border: 1px solid var(--js-line); font: 600 12px var(--font-body); color: var(--color-text); }
.nx-chip.is-ok { background: #dcfce7; border-color: #86efac; color: #14532d; }
.nx-pre { white-space: pre-wrap; margin: 0 0 12px; line-height: 1.55; overflow-wrap: anywhere; }
.nx-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.nx-dl dt { color: var(--js-mut); font-weight: 600; }
.nx-dl dd { margin: 0; }
.nx-resp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--js-line); }
.nx-resp:first-of-type { border-top: 0; }
.nx-resp time { color: var(--js-mut); font-size: 12px; }
.nx-resp p { flex: 1 1 100%; margin: 0; font-size: 14px; }
.nx-modal h2 { font: 800 22px var(--font-display); margin: 0 0 14px; }
.nx-adult { padding: 10px 12px; border-radius: 12px; background: var(--color-surface-2); }

/* host tools */
.nx-hwrap { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.nx-hwrap:empty { display: none; }
.nx-hhost { padding: 14px 16px; border-radius: 16px; background: var(--js-card); border: 1px solid var(--js-line); }
.nx-hhost__w { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; font-weight: 600; line-height: 1.45; }
.nx-hhost__w svg { color: var(--amber); flex: none; margin-top: 2px; }
.nx-hhost__r summary { cursor: pointer; font: 700 13.5px var(--font-body); color: var(--amber); margin-bottom: 6px; }
.nx-hhost__h { margin: 6px 0 0; font-size: 12.5px; color: var(--js-mut); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nx-hhost__h a { display: inline-flex; align-items: center; gap: 4px; color: var(--color-text) !important; text-decoration: none; font-weight: 600; }
.nx-hhost__tools { align-self: flex-start; }
.nx-pinned { border: 2px solid var(--amber) !important; }
.nx-pinned__l { display: flex; align-items: center; gap: 4px; margin: 0 0 6px !important; font: 800 11.5px var(--font-body) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.nx-hosts { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--js-line); }
.nx-hosts #nxHostList { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.nx-inline { display: flex; gap: 8px; }
.nx-inline input { flex: 1; min-width: 0; border-radius: 12px; border: 1px solid var(--js-line); background: var(--color-surface-2); color: var(--color-text); padding: 9px 12px; font: inherit; }

/* translate */
.nx-tr { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0 2px; padding: 3px 0; border: 0; background: none; color: var(--js-mut); font: 600 12.5px var(--font-body); cursor: pointer; }
.nx-tr:hover { color: var(--amber); }
.nx-trout { margin: 4px 0 6px; padding: 10px 12px; border-radius: 12px; background: var(--color-surface-2); border-left: 3px solid var(--amber); font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.nx-trout small { display: block; color: var(--js-mut); font-size: 11.5px; margin-bottom: 4px; }
.nx-cc__top { container-type: inline-size; }
@container (max-width: 600px) { .nx-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nx-world { flex-direction: row; align-items: baseline; gap: 8px; } .nx-world small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@container (max-width: 400px) { .nx-world small { display: none; } .nx-world { justify-content: center; } }
