:root {
  color-scheme: dark;
  --ink: #f4f7f6;
  --muted: #97a8a5;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(14, 25, 26, 0.82);
  --cyan: #7fffd5;
  --teal: #0bd4a2;
  --night: #071011;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--night);
  font-family: "Segoe UI", Pretendard, system-ui, sans-serif;
  line-height: 1.55;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(11, 212, 162, .18), transparent 28rem),
    radial-gradient(circle at 5% 45%, rgba(77, 132, 255, .12), transparent 24rem),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; position: relative; }
.hero { padding: 92px 0 64px; }
.eyebrow { color: var(--cyan); font: 700 12px/1.2 ui-monospace, monospace; letter-spacing: .16em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
h1 { max-width: 940px; margin: 20px 0 22px; font-size: clamp(52px, 8vw, 104px); line-height: .94; letter-spacing: -.065em; font-weight: 760; text-wrap: balance; }
h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(244,247,246,.6); }
h1 .solid { color: var(--ink); -webkit-text-stroke: 0; }
.lead { max-width: none; margin: 0; color: #bdc9c7; font-size: clamp(17px, 2vw, 21px); white-space: nowrap; }
.rank-basis { margin: 10px 0 0; color: var(--cyan); font: 700 12px/1.5 ui-monospace, monospace; letter-spacing: .025em; }
.snapshot-bar { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 42px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(2,9,10,.55); color: var(--muted); font: 13px/1.5 ui-monospace, monospace; }
.snapshot-bar strong { color: var(--ink); font-weight: 650; }

.lookup-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.panel { position: relative; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); backdrop-filter: blur(14px); }
.accent-panel { background: linear-gradient(145deg, rgba(11,212,162,.12), rgba(14,25,26,.88) 45%); }
.panel-number { position: absolute; top: 28px; right: 30px; color: rgba(255,255,255,.16); font: 700 42px/1 ui-monospace, monospace; }
.panel h2, .cutoff-section h2, .methodology h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.panel h2 { max-width: calc(100% - 72px); }
.panel > p { max-width: 520px; min-height: 38px; margin: 0 0 26px; color: var(--muted); text-wrap: pretty; }
.inline-emphasis { color: inherit; font-family: inherit; font-style: italic; font-weight: 400; opacity: .72; }
form { display: grid; gap: 10px; }
label { color: #cbd5d3; font-size: 13px; font-weight: 650; }
input { width: 100%; height: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: rgba(0,0,0,.3); font: 14px/1.6 ui-monospace, monospace; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,212,162,.12); }
.amount-input { position: relative; }
.amount-input input { padding-right: 72px; }
.amount-input span { position: absolute; right: 14px; top: 16px; color: var(--muted); font: 12px ui-monospace, monospace; }
button { height: 52px; margin-top: 4px; border: 0; border-radius: 10px; color: #03100c; background: var(--cyan); font-weight: 750; cursor: pointer; transition: transform .15s, background .15s; }
button:hover { transform: translateY(-1px); background: #a3ffe2; }
button:disabled { opacity: .55; cursor: wait; transform: none; }
button span { margin-left: 8px; }
.result { margin-top: 18px; padding: 18px; border: 1px solid rgba(127,255,213,.23); border-radius: 12px; background: rgba(3,16,13,.68); }
.result.error { border-color: rgba(255,110,110,.35); color: #ffb1b1; }
.result .big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; color: var(--cyan); font-size: clamp(24px, 3vw, 30px); font-weight: 760; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.result .big small { font-size: .48em; letter-spacing: .03em; }
.result .sub { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
.result-label { display: block; margin-top: 13px; color: var(--muted); font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.result-rank { display: block; margin-top: 5px; line-height: 1.45; }
.result-explainer { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.result .notice { display: grid; gap: 7px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line); color: #b9c7c4; font-size: 12px; line-height: 1.55; }
.notice-meta { color: var(--muted); font: 11px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.breakdown { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.breakdown span:nth-child(even) { text-align: right; color: #d9e1df; }

.cutoff-section { padding: 92px 0 76px; }
.data-notice { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; padding: 24px 28px; border: 1px solid rgba(127,255,213,.22); border-radius: 14px; background: rgba(11,212,162,.06); text-align: center; }
.data-notice strong { color: var(--cyan); font-size: 15px; white-space: nowrap; }
.data-notice-copy { display: grid; gap: 9px; width: min(100%, 1040px); margin-inline: auto; }
.data-notice-copy p { display: grid; gap: 2px; margin: 0; color: var(--muted); font-size: clamp(11px, 1.15vw, 13px); line-height: 1.6; }
.data-notice-copy p span { display: block; white-space: nowrap; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 26px; }
.section-heading h2 { margin-top: 10px; font-size: 36px; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 13px; text-wrap: pretty; }
.cutoff-notes { display: grid; gap: 3px; }
.cutoff-notes span { white-space: nowrap; }
.cutoff-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cutoff { min-height: 170px; padding: 24px 20px; border-right: 1px solid var(--line); background: rgba(11,20,21,.72); }
.cutoff:last-child { border-right: 0; }
.cutoff .percent { color: var(--cyan); font: 700 13px ui-monospace, monospace; }
.cutoff strong { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 34px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; }
.cutoff strong small { color: #d8e2df; font-size: 11px; letter-spacing: .08em; }
.cutoff-rank { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.skeleton { height: 170px; background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.08), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.methodology { padding: 38px 0 74px; border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 34px; margin-top: 24px; }
.method-grid div { display: grid; gap: 8px; }
.method-grid strong { color: var(--cyan); font-size: 13px; }
.method-grid span { color: var(--muted); font-size: 14px; text-wrap: pretty; }
.support-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 42px; align-items: center; margin-bottom: 64px; padding: 27px 30px; border: 1px solid rgba(127,255,213,.2); border-radius: 16px; background: linear-gradient(120deg, rgba(11,212,162,.075), rgba(11,20,21,.78) 48%); }
.support-copy h2 { margin: 8px 0 6px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; }
.support-copy p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; text-wrap: pretty; }
.support-actions { display: grid; justify-items: stretch; gap: 8px; min-width: 300px; }
.support-address { display: flex; justify-content: space-between; align-items: center; gap: 22px; width: 100%; height: auto; min-height: 50px; margin: 0; padding: 11px 13px 11px 16px; border: 1px solid rgba(127,255,213,.28); color: var(--ink); background: rgba(2,9,10,.48); text-align: left; }
.support-address:hover { border-color: rgba(127,255,213,.58); color: var(--cyan); background: rgba(11,212,162,.09); }
.support-address:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wallet-address { color: #c8d4d1; font: 13px/1.4 ui-monospace, monospace; letter-spacing: .015em; }
.copy-label { flex: 0 0 auto; margin: 0; padding: 5px 8px; border-radius: 7px; color: var(--cyan); background: rgba(127,255,213,.09); font-size: 11px; line-height: 1.2; }
.support-note { color: rgba(151,168,165,.82); font-size: 10px; line-height: 1.45; text-align: center; }
footer { display: grid; gap: 14px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-summary { display: flex; justify-content: space-between; gap: 20px; }
.footer-legal { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); color: rgba(142,162,158,.72); font-size: 11px; line-height: 1.55; }
.footer-legal a { color: inherit; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--cyan); }

@media (max-width: 820px) {
  .hero { padding-top: 64px; }
  .lead { max-width: 700px; white-space: normal; text-wrap: pretty; }
  .lookup-grid { grid-template-columns: 1fr; }
  .cutoff-grid { grid-template-columns: repeat(2,1fr); }
  .cutoff { border-bottom: 1px solid var(--line); }
  .section-heading { align-items: start; flex-direction: column; }
  .method-grid { grid-template-columns: 1fr; gap: 20px; }
  .data-notice { gap: 10px; padding-inline: 20px; }
  .data-notice strong { white-space: normal; }
  .data-notice-copy p span { white-space: normal; text-wrap: pretty; }
  .panel > p { min-height: 0; }
  .support-section { grid-template-columns: 1fr; gap: 20px; }
  .support-actions { min-width: 0; }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1120px); }
  .hero { padding-top: 46px; }
  h1 { font-size: clamp(43px, 13vw, 54px); line-height: .98; }
  .panel { padding: 25px 20px; }
  .panel h2 { max-width: calc(100% - 52px); font-size: 24px; }
  .panel-number { top: 24px; right: 20px; font-size: 34px; }
  .cutoff-grid { grid-template-columns: 1fr; }
  .cutoff { min-height: 130px; border-right: 0; }
  .cutoff strong { margin-top: 22px; }
  .support-section { margin-bottom: 46px; padding: 24px 20px; }
  .support-address { gap: 12px; }
  .wallet-address { font-size: 12px; }
  .footer-summary { flex-direction: column; gap: 5px; }
}
