:root {
  color-scheme: dark;
  --bg: #08080d;
  --surface: rgba(20, 20, 31, .82);
  --surface-2: #12121c;
  --line: rgba(174, 151, 255, .17);
  --muted: #8f8da6;
  --text: #f4f2ff;
  --violet: #a78bfa;
  --purple: #7c3aed;
  --cyan: #6ce9f2;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% -18%, #21143b 0%, var(--bg) 46rem); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; overflow-wrap: anywhere; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; z-index: -1; pointer-events: none; width: 26rem; height: 26rem; border-radius: 50%; filter: blur(100px); opacity: .1; }
.ambient-one { top: 25%; left: -19rem; background: #7c3aed; }
.ambient-two { top: 62%; right: -20rem; background: #0ea5e9; }
.topbar { height: 74px; max-width: 1160px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.055); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: .91rem; font-weight: 850; letter-spacing: .19em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #9b7cff; border-radius: 10px; color: var(--cyan); font-size: 1rem; box-shadow: 0 0 22px #7c3aed30; letter-spacing: 0; }
.top-actions { display: flex; gap: 9px; }
.icon-button { min-width: 39px; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff06; font-size: 1.15rem; }
.icon-button:hover, .icon-button:focus-visible { border-color: #a78bfa99; background: #a78bfa13; outline: none; }
main { max-width: 1160px; min-height: 75vh; padding: 0 24px 70px; margin: auto; }
.hero { padding: 78px 0 37px; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: #b9a7ff; font-size: .68rem; font-weight: 800; letter-spacing: .19em; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; vertical-align: 2px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px #6ce9f2aa; }
h1 { margin: 0; font-size: clamp(2.65rem, 7vw, 5.4rem); line-height: .99; letter-spacing: -.065em; font-weight: 780; }
h1 span { color: transparent; background: linear-gradient(100deg, #f2efff 4%, #b7a0ff 48%, #6ce9f2 100%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 570px; margin: 24px 0 20px; color: #a5a2b9; font-size: 1rem; }
.hero-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #747187; font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-meta b { color: #d8ceff; font-size: .8rem; }
.meta-separator { color: #52496b; }
.search-panel { position: relative; display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 4px 0 66px; padding: 9px; border: 1px solid #a78bfa35; border-radius: 16px; background: #10101ad9; box-shadow: 0 15px 45px #0003, inset 0 1px #ffffff08; }
.search-symbol { padding-left: 9px; color: #b7a0ff; font-size: 1.6rem; }
.search-panel input { flex: 1; min-width: 0; color: var(--text); background: transparent; border: 0; outline: 0; padding: 10px 0; font-size: .9rem; }
.search-panel input::placeholder { color: #6f6c82; }
.search-panel button { border: 0; border-radius: 10px; padding: 12px 17px; background: linear-gradient(110deg, #7651d8, #6042b8); font-size: .69rem; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.search-panel button:hover { filter: brightness(1.15); }
.search-error { display: none; position: absolute; left: 18px; top: calc(100% + 5px); margin: 0; color: #ff9ba9; font-size: .8rem; }
.search-error.visible { display: block; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 3px; font-size: .62rem; }
h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.04em; }
.live-pill { border: 1px solid #6ce9f228; border-radius: 100px; padding: 6px 10px; color: #9e9ab3; font-size: .61rem; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.profile-card { position: relative; min-width: 0; min-height: 220px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #171622e8, #101018ed); overflow: hidden; transition: border-color .18s ease, transform .18s ease; content-visibility: auto; contain-intrinsic-size: 220px; }
.profile-card::before { content: ""; position: absolute; width: 140px; height: 140px; top: -80px; right: -40px; border-radius: 50%; background: var(--glow, #8b5cf6); filter: blur(60px); opacity: .2; pointer-events: none; }
.profile-card:hover { transform: translateY(-2px); border-color: #a78bfa66; }
.card-top { display: flex; align-items: center; gap: 12px; position: relative; }
.avatar { flex: 0 0 47px; width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid #b7a0ff55; border-radius: 15px; background: linear-gradient(145deg, #3c2863, #111927); color: #d7ccff; font-size: 1.05rem; font-weight: 800; box-shadow: inset 0 0 22px #a78bfa12; }
.profile-name { min-width: 0; margin: 0; font-size: .96rem; line-height: 1.25; font-weight: 750; }
.profile-id { margin: 5px 0 0; color: #7f7b95; font-size: .68rem; }
.card-description { min-height: 42px; margin: 17px 0 18px; color: #a29fb5; font-size: .82rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category { color: #b6a1ff; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.open-profile { border: 1px solid #a78bfa32; border-radius: 9px; padding: 7px 10px; background: #a78bfa0c; color: #ded5ff; font-size: .7rem; }
.open-profile:hover { background: #a78bfa20; }
.sentinel { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 94px; color: #716d83; font-size: .75rem; }
.spinner { width: 15px; height: 15px; border: 2px solid #ffffff16; border-top-color: #a78bfa; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed-status { text-align: center; color: #ff9ba9; font-size: .8rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1160px; margin: auto; padding: 22px 24px 30px; border-top: 1px solid #ffffff0b; color: #59566d; font-size: .6rem; font-weight: 800; letter-spacing: .13em; }
.footer-orbit { color: #a78bfa; font-size: 1rem; }
.hidden { display: none !important; }
.back-link { margin: 35px 0 26px; padding: 9px 0; border: 0; background: transparent; color: #b5a1ff; font-size: .85rem; }
.back-link:hover { color: var(--cyan); }
.detail-shell { max-width: 820px; margin: 0 auto 50px; padding: clamp(23px, 5vw, 48px); border: 1px solid #a78bfa38; border-radius: 27px; background: linear-gradient(145deg, #191624f5, #0d0d15f5); box-shadow: 0 24px 80px #0003; }
.detail-top { display: flex; align-items: center; gap: 23px; padding-bottom: 27px; border-bottom: 1px solid #ffffff10; }
.detail-avatar { display: grid; place-items: center; flex: 0 0 94px; height: 94px; border: 1px solid #b7a0ff66; border-radius: 27px; background: linear-gradient(145deg, #563d85, #10202c); color: white; font-size: 2rem; font-weight: 850; box-shadow: 0 0 45px #7c3aed1c; }
.detail-top h1 { font-size: clamp(1.9rem, 6vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; }
.detail-id { color: #8e89a7; font-size: .83rem; margin: 10px 0 0; }
.detail-description { color: #b7b3c9; font-size: 1rem; margin: 28px 0; max-width: 600px; }
.attribute-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.attribute { padding: 15px; border: 1px solid #ffffff0d; border-radius: 13px; background: #ffffff04; }
.attribute span { display: block; color: #79758f; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.attribute b { display: block; margin-top: 5px; color: #e7e1ff; font-size: .9rem; font-weight: 650; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.action-button { padding: 11px 14px; border: 1px solid #a78bfa3d; border-radius: 11px; background: #a78bfa0e; color: #ded6ff; font-size: .78rem; }
.action-button.primary { background: #7651d8; border-color: #8e6bea; }
.action-button:hover { border-color: #6ce9f2aa; }
.detail-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; }
.detail-nav button { padding: 10px 12px; border: 1px solid #ffffff12; border-radius: 10px; background: #ffffff05; color: #aaa5c0; font-size: .75rem; }
@media (max-width: 760px) {
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .profile-card { padding: 15px; min-height: 220px; }
  .hero { padding-top: 59px; }
  .search-panel { margin-bottom: 51px; }
}
@media (max-width: 500px) {
  .topbar { height: 64px; padding: 0 16px; }
  .brand { font-size: .79rem; letter-spacing: .14em; }
  main { padding: 0 16px 50px; }
  .hero { padding-top: 47px; }
  .hero-copy { font-size: .9rem; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { min-height: 0; }
  .card-description { min-height: 0; margin: 13px 0; }
  .search-panel { gap: 7px; }
  .search-panel input { font-size: .82rem; }
  .search-panel button { padding: 11px 12px; font-size: .61rem; }
  .section-heading { align-items: center; }
  .site-footer { padding-left: 16px; padding-right: 16px; font-size: .52rem; }
  .detail-top { align-items: flex-start; gap: 15px; }
  .detail-avatar { flex-basis: 65px; height: 65px; border-radius: 19px; font-size: 1.5rem; }
  .attribute-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
