:root {
  --purple: #6116d4;
  --black: #6116d4;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.26);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: var(--white);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  background: var(--purple);
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand span:last-child {
  display: grid;
}

.brand strong {
  font-size: 25px;
  line-height: 1.1;
}

.brand small,
.muted,
small {
  color: var(--muted);
}

.search,
.lookup-form,
.copy-url {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  padding: 0 16px;
  font: inherit;
}

input::placeholder {
  color: var(--muted);
}

button,
.rpc-pill {
  height: 44px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--purple);
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.rpc-pill {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 28px auto 80px;
}

.hero,
.panel,
.cards article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--black);
}

.hero {
  min-height: 156px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.hero h1,
.page-title h1 {
  margin: 6px 0 8px;
  font-size: 40px;
  line-height: 1.05;
}

.hero p,
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.eyebrow,
.cards span,
th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-lockup {
  min-width: 230px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.status-lockup span {
  color: var(--muted);
}

.status-lockup strong {
  display: block;
  overflow-wrap: anywhere;
}

.panel {
  padding: 22px;
  margin-top: 24px;
  overflow-x: auto;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.panel-head h2 {
  margin: 0;
  font-size: 22px;
}

.lookup {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 16px;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.cards article {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
}

.cards strong {
  font-size: 30px;
  line-height: 1.15;
}

.two {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  margin-top: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mono,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

pre {
  max-height: 640px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.details {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.details dt {
  color: var(--muted);
  font-weight: 800;
}

.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.compact {
  grid-template-columns: 100px minmax(0, 1fr);
}

.page-title {
  margin: 28px 0 22px;
}

.copy-url {
  margin-top: 10px;
}

.copy-url input {
  font-size: 13px;
}

.holding-list {
  display: grid;
  gap: 12px;
}

.holding {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.holding-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.holding-top strong {
  font-size: 24px;
  line-height: 1;
}

.holding-top span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  padding: 4px 10px;
}

.amount {
  font-size: 28px;
  font-weight: 950;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .topbar,
  .hero,
  .cards,
  .two,
  .details,
  .search,
  .lookup-form,
  .copy-url {
    grid-template-columns: 1fr;
  }

  .topbar,
  .hero {
    display: grid;
  }

  .status-lockup {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
  }

  button,
  .rpc-pill {
    width: 100%;
  }

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