:root {
  --bg: #f4f3ef;
  --card: #ffffff;
  --soft: #ecebe6;
  --line: #e7e5df;
  --ink: #191919;
  --muted: #6e6d69;
  --dim: #a9a7a0;
  --lime: #d8ee7c;
  --lime-ink: #3c4f06;
  --pink: #f7cdf3;
  --blue: #bcd7fa;
  --lav: #dccef7;
  --peach: #f9d5bb;
  --grad: linear-gradient(90deg, #c9d8fb 0%, #dccdf7 52%, #f4cbef 100%);
  --shadow: 0 1px 2px rgba(25, 25, 25, .04), 0 14px 30px -18px rgba(25, 25, 25, .16);
  --r: 26px;
  --head: 'Urbanist', system-ui, sans-serif;
  --font: 'Jost', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15.5px/1.5 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* soft pastel light at the page corners, like the brand video */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34vw 30vw at 0% 0%, rgba(247, 205, 243, .55), transparent 70%),
    radial-gradient(30vw 28vw at 100% 4%, rgba(216, 238, 124, .45), transparent 70%),
    radial-gradient(32vw 30vw at 2% 100%, rgba(216, 238, 124, .35), transparent 70%),
    radial-gradient(36vw 30vw at 100% 100%, rgba(188, 215, 250, .5), transparent 70%);
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.up { color: #5d7f0b; }
.down { color: #c0458f; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 243, 239, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; gap: 26px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand span { font-family: var(--head); font-weight: 600; font-size: 29px; letter-spacing: -0.03em; line-height: 1; padding-bottom: 3px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); background: rgba(255, 255, 255, .8); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; place-items: center; }
.burger svg { width: 24px; height: 24px; }
.menu { display: none; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 16px; white-space: nowrap; background: none;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #cde66a; }
.btn-black { background: var(--ink); color: var(--lime); }
.btn-black:hover { background: #2c2c2c; }
.btn-white { background: var(--card); border-color: var(--line); }
.btn-white:hover { border-color: var(--dim); }
.btn-xl { height: 64px; font-size: 22px; font-family: var(--head); font-weight: 500; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px;
  border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, .7);
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: #6f6f6f; flex-shrink: 0; }
.chip.lime { background: var(--lime); }
.chip.lime i { background: #556b0c; animation: pulse 1.4s infinite; }
.chip.lav { background: var(--lav); }
.chip.white { background: rgba(255, 255, 255, .75); }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- page head ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 34px 0 24px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -0.035em; }
.page-head p { margin: 10px 0 0; color: var(--muted); font-size: 18px; }

/* entry window card (blue) */
.ew { background: var(--blue); border-radius: 24px; padding: 18px 22px; }
.ew-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ew h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.ew p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; }
.page-head .ew { min-width: 330px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.search { display: flex; align-items: center; gap: 10px; height: 48px; flex: 1; min-width: 220px; max-width: 420px; padding: 0 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--dim); }
.search:focus-within { border-color: var(--dim); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.search input::placeholder { color: var(--dim); }
.tabs { display: flex; gap: 8px; }
.tabs button { border: 0; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 500; font-size: 15.5px; }
.tabs button:hover { background: #e3e2dc; }
.tabs button.on { background: var(--ink); color: #fff; }
.tabs button .n { opacity: .55; margin-left: 4px; }
.toolbar .sort { margin-left: auto; }
.select {
  height: 40px; border-radius: 999px; background-color: var(--card); border: 1px solid var(--line);
  padding: 0 38px 0 16px; font-weight: 500; font-size: 15px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236e6d69' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

/* ---------- coin cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.ccard {
  position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr) 74px; grid-template-rows: auto auto;
  gap: 10px 14px; align-items: center; padding: 16px 18px 18px; border-radius: var(--r); background: var(--bg-c, var(--pink));
  transition: transform .15s, box-shadow .15s;
}
a.ccard:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -20px rgba(25, 25, 25, .35); }
.ccard .art { width: 104px; height: 104px; }
.ccard .txt { min-width: 0; }
.ccard .txt b { display: block; font-family: var(--head); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard .txt small { display: block; font-size: 14.5px; color: rgba(25, 25, 25, .6); margin-top: 2px; }
.ccard .txt .mc { display: block; margin-top: 8px; font-size: 15px; }
.ccard .txt .mc b { display: inline; font-size: 17px; }
.ring { width: 74px; height: 74px; position: relative; }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ring .trk { stroke: rgba(25, 25, 25, .1); }
.ring .bar { stroke: var(--ink); transition: stroke-dashoffset .9s linear; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 16px; }
.ccard .cfoot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ccard .cfoot .dev { font-size: 14px; color: rgba(25, 25, 25, .62); }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: rgba(255, 255, 255, .6); border-radius: var(--r); }

/* ---------- panels ---------- */
.panel { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px 0; }
.panel-h h3 { margin: 0; font-size: 22px; }

/* launch check */
.lc { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.lc-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: var(--grad); }
.lc-h h3 { margin: 0; font-size: 28px; letter-spacing: -0.025em; }
.lc ul { list-style: none; margin: 0; padding: 4px 22px 10px; }
.lc li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 8px; align-items: center; padding: 15px 0; }
.lc li + li { border-top: 1px solid var(--line); }
.lc .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.lc .ic svg { width: 15px; height: 15px; }
.lc .k { font-size: 16.5px; }
.lc .v { font-weight: 500; font-size: 16px; text-align: right; white-space: nowrap; }
.lc .bars { grid-column: 2 / 3; display: flex; height: 8px; border-radius: 8px; background: #efeee9; overflow: hidden; max-width: 270px; }
.lc .bars i { display: block; height: 100%; }

/* ---------- coin page ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 16px; color: var(--muted); font-size: 15px; }
.back:hover { color: var(--ink); }
.back svg { width: 18px; height: 18px; }
.coin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; padding-bottom: 72px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.coin-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.coin-head .tile { width: 112px; height: 112px; border-radius: 26px; }
.coin-head h1 { margin: 0; font-size: 40px; line-height: 1.05; letter-spacing: -0.035em; }
.coin-head h1 small { font-size: 20px; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.coin-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 14.5px; flex-wrap: wrap; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; height: 30px; padding: 0 12px; color: var(--muted); font-size: 13.5px; }
.copy:hover { color: var(--ink); }
.copy svg { width: 13px; height: 13px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.socials a:hover { color: var(--ink); }
.socials svg { width: 13px; height: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 16px 20px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats small { display: block; color: var(--muted); font-size: 13.5px; }
.stats b { font-family: var(--head); font-weight: 600; font-size: 24px; letter-spacing: -0.025em; }
.chart { padding: 6px 8px 6px; }
.chart svg { display: block; width: 100%; height: 340px; }
.chart-tf { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); }
.chart-tf button { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 3px 11px; border-radius: 999px; }
.chart-tf button.on { background: var(--card); color: var(--ink); }
.tabs-line { display: flex; gap: 8px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; color: var(--dim); font-weight: 400; font-size: 13.5px; padding: 14px 22px 8px; }
.table td { padding: 11px 22px; border-top: 1px solid var(--line); }
.table .r { text-align: right; }
.table .k { color: var(--muted); }
.tag { display: inline-block; font-size: 12.5px; padding: 2px 9px; border-radius: 999px; background: var(--pink); margin-left: 6px; }
.tag.lav { background: var(--lav); }
.tbl-note { padding: 16px 22px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); display: flex; gap: 22px; flex-wrap: wrap; }
.tbl-note b { color: var(--ink); font-weight: 500; }
.sbar { display: inline-block; vertical-align: middle; width: 70px; height: 7px; border-radius: 7px; background: #efeee9; margin-right: 10px; overflow: hidden; }
.sbar i { display: block; height: 100%; background: var(--blue); border-radius: 7px; }

.trade { padding: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); }
.seg button { border: 0; height: 42px; border-radius: 999px; background: none; color: var(--muted); font-size: 16px; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(25, 25, 25, .1); }
.amt { margin-top: 14px; display: flex; align-items: center; gap: 10px; height: 66px; padding: 0 20px; border-radius: 20px; background: #f7f6f2; border: 1px solid var(--line); }
.amt:focus-within { border-color: var(--dim); background: var(--card); }
.amt input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-family: var(--head); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.amt span { color: var(--muted); font-size: 16px; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.presets button { height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 14px; }
.presets button:hover { color: var(--ink); border-color: var(--dim); }
.quote { margin: 16px 4px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.quote div { display: flex; justify-content: space-between; gap: 12px; }
.quote b { color: var(--ink); font-weight: 500; }
.curve { padding: 20px 22px 22px; }
.curve .row { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.curve .row b { color: var(--ink); font-weight: 500; }
.prog { height: 10px; border-radius: 10px; background: #efeee9; overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 10px; background: var(--peach); }
.curve p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.about { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 1.55; margin: 10px 0 0; }

/* ---------- toasts (as in the brand video) ---------- */
.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  width: min(420px, calc(100vw - 32px)); padding: 14px 18px 14px 14px; border-radius: 26px; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(25, 25, 25, .35);
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .3s, transform .3s; pointer-events: auto;
}
.toast.show { opacity: 1; transform: none; }
.toast img { width: 56px; height: 56px; }
.toast b { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; }
.toast span { display: block; color: var(--muted); font-size: 15px; line-height: 1.35; margin-top: 2px; }
.toast em { align-self: start; font-style: normal; color: var(--dim); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.toast em i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.toast.bad em i { background: #f0a6e6; }
.toast.info em i { background: #9cc3f7; }

/* ---------- launch page ---------- */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 22px; padding-bottom: 72px; align-items: start; }
.form { padding: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; }
.field label small { font-weight: 400; color: var(--dim); }
.input { width: 100%; height: 52px; border-radius: 16px; background: #f7f6f2; border: 1px solid var(--line); padding: 0 16px; outline: none; font-size: 16px; }
textarea.input { height: 104px; padding: 13px 16px; resize: vertical; line-height: 1.45; }
.input:focus { border-color: var(--dim); background: var(--card); }
.input::placeholder { color: var(--dim); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 22px; border: 1.5px dashed #d6d4cd; background: #f7f6f2; cursor: pointer; }
.drop:hover { border-color: var(--muted); }
.drop .ph { width: 84px; height: 84px; border-radius: 20px; background: var(--card); display: grid; place-items: center; color: var(--dim); overflow: hidden; flex-shrink: 0; }
.drop .ph img { width: 100%; height: 100%; object-fit: cover; }
.drop b { display: block; font-size: 17px; font-weight: 500; }
.drop small { color: var(--muted); font-size: 14px; }
.drop input { display: none; }
.slider { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--pink); }
.slider .val { display: flex; align-items: baseline; justify-content: space-between; }
.slider .val b { font-family: var(--head); font-size: 36px; font-weight: 600; letter-spacing: -0.04em; }
.slider .val span { font-size: 15px; color: rgba(25, 25, 25, .65); }
.slider p { margin: 0; font-size: 14px; color: rgba(25, 25, 25, .65); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .7); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; cursor: pointer; }
.fixed { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; }
.fixed-h { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--grad); }
.fixed-h b { font-family: var(--head); font-weight: 500; font-size: 19px; }
.fixed-h small { font-size: 14px; color: rgba(25, 25, 25, .65); }
.fixed div.r { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.fixed div.r b { color: var(--ink); font-weight: 500; text-align: right; }
.side { display: grid; gap: 16px; position: sticky; top: 96px; }
.side-label { color: var(--muted); font-size: 14.5px; margin: 0 6px -6px; }
.steps { list-style: none; margin: 0; padding: 8px 22px 20px; counter-reset: s; }
.steps li { position: relative; padding: 12px 0 12px 42px; font-size: 15px; color: var(--muted); line-height: 1.45; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink); }
.steps li::after { content: ''; position: absolute; left: 14px; top: 41px; bottom: -11px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li b { color: var(--ink); font-weight: 500; display: block; }

/* ---------- how it works ---------- */
.doc { padding-bottom: 80px; }
.rule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rule-card { border-radius: var(--r); padding: 24px; min-height: 230px; display: flex; flex-direction: column; }
.rule-card .big { font-family: var(--head); font-size: 58px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.rule-card h2 { margin: auto 0 6px; padding-top: 22px; font-size: 22px; }
.rule-card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(25, 25, 25, .7); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; padding: 64px 0 8px; }
.split h2 { margin: 0 0 12px; font-size: 44px; letter-spacing: -0.035em; line-height: 1.05; }
.split p { margin: 0 0 12px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 520px; }
.quote-block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; padding: 34px 40px; margin-top: 56px; background: var(--lime); border-radius: var(--r); }
.quote-block img { width: 200px; filter: drop-shadow(0 16px 20px rgba(25, 25, 25, .18)); }
.quote-block blockquote { margin: 0; font-family: var(--head); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.quote-block blockquote span { color: rgba(25, 25, 25, .5); }
.faq { margin-top: 16px; padding: 10px 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; max-width: 680px; }
.sec-h { margin: 56px 0 16px; }
.sec-h h2 { margin: 0; font-size: 34px; letter-spacing: -0.03em; }

/* ---------- footer ---------- */
.foot { padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.foot .brand img { width: 34px; height: 34px; }
.foot .brand span { font-size: 23px; color: var(--ink); }
.foot .foot-tag { flex: 1; min-width: 200px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .coin-grid, .launch-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .rule-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .coin-grid, .launch-grid, .split { grid-template-columns: 1fr; }
  /* phone order: what you need before buying comes first */
  .coin-grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .coin-grid > .col { display: contents; }
  .coin-head { order: 1; } .stats { order: 2; } #lc { order: 3; } #ew { order: 4; } .trade { order: 5; }
  .chart-panel { order: 6; } .tabs-panel { order: 7; } .curve-panel { order: 8; } .about-panel { order: 9; }
  .side { position: static; }
  .nav, .top-right .btn-black { display: none; }
  .burger { display: grid; }
  .menu { position: absolute; top: 68px; right: 16px; left: 16px; background: var(--card); border-radius: 24px; box-shadow: 0 24px 40px -18px rgba(25, 25, 25, .3); padding: 10px; flex-direction: column; gap: 4px; }
  .menu.open { display: flex; }
  .menu a { padding: 13px 16px; border-radius: 16px; font-size: 17px; }
  .menu a.on { background: var(--soft); }
  .menu .btn { margin-top: 6px; }
  .page-head .ew { min-width: 0; width: 100%; }
  .quote-block { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
  .quote-block img { width: 150px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 10px; height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 26px; }
  .top-right .btn-lime { height: 40px; padding: 0 18px; font-size: 15px; }
  .page-head { padding: 18px 0 18px; }
  .page-head h1 { font-size: 40px; }
  .page-head p { font-size: 16.5px; }
  .toolbar .search { max-width: none; flex-basis: 100%; }
  .tabs { overflow-x: auto; max-width: 100%; }
  .tabs button { flex-shrink: 0; padding: 0 16px; }
  .toolbar .sort { margin-left: 0; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .ccard { grid-template-columns: 92px minmax(0, 1fr) 66px; padding: 14px 16px 16px; }
  .ccard .art { width: 92px; height: 92px; }
  .ring, .ring svg { width: 66px; height: 66px; }
  .coin-head .tile { width: 88px; height: 88px; border-radius: 22px; }
  .coin-head h1 { font-size: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chart svg { height: 240px; }
  .row3 { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 0; }
  .table th, .table td { padding-left: 14px; padding-right: 14px; }
  .hide-sm { display: none; }
  .lc-h h3 { font-size: 25px; }
  .toasts { right: 16px; left: 16px; bottom: 16px; align-items: stretch; }
  .toast { width: 100%; }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
  .lc .k { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .chip.lime i { animation: none; }
  .ring .bar { transition: none; }
}

/* ---------- live data bits ---------- */
.ccard .art.photo { border-radius: 22px; object-fit: cover; }
.tile-wrap { display: block; width: 112px; height: 112px; border-radius: 26px; overflow: hidden; flex-shrink: 0; }
.tile-wrap .tile { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.tile-wrap .tile:not(.photo) { object-fit: contain; }
.note { margin: 12px 4px 0; font-size: 14.5px; color: var(--muted); line-height: 1.45; min-height: 0; }
.note:empty { display: none; }
.note.bad { color: #b0367f; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.nowrap { white-space: nowrap; }
.locked { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 20px; border-radius: var(--r); background: var(--pink); }
.locked img { width: 52px; height: 52px; }
.locked b { display: block; font-size: 17px; font-weight: 600; }
.locked span { color: rgba(25, 25, 25, .7); }
.chip.net { margin-left: -14px; }
@media (max-width: 720px) {
  .tile-wrap { width: 88px; height: 88px; border-radius: 22px; }
  .chip.net { margin-left: 0; height: 26px; padding: 0 10px; font-size: 13px; }
}
