* {
    box-sizing: border-box;
}
:root {
    --ink: #171717;
    --paper: #f6f3eb;
    --yellow: #f4c542;
    --white: #fff;
    --line: 3px solid var(--ink);
    --shadow: 6px 6px 0 var(--ink);
}
body {
    margin: 0;
    background-color: var(--paper);
    background-image: radial-gradient(#c8c1b2 0.8px, transparent 0.8px);
    background-size: 17px 17px;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
}
.shell {
    width: min(100% - 32px, 980px);
    margin: auto;
}
.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--ink);
    font-weight: 800;
    letter-spacing: -0.4px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--ink);
    font-size: 18px;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: var(--line);
    border-radius: 12px;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 15px;
}
.muted {
    color: #8b8068;
}
.nav-tag,
.mono,
.eyebrow,
.hero-foot,
.pill,
label,
footer,
.mini-label {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
}
.nav-tag {
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 8px 12px;
    box-shadow: 3px 3px 0 var(--ink);
}
main {
    padding: 42px 0 26px;
}
.panel,
.card {
    border: var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.hero {
    background: var(--yellow);
    padding: clamp(22px, 5vw, 46px);
    position: relative;
    overflow: hidden;
}
.hero:after {
    content: "FF";
    position: absolute;
    right: 5%;
    top: 14%;
    font-weight: 800;
    font-size: clamp(100px, 23vw, 230px);
    line-height: 1;
    color: #1717170b;
    transform: rotate(-12deg);
    pointer-events: none;
}
.hero-top,
.hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ink);
    color: var(--yellow);
    padding: 8px 12px;
    border-radius: 999px;
}
.pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8be28b;
    box-shadow: 0 0 0 3px #8be28b30;
}
.hero-top .mono {
    font-size: 10px;
}
.eyebrow {
    font-weight: 500;
    margin: 36px 0 8px;
}
h1 {
    font-size: clamp(54px, 11vw, 100px);
    letter-spacing: -7px;
    line-height: 0.83;
    margin: 0;
    font-weight: 800;
    position: relative;
    z-index: 1;
}
h1 span {
    color: var(--white);
    -webkit-text-stroke: 2px var(--ink);
    text-shadow: 4px 4px 0 var(--ink);
}
.intro {
    max-width: 420px;
    line-height: 1.6;
    font-size: 14px;
    margin: 22px 0 30px;
}
.search {
    max-width: 620px;
    position: relative;
    z-index: 1;
}
label {
    display: block;
    font-weight: 700;
    margin-bottom: 9px;
}
.search-row {
    display: flex;
    gap: 10px;
}
input {
    min-width: 0;
    flex: 1;
    border: var(--line);
    border-radius: 13px;
    background: var(--white);
    padding: 16px;
    font: 600 14px "Space Grotesk";
    outline: none;
    box-shadow: 3px 3px 0 var(--ink);
}
input:focus {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--ink);
}
button {
    border: var(--line);
    border-radius: 13px;
    background: var(--ink);
    color: var(--yellow);
    padding: 0 22px;
    font: 800 13px "Space Grotesk";
    cursor: pointer;
    box-shadow: 3px 3px 0 #fff;
    transition: 0.15s;
}
button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #fff;
}
button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}
button span {
    font-size: 18px;
    margin-left: 8px;
}
.hero-foot {
    margin-top: 28px;
    font-size: 9px;
    opacity: 0.75;
}
.status {
    min-height: 28px;
    margin: 18px 2px;
    font: 12px "DM Mono";
    color: #5d574b;
}
.status.error {
    color: #b42318;
}
.status.loading {
    color: #6d5710;
}
.hidden {
    display: none !important;
}
.result {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}
.card {
    background: var(--white);
    padding: 22px;
}
.profile {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 20px;
    align-items: center;
    background: #fff;
}
.avatar {
    width: 116px;
    height: 116px;
    object-fit: cover;
    border: var(--line);
    border-radius: 18px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--ink);
}
.name {
    font-size: clamp(23px, 5vw, 36px);
    font-weight: 800;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}
.uid {
    font: 11px "DM Mono";
    color: #6e6a61;
    margin-top: 5px;
}
.badges {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.badge {
    font: 10px "DM Mono";
    padding: 6px 9px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--yellow);
}
.badge.dark {
    background: var(--ink);
    color: white;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.stat {
    border: 2px solid var(--ink);
    border-radius: 15px;
    padding: 15px;
    background: #fffdf7;
    min-width: 0;
}
.stat .mini-label {
    color: #777064;
    font-size: 9px;
}
.stat strong {
    display: block;
    font-size: 22px;
    margin-top: 7px;
    overflow-wrap: anywhere;
}
.section-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 15px;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.info {
    background: #f6f3eb;
    border: 2px solid #ded8ca;
    border-radius: 12px;
    padding: 12px;
    min-width: 0;
}
.info span {
    display: block;
    font: 9px "DM Mono";
    color: #777064;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.info b {
    font-size: 13px;
    overflow-wrap: anywhere;
}
.rank-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.rank {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    padding: 12px;
    background: #fffdf7;
    min-width: 0;
}
.rank img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.rank b {
    display: block;
    font-size: 14px;
}
.rank small {
    font: 10px "DM Mono";
    color: #777064;
}
.bio {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.6;
    background: #f6f3eb;
    padding: 14px;
    border: 2px solid #ded8ca;
    border-radius: 12px;
}
.collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 10px;
}
.item {
    border: 2px solid var(--ink);
    border-radius: 13px;
    padding: 10px;
    text-align: center;
    background: #fffdf7;
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}
.empty {
    font: 11px "DM Mono";
    color: #777064;
}
footer {
    display: flex;
    justify-content: space-between;
    padding: 22px 2px 30px;
    color: #716b5e;
    font-size: 9px;
}
footer b {
    color: #d29d00;
}
@media (max-width: 600px) {
    .shell {
        width: min(100% - 22px, 980px);
    }
    .nav {
        height: 64px;
    }
    .nav-tag {
        font-size: 8px;
        padding: 7px 9px;
    }
    .hero {
        padding: 22px 18px;
    }
    .hero-top .mono {
        font-size: 8px;
    }
    h1 {
        letter-spacing: -4px;
    }
    .search-row {
        flex-direction: column;
    }
    .search-row button {
        height: 50px;
    }
    .hero-foot {
        font-size: 8px;
    }
    .profile {
        grid-template-columns: 82px 1fr;
        gap: 14px;
    }
    .avatar {
        width: 82px;
        height: 82px;
    }
    .card {
        padding: 16px;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid .stat:last-child {
        grid-column: span 2;
    }
    .rank-row {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    #result img[src*="1310000071"] {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        object-fit: contain;
        display: block;
    }
}
