/* Push It app: Sweep's dashboard (sweep-app/web/styles.css after its 90%-white pass), edited for a launchpad.
   Same tokens, type (Geist), top bar, cards, tabs, dropdown, detail page and side cards. Where Sweep uses its
   sunset orange, Push It uses the meadow green from its own homepage. Green and red only mark buys and sells. */
@font-face { font-family: "Geist"; src: url("/fonts/geist-variable.woff2") format("woff2-variations"), url("/fonts/geist-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #e6e6e6;
  --s1: #dddddd;
  --s2: #d7d7d7;
  --s3: #cecece;
  --line: #c5c5c5;
  --line-2: #bcbcbc;
  --card: #d6d6d6;
  --card-hover: #d0d0d0;
  --row: #cccccc;
  --row-fill: #c0c0c0;
  --fg: #0c0c0e;
  --fg-2: #52525b;
  --fg-3: #6b6b74;
  --mid: #626262;
  --accent: #3b7a1c;
  --accent-fill: rgba(59,122,28,.22);
  --buy: #15803d;
  --sell: #b91c1c;
  --warn: #b45309;
  --r: 18px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
html, body { overflow-x: clip; }
body { font: 13px/1.45 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
img { display: block; }
b { font-weight: 600; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -999px; top: 8px; background: var(--fg); color: #fefefe; padding: 8px 12px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.num, td, dd, b { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-3); }
.fine { font-size: 11px; color: var(--fg-3); margin-top: 10px; line-height: 1.5; }
.Mark { display: inline-block; color: currentColor; }
.Mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media (max-width: 700px) { .hide-sm { display: none; } }

/* Shell ------------------------------------------------------------------ */
.app { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 64px minmax(0, 1fr); grid-template-areas: "top" "main"; min-height: 100vh; }
.top { grid-area: top; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 max(20px, calc((100% - 1400px) / 2)); background: rgba(230,230,230,.97); border-bottom: 1px solid var(--line); }
.tbrand { flex: none; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #0c0c0c; font-size: 18px; font-weight: 600; letter-spacing: -.02em; border-radius: 6px; }
.tbrand .Mark { width: 24px; height: 24px; }
.tnav { display: flex; gap: 22px; margin-left: 10px; }
.tnav a { position: relative; color: var(--mid); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 4px; transition: color .15s; }
.tnav a:hover { color: #252525; }
.tnav a[aria-current="page"] { color: #0c0c0c; }
.tnav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: #0c0c0c; }
.search { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 39px; padding: 0 14px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); color: #4b4b53; }
.search:focus-within { border-color: var(--line-2); }
.search svg { flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 9px 0; color: var(--fg); font-size: 13px; }
.search input::placeholder { color: #75757d; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search kbd { font: 500 11px/1 var(--font); color: var(--mid); border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 6px; }
.menu-btn { display: none; background: none; border: 0; padding: 6px; margin-left: -6px; border-radius: 6px; cursor: pointer; color: var(--fg); }
.menu-btn:hover { background: var(--s2); }
.demo-chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-size: 12.5px; font-weight: 500; cursor: help; }
.demo-chip:hover { background: var(--s1); }
.demo-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.demo-tip { position: absolute; right: 0; top: calc(100% + 10px); width: 270px; padding: 11px 13px; border-radius: 12px; background: #d4d4d4; border: 1px solid #c3c3c3; color: var(--fg); font-size: 12.5px; font-weight: 400; line-height: 1.5; text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,.18); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 30; }
.demo-chip:hover .demo-tip, .demo-chip:focus-visible .demo-tip, .demo-chip.open .demo-tip { opacity: 1; transform: none; }
.acct { flex: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; position: relative; }
.acct .btn { height: auto; padding: 8px 16px; font-size: 13px; }
.main { grid-area: main; width: min(1400px, 100%); margin: 0 auto; padding: 28px 20px 110px; min-width: 0; outline: none; }

/* Rail: the drawer on phones and narrow tablets */
.rail { display: none; }
.scrim { position: fixed; inset: 0; z-index: 39; background: rgba(12,12,14,.32); }
.rail-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.02em; padding: 6px 10px 18px; }
.rail-brand .Mark { width: 24px; height: 24px; }
.rail-nav { display: grid; gap: 4px; }
.rail-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--fg-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.rail-nav a:hover { background: var(--s2); color: var(--fg); }
.rail-nav a[aria-current="page"] { background: var(--s3); color: var(--fg); }
.rail-note { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); color: var(--fg-3); font-size: 12.5px; line-height: 1.5; }

/* Controls ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--s1); color: var(--fg); font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .12s ease, opacity .15s; }
.btn:hover { background: var(--s3); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn-primary, .btn-buy, .btn-sell { background: var(--fg); border-color: var(--fg); color: #fefefe; }
.btn-primary:hover, .btn-buy:hover, .btn-sell:hover { background: #2e2e2e; border-color: #2e2e2e; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-lg { height: 46px; font-size: 14.5px; width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 0; background: none; color: var(--fg-3); cursor: pointer; }
.icon-btn:hover { background: rgba(12,12,12,.06); color: var(--fg); }
.link { background: none; border: 0; padding: 0; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.link:hover { color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg-2); font-size: 12.5px; font-weight: 500; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { background: var(--s3); border-color: var(--line-2); color: var(--fg); }
.chip:active { transform: scale(.97); }
.seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 5px 9px; border-radius: 7px; color: var(--fg-2); font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--s3); color: var(--fg); box-shadow: 0 1px 0 rgba(12,12,12,.06) inset; }

.qb { flex: none; display: inline-flex; align-items: center; font-size: 11px; font-weight: 500; color: var(--mid); border: 1px solid #c0c0c0; border-radius: 6px; padding: 1px 6px; line-height: 1.45; white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: #363636; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-live::before { background: #ef4444; }
.st-complete { color: var(--warn); }
.st-migrated { color: var(--accent); }

.prog { height: 8px; border-radius: 99px; background: var(--row); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 99px; background: var(--accent); width: 0; transition: width .6s cubic-bezier(.2,.7,.2,1); }

.card { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.tb-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.tb-h h2 { font-size: 15px; }
.tb-h .muted { font-size: 12.5px; }

.notice { border: 1px solid var(--line); background: var(--s1); border-radius: 10px; padding: 9px 12px; color: var(--fg-2); font-size: 12.5px; margin: 0 0 26px; }

.es { display: grid; justify-items: center; gap: 10px; padding: 56px 20px; text-align: center; border-radius: var(--r); background: var(--card); }
.es-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--row); color: var(--fg-2); }
.es h2 { font-size: 17px; margin-top: 4px; }
.es p { max-width: 400px; color: var(--fg-3); font-size: 13.5px; line-height: 1.5; }
.es .btn { margin-top: 6px; }

.skel { border-radius: var(--r); background: var(--card); position: relative; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent); transform: translateX(-100%); animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* values tint briefly when they move */
.up { animation: up 1.1s ease-out; } .down { animation: down 1.1s ease-out; }
@keyframes up { 0%, 30% { color: var(--buy); } }
@keyframes down { 0%, 30% { color: var(--sell); } }

/* Page head (Create) */
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ph h1 { font-size: 24px; }
.ph p { margin-top: 4px; color: var(--mid); font-size: 13.5px; }
.m-search { display: none; }

/* Launches: Sweep's dashboard ------------------------------------------------ */
.hd-top { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 6px 0 34px; }
.hd-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.hd-par { display: grid; gap: 9px; align-content: start; text-align: left; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 0; color: #262626; font: inherit; text-decoration: none; cursor: pointer; transition: background .15s; }
.hd-par:hover { background: var(--card-hover); }
.hd-par.hd-static { cursor: default; }
.hd-par.hd-static:hover { background: var(--card); }
.hd-par:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.hd-ph { display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.hd-pl { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.hd-cta { justify-self: start; display: inline-flex; align-items: center; margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: var(--fg); color: #fefefe; font-size: 13.5px; font-weight: 600; }
.hd-par:hover .hd-cta { background: #303030; }
.notice + .m-search, .hd-top + .m-search { margin-top: -8px; }
.hd-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hd-head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.hd-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.dd { position: relative; display: inline-flex; }
.dd-btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 13px; border-radius: 10px; border: 0; background: var(--row); color: #262626; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.dd-btn:hover, .dd.open .dd-btn { background: #c3c3c3; }
.dd-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.dd-chev { color: #505050; transition: transform .18s; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-menu { position: absolute; z-index: 40; top: calc(100% + 6px); right: 0; min-width: max(100%, 190px); margin: 0; padding: 5px; list-style: none; background: #d4d4d4; border: 1px solid #c3c3c3; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.18); transform-origin: top right; animation: ddin .14s ease-out; }
@keyframes ddin { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.dd-opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 8px; border-radius: 8px; font-size: 14px; color: #363636; cursor: pointer; white-space: nowrap; outline: none; }
.dd-opt:hover, .dd-opt:focus { background: #c7c7c7; color: #0c0c0c; }
.dd-opt[aria-selected="true"] { color: #0c0c0c; }
.dd-check { color: var(--accent); visibility: hidden; flex: 0 0 auto; }
.dd-opt[aria-selected="true"] .dd-check { visibility: visible; }
.hd-tabs { display: flex; gap: 6px; margin: -4px 0 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hd-tabs::-webkit-scrollbar { display: none; }
.hd-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #505050; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.hd-tab span { font-size: 12px; color: #767676; font-variant-numeric: tabular-nums; }
.hd-tab:hover { color: var(--fg); border-color: var(--line-2); }
.hd-tab[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: #fefefe; }
.hd-tab[aria-selected="true"] span { color: #b6b6b6; }
.hd-tab:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.hd-tab:active { transform: scale(.97); }
.hd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hd-grid .skel { min-height: 196px; }
.hd-card { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; border-radius: 18px; background: var(--card); color: inherit; text-decoration: none; min-width: 0; transition: background .15s ease, transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease; }
a.hd-card:hover { background: var(--card-hover); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(12,12,12,.10); }
.hd-card:focus-visible { outline: 2px solid #0c0c0c; outline-offset: 3px; }
.hd-ch { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.hd-ci { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.hd-ci .cimg { width: 36px; height: 36px; object-fit: cover; }
.hd-ct { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hd-ct small { font-size: 13px; font-weight: 400; color: var(--mid); }
.hd-rows { display: grid; gap: 6px; }
.hd-row { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 9px; border-radius: 9px; background: var(--row); font-size: 14.5px; overflow: hidden; }
.hd-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--row-fill); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.hd-row.lead::before { background: var(--accent-fill); }
.hd-row.lead b { color: var(--accent); }
.hd-row > * { position: relative; }
.hd-rl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd-cf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--mid); font-variant-numeric: tabular-nums; }
.hd-cf span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Coin page: Sweep's market detail ------------------------------------------- */
.mp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.mp-main, .mp-side, .mp-side > * { min-width: 0; }
.mp-side { position: sticky; top: 90px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
#side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--mid); margin-bottom: 18px; min-width: 0; }
.crumbs a { color: var(--mid); text-decoration: none; border-radius: 4px; }
.crumbs a:hover { color: #0c0c0c; }
.crumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx { padding: 22px 24px 18px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); background-image: radial-gradient(rgba(12,12,12,.04) 1px, transparent 1px); background-size: 6px 6px; }
.hx-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hx-h .cimg { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.hx-h h1 { flex: 1; min-width: 0; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; overflow-wrap: anywhere; }
.hx-h h1 small { font-size: 22px; font-weight: 500; color: var(--fg-3); }
.hx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.hx-t { display: grid; gap: 2px; min-width: 0; }
.hx-n { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #363636; font-weight: 500; }
.hx-n i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--accent); }
.hx-t b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-t small { font-size: 11.5px; color: var(--fg-3); }
.hx-f { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; font-size: 12.5px; color: var(--mid); }
.addr { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 3px 0 9px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 12px; color: var(--fg-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addr span { color: var(--fg-3); }
.addr .icon-btn { width: 22px; height: 22px; border-radius: 999px; }
.chart { position: relative; height: 300px; margin-top: 22px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart svg:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 6px; }
.chart .g { stroke: #b6b6b6; stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; }
.chart .ax { fill: #7d7d7d; font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .ln { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .ar { fill: var(--accent); opacity: .1; }
.chart .xh { stroke: var(--fg-3); stroke-width: 1; }
.chart .dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.chart .end { fill: var(--accent); }
.chart-tip { position: absolute; top: 0; left: 0; pointer-events: none; padding: 8px 10px; border-radius: 10px; background: #d4d4d4; border: 1px solid #c3c3c3; box-shadow: 0 12px 30px rgba(0,0,0,.14); font-size: 12px; line-height: 1.4; white-space: nowrap; opacity: 0; transition: opacity .12s; }
.chart-tip b { display: block; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-tip span { color: var(--fg-3); }
.chart-tip.on { opacity: 1; }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--fg-3); font-size: 13px; border: 1px dashed #c7c7c7; border-radius: 14px; }
.ch-chg { font-weight: 600; }
.ch-chg.pos { color: var(--buy); } .ch-chg.neg { color: var(--sell); }
.mp-sec { margin-top: 26px; }
.mp-sec h2 { font-size: 16px; font-weight: 600; margin: 0; }
.mp-rules { border-top: 1px solid var(--line); padding-top: 14px; }
.mp-rules summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-radius: 6px; }
.mp-rules summary::-webkit-details-marker { display: none; }
.mp-rules summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid #676767; border-bottom: 2px solid #676767; transform: rotate(45deg); transition: transform .2s; }
.mp-rules[open] summary::after { transform: rotate(-135deg); }
.mp-rules[open] > summary { margin-bottom: 14px; }
.pg-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--mid); }
.pg-big { font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.prog.lg { height: 10px; }
.pg-rows { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--mid); }
.pg-rows b { color: var(--fg); }
.pg-note { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--fg-3); }
.about p { font-size: 14px; line-height: 1.6; color: #363636; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 20px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--fg-3); }
.facts dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 500; }
.tt { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tt th { text-align: left; font-weight: 500; color: var(--fg-3); font-size: 11.5px; padding: 4px 8px 8px; white-space: nowrap; }
.tt td { padding: 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.tt th:first-child, .tt td:first-child { padding-left: 0; }
.tt th:last-child, .tt td:last-child { padding-right: 0; }
.tt .r { text-align: right; }
.tt .side { font-weight: 600; }
.tt .side.buy { color: var(--buy); } .tt .side.sell { color: var(--sell); }
.tt .me { font-weight: 600; color: var(--fg); }
.tt a { color: inherit; }
.tt tr.new td { animation: rowin 1.6s ease-out; }
@keyframes rowin { 0% { background: var(--accent-fill); } }
.tt-wrap { overflow-x: auto; }

/* Trade panel: Sweep's ticket card */
.panel .tb-h { margin-bottom: 14px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.sides button { border: 0; background: none; padding: 8px 10px; border-radius: 7px; color: var(--fg-2); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background .15s, color .15s; }
.sides button:hover { color: var(--fg); }
.sides button[data-side="buy"][aria-pressed="true"] { background: rgba(21,128,61,.18); color: var(--buy); }
.sides button[data-side="sell"][aria-pressed="true"] { background: rgba(185,28,28,.16); color: var(--sell); }
.fl { margin-top: 14px; }
.fl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; font-size: 12.5px; color: var(--fg-3); }
.fl-h label { color: #363636; font-weight: 500; }
.fl-h .link { font-size: 12px; text-decoration: none; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.fl-h .link:hover { color: var(--fg); text-decoration: underline; }
.money { display: flex; align-items: center; height: 50px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s; }
.money:focus-within { border-color: var(--fg-3); box-shadow: 0 0 0 3px rgba(12,12,14,.06); }
.money input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 13px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.money input::placeholder { color: #9a9aa1; }
.money .unit { padding: 0 13px 0 6px; color: var(--fg-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.money.bad { border-color: var(--sell); }
.panel .chips { margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel .chip { padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd { margin: 12px 0 0; font-size: 13px; }
.bd div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; }
.bd div + div { border-top: 1px solid var(--line); }
.bd dt { color: var(--fg-3); }
.bd dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bd .big dd { font-size: 14.5px; }
.bd .warn dd { color: var(--warn); }
.slip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; font-size: 12.5px; color: var(--fg-3); }
.slip .seg button { padding: 4px 8px; font-size: 12px; }
.slip-c { display: inline-flex; align-items: center; gap: 2px; height: 30px; width: 74px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); padding: 0 8px; }
.slip-c input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; font-size: 12px; text-align: right; padding: 0; font-variant-numeric: tabular-nums; }
.slip-c input::placeholder { color: var(--fg-3); }
.slip-c:focus-within, .slip-c.on { border-color: var(--fg-3); }
.slip-c span { font-size: 12px; color: var(--fg-3); }
.panel .btn-lg { margin-top: 14px; }
.msg { margin-top: 10px; font-size: 13px; line-height: 1.45; }
.msg:empty { display: none; }
.msg.bad { color: var(--sell); }
.msg.ok { color: var(--buy); }
.rule { margin-top: 12px; font-size: 12px; color: var(--fg-3); line-height: 1.5; }
.rule summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; border-radius: 6px; width: fit-content; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 0 1.6px, transparent 2px); box-sizing: border-box; }
.rule summary:hover { color: var(--fg-2); }
.rule p { margin-top: 8px; padding-left: 22px; }
.hold { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--fg-3); }
.hold b { display: block; margin-top: 2px; color: var(--fg); font-size: 15px; }
.hold > div:last-child { text-align: right; }
.ray h2 { font-size: 16px; margin-bottom: 6px; }
.ray p { font-size: 13.5px; line-height: 1.55; color: #363636; }
.ray .addr { margin-top: 14px; }
.ray .btn { margin-top: 14px; width: 100%; }
.ray-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent); margin-bottom: 12px; }
/* Timeline: Sweep's */
.tl-card { padding: 18px 20px; border-radius: 16px; }
.tl-card h2 { font-size: 15px; margin-bottom: 12px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; padding: 0 0 14px; }
.tl li::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 0; border-left: 1px dashed var(--line-2); }
.tl li:last-child::before { display: none; }
.tl i { width: 13px; height: 13px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); }
.tl li.done i { border-color: var(--accent); background: var(--accent); }
.tl b { font-size: 13px; }
.tl span { grid-column: 2; color: var(--fg-3); font-size: 12px; }
.tl-card .fine { margin-top: 4px; }

/* Create ------------------------------------------------------------------ */
.cr { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cr-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.cr-side { position: sticky; top: 90px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.sec { padding: 18px 20px; }
.sec h2 { font-size: 15px; margin-bottom: 4px; }
.sec > p { font-size: 13px; color: var(--fg-3); line-height: 1.5; margin-bottom: 14px; }
.f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.f + .f { margin-top: 14px; }
.f > label, .f > .lbl { font-size: 13px; font-weight: 500; color: #363636; display: flex; justify-content: space-between; gap: 8px; }
.f > label small, .f > .lbl small { font-weight: 400; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.inp { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); outline: 0; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
textarea.inp { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.inp:focus { border-color: var(--fg-3); box-shadow: 0 0 0 3px rgba(12,12,14,.06); }
.inp::placeholder, .pre input::placeholder { color: #8a8a91; }
.inp.bad { border-color: var(--sell); }
.pre { display: flex; align-items: center; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.pre:focus-within { border-color: var(--fg-3); box-shadow: 0 0 0 3px rgba(12,12,14,.06); }
.pre.bad { border-color: var(--sell); }
.pre span { padding-left: 12px; color: var(--fg-3); font-weight: 500; }
.pre input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 12px 0 2px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.ferr { font-size: 12.5px; color: var(--sell); }
.f > label.drop { justify-content: flex-start; font-weight: 400; color: inherit; }
.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; border: 1.5px dashed var(--line-2); background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--fg-3); background: #e1e1e1; }
.drop:focus-within { outline: 2px solid var(--fg); outline-offset: 2px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-pv { flex: none; width: 68px; height: 68px; border-radius: 12px; background: var(--s3); display: grid; place-items: center; color: var(--fg-3); overflow: hidden; }
.drop-pv img { width: 100%; height: 100%; object-fit: cover; }
.drop-t { font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.drop-t b { display: block; color: var(--fg); }
.drop-t span { color: var(--fg-3); font-size: 12.5px; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa label { position: relative; display: grid; gap: 4px; padding: 13px 13px 13px 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.qa input { position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; margin: 0; accent-color: var(--fg); }
.qa b { font-size: 14.5px; }
.qa span { font-size: 12.5px; color: var(--fg-3); line-height: 1.45; }
.qa label:has(input:checked) { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.qa label:has(input:focus-visible) { outline: 2px solid var(--fg); outline-offset: 2px; }
.sec .money { height: 46px; }
.sec .chips { margin-top: 8px; }
.fb-note { display: flex; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--fg-3); }
.fb-note b { color: var(--fg-2); }
.fb-out { margin-top: 8px; font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.fb-out:empty { display: none; }
.fb-out b { color: var(--fg); }
.pv-label { font-size: 12px; color: var(--fg-3); margin-bottom: 8px; }
.cr-side .hd-card { pointer-events: none; }
.cr-side .btn-lg { margin-top: 2px; }

/* Wallet ------------------------------------------------------------------ */
.wbtn { display: inline-flex; align-items: center; gap: 8px; height: 37px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--s1); font-size: 13px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.wbtn:hover { background: var(--s3); }
.wbtn i { width: 25px; height: 25px; border-radius: 50%; background: conic-gradient(from 200deg, #3b7a1c, #a9d17f, #7194ab, #3b7a1c); }
.wmenu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 5px; border-radius: 12px; background: #d4d4d4; border: 1px solid #c3c3c3; box-shadow: 0 18px 40px rgba(0,0,0,.18); z-index: 40; }
.wmenu p { padding: 8px 10px 10px; font-size: 12px; color: var(--fg-3); border-bottom: 1px solid #c3c3c3; margin-bottom: 4px; }
.wmenu p b { display: block; color: var(--fg); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.wmenu button { display: flex; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 14px; color: #363636; cursor: pointer; }
.wmenu button:hover, .wmenu button:focus-visible { background: #c7c7c7; color: #0c0c0c; outline: none; }
.wpick-bg { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(12,12,14,.38); animation: fade .16s ease-out; }
@keyframes fade { from { opacity: 0; } }
.wpick { width: min(380px, 100%); padding: 20px; border-radius: 18px; background: var(--bg); color: var(--fg); box-shadow: 0 30px 80px rgba(0,0,0,.25); font-family: var(--font); }
.wpick h2 { font-size: 17px; margin: 0 0 14px; }
.wpick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wpick li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--card); cursor: pointer; font-size: 14.5px; font-weight: 600; text-align: left; }
.wpick li button:hover { background: var(--card-hover); }
.wpick img, .wpick-demo { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.wpick-demo { background: conic-gradient(from 200deg, #3b7a1c, #a9d17f, #7194ab, #3b7a1c); }
.wpick-n small { display: block; font-size: 12px; font-weight: 400; color: var(--fg-3); margin-top: 1px; }
.wpick-note { margin: 14px 2px 4px; font-size: 12.5px; line-height: 1.5; color: var(--fg-3); }
.wpick-x { width: 100%; margin-top: 6px; padding: 10px; border: 0; border-radius: 12px; background: none; color: var(--fg-2); cursor: pointer; font-weight: 500; }
.wpick-x:hover { background: var(--s2); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: min(460px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 12px; background: var(--fg); color: #f2f2f2; font: 500 13.5px/1.45 var(--font); box-shadow: 0 16px 40px rgba(0,0,0,.25); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; }
.toast.bad { background: #5c1a18; }

/* Responsive: Sweep's breakpoints ----------------------------------------- */
@media (max-width: 1250px) { .hd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .hd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tnav, .search kbd { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .top { gap: 10px; padding: 0 16px; }
  .rail { display: flex; flex-direction: column; position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; width: 260px; padding: 16px 12px; background: var(--bg); border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .25s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
  .rail.open { transform: none; visibility: visible; }
  .main { padding: 18px 16px 96px; }
  .mp, .cr { grid-template-columns: minmax(0, 1fr); }
  .mp-side, .cr-side { position: static; }
}
@media (max-width: 600px) {
  .top .search { display: none; }
  .top .tbrand { margin-right: auto; }
  .m-search { display: flex; width: 100%; margin: 0 0 18px; }
  .m-search svg { width: 16px; height: 16px; }
  .hd-side, .hd-grid { grid-template-columns: minmax(0, 1fr); }
  .hd-head h2 { font-size: 21px; }
  .ph h1 { font-size: 22px; }
  .hx { padding: 18px 18px 16px; }
  .hx-h h1, .hx-h h1 small { font-size: 19px; }
  .hx-t b { font-size: 28px; }
  .chart { height: 240px; }
  .qa { grid-template-columns: 1fr; }
  .sec { padding: 16px; }
  .tt .hide-s { display: none; }
  .slip .seg button { padding: 4px 6px; }
  .demo-chip { padding: 0 10px; }
  .wbtn { padding-right: 10px; }
}
@media (max-width: 380px) {
  .tbrand span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  a.hd-card:hover { transform: none; }
}

/* ============ Design and motion pass ============ */
/* Type: medium-weight headings with tighter tracking; Geist's variable axis gives the in-between weight. */
h1, h2, h3, .hd-ph, .hd-head h2, .ph h1, .hx-h h1 { font-weight: 560; }
.hd-head h2 { font-size: 26px; letter-spacing: -.025em; }
.ph h1 { font-size: 28px; letter-spacing: -.028em; }
.hx-h h1 { letter-spacing: -.022em; }
.hd-ph { letter-spacing: -.015em; }
.m-w, .m-l { will-change: transform; }

/* Sliding indicators (motion.js slideInd): a bar under the top nav, a pill behind the active tab. */
.tnav { position: relative; }
.m-ind { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; }
.tnav .m-ind { background: #0c0c0c; border-radius: 2px; }
.tnav.has-ind a[aria-current="page"]::after { display: none; }
.hd-tabs { position: relative; }
.hd-tabs.has-ind { isolation: isolate; }
.hd-tabs .m-ind { background: var(--fg); border-radius: 999px; z-index: -1; }
.hd-tabs.has-ind .hd-tab[aria-selected="true"] { background: transparent; border-color: transparent; }
.hd-tabs.has-ind .hd-tab { transition: color .25s ease, border-color .18s ease, transform .12s ease; }

/* Buttons: hover lifts 1px, press scales to .97, release settles back; labels roll on hover. */
.btn, .hd-cta { transition: transform .18s cubic-bezier(.2,.7,.2,1), background .15s ease, border-color .15s ease, opacity .15s; }
@media (hover: hover) { .btn:hover:not(:disabled), a.hd-par:hover .hd-cta, button.hd-par:hover .hd-cta { transform: translateY(-1px); } }
.btn:active:not(:disabled), .hd-par:active .hd-cta { transform: translateY(0) scale(.97); }
.rl { display: inline-grid; overflow: hidden; vertical-align: top; }
.rl > span { grid-area: 1 / 1; transition: transform .3s cubic-bezier(.645,.045,.355,1); }
.rl-b { transform: translateY(110%); }
@media (hover: hover) {
  :is(.btn, .L-btn, .L-connect):hover:not(:disabled) .rl-a, :is(a.hd-par, button.hd-par):hover .rl-a { transform: translateY(-110%); }
  :is(.btn, .L-btn, .L-connect):hover:not(:disabled) .rl-b, :is(a.hd-par, button.hd-par):hover .rl-b { transform: none; }
}

/* Cards: the coin picture leans in a touch on hover. */
.hd-ci .cimg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { a.hd-card:hover .hd-ci .cimg { transform: scale(1.07); } }

/* Odometer digits (motion.js rollTo). */
.m-rolling { display: inline-flex; align-items: flex-start; }
.m-col, .m-ch { display: inline-block; height: 1lh; line-height: inherit; vertical-align: top; }
.m-col { overflow: hidden; }
.m-trk { display: block; }
.m-trk > span { display: block; height: 1lh; text-align: center; }

/* Dividers draw across (motion.js draw animates --dl). */
.mp-rules { border-top: 0; background: linear-gradient(var(--line), var(--line)) no-repeat 0 0 / var(--dl, 100%) 1px; }

/* The preview line: a quiet note, not a box. */
.notice { display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 0; margin: -8px 0 22px; color: var(--mid); font-size: 12.5px; }
.notice::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }

/* Dashboard: featured coin (Sweep's featured market) beside the two action cards. */
.hd-top.feat { grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: stretch; }
.hd-top.feat .hd-side { grid-template-columns: 1fr; }
.hd-hero { display: flex; flex-direction: column; min-height: 330px; min-width: 0; padding: 22px 24px 18px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); background-image: radial-gradient(rgba(12,12,12,.04) 1px, transparent 1px); background-size: 6px 6px; }
.hd-hero.skel { border: 0; background-image: none; }
.hd-ht { display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; margin-bottom: 22px; min-width: 0; }
.hd-ht h2 { margin: 0; font-size: 26px; letter-spacing: -.025em; line-height: 1.2; overflow-wrap: anywhere; }
.hd-ht h2 small { font-size: 18px; font-weight: 500; color: var(--fg-3); letter-spacing: -.01em; }
.hd-ht > span { min-width: 0; }
.hd-ht p { margin-top: 4px; font-size: 13px; color: var(--mid); }
.hd-hi { flex: none; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.hd-hi .cimg { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .hd-ht:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; } }
.hd-hb { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: center; flex: 1; }
.hd-bars { display: grid; gap: 8px; }
.hd-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 12px; border-radius: 14px; background: var(--row); color: #171717; text-decoration: none; overflow: hidden; font-size: 15px; }
.hd-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--row-fill); }
.hd-bar.lead::before { background: var(--accent-fill); }
.hd-bar.lead b { color: var(--accent); }
.hd-bar > * { position: relative; }
.hd-bar span { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-bar b { font-size: 17px; font-weight: 600; white-space: nowrap; }
.hd-bar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hd-chart { width: 100%; height: auto; display: block; overflow: visible; }
.hd-chart .g { stroke: #b6b6b6; stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; }
.hd-chart .ax { fill: #7d7d7d; font-size: 11px; font-variant-numeric: tabular-nums; }
.hd-chart .ln { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.hd-chart .ar { fill: var(--accent); opacity: .09; }
.hd-chart .halo { fill: var(--accent); opacity: .22; }
.hd-chart .end { fill: var(--accent); }
.hd-chart .ev { fill: var(--accent); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hd-noch { color: var(--fg-3); font-size: 13px; display: grid; place-items: center; min-height: 160px; border: 1px dashed #c7c7c7; border-radius: 14px; text-align: center; padding: 16px; }
.hd-hf { display: flex; align-items: center; gap: 18px; margin-top: 20px; font-size: 13px; color: var(--mid); font-variant-numeric: tabular-nums; }
.hd-pager { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd-arr { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #262626; cursor: pointer; transition: background .15s, transform .15s; }
.hd-arr:hover { background: rgba(12,12,12,.07); }
.hd-arr:active { transform: scale(.92); }
.hd-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #979797; cursor: pointer; transition: width .25s cubic-bezier(.2,.7,.2,1), background .2s; }
.hd-dot.on { width: 26px; background: #262626; }
.hd-dot:focus-visible, .hd-arr:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.hd-side .hd-par { align-content: center; }
@media (max-width: 1250px) { .hd-top.feat { grid-template-columns: minmax(0, 1fr) 320px; } .hd-hb { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 960px) { .hd-top.feat { grid-template-columns: 1fr; } .hd-top.feat .hd-side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .hd-top.feat .hd-side { grid-template-columns: 1fr; }
  .hd-hero { padding: 18px 16px 14px; min-height: 0; }
  .hd-ht h2 { font-size: 21px; } .hd-ht h2 small { font-size: 15px; }
  .hd-hi { width: 46px; height: 46px; border-radius: 13px; }
  .hd-hf { flex-wrap: wrap; gap: 6px 14px; }
  .hd-pager { margin-left: 0; width: 100%; justify-content: center; }
}

/* Create: numbered sections. */
.sec-n { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--fg-3); font-variant-numeric: tabular-nums; }

/* Coin page: recent trades show the latest twelve until asked for more. */
.tt-more { margin-top: 12px; }
/* Phones and tablets: the trade panel comes right after the price, before the long sections. */
@media (max-width: 900px) {
  .mp { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .mp-main { display: contents; }
  .mp-main > * { order: 3; }
  .mp-main > .crumbs, .mp-main > .hx, .mp-main > .chart, .mp-main > .fine { order: 1; }
  .mp-side { order: 2; margin-top: 22px; }
}
