/* Members (/u/) and profile pages. Shared look from lost2030.css and page.css. */
.ava { display: inline-flex; flex: none; width: 40px; height: 40px; }
.ava svg { width: 100%; height: 100%; shape-rendering: crispEdges; }
.ava-xxl { width: 132px; height: 132px; }
.muted { color: var(--dim); }

.prof { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; padding: clamp(24px, 4vw, 44px); overflow: hidden; }
.prof::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 12% 50%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); pointer-events: none; }
.prof-art { position: relative; width: 190px; height: 190px; display: grid; place-items: center; flex: none; }
.prof-orb { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c) 45%, transparent); animation: spin 50s linear infinite; }
.prof-art .ava { filter: drop-shadow(0 0 26px color-mix(in srgb, var(--c) 70%, transparent)); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.prof-info { position: relative; flex: 1 1 320px; min-width: 0; display: grid; gap: 14px; }
.prof-nick { margin: 0; font: 400 clamp(56px, 9vw, 96px)/.9 var(--display); overflow-wrap: anywhere; text-shadow: 0 0 24px color-mix(in srgb, var(--c) 50%, transparent); }
.prof-chips, .prof-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-s.on { color: var(--cyan); border-color: rgba(111,211,216,.4); }
.chip-s.on::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.prof-vhost { margin: 0; font: 14px var(--mono); color: var(--cyan); overflow-wrap: anywhere; }
.badge-x { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 9px; background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--text); font: 600 12px var(--ui); letter-spacing: .02em; cursor: help; }
.prof-none { padding: 40px 28px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.prof-none h1 { margin: 0; font: 400 52px/1 var(--display); color: var(--amber); }
.ava.sad { filter: grayscale(.7) opacity(.7); }

.realm-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 30px; border-radius: 24px; background: linear-gradient(180deg, #211912, #17120d); border: 1px solid #3a2c1e; color: var(--parch); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.realm-card .realm-k { color: #a8874a; }
.realm-card h2 { margin: 8px 0 14px; font: 400 36px/1 var(--display); color: var(--gold); }
.realm-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.realm-stats .stat { min-width: 110px; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid #3a2c1e; color: #a8874a; font: 600 10px var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.realm-stats .stat b { display: block; margin-bottom: 2px; font: 400 28px/1 var(--display); color: var(--parch); letter-spacing: 0; }
.cta.gold { background: var(--gold); color: #120e0a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 24px rgba(226,181,62,.35); }

.dir-head h1 { margin: 6px 0 0; font: 400 clamp(48px, 7vw, 80px)/.95 var(--display); color: var(--amber); text-shadow: 0 0 22px rgba(255,181,71,.4); }
.dir-head .lede { margin-top: 14px; }
.dir-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dir-tools input, .dir-tools select { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--text); font: 15px var(--ui); outline: 0; }
.dir-tools input { flex: 1 1 220px; min-width: 0; }
.dir-tools input:focus, .dir-tools select:focus { border-color: var(--amber); }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.member { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); text-decoration: none; color: var(--text); min-width: 0; transition: border-color .2s, transform .15s, box-shadow .2s; }
.member:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 22px color-mix(in srgb, var(--c) 14%, transparent); }
.member .ava { width: 38px; height: 38px; }
.m-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-t span { font: 12px var(--mono); color: var(--dim); }
.m-lvl { flex: none; padding: 2px 8px; border-radius: 8px; background: rgba(226,181,62,.12); color: var(--gold); font: 600 11px var(--mono); }
@media (max-width: 600px) { .prof-art { width: 140px; height: 140px; } .ava-xxl { width: 100px; height: 100px; } }
.optin { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; border: 1px dashed rgba(111,211,216,.35); color: var(--soft); max-width: 70ch; }

/* sparse members page */
.quiet { display: grid; gap: 6px; margin: 0 0 18px; padding: 16px 18px; border-radius: 18px; background: rgba(255,181,71,.06); border: 1px dashed rgba(255,181,71,.35); color: var(--soft); font: 14px/1.55 var(--ui); }
.quiet b { color: var(--amber); font: 24px/1 var(--display); letter-spacing: .03em; }

/* what members write on /me/ */
.prof-pro { margin-left: 14px; font: 500 14px var(--mono); color: var(--dim); text-shadow: none; vertical-align: middle; }
.prof-blurb { position: relative; margin: 0; max-width: 60ch; padding: 12px 16px; border-radius: 4px 18px 18px 18px; background: color-mix(in srgb, var(--c) 12%, var(--bg-1)); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); font-size: 17px; overflow-wrap: anywhere; }
.prof-blurb time { display: block; margin-top: 4px; font: 11px var(--mono); color: var(--dim); }
.prof-about { margin: 0; max-width: 65ch; color: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.prof-links { display: flex; flex-wrap: wrap; gap: 8px; }
.prof-links a { text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 32px; }
.prof-links a:hover { border-color: var(--c); color: var(--text); }
.m-blurb { font: italic 12px var(--ui) !important; color: var(--soft) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
