:root {
  color-scheme: dark;
  --bg: #08080b;
  --surface: #101014;
  --surface-2: #15151b;
  --line: #29272f;
  --text: #f1eef5;
  --muted: #98939f;
  --violet: #a78bfa;
  --crimson: #d65b75;
  --silver: #c6c2ce;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0%, rgba(90,54,115,.11), transparent 37rem), var(--bg); color: var(--text); min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.topbar { height: 76px; padding: 0 clamp(18px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #5c435f; color: #d7c4ed; font-size: 19px; font-weight: 650; background: linear-gradient(145deg,#1c1723,#0c0b10); }
.brand strong { display: block; font-size: 13px; letter-spacing: .22em; font-weight: 750; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .19em; }
.top-actions { display: flex; align-items: center; gap: 22px; }
.live-status, .stream-note { color: #a9a4b0; font-size: 9px; letter-spacing: .14em; }
.live-status i, .stream-note i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #a58bc8; margin-right: 7px; box-shadow: 0 0 9px #a58bc855; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); background: #101014; color: var(--text); display: grid; place-items: center; cursor: pointer; border-radius: 2px; }
.icon-button:hover { border-color: #786184; background: #17131c; }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
main { width: min(100% - 36px, 900px); margin: 0 auto; }
.intro { padding: clamp(52px, 9vw, 104px) 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #b7a6c8; font-size: 9px; letter-spacing: .18em; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: var(--crimson); }
h1 { margin: 23px 0 18px; font-size: clamp(42px, 8.6vw, 76px); line-height: .99; letter-spacing: -.055em; font-weight: 580; }
h1 em { font-style: normal; color: #bca4d2; }
.intro > p { max-width: 440px; margin: 0; color: #aaa5b0; font-size: 14px; line-height: 1.8; }
.intro-meta { display: flex; gap: 10px; align-items: center; margin-top: 30px; color: #77727e; font-size: 9px; letter-spacing: .13em; }
.meta-dot { color: var(--crimson); }
.feed-heading { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 17px; }
.feed-heading > div { display: flex; align-items: baseline; gap: 10px; }
.section-index { color: var(--crimson); font-size: 10px; letter-spacing: .08em; }
h2 { margin: 0; font-weight: 550; letter-spacing: -.02em; font-size: 19px; }
.feed { position: relative; }
#cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.spacer { width: 100%; height: 0; pointer-events: none; }
.profile-card { min-width: 0; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 18px; padding: 20px; border: 1px solid var(--line); background: linear-gradient(110deg, rgba(24,22,29,.96), rgba(13,13,17,.98)); position: relative; overflow: hidden; }
.profile-card::after { content: ""; position: absolute; right: 0; top: 0; width: 2px; height: 40px; background: var(--signature, var(--violet)); opacity: .75; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--signature, var(--violet)) 45%, #29252f); background: radial-gradient(circle at 32% 28%, var(--avatar-light, #57446b), #19151f 65%, #0c0b10); color: #f0e9f5; font-size: 21px; font-weight: 500; letter-spacing: -.05em; position: relative; }
.avatar::before, .avatar::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; width: 52px; height: 52px; transform: rotate(35deg) scaleX(.62); }
.avatar::after { width: 36px; height: 62px; transform: rotate(-35deg) scaleX(.72); }
.avatar span { position: relative; z-index: 1; text-shadow: 0 1px 8px #000; }
.card-main { min-width: 0; }
.card-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.profile-name { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 590; overflow-wrap: anywhere; }
.archetype { color: #b49ac9; font-size: 8px; letter-spacing: .13em; white-space: nowrap; padding-top: 4px; }
.identity-number { display: inline-block; margin-top: 8px; color: #aaa4b2; font-size: 10px; letter-spacing: .08em; overflow-wrap: anywhere; }
.profile-bio { color: #aaa5af; font-size: 12px; line-height: 1.7; margin: 12px 0 14px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.07); }
.trait { color: #d1cbd8; font-size: 10px; }
.signature { color: #77717e; font-size: 9px; letter-spacing: .06em; text-align: right; }
.card-actions { margin-top: 12px; display: flex; gap: 8px; }
.small-action { border: 1px solid #37313d; color: #c9c2d0; background: transparent; font-size: 9px; letter-spacing: .1em; padding: 8px 10px; cursor: pointer; }
.small-action:hover, .small-action:focus-visible { border-color: var(--signature, var(--violet)); color: white; }
.feed-status { padding: 22px 0 40px; color: #77717d; font-size: 9px; letter-spacing: .13em; text-align: center; }
footer { border-top: 1px solid var(--line); padding: 22px clamp(18px, 5vw, 72px); display: flex; justify-content: space-between; gap: 12px; color: #6f6a75; font-size: 8px; letter-spacing: .13em; }
.search-dialog { width: min(540px, calc(100% - 28px)); max-height: min(85vh, 760px); border: 1px solid #39313f; padding: 25px; background: #0e0d12; color: var(--text); box-shadow: 0 20px 100px #000b; }
.search-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; }
.dialog-kicker { color: #b39ac8; font-size: 9px; letter-spacing: .15em; }
.close-button { font-size: 24px; line-height: 1; font-weight: 300; }
.search-dialog h2 { font-size: 27px; margin-top: 24px; }
.search-dialog > p { color: #a7a1ad; font-size: 12px; line-height: 1.7; }
.search-form { display: flex; margin-top: 20px; gap: 8px; }
.search-form input { min-width: 0; flex: 1; background: #08080b; color: white; border: 1px solid #39333f; padding: 14px 12px; outline: none; font-size: 13px; }
.search-form input:focus { border-color: #9a7aaf; }
.search-form button { background: #d8c9e4; color: #17111d; border: 0; padding: 0 15px; font-size: 9px; font-weight: 750; letter-spacing: .09em; cursor: pointer; }
.search-error { color: #ed91a2 !important; min-height: 0; margin: 10px 0 0; }
.search-result { margin-top: 15px; }
.search-result:empty { display: none; }
.search-result .profile-card { padding: 16px; }
.dialog-foot { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 15px; color: #706b77; font-size: 8px; letter-spacing: .1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 700px) {
  main { width: min(100% - 80px, 900px); }
  .intro { padding-top: 95px; }
  .profile-card { grid-template-columns: 82px minmax(0,1fr); padding: 23px 25px; gap: 21px; }
  .avatar { width: 82px; height: 82px; }
  .profile-name { font-size: 19px; }
}
@media (max-width: 520px) {
  .topbar { height: 66px; padding: 0 16px; }
  .live-status { display: none; }
  main { width: calc(100% - 28px); }
  .intro { padding: 54px 0 39px; }
  .intro-meta { font-size: 8px; flex-wrap: wrap; }
  .feed-heading { align-items: flex-start; gap: 12px; }
  .stream-note { font-size: 7px; padding-top: 5px; white-space: nowrap; }
  .profile-card { grid-template-columns: 54px minmax(0,1fr); padding: 14px; gap: 13px; }
  .avatar { width: 54px; height: 54px; font-size: 17px; }
  .avatar::before { width: 40px; height: 40px; }
  .avatar::after { width: 27px; height: 46px; }
  .profile-name { font-size: 15px; }
  .archetype { font-size: 7px; white-space: normal; text-align: right; }
  .profile-bio { font-size: 11px; margin-top: 10px; }
  .signature { max-width: 45%; }
  .search-dialog { padding: 18px; }
  .search-form { flex-direction: column; }
  .search-form button { padding: 14px; }
  footer { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
