@font-face {
  font-family: Geist;
  src: url("assets/fonts/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #0b0b0e;
  --header: #0d0d10;
  --surface: #131316;
  --raised: #1b1b20;
  --line: #28282e;
  --line-strong: #3c3c44;
  --text: #f3f0ed;
  --muted: #bab8bf;
  --soft: #929098;
  --accent: #ded3e9;
  --accent-hover: #faf2ff;
  --mint: #78d6a8;
  --rose: #ff8e92;
  --display: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 5vw, 76px);
  font-family: Geist, Inter, system-ui, sans-serif;
  font-weight: 400;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 18px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--text); }
main { flex: 1; min-width: 0; outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button[disabled] { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd { margin: 0; }
.shell { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px; background: var(--text); color: var(--page); transform: translateY(-150%); }
.skip:focus { transform: none; }
.icon { width: 17px; height: 17px; display: inline-block; vertical-align: middle; flex: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.positive { color: var(--mint); }
.negative { color: var(--rose); }

.topbar { background: var(--header); border-bottom: 1px solid var(--line); }
.topbar-inner { height: 69px; display: flex; align-items: center; gap: 52px; }
.wordmark { display: inline-flex; align-items: center; color: var(--text); font-size: 25px; line-height: 1; font-weight: 590; letter-spacing: -.052em; flex: none; }
.brand-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 7px;
  flex: none;
  background: url("assets/daybreak-emblem.png") center / contain no-repeat;
}
.nav { height: 100%; display: flex; align-items: stretch; gap: 28px; }
.nav a { position: relative; display: flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 540; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.mode-label { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; font-size: 12px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #ded3e939; }

.button { min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 7px; padding: 0 15px; font-size: 13px; font-weight: 640; white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.button:active:not([disabled]) { transform: translateY(1px); }
.button-primary { background: linear-gradient(180deg, #faf7f6, #ded5e5); color: #1b1720; border-color: #e7dfea; box-shadow: inset 0 1px #ffffff80; }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-primary:disabled { box-shadow: none; background: #28262d; color: #a19da6; border-color: #38353e; }
.button-secondary { background: #1a1a1e; color: var(--text); border-color: var(--line-strong); }
.button-secondary:hover, .icon-button:hover { background: #25252a; border-color: #595660; }
.button-ghost { background: transparent; color: var(--muted); border-color: var(--line-strong); }
.button-ghost:hover { color: var(--text); background: var(--raised); }
.wallet-button { min-height: 36px; padding-inline: 12px; font-size: 12px; }
.wallet-button .icon { width: 15px; height: 15px; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; background: transparent; border-radius: 7px; color: var(--muted); }
.icon-button[aria-pressed="true"] { color: var(--accent); }
.icon-button[aria-pressed="true"] .icon { fill: #ded3e92e; }
.icon-button .icon { width: 17px; height: 17px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #0a0a0d; border-bottom: 1px solid #29292f; }
.hero-visual { position: absolute; z-index: -2; inset: 0; background: url("assets/elysium-daybreak.jpg") no-repeat center 54% / cover; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0a0a0de6 0%, #0a0a0db5 26%, #0a0a0d40 57%, transparent 82%); pointer-events: none; }
.hero-inner { min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 32px; }
.hero h1 { margin: 12px 0 14px; max-width: 720px; font-size: clamp(54px, 6.05vw, 90px); line-height: .98; font-weight: 750; letter-spacing: -.072em; word-spacing: .035em; }
.hero h1 span { display: block; color: var(--accent); }
.hero-copy { max-width: 370px; color: #ccc8cf; font-size: 15px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.hero-actions .button { min-height: 45px; padding-inline: 16px; }
.hero-actions .button-ghost { background: #151519aa; }

.stats-band { background: #101013; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 15px 22px 15px 24px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt, .metric dt, .review-row dt { color: var(--muted); font-size: 12px; }
.stat dd { margin-top: 5px; font-size: 25px; line-height: 1.12; font-weight: 650; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }

.market-section { padding-block: 27px 58px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-title h1, .section-title h2 { font-size: clamp(31px, 3.35vw, 47px); letter-spacing: -.065em; font-weight: 710; line-height: 1.06; }
.section-title p { color: var(--muted); font-size: 14px; margin-top: 9px; }
.search { width: min(100%, 276px); display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding-inline: 12px; color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { width: 100%; min-width: 0; height: 39px; outline: none; border: 0; background: transparent; font-size: 13px; }
.search input::placeholder { color: var(--soft); }
.search .icon { width: 15px; height: 15px; }
.search kbd { padding: 1px 5px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted); font: 11px var(--mono); }
.market-controls { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 12px; }
.filters { display: flex; align-items: center; gap: 5px; }
.filter { background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 6px; padding: 7px 11px; font-size: 13px; font-weight: 550; white-space: nowrap; }
.filter:hover { color: var(--text); background: var(--surface); }
.filter[aria-pressed="true"] { border-color: #4b414f; background: #232027; color: #e7dced; }
.count { color: var(--soft); font: 11px var(--mono); white-space: nowrap; }
.market-panel { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #121215; }
.market-table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.market-table th { color: var(--muted); font-size: 12px; font-weight: 510; background: #1b1b20; height: 41px; white-space: nowrap; }
.market-table th, .market-table td { padding: 0 14px; }
.market-table tr > :first-child { padding-left: 17px; }
.market-table tr > :last-child { padding-right: 13px; }
.market-table td { height: 65px; border-top: 1px solid #29292e; font-size: 13px; white-space: nowrap; }
.market-table tbody tr:hover { background: #1c1b21; }
.market-table .numeric { text-align: right; }
.market-table .cell-name { width: 30%; }
.market-link { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.market-link strong { display: block; font-size: 14px; line-height: 1.2; font-weight: 650; }
.market-link:hover strong { color: var(--accent-hover); }
.market-link small { display: block; margin-top: 4px; color: var(--muted); font: 11px/1.1 var(--mono); }
.avatar { display: inline-grid; place-items: center; width: 37px; height: 37px; flex: none; border-radius: 9px; overflow: hidden; background: var(--avatar-bg, #332936); color: var(--avatar-ink, #e4cbe6); font-size: 23px; line-height: 1; font-weight: 650; border: 1px solid #ffffff18; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lavender { --avatar-bg: #38304b; --avatar-ink: #d0baff; }
.avatar-pink { --avatar-bg: #48283b; --avatar-ink: #ff9bc5; }
.avatar-sand { --avatar-bg: #4b3622; --avatar-ink: #f8c489; }
.avatar-cyan { --avatar-bg: #183b40; --avatar-ink: #94e6e9; }
.avatar-silver { --avatar-bg: #30353b; --avatar-ink: #dbdfe3; }
.avatar-lilac { --avatar-bg: #372d55; --avatar-ink: #c1acf6; }
.avatar-mint { --avatar-bg: #243e33; --avatar-ink: #a0e4c5; }
.avatar-big { width: 58px; height: 58px; border-radius: 13px; font-size: 33px; }
.change { font-family: var(--mono); font-size: 12px; }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.empty strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 5px; }

.footer { border-top: 1px solid var(--line); background: #0d0d10; }
.footer-wordmark { font-size: 22px; }
.footer-wordmark .brand-mark { width: 23px; height: 23px; margin-right: 6px; }

.page { padding-block: 36px 58px; }
.back-link { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.back-link:hover { color: var(--text); }
.back-link .icon { width: 14px; height: 14px; }
.page-title { font-size: clamp(37px, 5.1vw, 64px); font-weight: 730; line-height: 1; letter-spacing: -.075em; }
.page-subtitle { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 10px; }
.panel { padding: 23px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; min-width: 0; }
.panel h2 { font-size: 19px; letter-spacing: -.025em; font-weight: 650; }
.panel-subtitle { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.detail-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.detail-heading h1 { font-size: clamp(25px, 4.3vw, 47px); font-weight: 720; line-height: 1.05; letter-spacing: -.06em; }
.detail-heading p { margin-top: 6px; color: var(--muted); font: 12px var(--mono); }
.detail-grid, .launch-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(305px, 1fr); gap: 18px; align-items: start; }
.detail-grid > div { display: grid; gap: 18px; min-width: 0; }
.price-block strong { display: block; margin-top: 4px; font-size: clamp(24px, 4vw, 40px); font-weight: 700; letter-spacing: -.055em; }
.price-block small { color: var(--muted); }
.price-block .change { display: inline-block; margin-top: 5px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); padding-block: 17px; }
.metric dd { font-weight: 600; font-size: 15px; margin-top: 5px; }
.detail-description { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 10px; overflow-wrap: anywhere; }
.field-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.max { border: 0; background: transparent; padding: 0; color: var(--accent); font: 600 11px var(--mono); }
.max:hover { color: var(--accent-hover); }
.balance { margin-top: 7px; color: var(--muted); font-size: 12px; }
.quote-rows { display: grid; gap: 10px; padding-block: 14px; margin-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.quote-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.quote-rows dt { color: var(--muted); }
.quote-rows dd { font-family: var(--mono); text-align: right; }
.full { width: 100%; }
.form-error { color: var(--rose); font-size: 13px; line-height: 1.45; }
.form-error:not(:empty) { margin-block: 0 9px; }
.launch-heading { margin-bottom: 25px; }
.steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 18px; align-items: center; color: var(--soft); }
.steps li { display: flex; gap: 7px; align-items: center; font-size: 13px; white-space: nowrap; }
.steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; font: 11px var(--mono); }
.steps li[aria-current="step"] { color: var(--text); }
.steps li[aria-current="step"] span { border-color: #5a4f61; color: var(--accent); background: #28242c; }
.steps li.complete { color: var(--muted); }
.steps li.complete span { color: var(--mint); }
.launch-fields { display: grid; gap: 17px; margin-top: 21px; }
.two-fields { display: grid; grid-template-columns: 1fr minmax(120px, .48fr); gap: 12px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; min-width: 0; font-size: 13px; font-weight: 550; }
.field small, .form-hint { color: var(--muted); font-size: 12px; line-height: 1.4; font-weight: 400; }
.field input:not([type="file"]), .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; background: #0e0e11; padding: 11px 12px; min-width: 0; }
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); }
.field input[readonly] { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: 1px solid var(--accent); border-color: var(--accent); outline-offset: 0; }
.file-row { display: flex; min-width: 0; gap: 11px; align-items: center; }
.file-row label { display: inline-flex; position: relative; flex: none; }
.file-row label:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.file-row input { opacity: 0; position: absolute; inset: 0; width: 100%; cursor: pointer; }
.file-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 550; }
.fee-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fee-choice { position: relative; }
.fee-choice input { position: absolute; opacity: 0; }
.fee-choice span { display: block; text-align: center; padding: 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted); background: #131316; font: 12px var(--mono); cursor: pointer; }
.fee-choice input:checked + span { border-color: #7c6a87; color: var(--accent-hover); background: #2f2934; }
.fee-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.launch-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.launch-actions .button-primary { margin-left: auto; }
.preview { position: sticky; top: 18px; }
.preview-token { display: flex; gap: 11px; align-items: center; margin-block: 20px 16px; min-width: 0; }
.preview-token > div { min-width: 0; }
.preview-token strong { display: block; overflow-wrap: anywhere; }
.preview-token small { color: var(--muted); font: 11px var(--mono); }
.review-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 11px; border-top: 1px solid var(--line); }
.review-row dd { font: 12px var(--mono); text-align: right; overflow-wrap: anywhere; }
.review-note { color: #e5dbe8; background: #242027; border: 1px solid #413748; border-radius: 7px; padding: 11px; font-size: 13px; line-height: 1.5; }
.preview-description { margin-block: 0 13px; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }

dialog { width: min(100% - 28px, 460px); max-height: min(680px, 92dvh); color: var(--text); background: var(--surface); padding: 23px; border: 1px solid var(--line-strong); border-radius: 13px; }
dialog::backdrop { background: #000a; backdrop-filter: blur(4px); }
dialog h2 { font-size: 24px; letter-spacing: -.04em; }
.wallet-holdings { list-style: none; margin: 10px 0 0; padding: 0; }
.wallet-holdings li { border-top: 1px solid var(--line); }
.wallet-holdings a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; font-size: 13px; }
.wallet-holdings a:hover { color: var(--accent); }
.toast { position: fixed; z-index: 10; right: 18px; bottom: 18px; max-width: min(100% - 36px, 400px); border-radius: 8px; border: 1px solid var(--line-strong); background: #232027; color: var(--text); padding: 12px 15px; font-size: 13px; line-height: 1.45; box-shadow: 0 8px 30px #0006; }
.toast:empty { display: none; }
.not-found { min-height: 360px; }
.not-found .button { margin-top: 18px; }

@media (max-width: 1000px) {
  .topbar-inner { gap: 34px; }
  .nav { gap: 20px; }
  .hero-visual { background-position: right -35px center; }
  .detail-grid, .launch-grid { grid-template-columns: minmax(0, 1.5fr) minmax(285px, 1fr); }
  .market-table th, .market-table td { padding-inline: 10px; }
}

@media (max-width: 760px) {
  .topbar-inner { gap: 16px; height: auto; min-height: 92px; flex-wrap: wrap; justify-content: space-between; padding-top: 11px; }
  .header-actions { margin-left: 0; gap: 10px; }
  .nav { order: 3; flex-basis: 100%; gap: 24px; height: 34px; margin-top: -9px; }
  .nav a { font-size: 13px; }
  .hero-inner { min-height: 370px; padding-block: 44px; }
  .hero h1 { font-size: clamp(47px, 8.7vw, 69px); }
  .hero-visual { inset: 0 0 0 10%; background-position: right -165px center; opacity: .75; mask-image: linear-gradient(to right, transparent, black 50%); }
  .hero::after { background: linear-gradient(90deg, #0a0a0d 0%, #0a0a0dd9 35%, #0a0a0d25 90%); }
  .market-table .cell-cap { display: none; }
  .detail-grid, .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .preview { position: static; }
  .page { padding-block: 25px 45px; }
}

@media (max-width: 470px) {
  .topbar-inner { gap: 15px; }
  .wordmark { font-size: 26px; }
  .brand-mark { width: 29px; height: 29px; margin-right: 7px; }
  .mode-label { font-size: 11px; gap: 5px; }
  .wallet-button { min-height: 33px; font-size: 11px; padding-inline: 8px; }
  .wallet-button .icon { display: none; }
  .hero-inner { min-height: 360px; justify-content: flex-end; padding-block: 36px; }
  .hero h1 { font-size: clamp(39px, 12vw, 53px); margin-block: 13px 14px; }
  .hero-visual { inset: 0; opacity: .64; background-size: auto 103%; background-position: right -175px top -3px; mask-image: linear-gradient(90deg, transparent, black 63%); }
  .hero::after { background: linear-gradient(0deg, #0a0a0d 2%, #0a0a0d00 85%), linear-gradient(90deg, #0a0a0d 0%, #0a0a0d00 100%); }
  .hero-copy { font-size: 14px; }
  .hero-actions { gap: 8px; margin-top: 20px; }
  .hero-actions .button { min-height: 41px; padding-inline: 11px; font-size: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 13px 12px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat dd { font-size: 21px; }
  .market-section { padding-block: 27px 40px; }
  .section-title { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 12px; }
  .search { width: 100%; }
  .market-controls { flex-wrap: wrap; gap: 7px; }
  .filter { font-size: 12px; padding-inline: 8px; }
  .market-table .cell-volume { display: none; }
  .market-table th, .market-table td { padding-inline: 6px; font-size: 11px; }
  .market-table tr > :first-child { padding-left: 9px; }
  .market-table tr > :last-child { padding-right: 5px; }
  .market-table td { height: 56px; }
  .market-table .cell-name { width: 48%; }
  .market-table .icon-button { width: 29px; }
  .market-link { gap: 7px; }
  .market-link strong { font-size: 12px; white-space: normal; }
  .market-link small { font-size: 10px; }
  .market-link .avatar { width: 29px; height: 29px; border-radius: 7px; font-size: 16px; }
  .market-table .change { font-size: 10px; }
  .footer-wordmark { font-size: 21px; }
  .panel { padding: 16px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .steps { gap: 8px; flex-wrap: wrap; }
  .steps li { font-size: 11px; gap: 5px; }
  .steps li span { width: 20px; height: 20px; }
  .two-fields { grid-template-columns: minmax(0, 1fr) minmax(86px, .55fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Elysium workspace */
.topbar-inner { gap: clamp(19px, 3vw, 42px); }
.nav { gap: clamp(13px, 2vw, 25px); }
.header-actions { gap: 9px; }
.network-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 32px;
  border-radius: 7px;
  padding-inline: 10px;
  border: 1px solid #34323b;
  background: #19191e;
  color: #ded7e4;
  font-size: 12px;
  white-space: nowrap;
}
.network-pill:hover { border-color: #7c6a87; }
.hero-inner { min-height: 340px; padding-block: 34px; }
.hero h1 { font: 400 clamp(58px, 5.9vw, 86px)/.92 var(--display); letter-spacing: -.035em; word-spacing: normal; }
.hero-copy { max-width: 365px; }
.hero-actions { margin-top: 20px; }
.hero h1 span { display: inline; color: #e4d6ef; font-style: italic; }
.stats-band { background: #101013; }
.stat dd { font: 400 32px/1.04 var(--display); letter-spacing: -.018em; }

.section-line { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.section-line h2 { font-size: 17px; font-weight: 660; letter-spacing: -.03em; }
.mini-label { color: #bfb5c7; font: 10px/1.3 var(--mono); letter-spacing: .04em; white-space: nowrap; border: 1px solid #3b353f; background: #242127; padding: 4px 7px; border-radius: 5px; }
.market-section { padding-top: 22px; }
.section-title { margin-bottom: 13px; }
.section-title h1, .section-title h2 { font-size: clamp(27px, 3.2vw, 38px); letter-spacing: -.055em; }
.market-table td { height: 56px; }
.market-controls { min-height: 43px; }
.market-controls .filter { font-size: 12px; }
.table-footer:not([hidden]), #market-pages { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.table-footer { padding-top: 8px; min-height: 39px; }
.table-footer .icon-button { width: 28px; height: 28px; }
.table-footer .icon-button:disabled { opacity: .42; }

.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 13px; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.text-link .icon { width: 13px; height: 13px; }

.detail-mode { margin-left: auto; }
.pool-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.fee-options { grid-template-columns: repeat(var(--choice-columns, 3), minmax(0, 1fr)); }
.fee-choice span { padding-inline: 4px; }
.form-details { border: 1px solid var(--line); padding: 11px 12px; border-radius: 7px; font-size: 13px; }
.form-details summary { cursor: pointer; color: var(--text); }
.form-details summary small { color: var(--muted); }
.form-details .launch-fields { margin-top: 13px; gap: 10px; }

.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.dashboard-heading .page-title { font-size: clamp(36px, 4.8vw, 56px); }
.dashboard-heading .page-subtitle { max-width: 600px; }
.launch-heading .dashboard-heading { margin-bottom: 0; }
.summary-grid, .equal-grid, .dashboard-grid { display: grid; gap: 14px; align-items: start; }
.summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-grid dd { font-size: 20px; overflow-wrap: anywhere; }
.equal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: 15px; }
.dashboard-panel { margin-top: 15px; }
.dashboard-panel > h2, .panel > h2 + .data-scroll { margin-bottom: 11px; }
.data-scroll { overflow-x: auto; margin-top: 10px; }
.data-table { min-width: 330px; }
.data-table th:first-child, .data-table td:first-child { padding-left: 10px; }
.data-table td { height: 49px; }
.action-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.panel-action { margin-top: 15px; }
.wallet-network dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-block: 14px; }
.wallet-network dd { overflow-wrap: anywhere; }
.wallet-network .form-error:not(:empty) { margin-top: 10px; }
.network-details dl { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; }
.network-details dd { overflow-wrap: anywhere; }
.bridge-route { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.bridge-route span { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 10px; background: var(--raised); border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-weight: 600; }
.bridge-route small { color: var(--muted); font-size: 11px; font-weight: 400; }

@media (max-width: 760px) {
  .topbar-inner { gap: 14px; }
  .nav { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .nav a[aria-current="page"]::after { bottom: 0; }
  .hero-visual { background-position: 58% 55%; inset: 0; mask-image: none; opacity: .88; }
  .hero::after { background: linear-gradient(90deg, #0a0a0de0 0%, #0a0a0d66 70%, #0a0a0d1a 100%); }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 470px) {
  .topbar-inner { padding-top: 10px; }
  .nav { gap: 15px; }
  .nav a { font-size: 12px; }
  .wordmark { font-size: 24px; }
  .header-actions { gap: 6px; }
  .network-pill { font-size: 11px; min-height: 30px; padding-inline: 7px; }
  .hero-inner { min-height: 300px; justify-content: center; padding-block: 28px; }
  .hero h1 { font-size: clamp(50px, 14.2vw, 65px); }
  .hero-visual { background-position: 67% 48%; opacity: .8; }
  .hero::after { background: linear-gradient(90deg, #0a0a0de0, #0a0a0d30), linear-gradient(0deg, #0a0a0d, transparent 72%); }
  .stat dd { font-size: 26px; }
  .market-controls { align-items: start; flex-wrap: wrap; padding-bottom: 8px; }
  .market-controls .filters { gap: 2px; flex-wrap: wrap; }
  .market-controls .filter { padding-inline: 6px; font-size: 11px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equal-grid { grid-template-columns: minmax(0, 1fr); }
  .dashboard-heading { align-items: start; flex-direction: column; }
  .dashboard-heading .page-title { font-size: 36px; }
  .network-details dl, .pool-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-mode { font-size: 9px; }
}

input[type="number"] { appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.market-controls { flex-wrap: wrap; }
.bonding-meter {
  --bonding-color: #aca0b8;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--bonding-color);
  font: 11px var(--mono);
  white-space: nowrap;
}
.bonding-meter.is-near { --bonding-color: #dfbd93; }
.bonding-meter.is-bonded { --bonding-color: #8ed5b0; }
.bonding-meter progress {
  appearance: none;
  width: 44px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--line-strong);
}
.bonding-meter progress::-webkit-progress-bar { background: var(--line-strong); }
.bonding-meter progress::-webkit-progress-value { border-radius: 2px; background: var(--bonding-color); }
.bonding-meter progress::-moz-progress-bar { border-radius: 2px; background: var(--bonding-color); }
.market-link small.bonding-mobile { display: none; }
.market-link small.bonding-mobile.is-bonded { color: var(--mint); }
.form-details summary { display: flex; align-items: center; gap: 4px; list-style: none; }
.form-details summary::-webkit-details-marker { display: none; }
.form-details summary::after { content: "+"; color: var(--muted); margin-left: auto; }
.form-details[open] summary::after { content: "−"; }

@media (max-width: 630px) {
  .market-table .cell-bonding { display: none; }
  .market-link small.bonding-mobile { display: block; color: var(--muted); }
}

.docs-view {
  position: relative;
  isolation: isolate;
  padding-block: 56px 76px;
}
.docs-view::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 440px;
  background:
    linear-gradient(180deg, #0b0b0e60, #0b0b0ee0 65%, var(--page)),
    url("assets/elysium-daybreak.jpg") center 53% / cover;
  opacity: .7;
  pointer-events: none;
}
.docs-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 158px;
  align-items: start;
  gap: clamp(22px, 3.2vw, 44px);
}
.docs-nav, .docs-toc { position: sticky; top: 26px; min-width: 0; padding-top: 5px; }
.docs-nav-group + .docs-nav-group { margin-top: 22px; }
.docs-nav-group p, .docs-toc p {
  color: var(--soft);
  font: 11px/1.4 var(--mono);
  margin: 0 0 9px;
}
.docs-nav a, .docs-toc a {
  display: block;
  padding: 8px 9px;
  color: var(--muted);
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.35;
}
.docs-nav a { border-radius: 0 6px 6px 0; }
.docs-nav a:hover, .docs-toc a:hover { color: var(--text); }
.docs-nav a[aria-current="page"] {
  border-color: #d3c0dc;
  background: #211d26;
  color: var(--text);
}
.docs-toc a { border-left: 1px solid var(--line-strong); padding: 7px 9px; font-size: 12px; }
.docs-inline-toc { display: none; }
.docs-toc a[aria-current="location"] { border-color: #d3c0dc; color: var(--text); }
.docs-article { min-width: 0; }
.docs-toolbar { display: flex; justify-content: flex-end; }
.docs-copy { min-height: 34px; font-size: 12px; padding-inline: 9px; }
.docs-copy .icon { width: 14px; height: 14px; }
.docs-article h1 {
  margin: 6px 0 13px;
  font: 400 clamp(52px, 6vw, 82px)/.98 var(--display);
  letter-spacing: -.025em;
}
.docs-lead { color: #d4cfd8; max-width: 580px; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.52; }
.docs-section { border-top: 1px solid var(--line); margin-top: 29px; padding-top: 22px; scroll-margin-top: 20px; }
.docs-section h2 { font: 400 clamp(29px, 3.4vw, 42px)/1.03 var(--display); margin-bottom: 12px; }
.docs-section h2:focus { outline: none; }
.docs-section p, .docs-section dd { color: var(--muted); font-size: 14px; line-height: 1.68; overflow-wrap: anywhere; }
.docs-section p + p { margin-top: 9px; }
.docs-section p a, .docs-section dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.docs-section p a:hover, .docs-section dd a:hover { color: var(--accent-hover); }
.docs-section code { font: 12px var(--mono); color: #e5d8ec; }
.docs-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #151318c9;
  overflow: hidden;
}
.docs-facts-three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 13px; }
.docs-facts > div { padding: 11px; border-left: 1px solid var(--line); }
.docs-facts > div:first-child { border-left: 0; }
.docs-facts dt { color: var(--soft); font: 11px/1.4 var(--mono); }
.docs-facts dd { margin-top: 4px; color: var(--text); font-size: 14px; font-weight: 550; }
.docs-definitions { border-top: 1px solid var(--line); }
.docs-definitions > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.docs-definitions dt { color: var(--text); font-size: 13px; font-weight: 560; }
.docs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.docs-cards a { display: block; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 13px; }
.docs-cards a:hover { border-color: #5a4f61; background: var(--raised); }
.docs-cards strong { display: block; font-size: 14px; margin-bottom: 6px; }
.docs-cards span { color: var(--muted); font-size: 12px; line-height: 1.52; }

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: var(--line);
  background: #0d0d10;
}
.footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, #0d0d10 0%, #0d0d10d4 31%, #0d0d1090 100%),
    url("assets/elysium-daybreak.jpg") center 62% / cover;
  opacity: .86;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-block: 48px 37px;
}
.footer-intro p { color: var(--muted); margin-top: 10px; max-width: 200px; font-size: 13px; line-height: 1.55; }
.footer-grid nav { min-width: 0; }
.footer-grid nav h2 { font-size: 13px; font-weight: 620; margin-bottom: 9px; }
.footer-grid nav a { display: block; width: fit-content; color: #c1bcc7; font-size: 13px; line-height: 1.3; padding-block: 5px; }
.footer-grid nav a:hover, .footer-bottom a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #ffffff24;
  padding-block: 16px;
  font-size: 11px;
  color: #b1acb7;
}
.footer-bottom a { white-space: nowrap; }

@media (max-width: 1030px) {
  .docs-grid { grid-template-columns: 165px minmax(0, 1fr); gap: 23px; }
  .docs-side-toc { display: none; }
  .docs-inline-toc { display: block; position: static; margin-top: 16px; }
  .docs-inline-toc a { display: inline-block; padding: 4px 8px; }
}
@media (max-width: 760px) {
  .docs-view { padding-block: 24px 53px; }
  .docs-grid { grid-template-columns: minmax(0, 1fr); }
  .docs-nav {
    position: static;
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
  .docs-nav-group + .docs-nav-group { margin-top: 0; }
  .docs-nav a { display: inline-block; padding: 6px 8px; border-left: 0; border-radius: 5px; }
  .docs-nav-group p { margin-bottom: 3px; }
  .docs-section { margin-top: 21px; padding-top: 16px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; padding-block: 33px 27px; }
  .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 470px) {
  .docs-article h1 { font-size: 49px; }
  .docs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-facts-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs-facts:not(.docs-facts-three) > div:nth-child(3) { border-left: 0; }
  .docs-facts:not(.docs-facts-three) > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .docs-definitions > div { grid-template-columns: 104px minmax(0, 1fr); }
  .docs-cards { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-wrap: wrap; }
}

/* Daybreak markets and launch configuration */
.live-markets .market-link > span:last-child { min-width: 0; }
.live-markets .market-link strong, .live-markets .market-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-markets .market-link { display: flex; }
.live-markets .cell-name { max-width: 255px; }
.live-markets .cell-bonding { font-size: 12px; }
.market-quote-panel .price-block { min-width: 0; overflow-wrap: anywhere; }
.market-quote-panel .metrics { padding-bottom: 0; }
.launch-network-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.launch-pair-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#launch-result, #swap-result, #rewards-transaction { font-size: 13px; color: var(--muted); }
#launch-result:not(:empty), #swap-result:not(:empty), #rewards-transaction:not(:empty) { margin-top: 9px; }
.footer-bottom { flex-wrap: wrap; }
@media (max-width: 630px) {
  .live-markets .cell-name { max-width: 143px; }
}
