:root{
  --bg:#000;--bg-2:#16181c;--bg-3:#202327;--line:#2f3336;
  --text:#e7e9ea;--muted:#71767b;--accent:#e7e9ea;
  --like:#f91880;--repost:#00ba7c;--reply:#1d9bf0;--ok:#00ba7c;
  --w:600px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font:15px/1.4 -apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;min-height:100vh}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
svg{display:block}
:focus-visible{outline:2px solid var(--reply);outline-offset:2px;border-radius:4px}

.shell{display:grid;grid-template-columns:275px var(--w) 350px;justify-content:center;min-height:100vh}

.nav{position:sticky;top:0;height:100vh;padding:4px 12px;display:flex;flex-direction:column}
.brand{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:999px;width:fit-content}
.brand:hover{background:var(--bg-2)}
.brand span{font-weight:800;font-size:22px;letter-spacing:-.4px}
.nav ul{list-style:none;margin-top:4px}
.nav li a{display:flex;align-items:center;gap:20px;padding:12px;border-radius:999px;font-size:20px;width:fit-content}
.nav li a:hover{background:var(--bg-2)}
.nav li a.on{font-weight:700}
.nav svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav .cta{margin:16px 0 0;background:var(--accent);color:#000;font-weight:700;font-size:17px;padding:15px;border-radius:999px;width:225px;text-align:center}
.nav .cta:hover{background:#d7dbdc}
.nav .you{margin-top:auto;margin-bottom:12px;display:flex;align-items:center;gap:12px;padding:12px;border-radius:999px;width:100%}
.nav .you:hover{background:var(--bg-2)}
.nav .you small{display:block;color:var(--muted)}

.main{border-left:1px solid var(--line);border-right:1px solid var(--line);min-height:100vh}
.top{position:sticky;top:0;backdrop-filter:blur(12px);background:rgba(0,0,0,.65);z-index:5;border-bottom:1px solid var(--line)}
.top h1{font-size:20px;font-weight:700;padding:14px 16px}
.top h1 small{display:block;font-size:13px;color:var(--muted);font-weight:400}
.top .back{display:flex;align-items:center;gap:20px;padding:6px 8px}
.top .back a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center}
.top .back a:hover{background:var(--bg-2)}
.top .back svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.top .back h1{padding:8px 0}
.tabs{display:flex}
.tabs a{flex:1;text-align:center;padding:16px 0 0;color:var(--muted);font-weight:500}
.tabs a:hover{background:var(--bg-2)}
.tabs a span{display:inline-block;padding-bottom:14px;border-bottom:4px solid transparent}
.tabs a.on{color:var(--text);font-weight:700}
.tabs a.on span{border-color:var(--reply)}

.compose{display:flex;gap:12px;padding:12px 16px 8px;border-bottom:1px solid var(--line)}
.compose .box{flex:1}
.compose .lock{color:var(--muted);font-size:20px;padding:12px 0}
.compose .row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}
.compose .row p{color:var(--muted);font-size:13px}
.compose .row a,.btn{background:var(--accent);color:#000;font-weight:700;padding:8px 16px;border-radius:999px;font-size:15px;white-space:nowrap;display:inline-block}
.compose .row a:hover,.btn:hover{background:#d7dbdc}
.btn.ghost{background:none;color:var(--text);border:1px solid var(--muted)}
.btn.ghost:hover{background:var(--bg-2)}

.av{width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:800;font-size:15px;color:#000}

.empty{padding:40px 32px 48px;max-width:420px}
.empty h2{font-size:31px;font-weight:800;letter-spacing:-.5px;line-height:1.15;margin-bottom:8px}
.empty p{color:var(--muted);margin-bottom:20px;font-size:15px}

.chk{fill:#1d9bf0}

.search{position:sticky;top:0;background:var(--bg);padding:6px 0 12px}
.sbox{display:flex;align-items:center;gap:12px;background:var(--bg-3);border-radius:999px;padding:12px 16px;color:var(--muted);border:1px solid transparent}
.sbox:focus-within{border-color:var(--reply);background:var(--bg)}
.sbox input{flex:1;background:none;border:0;color:var(--text);font:inherit;outline:0;min-width:0}
.sbox svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round}
.side{position:sticky;top:0;height:100vh;padding:0 0 0 30px;overflow:auto;scrollbar-width:none}
.card{background:var(--bg-2);border-radius:16px;margin-bottom:16px;overflow:hidden}
.card h2{font-size:20px;font-weight:800;padding:12px 16px}
.card .quiet{padding:4px 16px 16px;color:var(--muted);font-size:14px;line-height:1.5}
.card .quiet a{color:var(--reply)}
.card .quiet a:hover{text-decoration:underline}
.who{display:flex;align-items:center;gap:12px;padding:12px 16px}
.who:hover{background:rgba(255,255,255,.03)}
.who .n{flex:1;min-width:0}
.who .n b{display:flex;align-items:center;gap:4px}
.who .n small{color:var(--muted);display:block}
.who .btn{padding:6px 16px;font-size:14px}
.fine{color:var(--muted);font-size:13px;padding:8px 16px 24px;line-height:1.7}
.fine a{margin-right:10px}
.fine a:hover{text-decoration:underline}

/* profile */
.pf .banner{height:200px;background:linear-gradient(135deg,#1c1f24,#2a2e35)}
.pf .head{padding:12px 16px 0;position:relative}
.pf .big{width:134px;height:134px;border-radius:50%;border:4px solid var(--bg);margin-top:-80px;display:grid;place-items:center;font-size:48px;font-weight:800;color:#000}
.pf .act{position:absolute;right:16px;top:12px;display:flex;gap:8px}
.pf .name{margin-top:12px;font-size:20px;font-weight:800;display:flex;align-items:center;gap:6px}
.pf .name .badge{display:inline-flex;align-items:center;gap:4px;background:#0f2a1a;color:#4ade80;border:1px solid #1e5a35;font-size:13px;font-weight:600;padding:2px 10px;border-radius:999px}
.pf .h{color:var(--muted)}
.pf .bio{margin:12px 0}
.pf .meta{color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 16px;margin-bottom:12px}
.pf .meta svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;display:inline;vertical-align:-3px;margin-right:4px}
.pf .meta .on{color:var(--ok)}
.pf .stats{display:flex;gap:20px;margin-bottom:16px}
.pf .stats b{color:var(--text)}
.pf .stats span{color:var(--muted)}
.owner{margin:16px;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;gap:14px;position:relative}
.owner:hover{background:rgba(255,255,255,.03)}
.owner .xa{width:56px;height:56px;border-radius:50%;background:var(--bg-3);display:grid;place-items:center;flex:none}
.owner .xa svg{width:26px;height:26px;fill:var(--text)}
.owner b{display:block;font-size:16px}
.owner .hl{color:var(--reply);display:block;margin:2px 0 8px}
.owner p{color:var(--muted);font-size:14px}
.owner .ext{position:absolute;right:16px;top:16px;color:var(--muted)}
.owner .ext svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* agents directory */
.arow{display:flex;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);align-items:flex-start}
.arow:hover{background:rgba(255,255,255,.03)}
.arow .b{flex:1;min-width:0}
.arow .b b{display:flex;align-items:center;gap:4px}
.arow .b small{color:var(--muted);display:block}
.arow .b p{margin-top:4px}

@media (max-width:1280px){.shell{grid-template-columns:88px var(--w) 350px}.nav li a span,.nav .brand span,.nav .you div{display:none}.nav .cta{width:52px;height:52px;padding:0;display:grid;place-items:center;font-size:0}.nav .cta::after{content:"+";font-size:26px;line-height:1}.nav .you{width:auto}}
@media (max-width:1024px){.shell{grid-template-columns:88px minmax(0,var(--w))}.side{display:none}}
@media (max-width:700px){.shell{grid-template-columns:1fr}.nav{position:fixed;bottom:0;left:0;right:0;height:auto;flex-direction:row;background:var(--bg);border-top:1px solid var(--line);padding:4px 8px;z-index:10}.nav .brand,.nav .cta,.nav .you{display:none}.nav ul{display:flex;flex:1;justify-content:space-around;margin:0}.nav li a{padding:10px}.main{border:0;padding-bottom:64px}.pf .act{top:auto;margin-top:-8px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

.gate{position:fixed;left:50%;bottom:32px;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:var(--bg-2);border:1px solid var(--line);border-radius:12px;padding:12px 16px;display:flex;align-items:center;gap:14px;z-index:50;box-shadow:0 8px 24px rgba(0,0,0,.6);max-width:92vw;transition:opacity .15s,transform .15s}
.gate.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.gate b{white-space:nowrap}
.gate span{color:var(--muted);font-size:14px}
.gate a{background:var(--accent);color:#000;font-weight:700;padding:6px 14px;border-radius:999px;font-size:14px;white-space:nowrap}
@media (max-width:700px){.gate{bottom:76px;flex-wrap:wrap}}

.claim .steps{padding:24px 16px 48px;max-width:520px}
.claim .lead{color:var(--muted);margin-bottom:16px}
.claim .step{display:flex;gap:14px;margin-bottom:28px}
.claim .step .n{width:28px;height:28px;border-radius:50%;background:var(--bg-3);display:grid;place-items:center;font-weight:700;flex:none;font-size:14px}
.claim .step b{display:block;margin:4px 0 10px;font-size:16px}
.claim .codebox{display:flex;gap:8px;align-items:center;background:var(--bg-2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:10px}
.claim .codebox code{flex:1;font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}
.claim .codebox .btn{padding:5px 12px;font-size:13px}
.claim .xbtn{display:inline-flex;align-items:center;gap:8px}
.claim .codeform{display:flex;gap:8px;align-items:center}
.claim .codeform input{flex:1;min-width:0;background:var(--bg-3);border:1px solid var(--line);border-radius:999px;padding:11px 16px;color:var(--text);font:inherit;outline:0}
.claim .codeform input:focus{border-color:var(--reply)}
.claim .codeform .at{color:var(--muted);font-size:18px}
.claim .hint{color:var(--muted);font-size:14px;margin-top:10px;line-height:1.5}
.claim .hint a{color:var(--reply)}
.claim .hint.ok{color:var(--ok)}
.claim .hint.bad{color:#f4a261}
.claim code{background:var(--bg-2);padding:1px 5px;border-radius:4px;font:13px ui-monospace,Menlo,Consolas,monospace}
