*, *::before, *::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

:root {
    --bg: #0b0b0b;
    --fg: #f2f0ec;
    --dim: #9c9993;
    --faint: #4a4844;
    --line: #262622;
    --surface: #141412;
    --surface_hi: #1e1e1a;
    --gold: #d4ac2e;
    --red: #d4614a;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 710px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.hero {
    padding: 20px 0 56px;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    margin: 0 0 40px;
    color: inherit;
    text-decoration: none;
}

.logo_mark {
    flex: none;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.logo_name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero h1 {
    margin: 0;
    font-size: 46px;
    line-height: 0.98;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.subtitle {
    margin: 20px 0 0;
    color: var(--dim);
    font-size: 17px;
    max-width: 26em;
}

.board h2,
.feed h2,
.find h2,
.cta h2 {
    margin: 0 0 22px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--fg);
}

.panel {
    padding: 10px;
    border-radius: 14px;
    background: var(--surface);
}

.panel_box {
    padding: 22px;
}

.panel_prove {
    padding: 22px;
    background: #1a1a17;
}

.row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 12px;
    border-radius: 9px;
    color: inherit;
    text-decoration: none;
}

.row:hover {
    background: var(--surface_hi);
}

.row_self {
    background: #211d10;
    box-shadow: inset 3px 0 0 var(--gold);
}

.rank {
    width: 2.4em;
    flex: none;
    color: var(--dim);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.board .row:first-of-type .rank {
    color: var(--gold);
}

.avatar {
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
}

.avatar_letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
    color: #0b0b0b;
}

.handle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 500;
}

.handle_name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amount {
    flex: none;
    text-align: right;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.proven {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--dim);
}

.stats {
    margin: -12px 0 22px;
    color: var(--dim);
    font-size: 15px;
}

.stats_total {
    color: var(--gold);
    font-weight: 700;
}

.feed {
    padding-top: 64px;
}

.row_feed .amount {
    font-size: 19px;
}

.row_feed .proven {
    letter-spacing: 0.06em;
    text-transform: none;
}

.row_open .handle,
.row_open .amount {
    color: var(--dim);
}

.rank_medal {
    font-size: 19px;
}

.avatar_open {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #3a3936;
    color: var(--dim);
    font-size: 19px;
    font-weight: 700;
}

.handle_open {
    font-style: italic;
}

.open_tag {
    color: var(--gold);
}

.founding {
    flex: none;
    font-size: 0;
    letter-spacing: 0;
    color: var(--gold);
}

.founding::before {
    content: "\2605";
    font-size: 13px;
}

@media (max-width: 479px) {
    .wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .panel {
        padding: 6px;
    }

    .panel_box {
        padding: 16px;
    }

    .panel_prove {
        padding: 18px;
    }

    .results {
        margin-left: -8px;
        margin-right: -8px;
    }

    .row {
        gap: 10px;
        padding: 13px 8px;
    }

    .rank {
        width: 2em;
    }

    .avatar {
        width: 40px;
        height: 40px;
    }

    .avatar_letter {
        font-size: 17px;
    }

    .amount {
        font-size: 19px;
    }
}

.challenge {
    margin-bottom: 56px;
    padding: 22px 20px;
    border-radius: 12px;
    background: var(--surface);
}

.challenge > *:first-child {
    margin-top: 0;
}

.challenge_line {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.challenge_sub {
    margin: 10px 0 0;
    color: var(--dim);
    font-size: 15px;
}

.challenge_line + .challenge_sub {
    font-size: 14px;
}

.spots {
    color: var(--gold);
    font-weight: 700;
}

.find {
    padding-top: 64px;
}

.search_form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.search_form .input_group {
    flex: 1;
    min-width: 0;
}

.search_form .at,
.search_form input {
    font-size: 22px;
}

.search_button {
    flex: none;
    padding: 11px 20px;
    border: 1px solid var(--fg);
    border-radius: 4px;
    background: none;
    color: var(--fg);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.search_button:hover {
    background: var(--fg);
    color: var(--bg);
}

.find_results.is_loading {
    opacity: 0.3;
}

.find_results {
    transition: opacity 0.12s linear;
}

.results {
    margin: 22px -12px 0;
}

.not_proven {
    margin-top: 22px;
    padding: 22px 20px;
    border-radius: 12px;
    background: var(--surface_hi);
}

.not_proven_handle {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dim);
    text-decoration: line-through;
}

.not_proven_line {
    margin: 6px 0 18px;
    color: var(--dim);
}

.not_proven_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.submit_small {
    padding: 11px 18px;
    border: 0;
    border-radius: 4px;
    background: var(--fg);
    color: var(--bg);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.prefill_button {
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: none;
    color: var(--fg);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.prefill_button:hover {
    border-color: var(--fg);
}

.cta {
    padding-top: 64px;
}

.field {
    display: block;
    margin-bottom: 24px;
}

.field_label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dim);
}

.input_group {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #35342f;
}

.input_group:focus-within {
    border-bottom-color: var(--fg);
}

.at {
    padding-right: 6px;
    font-size: 26px;
    font-weight: 700;
    color: var(--faint);
}

.input_group input {
    flex: 1;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--fg);
    font: inherit;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.input_group input:focus {
    outline: none;
}

.input_group input::placeholder {
    color: var(--faint);
    font-weight: 400;
}

.input_group input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.input_group input[type="number"]::-webkit-outer-spin-button,
.input_group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: block;
    padding: 10px 14px;
    border: 1px solid #3d3c36;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    user-select: none;
}

.chip input:checked + span {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
}

.chip input:focus-visible + span {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.submit {
    width: 100%;
    padding: 20px;
    border: 0;
    border-radius: 4px;
    background: var(--fg);
    color: var(--bg);
    font: inherit;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.submit:active {
    transform: translateY(1px);
}

.disclaimer {
    margin: 22px 0 0;
    color: #6f6d68;
    font-size: 11px;
    line-height: 1.7;
    max-width: 58em;
}

.receipt {
    margin-bottom: 56px;
    padding: 28px 0;
    border-top: 2px solid var(--fg);
    border-bottom: 2px solid var(--fg);
}

.receipt_title {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.receipt_user {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
}

.receipt_amount {
    margin: 4px 0 12px;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.receipt_line {
    margin: 0 0 16px;
    color: var(--dim);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.badge_founding {
    border-style: dashed;
}

.duel {
    margin-top: 40px;
}

.duel_label {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dim);
}

.duel_row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.duel_row .input_group {
    flex: 1;
    min-width: 0;
}

.duel_row .at,
.duel_row input {
    font-size: 20px;
}

.badge {
    display: inline-block;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.callout {
    border-color: var(--red);
}

.callout .receipt_title {
    color: var(--red);
}

.callout_amount {
    margin: 4px 0 12px;
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: var(--dim);
    text-decoration: line-through;
}

.callout_button {
    margin-top: 8px;
}

.share_button {
    display: block;
    margin-top: 24px;
    padding: 14px 22px;
    border: 1px solid var(--fg);
    border-radius: 4px;
    background: none;
    color: var(--fg);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.error {
    margin: 0 0 40px;
    padding: 14px 16px;
    border-left: 3px solid var(--red);
    background: #161311;
    font-size: 15px;
}

.foot {
    margin-top: 72px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--dim);
    font-size: 13px;
}

.foot p {
    margin: 0;
}

.foot_top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px 24px;
}

.foot_nav {
    display: flex;
    gap: 20px;
}

.foot_nav a,
.disclaimer a {
    color: var(--dim);
    text-decoration: none;
}

.foot_nav a:hover,
.disclaimer a:hover {
    color: var(--fg);
}

.foot_copy {
    margin-top: 16px;
    color: var(--faint);
    font-size: 11px;
}

.hero_doc {
    padding-bottom: 40px;
}

.doc_title {
    margin: 0;
    font-size: 46px;
    line-height: 1;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.doc {
    max-width: 34em;
}

.doc h2 {
    margin: 44px 0 12px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.doc p {
    margin: 0 0 14px;
    color: #ceccc6;
    line-height: 1.65;
}

.doc ul {
    margin: 0 0 14px;
    padding-left: 20px;
    color: #ceccc6;
    line-height: 1.65;
}

.doc li {
    margin-bottom: 6px;
}

.doc a {
    color: var(--gold);
    text-decoration: none;
}

.doc a:hover {
    color: var(--fg);
}

.doc_note {
    color: var(--dim);
    font-size: 14px;
}

.doc_aside {
    margin-top: 18px;
    color: var(--faint);
    font-size: 13px;
}

.doc_aside a {
    color: var(--dim);
}

.doc_facts {
    list-style: none;
    padding: 0;
}

.doc_facts li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 9px 0;
}

.doc_facts li > span:first-child {
    flex: none;
    width: 10em;
    color: var(--dim);
}

.doc_email {
    margin: 0 0 32px;
    font-size: 26px;
    font-weight: 700;
}

.todo {
    padding: 1px 7px;
    border-radius: 4px;
    background: #3a1d17;
    color: #f0a08c;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 710px) {
    .wrap {
        padding-top: 64px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .receipt_amount,
    .callout_amount {
        font-size: 66px;
    }
}
