:root { --bg:#1a1a1a; --card:#2e2e2e; --text:#f0f0f0; --muted:#cccccc; --accent:#00b4d8; --good:#06d6a0; --bad:#ef476f; --tile:#262626; }
*{box-sizing:border-box}
body{font-family:Arial,sans-serif;background:var(--bg);color:var(--text);margin:0;padding:0;min-height:100vh}

.top-bar{position:fixed;top:0;left:0;right:0;background:var(--card);padding:15px 20px;display:flex;align-items:center;gap:20px;box-shadow:0 4px 14px rgba(0,0,0,.35);z-index:10}
.top-bar h1{margin:0;color:var(--muted);letter-spacing:.5px;font-size:20px;text-transform:lowercase}
.top-search{display:flex;align-items:stretch}
.top-search .search-group{display:flex;gap:6px;align-items:center;background:var(--card);border-radius:8px 0 0 8px;padding:6px;box-shadow:0 2px 6px rgba(0,0,0,.25);border-right:1px solid rgba(255,255,255,.06)}
.top-search input,.top-search select{appearance:none;background:#1f1f1f;color:var(--text);padding:6px 8px;border:none;border-radius:6px;font-size:14px;outline:none;width:140px}
.top-search select{width:auto}
.top-search .search-button{border:none;background:var(--accent);color:#fff;font-size:14px;border-radius:0 8px 8px 0;cursor:pointer;transition:transform .05s ease,background-color .2s ease;padding:0 16px}

.content{padding:100px 20px 20px 20px;display:flex;flex-direction:column;align-items:center}
.profile-banner{width:100%;max-width:980px;background:linear-gradient(180deg,#2e2e2e,#262626);border-radius:12px;padding:16px;box-shadow:0 6px 14px rgba(0,0,0,.3);display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;margin-bottom:12px}
.avatar{width:64px;height:64px;border-radius:12px;display:block;background:#1f1f1f;object-fit:cover}

.pinfo{display:flex;flex-direction:column;gap:6px}
.pname{font-size:20px;font-weight:700}
.pmeta{display:flex;gap:8px;flex-wrap:wrap}
.badge{background:#1f1f1f;border:1px solid rgba(255,255,255,.06);padding:6px 10px;border-radius:999px;font-size:12px;color:#ddd}
.badge.good{background:rgba(6,214,160,.12);border-color:rgba(6,214,160,.35);color:#b7ffe7}
.badge.bad{background:rgba(239,71,111,.12);border-color:rgba(239,71,111,.35);color:#ffd3dc}

.metrics{width:100%;max-width:980px;display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:12px}
.metric{background:var(--card);border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.3);padding:12px;display:flex;align-items:center;gap:10px}
.metric img{width:32px;height:32px;border-radius:6px}
.metric .label{font-size:12px;color:var(--muted)}
.metric .value{font-size:20px;font-weight:700}

.results-wrap{width:100%;max-width:980px;display:grid;grid-template-columns:1fr;gap:12px}
.card{background:var(--card);padding:12px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.3)}

.kv{display:grid;grid-template-columns:1fr 1fr;gap:4px}
@media(min-width:900px){.kv{grid-template-columns:repeat(3,1fr)}}
.kv div{background:var(--tile);padding:6px;border-radius:8px}
.kv .k{opacity:.8;font-size:10px}
.kv .v{font-weight:700;font-size:14px}

.two-col{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:900px){.two-col{grid-template-columns:1fr 1fr}}
.col{display:flex;flex-direction:column;gap:6px}

.section-header{display:flex;align-items:baseline;gap:8px}
.section-title{font-size:16px;color:#ffd166}
.section-meta{font-size:11px;color:var(--muted)}

.spinner{display:none;align-items:center;gap:10px;color:var(--muted)}
.spinner .dot{width:10px;height:10px;border-radius:50%;background:var(--accent);animation:bounce .9s infinite alternate}
.spinner .dot:nth-child(2){animation-delay:.15s}
.spinner .dot:nth-child(3){animation-delay:.3s}
@keyframes bounce{to{transform:translateY(-6px);opacity:.6}}

.error{display:none;background:#3b1e1e;color:#ffd2d2;border:1px solid #6b2d2d;padding:10px 12px;border-radius:8px}

.footer-bar{position:fixed;bottom:0;left:0;right:0;background:var(--card);padding:15px 20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 -4px 14px rgba(0,0,0,.35)}
.footer-left a{margin-right:10px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;text-decoration:none}
.footer-left a.twitter{background:#1DA1F2}
.footer-left a.discord{background:#5865F2}
.footer-left a img{filter:brightness(0) invert(1);width:20px;height:20px}
.footer-right{color:#888}
.footer-spacer{height:72px}
