.markets-page { background: #000; color: #fff; --page-gutter: clamp(16px, 2.6vw, 50px); }
.markets-page__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px var(--page-gutter);
}
.markets-page__footer a { color: #fff; }
.markets-page__hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(580px, 54.375vw, 1044px);
    padding: 80px var(--header-gutter);
    background: linear-gradient(90deg, #2a2a2a, #000);
    overflow: hidden;
}
.markets-page__art { position: absolute; z-index: -1; top: 3.64%; right: 0; width: min(62%, 1220px); height: auto; }
.markets-page__copy { max-width: min(47%, 737px); }
.markets-page__copy h1 { font: 500 clamp(42px, 3.65vw, 70px)/1.2 Satoshi, sans-serif; letter-spacing: -.03em; }
.markets-page__copy p { margin: 24px 0; color: #a0a0a0; font: 500 20px/1.5 "Golos Text", sans-serif; }
.markets-page__button { display: inline-flex; border-radius: 58px; background: #2c50f2; color: #fff; padding: 14px 30px; font-weight: 600; }
.markets-page__stats { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 4vw, 90px); margin-top: 60px; }
.markets-page__stats dt { font: 500 16px/1.5 "Golos Text", sans-serif; }
.markets-page__stats dd { margin-top: 14px; font: 500 40px/1.2 Satoshi, sans-serif; }
.markets-page__chains { display: flex; align-items: center; gap: 6px; }
.markets-page__chains > img { width: 46px; height: 46px; }
.markets-page__arb { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #292929; }
.markets-page__arb::before { content: ''; width: 41px; height: 43px; background: #fff url('/img/global-markets/market-image1089.png') center / cover; mask: url('/img/global-markets/market-image1088.png') center / contain no-repeat; filter: brightness(0) invert(1); }
.markets-page__catalog-header { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-inline: var(--page-gutter); text-align: left; }
.markets-page__filters { display: flex; gap: 10px; min-width: 0; max-width: 100%; }
.markets-page__filters button { padding: 9px 18px; border-radius: 99px; border: 1px solid #444; color: #fff; background: #171717; cursor: pointer; }
.markets-page__filters button[aria-pressed="true"] { background: #2c50f2; }
#market-catalog-status:not(:empty) { padding: 16px var(--page-gutter) 0; color: #aaa; }
.markets-page__footer { border-top: 1px solid #272727; }
@media (max-width: 760px) {
    .markets-page__hero { padding: 96px var(--header-gutter) 0; }
    .markets-page__copy { max-width: none; }
    .markets-page__art { position: relative; grid-row: 2; justify-self: center; width: min(100%, 460px); }
}

.markets-page__filters { overflow-x: auto; }
.markets-page__filters button { flex-shrink: 0; }
.markets-table-wrap { margin: 20px var(--page-gutter) 0; overflow-x: auto; scrollbar-width: none; }
.markets-table-wrap::-webkit-scrollbar { display: none; }
.markets-table { width: 100%; min-width: 1030px; border-spacing: 0 4px; white-space: nowrap; text-align: left; }
.markets-table th, .markets-table td { padding: 10px 14px; }
.markets-table th { font-weight: 500; color: #b9b9b9; }
.markets-table :is(th, td) { background: #171717; border-block: 1px solid #252525; }
.markets-table :is(th, td):first-child { border-radius: 14px 0 0 14px; }
.markets-table :is(th, td):last-child { border-radius: 0 14px 14px 0; text-align: right; }
.markets-table__pair, .markets-table__actions { display: flex; align-items: center; gap: 10px; }
.markets-table__pair img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; }
.markets-table__pair small { display: block; color: #a0a0a0; margin-top: 3px; }
.markets-table__pair b { color: #8398ff; background: #212743; border-radius: 4px; padding: 3px 5px; font-size: 11px; }
.markets-table__actions { justify-content: flex-end; }
.markets-table__actions a { color: #fff; background: #252525; padding: 9px 13px; border-radius: 99px; }
.markets-table__actions a:last-child { background: #2c50f2; }
.markets-table__up { color: #36c99a; }
.markets-table__down { color: #ff8291; }
.markets-table svg { display: block; width: 92px; height: 28px; }

@media (min-width: 761px) {
    .markets-page #markets { padding-top: 126px; }
    .markets-table-wrap { margin-top: 40px; }
}

@media (max-width: 1200px) {
    .markets-table { min-width: 900px; font-size: 13px; }
    .markets-table th, .markets-table td { padding-inline: 10px; }
    .markets-table svg { width: 72px; }
    .markets-table__actions { gap: 6px; }
    .markets-table__actions a { padding-inline: 10px; }
}

@media (max-width: 760px) {
    .markets-page__catalog-header { flex-direction: column; align-items: flex-start; }
    .markets-page__filters { gap: 8px; }
    .markets-page__filters button { padding: 7px 12px; font-size: 13px; }
    .markets-table-wrap { margin-top: 12px; }
    .markets-table { min-width: 835px; font-size: 12px; }
    .markets-table th, .markets-table td { padding-inline: 8px; }
    .markets-table :is(th, td):first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        box-shadow: 1px 0 #252525;
    }
    .markets-table__pair { gap: 6px; }
    .markets-table__pair img { width: 26px; height: 26px; }
    .markets-table__pair small { max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
}
