:root {
  --paper: #0d1011; --surface: #15191b; --raised: #202628;
  --ink: #edf3f2; --muted: #bdc8c7; --faint: #a2afae; --line: #343d3f;
  --accent: #91e8cb;
}
.brand img { display: block; flex: none; width: 34px; height: 34px; }
.brand span { font-weight: 600; letter-spacing: -.065em; }
.site-header .wallet-entry { color: var(--accent); border-color: #53786f; }
.site-header .wallet-entry:is(:hover,:focus-visible) { background: #1a2525; border-color: var(--accent); }
.elysium-overview { padding-block: clamp(32px, 4vw, 60px) 0; }
.network-edition, .chain-readings dt, .chain-readings small, .protocol-intro, .network-status { color: var(--muted); }
.network-edition { font: 500 16px/1.5 var(--display); margin: 0 0 10px; }
.network-edition span { margin-inline: 6px; }
.elysium-overview h1 { font: 500 clamp(36px, 4vw, 58px)/1.1 var(--display); letter-spacing: -.045em; margin: 0; }
.network-lead { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.5; margin: 14px 0 20px; }
.network-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.network-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--accent); color: var(--paper); padding: 8px 18px; font-weight: 650; border-radius: 3px; }
.network-action:is(:hover, :focus-visible, :active) { background: #b2f2de; color: var(--paper); }
.liquidity-current {
  height: clamp(82px, 10vw, 146px); margin-block: 12px 8px;
  background: url('/assets/elypool-current.webp') center / 100% 100% no-repeat;
}
.chain-readings { display: grid; grid-template-columns: 1.25fr 1.25fr 1fr 1fr; gap: 22px; margin: 0; }
.chain-readings div { min-width: 0; }
.chain-readings dt, .chain-readings small, .network-status { font-size: 15px; line-height: 1.5; }
.chain-readings dd { margin: 3px 0 2px; font: 500 clamp(23px, 2.3vw, 32px)/1.3 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.chain-readings small { display: block; }
.protocol-section { padding-block: clamp(42px, 5vw, 76px); }
.protocol-section .section-heading { margin-block-end: 4px; }
.protocol-intro { font-size: 16px; margin: 0 0 18px; }
.venue-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.venue-table th, .venue-table td { text-align: left; padding: 11px 8px 11px 0; }
.venue-table th { font-size: 15px; width: auto; }
.venue-table th:first-child { width: 44%; }
.venue-table td { font-size: 16px; }
.venue-table td:last-child, .venue-table th:last-child { text-align: right; width: 25%; padding-right: 0; font-variant-numeric: tabular-nums; }
.venue-table td:first-child a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #777; font: 500 19px/1.4 var(--display); }
.venue-table td:first-child a:hover { text-decoration-color: currentColor; }
.network-status { margin: 14px 0 0; }
.direct-pools { padding-block: clamp(40px, 5vw, 72px) 32px; }
.direct-pools .section-heading { margin-block-end: 6px; }
.pool-intro, .pool-context, .pool-method p { max-width: 76ch; font-size: 16px; line-height: 1.65; }
.pool-intro { margin: 0 0 18px; color: var(--muted); }
.pool-context { margin: 20px 0 12px; }
.pool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.pool-actions a, .usdc-table tbody a { display: inline-flex; align-items: center; min-height: 44px; }
.usdc-table tbody a { font: 500 19px/1.4 var(--display); text-decoration: underline; text-underline-offset: 4px; }
.usdc-table th:first-child { width: 35%; }
.usdc-table th:last-child { width: 32%; }
.usdc-table :is(td,th):nth-child(2) { text-align: right; padding-inline-end: clamp(9px, 2vw, 28px); }
.usdc-table td { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.usdc-table small { display: block; font-weight: 400; }
.pool-method { margin-block-start: 12px; }
.pool-method summary { cursor: pointer; width: fit-content; min-height: 44px; padding-block: 10px; }
.pool-method p { margin: 0; color: var(--muted); }
@media(max-width: 520px) {
  .direct-pools .section-heading h2 { font-size: 24px; }
  .direct-pools .quiet-button { padding-inline: 10px; }
  .usdc-table thead th span { display: block; }
}
.protocol-section > .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.method-rows code { font: inherit; overflow-wrap: anywhere; }
.method-rows article .text-link { justify-self: start; }
.market-tools .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#markets[data-coverage="empty"] :is(.asset-tabs,.market-search,#market-filters,.market-note), #markets[data-coverage="empty"] ~ #market-detail:has(#detail-content[hidden]) { display: none; }
body:has(#markets[data-coverage="empty"]) :is(.site-header a[href="#compare"], #compare:has(#comparison-content[hidden])) { display: none; }
.site-header nav .network-nav { display: none; }
body:has(#markets[data-coverage="empty"]) .site-header .network-nav { display: inline-flex; }
@media (max-width: 760px) {
  .brand img { width: 29px; height: 29px; }
  .liquidity-current { height: 72px; margin-block: 5px 10px; background-size: auto 100%; }
  .chain-readings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .chain-readings dd { font-size: 25px; }
  .protocol-section .section-heading { align-items: center; }
  .protocol-section .section-heading h2 { font-size: 23px; }
  .protocol-section .quiet-button { font-size: 15px; padding-inline: 10px; }
  .venue-table td, .venue-table th { padding-block: 7px; overflow-wrap: anywhere; }
  .venue-table td:first-child a { font-size: 17px; }
}
