:root { color-scheme: light; --text: #25241f; --muted: #55544d; --line: #ececea; --soft: #f7f7f5; --sidebar: 214px; --font-ui-zh: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; --font-ui-en: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-padding-top: 85px; }
html.is-localizing { overflow-anchor: none; }
.is-localizing [data-reveal] { transition: none !important; }
.i18n-size-probe { position: fixed !important; left: -10000px !important; top: 0 !important; visibility: hidden !important; pointer-events: none !important; min-height: 0 !important; height: auto !important; max-height: none !important; transform: none !important; transition: none !important; animation: none !important; contain: layout; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/26px var(--font-ui-zh); font-synthesis: none; }
html:lang(en-US) body { font-family: var(--font-ui-en); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .5; }
a { color: inherit; text-decoration: none; }
button, a, input, select, summary { outline-offset: 4px; }
:focus-visible { outline: 2px solid #686761; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 28px 14px; background: #fafaf9; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 9px; font-size: 18px; font-weight: 650; line-height: 1.2; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 36px; background: var(--text); color: #fff; border-radius: 6px; font-size: 24px; font-weight: 600; }
.brand-sub { display: block; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 1.1px; margin-top: 5px; }
.workspace { display: flex; align-items: center; gap: 8px; padding: 25px 10px 16px; color: var(--muted); font-size: 11px; }
.small-tag { padding: 1px 5px; border-radius: 3px; font-size: 9px; color: #686762; background: #efefed; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-radius: 5px; background: transparent; padding: 9px 11px; margin: 3px 0; font-size: 13px; color: #66655f; }
.nav-item:hover { background: #f0f0ee; }
.nav-item.active { background: #ebebe8; color: var(--text); font-weight: 600; }
.nav-item > span:first-child { width: 18px; text-align: center; font-size: 17px; color: #85847d; }
.nav-count { margin-left: auto; background: #deded9; border-radius: 3px; padding: 0 5px; font-size: 10px; }
.sidebar-label { color: #93928b; font-size: 11px; margin: 28px 11px 5px; }
.external { margin-left: auto; font-size: 12px; }
.sidebar-bottom { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #4f8f61; flex: none; }
.app { margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 5; background: #fff; min-height: 65px; padding: 12px 36px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#wallet-connect { width: 152px; flex: none; }
.breadcrumb { font-size: 12px; color: var(--muted); }
.breadcrumb span { margin: 0 9px; color: #bbb9b0; }
.breadcrumb strong { color: var(--text); font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
main { max-width: 1280px; margin: auto; padding: 38px 36px 0; }
h1 { font-size: 32px; font-weight: 700; letter-spacing: -.8px; line-height: 1.3; margin-bottom: 9px; }
.subtitle { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.primary, .wallet-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 8px 16px; border-radius: 5px; font-size: 12px; font-weight: 550; white-space: nowrap; }
.primary { color: #fff; border: 1px solid var(--text); background: var(--text); }
.primary:hover:not(:disabled) { background: #25241f; }
.wallet-button { border: 1px solid #e2e2df; background: #fff; }
.wallet-button:hover { background: var(--soft); }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr); gap: 42px; align-items: center; margin-bottom: 40px; }
.pilot-badge { display: inline-block; padding: 2px 7px; border-radius: 3px; background: #e9e9e6; color: #4a4942; font-size: 11px; margin-bottom: 17px; }
.hero h1 { font-size: 40px; letter-spacing: 0; line-height: 48px; margin-bottom: 16px; }
.hero h1 > span { display: block; }
.hero-description { color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; gap: 9px; margin-top: 24px; }
.hero-actions .primary, .hero-actions .wallet-button { min-height: 39px; padding: 9px 18px; }
.start-card { border: 1px solid var(--line); border-radius: 7px; padding: 16px 20px; }
.start-card h2 { font-size: 12px; font-weight: 600; padding: 2px 0 10px; color: var(--muted); }
.start-step { width: 100%; display: flex; gap: 12px; border: 0; border-top: 1px solid var(--line); background: #fff; padding: 15px 0; text-align: left; }
.start-step:hover { background: #fafaf9; }
.step-number { display: grid; place-items: center; background: #f1f1ef; border-radius: 3px; width: 22px; height: 22px; flex: none; font-size: 11px; }
.start-step strong { display: block; font-size: 13px; font-weight: 600; }
.start-step small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.7; }
.market-list { scroll-margin-top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 3px; }
.section-heading > div:first-child { display: flex; align-items: center; gap: 14px; }
.section-heading h2 { font-size: 18px; font-weight: 600; }
.updated { font-size: 10px; color: #86857e; }
.market-meta { display: flex; gap: 14px; font-size: 11px; color: var(--muted); }
.market-meta strong { color: var(--text); font-weight: 550; }
.unit-note, .table-note, .market-caption { color: var(--muted); font-size: 11px; }
.unit-note { margin-bottom: 14px; }
.filters { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.search { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 5px; min-width: 165px; width: 245px; padding: 5px 9px; }
.search > span { font-size: 19px; line-height: 1; color: #86857d; }
.search input { width: 100%; border: 0; background: transparent; padding: 0; font-size: 12px; }
.search:focus-within { outline: 2px solid #686761; outline-offset: 2px; }
.search input:focus { outline: 0; }
select { max-width: 175px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 11px; }
#sort { margin-left: auto; }
.language-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid #e2e2df; border-radius: 5px; background: var(--soft); }
.language-switch button { min-width: 33px; padding: 3px 7px; border: 0; border-radius: 3px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; }
.language-switch button:hover:not(:disabled) { background: #e9e9e6; }
.language-switch button.selected, .language-switch button.selected:hover { background: var(--text); color: #fff; }
.segments { display: flex; gap: 6px; }
.segments button { background: #fff; border: 1px solid var(--line); padding: 5px 10px; font-size: 11px; border-radius: 4px; }
.segments button.selected { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }
.table-wrap { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; }
th { font-size: 11px; font-weight: 500; color: #77756e; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 15px 12px; font-size: 12px; border-bottom: 1px solid #f1f1ef; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfcfb; }
.model-name { font-weight: 550; }
.seller-address, .price { font-family: "SFMono-Regular", Consolas, monospace; }
.seller-address { font-size: 11px; color: #68665e; }
.number-column, .price-cell { text-align: right; }
.price { font-variant-numeric: tabular-nums; font-size: 12px; }
.currency-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; color: #7b421b; background: #fce0cb; font-size: 11px; line-height: 1.6; }
.currency-badge.usdc { color: #245978; background: #d4e6ef; }
.currency-badge.gas { color: #4c4b44; background: #e5e5e1; }
.online { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; background: #dcefdc; border-radius: 3px; color: #2f5e36; font-size: 11px; white-space: nowrap; }
.online.stale, .stale { display: inline-flex; padding: 1px 7px; border-radius: 3px; font-size: 11px; color: #80571d; background: #fff0cc; }
.row-action { padding: 4px 10px; border: 0; background: #f2f2f0; border-radius: 4px; font-size: 11px; }
.row-action:hover { background: #e7e7e3; }
.empty { padding: 27px 15px; text-align: center; color: var(--muted); }
.empty h3 { font-size: 13px; font-weight: 500; }
.empty p { font-size: 12px; margin-top: 4px; }
.table-note { margin: 10px 0 24px; }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.callout { display: flex; align-items: center; gap: 16px; text-align: left; padding: 17px 18px; border: 1px solid var(--line); background: #fff; border-radius: 6px; }
.callout:hover { background: var(--soft); }
.callout h3 { font-size: 13px; font-weight: 600; }
.callout p { color: var(--muted); font-size: 11px; margin-top: 3px; }
.callout > span { margin-left: auto; color: #85837a; }
.market-caption { margin-top: 17px; }
.node-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.network-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.network-refresh { min-width: 110px; flex: none; }
.network-updated, .network-count { color: var(--muted); font-size: 12px; line-height: 20px; }
.network-updated { margin: 14px 0 28px; min-height: 20px; }
.network-group { margin-top: 30px; }
.seller-node-card dl dd { max-width: 70%; text-align: right; overflow-wrap: anywhere; }
.seller-node-card .text-button { margin-top: 14px; }
.node-card, .guide-card { padding: 23px; border: 1px solid var(--line); border-radius: 7px; }
.node-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.node-title h2 { font-size: 16px; }
.host { font: 18px Consolas, monospace; margin-bottom: 20px; }
.node-card dl, .detail-list { margin: 0; }
.node-card dl > div, .detail-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; max-width: 70%; overflow-wrap: anywhere; }
.node-card a, .guide-card a { display: inline-block; font-size: 12px; margin-top: 14px; }
.node-card a:hover, .guide-card a:hover, .text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.faucet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0 17px; }
.token-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 7px; padding: 22px 20px 16px; }
.token-card h2 { font-size: 31px; font-weight: 650; margin: 15px 0 0; line-height: 1.4; }
.token-card p { color: var(--muted); font-size: 12px; margin: 1px 0 17px; }
.token-card .primary, .token-card .wallet-button { width: 100%; margin-top: auto; min-height: 36px; }
.text-button { padding: 7px 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.token-card .text-button { align-self: center; }
.card-hint { color: #8b897f; align-self: center; font-size: 11px; padding: 7px 0; }
.notice { padding: 10px 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); color: var(--muted); font-size: 12px; overflow-wrap: anywhere; margin: 14px 0; }
.notice a { display: inline-block; margin-left: 10px; text-decoration: underline; }
.note { display: flex; align-items: flex-start; gap: 9px; padding: 12px 14px; border-radius: 5px; background: var(--soft); color: var(--muted); font-size: 11px; margin: 16px 0; }
.note > span { color: var(--text); }
.gas-panel, .developer-details { border: 1px solid var(--line); border-radius: 6px; margin-top: 25px; }
summary { cursor: pointer; padding: 13px 16px; font-size: 13px; font-weight: 550; }
.gas-panel[open] { padding: 0 20px 18px; }
.gas-panel[open] > summary { margin: 0 -20px 10px; border-bottom: 1px solid var(--line); }
.gas-intro { font-size: 12px; color: var(--muted); }
.gas-actions, .quick-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }
.gas-instructions { padding-left: 21px; font-size: 12px; line-height: 2; }
.gas-eligibility { font-size: 11px; color: var(--muted); }
.gas-alternatives { margin-top: 14px; border-top: 1px solid var(--line); }
.gas-alternatives summary { padding: 10px 0; font-size: 12px; }
.gas-alternatives ul { padding-left: 21px; font-size: 12px; line-height: 2; }
.gas-alternatives a { text-decoration: underline; text-underline-offset: 3px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 25px 0; }
.guide-number { color: var(--muted); font-size: 11px; }
.guide-card h2 { font-size: 18px; margin: 12px 0 8px; }
.guide-card p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.code-panel { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin: 23px 0; }
.code-panel > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fafaf9; font-size: 12px; }
.code-panel pre { font: 12px/1.9 Consolas, monospace; margin: 0; padding: 19px; white-space: pre-wrap; overflow-wrap: anywhere; }
.developer-details .code-panel { margin: 0 16px 16px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 24px 0; }
.steps b { display: grid; place-items: center; width: 23px; height: 23px; background: #f0f0ed; border-radius: 4px; font-size: 11px; font-weight: 500; margin-bottom: 10px; }
.steps strong { font-size: 13px; }
.steps p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.requirements { color: var(--muted); font-size: 11px; margin-top: 10px; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding: 18px 0 24px; border-top: 1px solid var(--line); color: #89877f; font-size: 10px; }
dialog { border: 1px solid var(--line); border-radius: 9px; width: calc(100% - 36px); max-width: 600px; padding: 23px; box-shadow: 0 12px 50px #0002; color: var(--text); }
dialog::backdrop { background: #0004; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; font-size: 14px; }
.icon-button { border: 0; border-radius: 4px; background: #f1f1ed; width: 28px; height: 28px; font-size: 19px; }
#detail-content h2 { font-size: 23px; }
.detail-list dd { font: 11px/1.8 Consolas, monospace; }
.toast { position: fixed; bottom: 24px; left: calc(50% + var(--sidebar)/2); transform: translateX(-50%); background: var(--text); color: #fff; border-radius: 6px; padding: 12px 18px; font-size: 12px; max-width: min(580px, calc(100vw - 32px)); width: max-content; box-shadow: 0 8px 25px #0002; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.market-about-link { margin-top: 12px; font-size: 12px; }
@media (min-width: 1500px) { main { padding-top: 48px; } .hero { gap: 70px; } }
@media (max-width: 1150px) { :root { --sidebar: 190px; } main { padding: 30px 26px 0; } .topbar { padding-inline: 26px; } .hero { gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(270px, 1fr); } .hero h1 { font-size: 33px; } .hero-description { font-size: 13px; } .start-card { padding-inline: 16px; } .updated { display: none; } .guide-card { padding: 18px; } }
@media (max-width: 940px) { .hero { grid-template-columns: 1fr; gap: 25px; } .hero h1 { font-size: 38px; } .start-card { padding: 13px 18px; } .faucet-grid, .guide-grid { grid-template-columns: 1fr; } .token-card { padding: 22px; } }
@media (max-width: 760px) {
  html { scroll-padding-top: 110px; }
  :root { --sidebar: 0px; }
  .sidebar { position: static; width: auto; padding: 16px 18px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0; font-size: 17px; } .brand-mark { width: 29px; height: 31px; font-size: 21px; }
  .sidebar nav { display: flex; gap: 4px; margin-top: 16px; overflow-x: auto; }
  .nav-item { flex: none; width: auto; margin: 0; padding: 7px 9px; font-size: 12px; white-space: nowrap; }
  .nav-item > span:first-child { display: none; }
  .workspace, .sidebar-label, .sidebar > a.nav-item, .sidebar-bottom, .nav-count { display: none; }
  .app { margin: 0; } .topbar { min-height: 85px; padding: 10px 18px; display: grid; grid-template-columns: 1fr; gap: 8px; }
  .breadcrumb { font-size: 11px; } .topbar-actions { gap: 7px; } .topbar .wallet-button { min-height: 31px; font-size: 11px; padding: 5px 9px; }
  main { padding: 25px 18px 0; } .hero { margin-bottom: 31px; } .hero h1 { font-size: clamp(28px, 6.9vw, 37px); letter-spacing: -.8px; }
  .hero-description { font-size: 13px; } .pilot-badge { font-size: 10px; }
  .section-heading { flex-wrap: wrap; gap: 4px; margin-bottom: 7px; } .market-meta { gap: 12px; font-size: 10px; } .section-heading h2 { font-size: 17px; }
  .filters { flex-wrap: wrap; gap: 7px; } .search { width: 100%; } select { max-width: 150px; }
  .table-wrap { max-width: 100%; } table { min-width: 620px; } .bottom-grid, .node-grid { grid-template-columns: 1fr; }
  h1 { font-size: 27px; } .subtitle { font-size: 12px; } .steps { grid-template-columns: 1fr; gap: 17px; }
  .code-panel > div { flex-wrap: wrap; } footer { font-size: 9px; }
}

/* Keep text on native font faces and static layers; motion belongs to graphics. */
.brand, .brief-facts strong, .brief-price-result output { font-weight: 700; }
.primary, .wallet-button, .model-name { font-weight: 600; font-size: 13px; }
#wallet-connect { padding-inline: 12px; }
.nav-item { font-size: 14px; color: #53524b; }
.breadcrumb, .workspace, .sidebar-label, .sidebar-bottom { font-size: 12px; color: var(--muted); }
.hero-description, .brief-lead { font-size: 16px; line-height: 28px; }
.subtitle, .brief-section-title > p { font-size: 15px; line-height: 26px; }
.brief-problems > article > p, .brief-tech-grid p, .brief-step-copy p, .brief-status-grid ul, .guide-card p { font-size: 15px; line-height: 26px; }
.brief-answer strong, .brief-answer p, .brief-value-grid article p, .brief-pricing p, .brief-boundaries p, .brief-architecture-note { font-size: 14px; line-height: 24px; }
.brief-tech-foot, .brief-demo-note, .brief-facts span, .brief-index button, .brief-kicker, .brief-live-strip small, .unit-note, .table-note, .market-caption { font-size: 12px; line-height: 20px; color: var(--muted); }
.brief-step-copy h3, .brief-tech-grid h3, .brief-problems h3, .brief-value-grid h3 { font-size: 18px; line-height: 28px; }
.brief-step-buttons button, .brief-node strong, .brief-pool strong { font-size: 13px; }
.brief-node small, .brief-pool small, .brief-settle-caption { font-size: 12px; line-height: 20px; }
.brief-eyebrow, .brief-feature-tag, .brief-status-tag, .pilot-badge { font-size: 12px; }
th { font-size: 13px; color: var(--muted); } td, .price { font-size: 14px; }
.seller-address, .currency-badge, .online, .stale, .row-action { font-size: 12px; }
.brand-sub, .updated, footer { color: #615f57; font-size: 11px; }
@media (max-width: 1050px) { .brief h1 { font-size: 34px; line-height: 44px; } }
@media (max-width: 760px) {
  .brief h1, .hero h1 { font-size: 30px; line-height: 40px; letter-spacing: 0; }
  .brief h2 { font-size: 24px; line-height: 34px; }
  .nav-item { font-size: 13px; }
  .hero-description, .brief-lead, .brief-section-title > p, .subtitle { font-size: 15px; line-height: 26px; }
  .brief-step-buttons button, .brief-flow-toolbar { font-size: 12px; }
  .brief-pool small { font-size: 11px; }
  .topbar .wallet-button { font-size: 12px; }
}
