@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --background: #04181c;
  --card: #0c252d;
  --raised: #102e37;
  --accent: #34b7dd;
  --text: #f8f7f4;
  --muted: #a8c0c6;
  --border: #264750;
  --positive: #00ffa0;
  --warning: #e6c584;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--accent);
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
input,
select {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px;
  min-width: 0;
}
input::placeholder {
  color: #79969f;
}
h1,
h2,
p {
  margin: 0;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
button {
  color: var(--text);
}
.site-header,
main,
footer {
  width: min(1320px, calc(100% - 64px));
  margin: auto;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}
.brand img {
  object-fit: contain;
}
.brand > span {
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}
.site-header nav {
  display: flex;
  gap: 30px;
}
.site-header nav a {
  font-size: 14px;
  color: var(--muted);
}
.site-header nav a:hover {
  color: var(--text);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions select {
  background: transparent;
  border: 0;
  padding: 8px;
  max-width: 120px;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  padding: 11px 18px;
  gap: 8px;
}
.primary {
  background: var(--accent);
  color: var(--background);
}
.primary:hover {
  background: #64c9e7;
}
.quiet {
  border-color: var(--border);
  background: transparent;
}
.quiet:hover {
  background: var(--raised);
}
.full {
  width: 100%;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  padding: 60px 0 44px;
  align-items: end;
}
.campaign-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.status-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 500;
  white-space: pre-line;
}
.intro-copy {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-top: 20px;
}
.entry-panel {
  padding-bottom: 2px;
}
.entry-panel label,
dialog > label,
dialog > div > label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--muted);
}
.address-entry {
  display: flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.address-entry input {
  width: 100%;
  border: 0;
  background: transparent;
  padding-left: 12px;
  font-size: 14px;
}
.address-entry button {
  flex-shrink: 0;
}
.entry-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}
.entry-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  font-size: 12px;
}
.network-chips {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  flex-wrap: wrap;
}
.network-chips b {
  background: var(--raised);
  border: 1px solid var(--border);
  padding: 4px 7px;
  border-radius: 5px;
  color: #cfe2e6;
  font-size: 10px;
  font-weight: 500;
}
.entry-meta > a {
  white-space: nowrap;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 20px;
}
.analytics,
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.metric > span {
  color: var(--muted);
  font-size: 12px;
}
.metric strong {
  font-size: 32px;
  letter-spacing: -0.055em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 11px;
  color: #809fa8;
}
.metric:nth-child(-n + 2) {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.panel-help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}
.badge {
  display: inline-flex;
  border-radius: 5px;
  padding: 4px 7px;
  background: #153940;
  color: #c1dae1;
  font-size: 10px;
  white-space: nowrap;
}
.badge.positive {
  color: var(--positive);
  background: #0b3b32;
}
.badge.pending {
  color: var(--warning);
  background: #393629;
}
.scan-progress {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 15px;
}
.scan-progress progress {
  height: 5px;
  max-width: 190px;
  width: 35%;
  accent-color: var(--accent);
}
progress::-webkit-progress-bar {
  background: var(--raised);
  border-radius: 8px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 8px;
}
.table-scroll {
  overflow-x: auto;
  margin: 18px -24px -8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  text-align: start;
}
th {
  text-align: start;
  padding: 12px 24px;
  color: #8aabb5;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
td {
  border-top: 1px solid #1d3c46;
  padding: 14px 24px;
  font-size: 12px;
  white-space: nowrap;
}
td:last-child,
th:last-child {
  text-align: end;
}
tbody tr:hover {
  background: #102e37;
}
td.empty {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  white-space: normal;
  padding: 35px 24px;
  line-height: 1.7;
}
.score-panel {
  padding-bottom: 18px;
}
.score-visual {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 2px auto 22px;
}
.score-visual svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.score-track,
.score-arc {
  fill: none;
  stroke-width: 7;
}
.score-track {
  stroke: #173d47;
}
.score-arc {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.45s ease;
}
.score-visual > div {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.score-visual strong {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.score-visual span {
  font-size: 12px;
  color: var(--muted);
}
.score-lines {
  border-top: 1px solid var(--border);
  padding-top: 6px;
  margin-bottom: 15px;
}
.score-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding: 11px 0;
}
.score-lines span {
  color: var(--muted);
}
.score-lines b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.invite-panel h2 {
  font-size: 21px;
  letter-spacing: -0.035em;
}
.invite-panel p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 14px 0 18px;
}
.invite-panel input {
  width: 100%;
  font-size: 11px;
  margin-bottom: 10px;
}
.invite-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.invite-stat strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.security-note {
  display: flex;
  gap: 12px;
  color: #89a9b2;
  font-size: 11px;
  line-height: 1.75;
  padding: 0 12px;
}
.security-note > span {
  font-size: 22px;
  color: var(--accent);
  line-height: 1.3;
}
.rankings {
  margin-top: 28px;
}
.rankings .section-heading {
  margin-bottom: 10px;
}
.rankings h2 {
  font-size: 22px;
}
.rankings .panel-help {
  margin-top: 8px;
}
.tabs,
.method-tabs {
  display: flex;
  background: var(--background);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}
.tabs button,
.method-tabs button {
  border: 0;
  background: transparent;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 5px;
  color: var(--muted);
}
.tabs button.active,
.method-tabs button.active {
  background: var(--raised);
  color: var(--text);
}
.text-button,
.icon-button {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 12px;
  padding: 8px;
}
.icon-button {
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
}
.rules-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px 60px;
  padding: 44px 0;
}
.rules-section h2 {
  font-size: 26px;
  letter-spacing: -0.035em;
}
.rules-section p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 12px;
}
.rule-weights {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}
.rule-weights > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.rule-weights span {
  font-size: 12px;
  color: var(--muted);
}
.rule-weights b {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.rules-footnote {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin: 0;
  max-width: 1000px;
}
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
footer > span {
  color: var(--text);
  font-size: 14px;
}
footer a {
  font-size: 11px;
}
.notice {
  background: var(--raised);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.wallet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}
.wallet-heading > div > span {
  font-size: 11px;
  color: var(--muted);
}
.wallet-heading h2 {
  font-size: 19px;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.wallet-heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-180%);
  background: var(--accent);
  color: var(--background);
  padding: 12px;
  z-index: 10;
  border-radius: 6px;
}
.skip:focus {
  transform: none;
}
.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;
}
dialog {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  width: min(480px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(0, 10, 14, 0.78);
  backdrop-filter: blur(4px);
}
.close-dialog {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 25px;
}
.dialog-copy {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 14px;
}
.address-preview {
  background: var(--background);
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  overflow-wrap: anywhere;
  margin: 16px 0;
}
.method-tabs {
  margin-bottom: 20px;
}
.method-tabs button {
  width: 50%;
  padding: 10px 4px;
}
dialog input {
  width: 100%;
  margin-bottom: 14px;
  font-size: 12px;
}
.field-help {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: -5px 0 14px;
}
.transfer-warning {
  font-size: 12px;
  line-height: 1.8;
  color: var(--warning);
  margin-top: 18px;
}
.recipient {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--background);
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}
.recipient code {
  font-size: 11px;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.recipient button {
  flex-shrink: 0;
}
#verification-notice {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--warning);
}
#transfer-instructions > label {
  display: block;
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 1050px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  .intro {
    gap: 32px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .panel {
    padding: 20px;
  }
  .table-scroll {
    margin-left: -20px;
    margin-right: -20px;
  }
  th,
  td {
    padding-left: 20px;
    padding-right: 20px;
  }
  .metric strong {
    font-size: 28px;
  }
  .rules-section {
    gap: 24px 32px;
  }
  .site-header nav {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 72px;
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 100px;
  }
  .site-header nav {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .button {
    font-size: 11px;
    min-height: 36px;
    padding: 8px 10px;
  }
  .header-actions select {
    font-size: 11px;
    max-width: 90px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0 28px;
  }
  h1 {
    font-size: 44px;
  }
  .intro-copy {
    font-size: 14px;
    max-width: 420px;
    margin-top: 14px;
  }
  .campaign-label {
    margin-bottom: 16px;
  }
  .entry-meta {
    margin-top: 18px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .sidebar .security-note {
    grid-column: 1 / -1;
  }
  .score-visual {
    width: 155px;
    height: 155px;
    margin-bottom: 12px;
  }
  .score-visual strong {
    font-size: 35px;
  }
  .invite-panel h2 {
    font-size: 18px;
  }
  .invite-panel p {
    font-size: 11px;
  }
  .score-lines > div {
    font-size: 11px;
  }
  .rankings .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .tabs {
    align-self: flex-start;
  }
  .rules-section {
    grid-template-columns: 1fr;
    padding: 34px 0;
    gap: 24px;
  }
  .rule-weights {
    gap: 12px;
  }
  .rule-weights span {
    font-size: 10px;
  }
  .rule-weights b {
    font-size: 24px;
  }
  .rule-weights > div {
    gap: 10px;
  }
  .rules-footnote {
    grid-column: auto;
  }
  .wallet-heading h2 {
    font-size: 13px;
  }
  .wallet-heading {
    align-items: flex-start;
  }
  .wallet-heading-actions {
    gap: 6px;
  }
  .wallet-heading-actions .badge {
    white-space: normal;
    max-width: 90px;
  }
  .metrics-panel .section-heading {
    align-items: flex-start;
  }
  .metrics-grid {
    gap: 22px;
  }
  .metric strong {
    font-size: 29px;
  }
  footer {
    flex-wrap: wrap;
  }
  .address-entry input {
    font-size: 12px;
    padding: 8px;
  }
  .address-entry .button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .entry-help {
    font-size: 11px;
  }
  .entry-meta {
    font-size: 11px;
  }
}
@media (max-width: 430px) {
  .sidebar {
    display: flex;
  }
  .score-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .score-panel .section-heading,
  .score-panel .panel-help {
    grid-column: 1 / -1;
  }
  .score-visual {
    width: 140px;
    height: 140px;
    margin: 0;
  }
  .score-lines {
    border: 0;
    padding-top: 0;
    align-self: center;
  }
  .score-visual strong {
    font-size: 32px;
  }
  .score-lines > div {
    font-size: 10px;
  }
  .invite-panel {
    width: 100%;
  }
  .metrics-grid {
    gap: 20px 14px;
  }
  .metric strong {
    font-size: 27px;
  }
  .metric small {
    font-size: 10px;
  }
  .metric > span {
    font-size: 11px;
  }
  .header-actions select {
    max-width: 78px;
  }
  .brand > span {
    font-size: 11px;
    padding: 3px 6px;
  }
  .panel-help {
    font-size: 11px;
  }
  .scan-progress {
    align-items: flex-start;
  }
  .scan-progress .muted {
    font-size: 10px;
  }
  .scan-progress progress {
    margin-top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
  }
}

fieldset.tabs {
  border: 0;
  margin: 0;
  min-width: 0;
}

[hidden] {
  display: none;
}
