/* Landing hub (#/): exchange recommendations, fee comparison, competitions and events.
   Everything is scoped under .lp and prefixed lp- so the chart app (#/chart) is never affected.
   Dark navy + emerald, always dark regardless of the chart theme. */
body.route-landing { background: #0a1120; }

.lp {
  --lp-bg: #0a1120;
  --lp-bg-2: #0c1526;
  --lp-surface: #111b30;
  --lp-surface-2: #16223c;
  --lp-border: #1e2b47;
  --lp-border-2: #2a3a5c;
  --lp-text: #e8eef8;
  --lp-muted: #9aa8be;
  --lp-dim: #6b7a93;
  --lp-accent: #10b981;
  --lp-accent-2: #2dd4bf;
  --lp-accent-text: #34d399;
  --lp-accent-soft: rgba(16, 185, 129, .12);
  --lp-accent-line: rgba(16, 185, 129, .36);
  --lp-on-accent: #04130d;
  --lp-amber: #fbbf24;
  --lp-blue: #60a5fa;
  --lp-radius: 16px;
  --lp-max: 1200px;
  --lp-gutter: clamp(20px, 4vw, 40px);
  --lp-header-h: 68px;
  --lp-shadow: 0 24px 60px rgba(2, 6, 16, .5);
  /* Shared components mounted inside the landing (language dropdown) follow the landing palette. */
  --bg: var(--lp-bg); --panel: var(--lp-surface); --panel-2: var(--lp-bg-2); --border: var(--lp-border-2);
  --text: var(--lp-text); --muted: var(--lp-muted); --dim: var(--lp-dim);
  --hover: var(--lp-surface-2); --hover-2: #1d2c4c; --accent: var(--lp-accent-text); --accent-soft: var(--lp-accent-soft);
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--lp-bg); color: var(--lp-text);
  font-size: 16px; line-height: 1.6;
}
.lp:lang(ko) { word-break: keep-all; }
.lp :where(h1, h2, h3, h4, p, dl, dd, ul, ol) { margin: 0; }
.lp :where(ul, ol) { padding: 0; list-style: none; }
.lp :where(a, button):focus-visible { outline: 2px solid var(--lp-accent-2); outline-offset: 2px; border-radius: 8px; }
.lp-main { flex: 1; outline: none; }
.lp-container { width: 100%; max-width: var(--lp-max); margin: 0 auto; padding: 0 var(--lp-gutter); }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.lp-skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--lp-accent); color: var(--lp-on-accent); font-weight: 600; }
.lp-skip:focus { left: 8px; }
.lp-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons, pills, marks ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: transform .12s, border-color .15s, background .15s, filter .15s; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-2)); color: var(--lp-on-accent); }
.lp-btn-primary:hover { filter: brightness(1.08); }
.lp-btn-ghost { border-color: var(--lp-border-2); color: var(--lp-text); background: rgba(255, 255, 255, .02); }
.lp-btn-ghost:hover { border-color: var(--lp-accent); background: var(--lp-accent-soft); }
.lp-btn-sm { padding: 8px 13px; font-size: 13.5px; border-radius: 8px; }
.lp-btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.lp-btn .lp-ico { width: 16px; height: 16px; }
.lp-pill { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid var(--lp-accent-line); border-radius: 999px; background: var(--lp-accent-soft); color: var(--lp-accent-text); font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-eyebrow { display: inline-block; padding: 5px 12px; border: 1px solid var(--lp-accent-line); border-radius: 999px; background: var(--lp-accent-soft); color: var(--lp-accent-text); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.lp-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--lp-mark) 42%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--lp-mark) 15%, transparent); color: var(--lp-mark); font-size: 17px; font-weight: 800; line-height: 1; }
.lp-xname { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-align: left; }
.lp-xname strong { display: block; font-size: 16px; font-weight: 700; }
.lp-xname small { display: block; color: var(--lp-muted); font-size: 12.5px; font-weight: 400; }

/* ---------- fees, referral code ---------- */
.lp-fee { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-fee-before { color: var(--lp-dim); font-size: 13px; }
.lp-fee-arrow { color: var(--lp-dim); font-size: 12px; }
.lp-fee-after { color: var(--lp-text); font-size: 15px; font-weight: 700; }
.lp-copy { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px dashed var(--lp-accent-line); border-radius: 8px; background: rgba(16, 185, 129, .06); color: var(--lp-accent-text); cursor: pointer; transition: background .15s, border-color .15s; }
.lp-copy:hover { background: var(--lp-accent-soft); border-color: var(--lp-accent); }
.lp-copy-code { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.lp-copy-ico { display: inline-grid; }
.lp-copy-ico .lp-ico { grid-area: 1 / 1; width: 15px; height: 15px; transition: opacity .15s, transform .15s; }
.lp-copy-ico .lp-ico:last-child { opacity: 0; transform: scale(.6); }
.lp-copy.is-copied { border-style: solid; border-color: var(--lp-accent); background: var(--lp-accent-soft); }
.lp-copy.is-copied .lp-ico:first-child { opacity: 0; transform: scale(.6); }
.lp-copy.is-copied .lp-ico:last-child { opacity: 1; transform: none; }
.lp-copy-xl { width: 100%; justify-content: space-between; padding: 16px 18px; border-radius: 12px; background: var(--lp-bg); }
.lp-copy-xl .lp-copy-code { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .08em; }
.lp-copy-xl .lp-copy-ico .lp-ico { width: 20px; height: 20px; }

/* ---------- header ---------- */
.lp-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--lp-border); background: rgba(10, 17, 32, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lp-header-inner { display: flex; align-items: center; gap: 28px; height: var(--lp-header-h); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.lp-logo { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--lp-accent-text), var(--lp-accent-2)); }
.lp-logo::after { content: ""; position: absolute; left: 8px; right: 7px; top: 8px; bottom: 7px; border-left: 2.5px solid var(--lp-on-accent); border-bottom: 2.5px solid var(--lp-on-accent); border-radius: 0 0 0 3px; }
.lp-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.lp-nav-link { padding: 8px 14px; border-radius: 8px; color: var(--lp-muted); font-size: 15px; font-weight: 500; transition: color .15s, background .15s; }
.lp-nav-link:hover { color: var(--lp-text); background: var(--lp-surface-2); }
.lp-nav-chart { color: var(--lp-accent-text); background: var(--lp-accent-soft); font-weight: 600; }
.lp-nav-chart:hover { color: var(--lp-accent-text); background: rgba(16, 185, 129, .2); }
.lp-header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lp .lang-btn { height: 36px; padding: 0 12px; border: 1px solid var(--lp-border-2); border-radius: 8px; color: var(--lp-text); font-size: 14px; }
.lp .lang-dd { top: 42px; }
.lp-nav-toggle { display: none; width: 40px; height: 36px; padding: 0; border: 1px solid var(--lp-border-2); border-radius: 8px; color: var(--lp-text); }
.lp-nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.lp-nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.lp-nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 92px); }
.lp-hero::before, .lp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lp-hero::before { background: radial-gradient(640px 380px at 84% 6%, rgba(45, 212, 191, .18), transparent 70%), radial-gradient(520px 320px at 0% 52%, rgba(16, 185, 129, .12), transparent 70%); }
.lp-hero::after { background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 25%, transparent 78%); }
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.lp-hero-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 22px 0 18px; font-weight: 800; line-height: .92; }
.lp-hero-num { font-size: clamp(88px, 13vw, 172px); letter-spacing: -.05em; background: linear-gradient(100deg, var(--lp-accent-text), var(--lp-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-num i { font-size: .55em; font-style: normal; letter-spacing: 0; }
.lp-hero-word { font-size: clamp(38px, 5.4vw, 72px); letter-spacing: -.03em; }
.lp-hero-lead { max-width: 54ch; color: var(--lp-muted); font-size: clamp(16px, 1.5vw, 18.5px); }
.lp-fee-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 210px)); gap: 12px; margin: 28px 0; }
.lp-fee-summary > div { padding: 14px 18px; border: 1px solid var(--lp-border); border-radius: 14px; background: rgba(17, 27, 48, .78); }
.lp-fee-summary dt { color: var(--lp-muted); font-size: 13.5px; }
.lp-fee-summary dd { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.lp-fee-summary b { color: var(--lp-accent-text); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.lp-fee-summary s { color: var(--lp-dim); font-size: 14px; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-codebox { display: grid; gap: 16px; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--lp-accent-line); border-radius: 22px; background: linear-gradient(160deg, rgba(16, 185, 129, .12), rgba(17, 27, 48, .92) 46%); box-shadow: var(--lp-shadow); }
.lp-codebox-head { display: flex; align-items: center; gap: 12px; }
.lp-codebox-head > div { min-width: 0; margin-right: auto; }
.lp-codebox-head strong { display: block; font-size: 18px; line-height: 1.3; }
.lp-codebox-head div span { display: block; color: var(--lp-muted); font-size: 13px; }
.lp-codebox-label { margin-bottom: -8px; color: var(--lp-muted); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lp-codebox-hint { color: var(--lp-muted); font-size: 13.5px; }
.lp-codebox-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--lp-border); }
.lp-stats li { display: flex; flex-direction: column; gap: 2px; padding: 22px 0 26px 24px; border-left: 1px solid var(--lp-border); }
.lp-stats li:first-child { padding-left: 0; border-left: 0; }
.lp-stats b { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-stats span { color: var(--lp-muted); font-size: 14px; }

/* ---------- sections ---------- */
.lp-section { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: var(--lp-header-h); }
.lp-main { scroll-margin-top: var(--lp-header-h); }
.lp-section-alt { border-block: 1px solid var(--lp-border); background: var(--lp-bg-2); }
.lp-head { max-width: 720px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.lp-head h2, .lp-banner h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.lp-head p { margin-top: 10px; color: var(--lp-muted); font-size: clamp(15px, 1.4vw, 17px); }
.lp-footnote { margin-top: 16px; color: var(--lp-dim); font-size: 13px; }

/* ---------- exchange cards ---------- */
/* position: relative keeps the visually-hidden labels inside the scrollers (mobile carousel / wide table). */
.lp-xgrid, .lp-table-wrap, .lp-filter { position: relative; }
.lp-xgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-xgrid > li { display: flex; }
.lp-xcard { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 24px; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-surface); transition: transform .15s, border-color .15s, box-shadow .15s; }
.lp-xcard:hover { transform: translateY(-3px); border-color: var(--lp-accent-line); box-shadow: var(--lp-shadow); }
.lp-xcard.is-featured { border-color: var(--lp-accent-line); background: linear-gradient(180deg, rgba(16, 185, 129, .11), var(--lp-surface) 44%); }
.lp-xcard-head { display: flex; align-items: center; gap: 12px; }
.lp-xcard-head > div { min-width: 0; margin-right: auto; }
.lp-xcard-head h3 { font-size: 18px; line-height: 1.3; }
.lp-xcard-head p { color: var(--lp-muted); font-size: 13px; }
.lp-xcard-payback { display: flex; align-items: baseline; gap: 10px; }
.lp-xcard-payback b { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, var(--lp-accent-text), var(--lp-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-xcard-payback i { font-size: .5em; font-style: normal; letter-spacing: 0; }
.lp-xcard-payback span { color: var(--lp-muted); font-size: 14.5px; font-weight: 600; }
.lp-xcard-fees > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; border-top: 1px solid var(--lp-border); }
.lp-xcard-fees dt { color: var(--lp-muted); font-size: 14px; }
.lp-xcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }

/* ---------- comparison table ---------- */
.lp-table-wrap { overflow-x: auto; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-surface); }
.lp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lp-table th, .lp-table td { padding: 18px 20px; border-bottom: 1px solid var(--lp-border); text-align: left; vertical-align: middle; }
.lp-table thead th { background: rgba(10, 17, 32, .55); color: var(--lp-muted); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lp-table tbody th { font-weight: 400; }
.lp-table tbody tr:last-child > * { border-bottom: 0; }
.lp-table tbody tr { transition: background .15s; }
.lp-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.lp-rate { color: var(--lp-accent-text); font-family: var(--mono); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-td-actions { white-space: nowrap; text-align: right; }
.lp-td-actions .lp-btn + .lp-btn { margin-left: 8px; }

/* ---------- chart / indicator banner ---------- */
.lp-banner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 52px); border: 1px solid var(--lp-accent-line); border-radius: 24px; background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(45, 212, 191, .04) 52%, rgba(17, 27, 48, .7)); }
.lp-banner-copy { display: grid; gap: 16px; justify-items: start; }
.lp-banner-copy > p:not(.lp-eyebrow) { color: var(--lp-muted); font-size: clamp(15px, 1.4vw, 17px); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lp-chips li { padding: 4px 11px; border: 1px solid var(--lp-border-2); border-radius: 999px; background: rgba(10, 17, 32, .5); color: var(--lp-text); font-family: var(--mono); font-size: 12.5px; }
.lp-mock { display: block; overflow: hidden; border: 1px solid var(--lp-border-2); border-radius: 14px; background: #0b1322; box-shadow: var(--lp-shadow); transition: transform .2s; }
.lp-mock:hover { transform: translateY(-3px); }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--lp-border); color: var(--lp-text); font-size: 12px; font-weight: 600; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-border-2); }
.lp-mock-bar span { margin-left: 8px; }
.lp-mock-chart { display: block; width: 100%; height: auto; }
.lp-mock-chart .grid path { fill: none; stroke: var(--lp-border); stroke-width: .6; }
.lp-mock-chart .candles .up, .lp-mock-chart .marker.up path { fill: var(--up); stroke: var(--up); stroke-width: 1.2; }
.lp-mock-chart .candles .down, .lp-mock-chart .marker.down path { fill: var(--down); stroke: var(--down); stroke-width: 1.2; }
.lp-mock-chart .ma { fill: none; stroke: var(--lp-amber); stroke-width: 1.4; }
.lp-mock-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--lp-border); color: var(--lp-muted); font-size: 12px; }

/* ---------- competitions / events ---------- */
.lp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.lp-chip { padding: 8px 16px; border: 1px solid var(--lp-border-2); border-radius: 999px; color: var(--lp-muted); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: color .15s, border-color .15s, background .15s; }
.lp-chip:hover { border-color: var(--lp-accent); color: var(--lp-text); }
.lp-chip[aria-pressed=true] { border-color: var(--lp-accent); background: var(--lp-accent); color: var(--lp-on-accent); }
.lp-egrid { display: grid; gap: clamp(36px, 5vw, 56px); }
.lp-ecol-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 21px; font-weight: 700; }
.lp-ecol-title .lp-ico { width: 22px; height: 22px; color: var(--lp-accent-text); }
.lp-ecol-title small { color: var(--lp-dim); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lp-count { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--lp-surface-2); color: var(--lp-muted); font-size: 13px; font-weight: 700; text-align: center; }
.lp-elist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-elist > li { display: flex; }
.lp-ecard { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 22px; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-surface); transition: transform .15s, border-color .15s, box-shadow .15s; }
.lp-ecard:hover { transform: translateY(-3px); border-color: var(--lp-accent-line); box-shadow: var(--lp-shadow); }
.lp-ecard.is-ended { background: transparent; }
.lp-ecard.is-ended > :not(.lp-ecard-top), .lp-ecard.is-ended .lp-xname { opacity: .55; }
.lp-ecard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-ecard-top .lp-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
.lp-ecard-top .lp-xname { gap: 9px; }
.lp-ecard-top .lp-xname strong { font-size: 14.5px; }
.lp-ecard h4 { font-size: 17.5px; line-height: 1.35; }
.lp-ecard-desc { color: var(--lp-muted); font-size: 14.5px; }
.lp-pool { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: rgba(10, 17, 32, .6); }
.lp-pool span { color: var(--lp-accent-text); font-size: 12.5px; font-weight: 600; }
.lp-pool b { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-meta { display: grid; gap: 7px; font-size: 14px; }
.lp-meta > div { display: flex; gap: 12px; }
.lp-meta dt { flex: 0 0 5.4em; color: var(--lp-dim); }
.lp-meta dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.lp-period { font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lp-dleft { padding: 0 7px; border-radius: 6px; background: rgba(251, 191, 36, .12); color: var(--lp-amber); font-size: 12px; font-weight: 700; }
.lp-reward { color: var(--lp-accent-text); font-weight: 700; }
.lp-ecard-cta { align-self: flex-start; margin-top: auto; }
.lp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lp-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lp-badge-live { background: var(--lp-accent-soft); color: var(--lp-accent-text); }
.lp-badge-live::before { animation: lp-pulse 1.8s ease-in-out infinite; }
.lp-badge-upcoming { background: rgba(96, 165, 250, .13); color: var(--lp-blue); }
.lp-badge-ended { background: rgba(148, 163, 184, .12); color: var(--lp-muted); }
@keyframes lp-pulse { 50% { opacity: .35; } }
.lp-empty { padding: 28px; border: 1px dashed var(--lp-border-2); border-radius: var(--lp-radius); color: var(--lp-muted); text-align: center; }

/* ---------- footer, toast ---------- */
.lp-footer { padding: 56px 0 32px; border-top: 1px solid var(--lp-border); background: #080e1a; color: var(--lp-muted); font-size: 14.5px; }
.lp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.lp-footer-about p { max-width: 38ch; margin-top: 14px; }
.lp-footer .lp-brand { color: var(--lp-text); }
.lp-footer h2 { margin-bottom: 12px; color: var(--lp-text); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lp-footer li + li { margin-top: 8px; }
.lp-footer a { transition: color .15s; }
.lp-footer a:hover { color: var(--lp-text); }
.lp-disclaimer { display: grid; gap: 8px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--lp-border); color: var(--lp-dim); font-size: 13px; line-height: 1.7; }
.lp-copyright { margin-top: 18px; color: var(--lp-dim); font-size: 13px; }
.lp-toast { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--lp-text); color: var(--lp-bg); font-size: 14.5px; font-weight: 600; box-shadow: var(--lp-shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s, transform .2s; }
.lp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .lp-xgrid, .lp-elist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-hero-grid, .lp-banner { grid-template-columns: 1fr; }
  .lp-codebox { max-width: 560px; }
}
@media (max-width: 860px) {
  /* header: hamburger panel */
  .lp-header-inner { gap: 12px; }
  .lp-nav-toggle { display: block; }
  .lp-nav { position: absolute; top: var(--lp-header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px var(--lp-gutter) 18px; border-bottom: 1px solid var(--lp-border); background: var(--lp-bg-2); box-shadow: var(--lp-shadow); }
  .lp-nav[data-open=true] { display: flex; }
  .lp-nav-link { padding: 12px 14px; font-size: 16px; }
  .lp-telegram { padding: 0; width: 36px; height: 36px; }
  .lp-telegram span { display: none; }
  .lp-telegram .lp-ico { width: 18px; height: 18px; }
  /* comparison table → card list */
  .lp-table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .lp-table, .lp-table tbody, .lp-table tr, .lp-table th, .lp-table td { display: block; }
  .lp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lp-table tbody tr { margin-bottom: 14px; padding: 18px; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: var(--lp-surface); }
  .lp-table tbody tr:hover { background: var(--lp-surface); }
  .lp-table tbody tr:last-child { margin-bottom: 0; }
  .lp-table tbody th { padding: 0 0 14px; border-bottom: 1px solid var(--lp-border) !important; }
  .lp-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; border-bottom: 1px dashed var(--lp-border) !important; }
  .lp-table td::before { content: attr(data-label); color: var(--lp-muted); font-size: 14px; }
  .lp-table td.lp-td-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 0 0; border-bottom: 0 !important; }
  .lp-table td.lp-td-actions::before { content: none; }
  .lp-td-actions .lp-btn { padding: 11px 13px; font-size: 14.5px; }
  .lp-td-actions .lp-btn + .lp-btn { margin-left: 0; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stats li { padding: 18px 0 18px 20px; }
  .lp-stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .lp-stats li:nth-child(n+3) { border-top: 1px solid var(--lp-border); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .lp-brand { font-size: 15.5px; }
  /* exchange cards → swipeable carousel */
  .lp-xgrid { display: flex; gap: 14px; margin: 0 calc(-1 * var(--lp-gutter)); padding: 4px var(--lp-gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--lp-gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lp-xgrid::-webkit-scrollbar { display: none; }
  .lp-xgrid > li { flex: 0 0 86%; scroll-snap-align: start; }
  .lp-xcard:hover, .lp-ecard:hover { transform: none; box-shadow: none; }
  .lp-elist { grid-template-columns: 1fr; }
  .lp-filter { flex-wrap: nowrap; margin: 0 calc(-1 * var(--lp-gutter)) 26px; padding: 2px var(--lp-gutter); overflow-x: auto; scrollbar-width: none; }
  .lp-filter::-webkit-scrollbar { display: none; }
  .lp-fee-summary { grid-template-columns: 1fr 1fr; }
  .lp-hero-actions .lp-btn { flex: 1 1 100%; }
  .lp-codebox-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}
