:root {
  color-scheme: dark;
  --ink: #ece9dc;
  --muted: #8f9188;
  --green: #77d39a;
  --red: #e98a83;
  --panel: #111914;
  --line: rgba(236, 233, 220, 0.16);
  --bg: #08100b;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 5%, rgba(73, 121, 84, 0.20), transparent 34rem),
    radial-gradient(circle at 85% 75%, rgba(107, 66, 56, 0.13), transparent 30rem),
    var(--bg);
  font-family: "Inter", system-ui, sans-serif;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
.shell { width: min(100% - 32px, 960px); margin: 0 auto; padding: 24px 0 42px; position: relative; }
.masthead { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.brand { color: var(--green); text-decoration: none; font: 700 26px "Source Serif 4", serif; }
.hero { padding: 78px 0 58px; text-align: center; }
h1 { margin: 15px 0 12px; font-size: clamp(48px, 9vw, 88px); line-height: .96; letter-spacing: -.055em; }
h1 em { color: var(--green); font-family: "Source Serif 4", serif; font-weight: 600; }
.intro { color: var(--muted); max-width: 550px; margin: 28px auto; line-height: 1.9; }
.drop-card { direction: ltr; max-width: 610px; margin: 30px auto 0; padding: 18px 21px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(119,211,154,.28); background: linear-gradient(110deg, rgba(119,211,154,.09), rgba(17,25,20,.78)); box-shadow: inset 3px 0 0 var(--green), 0 16px 50px rgba(0,0,0,.18); text-align: left; }
.drop-copy { display: grid; gap: 3px; }
.drop-eyebrow { color: var(--green); font: 800 10px monospace; letter-spacing: .15em; }
.drop-copy strong { font-size: 14px; }
.drop-copy small { color: var(--muted); font-size: 11px; }
.countdown { display: flex; align-items: flex-start; gap: 7px; }
.countdown div { display: grid; min-width: 39px; text-align: center; }
.countdown b { color: var(--ink); font: 700 23px monospace; line-height: 1; }
.countdown span { color: var(--muted); font-size: 9px; margin-top: 7px; }
.countdown i { color: var(--green); font: normal 18px monospace; opacity: .7; }
.search-wrap { position: relative; max-width: 610px; margin: 32px auto 0; }
.search { direction: ltr; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; margin: 0; border: 1px solid var(--line); background: rgba(13, 21, 16, .96); padding: 7px; border-radius: 4px; box-shadow: 0 18px 60px rgba(0,0,0,.3); }
.at { color: var(--green); font: 700 25px monospace; padding-left: 14px; }
.search input { width: 100%; min-width: 0; padding: 14px 10px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 18px monospace; }
.search button { border: 0; padding: 14px 26px; background: var(--ink); color: #0c130e; font: 700 13px "Inter"; cursor: pointer; border-radius: 2px; }
.search button:hover { background: var(--green); }
.account-suggestions { position: absolute; z-index: 12; top: calc(100% + 7px); left: 0; right: 0; padding: 6px; border: 1px solid var(--line); background: rgba(9,17,12,.98); box-shadow: 0 24px 60px rgba(0,0,0,.55); text-align: left; }
.account-suggestions button { display: grid; width: 100%; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 9px 11px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.account-suggestions button:hover, .account-suggestions button:focus-visible { outline: 0; background: rgba(119,211,154,.1); }
.account-suggestions button > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }.account-suggestions b { font: 600 12px monospace; }.account-suggestions small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.account-suggestions em { color: var(--muted); font: normal 10px monospace; }
.suggestion-avatar { display: grid; width: 34px; height: 34px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; color: var(--green); font-weight: 700; }.suggestion-avatar img { width: 100%; height: 100%; object-fit: cover; }
.form-error { min-height: 24px; color: var(--red); font-size: 13px; }
.hidden { display: none !important; }
.loading { display: flex; justify-content: center; gap: 7px; padding: 50px; }
.loading span { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 1s infinite alternate; }
.loading span:nth-child(2) { animation-delay: .2s; }.loading span:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { to { opacity: .2; transform: translateY(-7px); } }
.result { border-top: 1px solid var(--line); padding-top: 34px; }
.result-head, .history-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.result-identity { display: flex; align-items: center; gap: 15px; }
.result-avatar { display: grid; flex: 0 0 64px; width: 64px; height: 64px; place-items: center; overflow: hidden; border: 1px solid rgba(119,211,154,.4); border-radius: 50%; background: var(--panel); color: var(--green); font: 700 24px monospace; }.result-avatar img { width: 100%; height: 100%; object-fit: cover; }
.base-share { direction: ltr; display: flex; align-items: baseline; gap: 8px; margin: 7px 0 0; }.base-share span { color: var(--muted); font: 700 9px monospace; letter-spacing: .08em; }.base-share strong { color: var(--ink); font: 700 14px monospace; }
.label { color: var(--muted); font-size: 12px; margin: 0; }
h2 { direction: ltr; margin: 5px 0 0; font: 700 clamp(25px, 5vw, 42px) monospace; color: var(--green); }
.profile-link { color: var(--muted); font-size: 12px; text-decoration: none; }
.profile-link:hover { color: var(--ink); }
.balances { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 18px; direction: ltr; }
.balance { width: 100%; padding: 27px; border: 1px solid var(--line); background: rgba(17,25,20,.72); color: inherit; font: inherit; text-align: left; position: relative; overflow: hidden; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.balance::after { content:""; position:absolute; width:160px; height:160px; border-radius:50%; right:-80px; bottom:-100px; background:currentColor; opacity:.055; }
.balance:hover, .balance:focus-visible { z-index: 1; outline: 0; transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.34); }
.vouch-card:hover, .vouch-card:focus-visible { border-color: rgba(119,211,154,.8); background: rgba(38,83,52,.55); }
.slash-card:hover, .slash-card:focus-visible { border-color: rgba(233,138,131,.8); background: rgba(87,42,40,.5); }
.balance-action { display: block; position: relative; z-index: 1; margin-top: 18px; color: currentColor; font-size: 10px; font-weight: 800; letter-spacing: .04em; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }.balance:hover .balance-action, .balance:focus-visible .balance-action { opacity: 1; transform: translateY(0); }
.balance-title { letter-spacing: .13em; font-size: 13px; font-weight: 800; }
.vouch-card { color: var(--green); }.slash-card { color: var(--red); }
.balance strong { display: block; margin-top: 18px; font: 700 58px "Source Serif 4", serif; line-height: 1; }
.balance p, .balance small { color: var(--muted); margin: 3px 0 17px; }
.balance small b { color: var(--ink); }
.marks { display: flex; gap: 8px; height: 18px; margin-bottom: 15px; }
.marks span { width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; }
.marks span.used { background: currentColor; opacity: .25; }
.slash-marks span { width: 2px; border: 0; border-radius: 0; background: currentColor; transform: rotate(35deg); opacity: 1; margin: 0 5px; }
.slash-marks span.used { opacity: .25; }
.history-head { margin-top: 42px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.history-head h3 { margin: 0; font-size: 17px; }.history-head span { color: var(--muted); font-size: 12px; }
.vote-list { direction: ltr; }
.vote { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 17px 4px; border-bottom: 1px solid var(--line); }
.vote-kind { font: 800 11px monospace; letter-spacing: .08em; }.vote-kind.vouch { color: var(--green); }.vote-kind.slash { color: var(--red); }
.vote-target { color: var(--ink); font: 600 15px monospace; }.vote a { color: var(--muted); text-decoration: none; font-size: 12px; }
.empty { color: var(--muted); padding: 28px 4px; text-align: center; }
.leaderboard { margin-top: 80px; border-top: 1px solid var(--line); padding-top: 34px; }
.leaderboard-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; min-width: 0; }
.leaderboard-head > div { min-width: 0; }
.leaderboard h3 { margin: 5px 0 0; font: 600 clamp(25px, 4vw, 38px) "Source Serif 4", serif; }
.refresh-note { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .04em; }.refresh-note span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(119,211,154,.7); }
.table-search { direction: ltr; width: min(100%, 280px); display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid var(--line); background: rgba(17,25,20,.7); color: var(--muted); }
.table-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 12px "Inter"; }
.table-shell { overflow-x: auto; border: 1px solid var(--line); background: rgba(10,17,12,.62); }
table { width: 100%; min-width: 690px; border-collapse: collapse; text-align: left; }
th { padding: 13px 18px; color: var(--muted); background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.sort-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }.sort-button:hover, .sort-button.active { color: var(--green); }
td { padding: 13px 18px; border-bottom: 1px solid rgba(236,233,220,.08); font-size: 13px; }
tbody tr { transition: background .16s ease; } tbody tr:hover { background: rgba(119,211,154,.045); } tbody tr:last-child td { border-bottom: 0; }
.rank, .used-cell, .points-cell { color: var(--muted); font: 500 11px monospace; }
.account { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.account > span:last-child { display: grid; gap: 2px; }.account b { font: 600 12px monospace; }.account small { max-width: 220px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--green); font-weight: 700; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.allowance { display: inline-grid; min-width: 30px; font: 700 18px "Source Serif 4", serif; }.vouch-value { color: var(--green); }.slash-value { color: var(--red); } td > small { color: var(--muted); }
.table-message { height: 150px; color: var(--muted); text-align: center; }.table-message.error { color: var(--red); }
.pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; color: var(--muted); font-size: 11px; }
.pagination button { padding: 9px 14px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 11px "Inter"; cursor: pointer; }.pagination button:hover:not(:disabled) { border-color: var(--green); color: var(--green); }.pagination button:disabled { cursor: default; opacity: .3; }
.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; }
.vouch-prompt { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(2,7,4,.76); backdrop-filter: blur(8px); }
.vouch-prompt-card { width: min(100%, 390px); position: relative; padding: 34px; border: 1px solid rgba(119,211,154,.35); background: #0d1610; box-shadow: 0 30px 100px rgba(0,0,0,.6); text-align: center; }
.vouch-prompt-card > img { width: 68px; height: 68px; margin-bottom: 17px; border: 2px solid var(--green); border-radius: 50%; object-fit: cover; box-shadow: 0 0 28px rgba(119,211,154,.2); }
.prompt-label { display: block; color: var(--green); font: 800 9px monospace; letter-spacing: .16em; }
.vouch-prompt-card h2 { margin: 9px 0 8px; color: var(--ink); font: 600 28px "Source Serif 4", serif; }
.vouch-prompt-card p { margin: 0 auto 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }.vouch-prompt-card p strong { color: var(--ink); }
.vouch-intent { display: block; padding: 13px 18px; background: var(--green); color: #08100b; font-size: 12px; font-weight: 800; text-decoration: none; }.vouch-intent:hover { background: var(--ink); }
.vouch-prompt-card > small { display: block; margin-top: 11px; color: var(--muted); font-size: 9px; }
.prompt-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; background: transparent; color: var(--muted); font-size: 23px; cursor: pointer; }.prompt-close:hover { color: var(--ink); }
.open-vouch-prompt { position: fixed; right: 20px; bottom: 20px; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid rgba(119,211,154,.35); background: rgba(13,22,16,.94); color: var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.35); backdrop-filter: blur(8px); font: 700 10px "Inter"; cursor: pointer; }.open-vouch-prompt span { color: var(--green); font-size: 17px; line-height: 1; }.open-vouch-prompt:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 620px) { .shell { width: min(100% - 24px, 960px); }.hero { padding-top: 55px; }.intro { padding-inline: 8px; }.drop-card { align-items: stretch; flex-direction: column; gap: 17px; }.countdown { justify-content: space-between; }.balances { grid-template-columns: 1fr; }.search button { padding-inline: 13px; white-space: nowrap; }.result-head, .leaderboard-head { align-items: stretch; flex-direction: column; }.leaderboard h3 { overflow-wrap: anywhere; line-height: 1.05; }.table-search, .table-shell { width: 100%; max-width: 100%; }.vote { grid-template-columns: 68px minmax(0,1fr) auto; } }
@media (max-width: 620px) { .open-vouch-prompt { right: 12px; bottom: 12px; } }
