:root,
:host,
html.light,
.build-home,
.shill-standalone {
  --font-sans: "IBM Plex Mono", "IBM Plex Sans SC", ui-monospace, monospace;
  --font-mono: "IBM Plex Mono", "IBM Plex Sans SC", ui-monospace, monospace;
  --font-display: "Orbitron", "IBM Plex Sans SC", sans-serif;
  --font-home: "IBM Plex Mono", "IBM Plex Sans SC", ui-monospace, monospace;
}

.build-home {
  --foreground: #eaecef;
  --primary: #f1b90c;
  --primary-foreground: #181a20;
  --card: #1e2329;
  --secondary: #1e2329;
  --border: #2b3139;
  --rule: #2b3139;
  --muted-foreground: #848e9c;
  --mint: #f1b90c;
  --home-signal: #f1b90c;
  --home-mint: #f1b90c;
  --home-mint-ink: #181a20;
  --home-ink: #181a20;
  --home-paper: #eaecef;
  --home-surface: #1e2329;
  --color-foreground: #eaecef;
  --color-primary: #f1b90c;
  --color-primary-foreground: #181a20;
}

html,
body,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
.site-footer,
.site-footer > span,
.build-home,
.build-home h2 {
  font-family: "IBM Plex Mono", "IBM Plex Sans SC", ui-monospace, monospace !important;
}

.brand,
.bh-hero h1,
.bh-hero h1 span,
.build-home .bh-closing h2,
.build-home .bh-closing h2 span,
.pixel,
.section-title,
.tm-heading h1,
.tm-kicker,
.page-intro h1,
.token-identity h1,
.identity-glyph,
.foot-tag {
  font-family: "Orbitron", "IBM Plex Sans SC", sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand,
.main-nav a,
.eyebrow {
  text-transform: uppercase;
}

.main-nav a {
  letter-spacing: 0.18em;
}

.bh-hero h1 {
  color: #f1b90c !important;
}

.bh-hero h1 > span {
  letter-spacing: 0.18em;
  color: #fff !important;
}

.bh-hero-ca {
  font-size: 15px;
  gap: 14px;
}

.bh-hero-ca-address {
  font-size: 15px;
  padding: 7px 12px;
}

.bh-hero-ca-address svg,
.bh-hero-ca-trade svg {
  width: 14px;
  height: 14px;
}

html.light .bh-hero h1 > span {
  color: #14161c !important;
}

.live-launch {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.live-launch input,
.live-launch select,
.live-launch textarea {
  width: 100%;
  background: transparent;
  color: inherit;
  border: 1px solid var(--border, #333);
  border-radius: 6px;
  padding: 8px 12px;
}

.live-launch textarea {
  min-height: 96px;
}

.form-section .muted {
  margin: 8px 0 16px;
}

.bh-hero {
  background: #000 !important;
  overflow: hidden;
}

.bh-hero-art {
  opacity: 0 !important;
  visibility: hidden !important;
}

.bh-hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bh-hero > :not(.bh-hero-scene):not(.bh-hero-art) {
  position: relative;
  z-index: 1;
}

.bh-hero .bh-primary,
.bh-demo-publish {
  background: #f1b90c !important;
  color: #181a20 !important;
}

.bh-hero-ca-name,
.bh-demo-controls [aria-selected="true"],
.bh-demo-foot .inline-flex,
.bh-example-caption b {
  color: #f1b90c !important;
}

.bh-example-editorial:not(.bh-example-shop) {
  background: #1e2329 !important;
  color: #f5f5f5 !important;
}

.bh-example-art.rh-card {
  display: flex;
  flex-direction: column;
  height: 320px;
  background: #000 !important;
}

.bh-example-art.rh-card > .rh-head {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 0 !important;
  background: transparent !important;
  color: #f5f5f5 !important;
}

.rh-head small {
  color: rgba(245, 245, 245, 0.62);
  letter-spacing: 0.14em;
}

.rh-head strong {
  display: block;
  margin-top: 8px;
  font-family: "Orbitron", "IBM Plex Sans SC", sans-serif !important;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

.rh-head em {
  color: #f1b90c;
  font-style: normal;
  background: rgba(241, 185, 12, 0.14);
  border-radius: 999px;
  padding: 6px 10px;
}

.rh-plot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  grid-template-rows: minmax(150px, 1fr) auto;
  flex: 1;
  gap: 0 8px;
  min-height: 210px;
  margin: 8px 18px 14px;
}

.rh-graph {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-height: 150px;
}

.rh-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.rh-dot {
  position: absolute;
  top: calc(100% * 34 / 220);
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f1b90c;
  box-shadow: 0 0 0 4px rgba(241, 185, 12, 0.18);
  transform: translate(50%, -50%);
}

.rh-scale,
.rh-times {
  color: rgba(245, 245, 245, 0.46);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.rh-scale {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  padding: 2px 0;
}

.rh-times {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #5c656e #000;
}

html.light {
  scrollbar-color: #b7b7b7 #f3f3f3;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #000;
}

*::-webkit-scrollbar-thumb {
  background: #5c656e;
  border: 2px solid #000;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #f1b90c;
}

*::-webkit-scrollbar-corner {
  background: #000;
}

html.light *::-webkit-scrollbar-track,
html.light *::-webkit-scrollbar-corner {
  background: #f3f3f3;
}

html.light *::-webkit-scrollbar-thumb {
  background: #b7b7b7;
  border-color: #f3f3f3;
}

html.light *::-webkit-scrollbar-thumb:hover {
  background: #8d8d8d;
}

.brand-logo {
  image-rendering: auto !important;
}

.light .brand-logo,
html.light .brand-logo {
  filter: none !important;
}

.tm-table tbody tr[data-id] {
  cursor: pointer;
}

.tm-contract,
.tm-trade {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  vertical-align: middle;
}

.tm-contract {
  width: auto;
  gap: 7px;
}

.tm-contract svg,
.tm-trade svg {
  display: block;
  flex: none;
}

.token-product-address code {
  overflow-wrap: anywhere;
}

.wallet-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
}

button[data-role="wallet"].is-connected {
  gap: 8px;
  width: auto;
  white-space: nowrap;
}

.wallet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.16);
  flex: none;
  overflow: hidden;
  font-size: 0;
  color: transparent;
}

button[data-role="wallet"].is-connected > span:not(.wallet-dot) {
  white-space: nowrap;
  line-height: 1;
}

.wallet-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.wallet-slot.is-open .wallet-chevron {
  transform: rotate(180deg);
}

.wallet-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: 248px;
  padding: 8px;
  background: #0c0c0c;
  color: #eaecef;
  border: 1px solid #2b3139;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.wallet-menu[hidden] {
  display: none !important;
}

.wallet-menu-kicker {
  margin: 6px 8px 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #848e9c;
}

.wallet-menu-kind {
  margin: 8px 8px 0;
  font-size: 13px;
  font-weight: 600;
}

.wallet-menu-address {
  margin: 4px 8px 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #848e9c;
  word-break: break-all;
}

.wallet-menu button {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}

.wallet-menu-copy:hover {
  background: #1a1a1a;
}

.wallet-menu-disconnect {
  margin-top: 4px;
  border-top: 1px solid #2b3139 !important;
  border-radius: 0 0 8px 8px !important;
  color: #f0b4b4;
}

.wallet-menu-disconnect:hover {
  background: rgba(255, 90, 90, 0.08);
}

html.light .wallet-menu {
  background: #fff;
  color: #181a20;
  border-color: #e4e4e4;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

html.light .wallet-menu-copy:hover {
  background: #f4f4f4;
}

html.light .wallet-menu-disconnect {
  border-top-color: #ececec !important;
}

.lang-switch {
  display: inline-flex !important;
  flex: none;
  align-items: stretch;
  height: 36px;
  border: 1px solid var(--border, #2b3139);
  background: transparent;
}

.lang-switch button {
  box-sizing: border-box;
  width: 52px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lang-switch button + button {
  border-left: 1px solid var(--border, #2b3139);
}

.lang-switch button[aria-pressed="true"] {
  color: #f1b90c;
}

html[lang="zh-CN"] .main-nav a {
  font-size: 11px;
  letter-spacing: 0.18em;
}

html[lang="zh-CN"] .bh-kicker {
  font-size: 9px;
  letter-spacing: 0.14em;
}

html[lang="zh-CN"] .bh-hero-tagline {
  font-size: 17px;
  letter-spacing: 0.04em;
}

html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .tm-kicker,
html[lang="zh-CN"] .wallet-menu-kicker,
html[lang="zh-CN"] .network-label {
  letter-spacing: 0.12em;
}

@media (width >= 761px) and (width <= 1300px) {
  html[lang="zh-CN"] .main-nav a {
    font-size: 9px;
  }
}


.site-footer {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: 100%;
  background: var(--background, #000);
}

body:has(.site-footer) {
  padding-bottom: 48px;
}

html.light .build-home {
  --foreground: #14161c;
  --muted-foreground: #3c4452;
  --color-foreground: #14161c;
  --card: #ffffff;
  --secondary: #eef0f3;
  --border: #c5cad3;
  --rule: #c5cad3;
}

html.light .bh-hero,
html.light .build-home .bh-hero {
  background: #f7f8fa !important;
  --foreground: #14161c;
  --muted-foreground: #3c4452;
  --color-foreground: #14161c;
  color: #14161c;
}

html.light .bh-demo-controls [aria-selected="true"] {
  color: #14161c !important;
  background: #e7eaef !important;
}

select {
  color-scheme: light;
}

select option,
select optgroup {
  background-color: #ffffff;
  color: #14161c;
  font-family: "IBM Plex Mono", "IBM Plex Sans SC", ui-monospace, monospace;
  font-size: 13px;
}

select option:checked {
  background-color: #f1b90c;
  color: #181a20;
}
