:root {
  color-scheme: dark;
  --bg: #090a10;
  --panel: #10121b;
  --panel-2: #141723;
  --line: rgba(184, 194, 224, .13);
  --line-strong: rgba(184, 194, 224, .24);
  --text: #f2f3fb;
  --muted: #9298ad;
  --dim: #646b82;
  --violet: #a78bfa;
  --cyan: #8de9f5;
  --card-height: 174px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 0; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 0; color: var(--text); background: radial-gradient(ellipse at 50% -18%, rgba(94, 77, 171, .17), transparent 46%), var(--bg); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--cyan); color: #071015; transform: translateY(-150%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 5vw, 76px); border-bottom: 1px solid var(--line); background: rgba(9,10,16,.86); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 27px; height: 27px; position: relative; display: block; transform: rotate(45deg); }
.brand-mark span { position: absolute; inset: 2px; border: 1px solid var(--cyan); border-radius: 7px; }
.brand-mark span:nth-child(2) { inset: 6px; border-color: var(--violet); }
.brand-mark span:nth-child(3) { inset: 10px; background: var(--cyan); border: 0; border-radius: 2px; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-copy strong { font-size: 12px; letter-spacing: .19em; font-weight: 750; }
.brand-copy small { font-size: 8px; letter-spacing: .13em; color: var(--muted); }
.header-status { display: flex; align-items: center; gap: 9px; color: #b9bfd2; font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 auto; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px rgba(141,233,245,.45); }
.intro { max-width: 860px; padding: 62px 22px 0; margin: 0 auto; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 19px; color: var(--cyan); font-size: 9px; letter-spacing: .24em; }
.eyebrow-line { width: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); opacity: .7; }
.eyebrow-line:last-child { transform: rotate(180deg); }
h1 { margin: 0; font-size: clamp(38px, 6vw, 66px); letter-spacing: -.055em; line-height: 1.05; font-weight: 660; }
h1 span { color: var(--violet); }
.intro-copy { max-width: 500px; margin: 19px auto 27px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.search-form { max-width: 630px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; text-align: left; }
.search-field-wrap { min-width: 0; height: 52px; display: flex; align-items: center; gap: 11px; padding: 0 15px; background: rgba(19,21,32,.9); border: 1px solid var(--line-strong); border-radius: 10px; transition: border-color .18s, box-shadow .18s; }
.search-field-wrap:focus-within { border-color: rgba(141,233,245,.65); box-shadow: 0 0 0 3px rgba(141,233,245,.06); }
.search-icon { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.7; flex: 0 0 auto; }
#profile-search { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
#profile-search::placeholder { color: #73798e; }
.clear-search { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); font-size: 23px; cursor: pointer; padding: 2px 0 4px 8px; }
.search-button { height: 52px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 17px; border: 1px solid rgba(167,139,250,.55); border-radius: 10px; background: linear-gradient(135deg, rgba(126,94,214,.24), rgba(141,233,245,.08)); color: #f4f0ff; font-size: 12px; font-weight: 650; cursor: pointer; transition: background .18s, border-color .18s; white-space: nowrap; }
.search-button:hover { border-color: var(--violet); background: rgba(126,94,214,.28); }
.search-button span:last-child { color: var(--cyan); font-size: 17px; }
.search-help, .search-error { grid-column: 1 / -1; margin: 0 0 0 3px; font-size: 10px; color: var(--dim); line-height: 1.5; overflow-wrap: anywhere; }
.search-error { color: #ff9cae; }
.intro-rule { display: flex; align-items: center; gap: 15px; margin-top: 47px; color: var(--dim); }
.intro-rule > span:not(.rule-label) { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.intro-rule > span:last-child { transform: rotate(180deg); }
.rule-label { flex: 0 0 auto; font-size: 8px; letter-spacing: .22em; }
.universe-section { max-width: 980px; margin: 0 auto; padding: 37px 22px 25px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.section-kicker { margin: 0 0 9px; color: var(--cyan); font-size: 9px; letter-spacing: .2em; }
.section-heading h2 { margin: 0; font-size: clamp(21px, 3vw, 29px); letter-spacing: -.04em; font-weight: 620; }
.section-heading h2 span { color: var(--muted); font-weight: 450; }
.stream-note { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.stream-viewport { height: min(60vh, 540px); min-height: 350px; overflow-y: auto; overflow-x: hidden; position: relative; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(115deg, rgba(16,18,27,.98), rgba(12,14,22,.98)); scrollbar-color: #35384d #11131b; scrollbar-width: thin; overscroll-behavior: contain; }
.stream-track { position: relative; height: 12000px; min-width: 0; }
.profile-window { position: absolute; inset: 0 0 auto; height: 100%; }
.profile-card { position: absolute; left: 0; right: 0; height: var(--card-height); display: grid; grid-template-columns: 86px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,255,255,.012), transparent 70%); cursor: pointer; text-align: left; transition: background .16s; }
.profile-card:hover { background: linear-gradient(90deg, rgba(167,139,250,.085), rgba(141,233,245,.025)); }
.profile-card:focus-visible { z-index: 2; }
.avatar-frame { width: 78px; height: 112px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(176,185,220,.18); border-radius: 10px; background: #151825; }
.avatar-frame svg, .avatar-frame img, .avatar-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-main { min-width: 0; }
.profile-label { display: block; margin-bottom: 8px; color: var(--dim); font-size: 9px; letter-spacing: .15em; }
.profile-number { display: block; color: #f4f4fc; font-size: clamp(15px, 2.2vw, 21px); font-weight: 640; letter-spacing: -.025em; overflow-wrap: anywhere; word-break: break-word; line-height: 1.3; }
.profile-name { display: block; margin-top: 8px; color: #a7adc1; font-size: 12px; overflow-wrap: anywhere; }
.profile-meta { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: var(--dim); font-size: 9px; letter-spacing: .04em; }
.profile-meta::before { content: ""; width: 5px; height: 5px; background: var(--violet); border-radius: 50%; }
.card-open { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); font-size: 15px; }
.stream-footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 8px 0; color: var(--dim); font-size: 10px; }
.footer-glyph { color: var(--violet); font-size: 15px; }
.footer-divider { width: 1px; height: 12px; background: var(--line-strong); margin: 0 4px; }
.site-footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(18px, 5vw, 76px); border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }
.footer-brand { color: #b6bdd1; font-size: 9px; letter-spacing: .18em; font-weight: 700; }
.site-footer p { margin: 0; text-align: center; }
.footer-mark { color: var(--violet); letter-spacing: .12em; white-space: nowrap; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 18px; background: rgba(3,4,9,.78); backdrop-filter: blur(9px); }
.profile-dialog { position: relative; width: min(100%, 410px); max-height: min(90dvh, 720px); overflow: auto; padding: 29px; border: 1px solid var(--line-strong); border-radius: 17px; background: linear-gradient(145deg, #151725, #0c0e16); box-shadow: 0 25px 90px rgba(0,0,0,.5); }
.dialog-close { position: absolute; top: 13px; right: 15px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.dialog-avatar { width: 104px; height: 122px; overflow: hidden; margin: 22px 0 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: #141724; }
.dialog-avatar svg, .dialog-avatar img, .dialog-avatar video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dialog-number { margin: 0 0 9px; color: var(--cyan); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; user-select: text; }
.profile-dialog h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.dialog-type { margin: 8px 0 23px; color: var(--muted); font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-grid div { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; }
.detail-grid span, .detail-grid strong { display: block; }
.detail-grid span { margin-bottom: 8px; color: var(--dim); font-size: 8px; letter-spacing: .12em; }
.detail-grid strong { font-size: 10px; font-weight: 550; overflow-wrap: anywhere; }
.copy-button { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 13px 15px; border: 1px solid rgba(167,139,250,.42); border-radius: 9px; background: rgba(167,139,250,.09); cursor: pointer; font-size: 12px; }
.copy-button span:last-child { color: var(--cyan); font-size: 17px; }
.copy-status { min-height: 14px; margin: 8px 0 0; color: var(--cyan); font-size: 10px; }
@media (max-width: 600px) {
  :root { --card-height: 154px; }
  .site-header { height: 67px; padding-inline: 16px; }
  .brand { gap: 9px; }
  .brand-mark { width: 23px; height: 23px; }
  .brand-copy strong { font-size: 10px; letter-spacing: .15em; }
  .brand-copy small { font-size: 7px; letter-spacing: .08em; }
  .header-status { font-size: 7px; letter-spacing: .08em; gap: 6px; }
  .intro { padding: 45px 17px 0; }
  .intro-copy { max-width: 350px; font-size: 12px; margin: 15px auto 23px; }
  .search-form { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .search-field-wrap, .search-button { height: 49px; }
  .search-button { width: 100%; justify-content: space-between; padding-inline: 15px; }
  .search-help, .search-error { grid-column: 1; }
  .intro-rule { margin-top: 33px; }
  .universe-section { padding: 29px 12px 23px; }
  .section-heading { align-items: start; margin: 0 5px 15px; }
  .section-heading h2 { font-size: 22px; }
  .stream-note { font-size: 8px; gap: 6px; margin-top: 4px; }
  .stream-viewport { height: 57dvh; min-height: 320px; border-radius: 11px; }
  .profile-card { grid-template-columns: 63px minmax(0,1fr) 26px; gap: 12px; padding: 12px; }
  .avatar-frame { width: 60px; height: 91px; border-radius: 8px; }
  .profile-label { font-size: 8px; margin-bottom: 6px; }
  .profile-number { font-size: 14px; }
  .profile-name { font-size: 11px; margin-top: 6px; }
  .profile-meta { font-size: 8px; margin-top: 7px; }
  .card-open { width: 26px; height: 26px; font-size: 13px; }
  .stream-footer { font-size: 9px; gap: 7px; }
  .site-footer { flex-wrap: wrap; justify-content: center; gap: 10px 15px; padding: 19px 14px; }
  .site-footer p { order: 3; width: 100%; }
  .profile-dialog { padding: 23px; }
}
@media (max-width: 360px) {
  .header-status { max-width: 94px; white-space: normal; line-height: 1.5; }
  .brand-copy small { max-width: 145px; line-height: 1.4; }
  .section-heading h2 { font-size: 20px; }
  .stream-note { max-width: 92px; white-space: normal; line-height: 1.4; }
  .profile-card { grid-template-columns: 54px minmax(0,1fr) 23px; gap: 9px; padding-inline: 9px; }
  .avatar-frame { width: 52px; height: 82px; }
  .profile-number { font-size: 13px; }
  .profile-name { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
