@font-face {
    font-family: Inter;
    src: url("/Public/Mobile/app/font/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("/Public/Mobile/app/font/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("/Public/Mobile/app/font/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

.site-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #0c2e50;
    font: 700 clamp(15px, 2vw, 22px)/1.2 Inter, system-ui, sans-serif;
    letter-spacing: -.025em;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.market-thin-scroll a:is(:hover, :focus, :active),
a.site-wordmark:is(:hover, :focus, :active) { text-decoration: none; }

button:is(:focus, :focus-visible, :active),
[type="button"]:is(:focus, :focus-visible, :active),
[type="submit"]:is(:focus, :focus-visible, :active),
[type="reset"]:is(:focus, :focus-visible, :active),
[role="button"]:is(:focus, :focus-visible, :active) {
    outline: none !important;
}

.btn:is(:focus, :focus-visible, .focus) {
    outline: none !important;
    box-shadow: none;
}


.site-wordmark--light {
    color: #fff;
}

.market-site-header {
    background: #071a2c;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    border-bottom-color: #2c4257 !important;
}

.market-site-header .site-wordmark,
.market-site-header .css-1tp5kus > a .css-vurnku,
.market-site-header .css-mu7imd > a .css-vurnku {
    color: #fff !important;
}


.market-site-header :focus-visible {
    outline: 2px solid #62b6eb;
    outline-offset: 3px;
}

.market-landing {
    --navy: #09243e;
    --deep: #071a2c;
    --ink: #142b42;
    --muted: #465d73;
    --blue: #0863a6;
    --sky: #9edbff;
    --line: #d8e2ec;
    --pale: #f2f7fb;
    --positive: #176344;
    --negative: #aa302a;
    margin: 0;
    background: var(--pale);
    color: var(--ink);
    font: 400 14px/1.55 Inter, system-ui, sans-serif;
}

.market-landing *,
.market-landing *::before,
.market-landing *::after {
    box-sizing: border-box;
}

.market-landing a {
    color: inherit;
    text-decoration: none;
}

.market-landing :focus-visible {
    outline: 2px solid #258bd1;
    outline-offset: 3px;
}

:root {
    --market-header-height: 68px;
    --market-frame-gutter: 32px;
}

.market-frame {
    width: min(100% - 2 * var(--market-frame-gutter), 1240px);
    margin-inline: auto;
}

.market-header {
    position: relative;
    z-index: 2;
    background: #fff;
    color: var(--ink);
}

.market-header__top,
.market-header__tools,
.market-header__links,
.market-footer__content,
.market-footer__content > div {
    display: flex;
    align-items: center;
}

.market-header__top {
    justify-content: space-between;
    min-height: var(--market-header-height);
    gap: 20px;
}

.market-header__tools {
    gap: 20px;
    flex: none;
}

.market-header__account,
.market-header__register,
.market-menu > summary {
    display: flex;
    align-items: center;
    min-height: 40px;
    font-weight: 600;
}

.market-header__register {
    padding-inline: 14px;
    border: 1px solid var(--line);
}

.market-header__nav {
    border-block: 1px solid var(--line);
}

.market-header__links {
    flex-wrap: wrap;
    gap: 12px 28px;
    min-height: 50px;
}

.market-header__links > a,
.market-header__links > details > summary {
    display: flex;
    align-items: center;
    min-height: 49px;
    padding-block: 8px 5px;
    border-bottom: 3px solid transparent;
    color: var(--muted);
}

.market-header__links > a[aria-current] {
    border-bottom-color: var(--blue);
    color: var(--ink);
    font-weight: 700;
}

.market-menu {
    position: relative;
}

.market-menu > summary {
    gap: 7px;
    list-style: none;
    cursor: pointer;
}

.market-menu > summary::-webkit-details-marker {
    display: none;
}

.market-menu > summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -4px 1px 0 2px;
    border-bottom: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.market-menu[open] > summary::after {
    margin-top: 3px;
    transform: rotate(225deg);
}

.market-menu__panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    min-width: 170px;
    padding: 6px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 8px 18px #06182a24;
}

.market-menu--more .market-menu__panel {
    left: 0;
    right: auto;
}

.market-menu__panel a {
    display: block;
    padding: 8px 10px;
    white-space: nowrap;
}

.market-menu__panel a:hover,
.market-menu__panel a[aria-current] {
    background: var(--pale);
    color: var(--blue);
}

.market-menu__panel--languages {
    max-height: min(500px, calc(100vh - 76px));
    max-height: min(500px, calc(100dvh - 76px));
    scrollbar-width: none;
    overscroll-behavior-y: contain;
    overflow-y: auto;
}

.market-menu__panel--languages::-webkit-scrollbar { display: none; }

.market-announcement {
    background: var(--pale);
    border-bottom: 1px solid var(--line);
}

.market-announcement__link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-block: 13px;
}

.market-announcement__link strong {
    flex: none;
    color: var(--blue);
}

.market-announcement__link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-quotes { padding-block: 18px 40px; }
.market-quotes__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-quotes h1 { margin: 0; font-size: clamp(21px, 3vw, 28px); line-height: 1.2; }
.market-views { display: flex; }
.market-views button {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    cursor: pointer;
}
.market-views button { min-width: 44px; font-size: 19px; }
.market-views button[aria-pressed="true"] { color: var(--blue); background: #e0edf7; }
.market-quote-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-variant-numeric: tabular-nums;
}
.market-quote-grid[data-view="list"] { grid-template-columns: minmax(0, 1fr); }
.market-quote-card {
    --quote-accent: #7491a9;
    min-width: 0;
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--quote-accent);
    background: #fff;
}
.market-quote-card[data-direction="up"] { --quote-accent: #2a8b64; }
.market-quote-card[data-direction="down"] { --quote-accent: #ac4957; }
.market-quote-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "pair pair" "code price" "volume change";
    gap: 3px 8px;
    min-height: 100%;
    padding: 10px 11px;
}
.market-landing .market-quote-link:hover { background: #f7fbff; text-decoration: none; }
.market-pair { grid-area: pair; display: flex; align-items: center; gap: 7px; min-height: 22px; overflow-wrap: anywhere; }
.market-pair img { flex: none; object-fit: contain; }
.market-pair__silver { filter: grayscale(1); }
.market-quote-code { grid-area: code; justify-self: start; align-self: center; padding: 0 5px; border: 1px solid #7aadd1; border-radius: 3px; color: #0863a6; font-size: 11px; font-weight: 600; }
.market-quote-price { grid-area: price; text-align: right; color: var(--ink); font-size: 1.1em; font-weight: 700; overflow-wrap: anywhere; }
.market-change { grid-area: change; align-self: center; text-align: right; font-weight: 600; }
.market-quote-volume { grid-area: volume; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.market-quote-volume small { margin-inline-end: 3px; font-size: .85em; }
.market-quote-range { display: none; grid-area: range; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.market-change[data-direction="up"] { color: var(--positive); }
.market-change[data-direction="down"] { color: var(--negative); }
.market-quote-grid[data-view="list"] .market-quote-link {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .65fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
    grid-template-areas: "pair price change volume range";
    align-items: center;
}
.market-quote-grid[data-view="list"] .market-change, .market-quote-grid[data-view="list"] .market-quote-price { text-align: left; }
.market-quote-grid[data-view="list"] .market-quote-range { display: block; }
.market-quote-grid[data-view="list"] .market-quote-code { display: none; }
.market-quotes__empty { color: var(--muted); padding: 20px 0; }

.market-footer {
    background: #fff;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.market-footer__content {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    min-height: 90px;
    padding-block: 20px;
}

.market-footer__content > div {
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 1000px) {
    .market-quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    :root {
        --market-header-height: 64px;
        --market-frame-gutter: 12px;
    }

    .market-header__top { gap: 8px; }
    .market-header__top .site-wordmark { font-size: clamp(20px, 5.7vw, 28px); }
    .market-header__tools { gap: 10px; }
    .market-header__links { gap: 0 15px; }
    .market-header__links > a,
    .market-header__links > details > summary { min-height: 42px; padding-block: 4px; font-size: 13px; }
    .market-menu--account, .market-header__register { display: none; }
    .market-menu--more .market-menu__panel { right: 0; left: auto; }
    .market-announcement__link { padding-block: 9px; }
    .market-quotes { padding-block-start: 8px; }
    .market-quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .market-quote-grid[data-view="list"] .market-quote-link {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, .65fr);
        grid-template-areas: "pair price change" "range volume volume";
        row-gap: 4px;
    }
    .market-quote-grid[data-view="list"] .market-change { text-align: right; }
    .market-quote-grid:not([data-view="list"]) .market-quote-volume {
        min-width: 0;
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .market-quote-link { padding: 9px 7px; font-size: 13px; }
}

.market-header__links .bi, .market-header__links > .market-nav__wallet { display: none; }

.quote-chart { margin: 0; background: #fff; color: #142b42; font: 400 14px/1.5 Inter, system-ui, sans-serif; }
.quote-chart .changInterval { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0 0 6px; }
.quote-chart .interval-item {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 7px;
    border: 1px solid #d8e2ec;
    border-radius: 3px;
    background: #f2f7fb;
    color: #142b42;
    font: inherit;
}
.quote-chart .loding { inset: 0; box-sizing: border-box; pointer-events: none; }
.quote-chart .interval-item.active { background: #0863a6; border-color: #0863a6; color: #fff; }
.quote-detail__head, .quote-detail__snapshot { width: min(calc(100% - 24px), 900px); margin-inline: auto; box-sizing: border-box; }
.quote-detail__head { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.quote-detail__head a { display: grid; place-items: center; width: 42px; height: 42px; color: #0863a6; border: 1px solid #d8e2ec; border-radius: 50%; }
.quote-detail__head h1 { margin: 0; font-size: 25px; line-height: 1.2; }
.quote-detail__snapshot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-block: 0 14px;
    padding: 12px;
    border: 1px solid #d8e2ec;
    border-inline-start: 4px solid #0863a6;
}
.quote-detail__snapshot dt { color: #465d73; font-size: 12px; }
.quote-detail__snapshot dd { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.quote-detail .changInterval, .quote-detail #chart_container { max-width: 900px; margin-inline: auto; }

.market-contract-mobile { display: block; min-height: 100vh; height: auto; background: #f2f7fb; color: #142b42; font: 400 14px/1.5 Inter, system-ui, sans-serif; }
.market-contract-mobile .no_header { position: sticky; width: 100%; height: 50px; top: 0; background: #fff; border-bottom: 1px solid #d8e2ec; }
.market-contract-mobile .no_header .fe6,
.market-contract-mobile .klinetitle .fe6 { color: #142b42; }
.market-contract-mobile .klinebox { height: auto; margin-top: 0; padding-bottom: 72px; }
.market-contract-mobile .klinetitle { display: flow-root; height: auto; padding: 12px 14px; background: #fff; border-bottom: 1px solid #d8e2ec; }
.market-contract-mobile .klinetitle_l,
.market-contract-mobile .klinetitle_r { height: auto; }
.market-contract-mobile .btnbox { z-index: 2; border-radius: 0; background: #fff; border-top: 1px solid #d8e2ec; }
.market-contract-mobile .contract-chart { display: block; width: 100%; height: 575px; border: 0; }
.market-contract-mobile .contract-back { border: 0; padding: 0 4px; background: transparent; color: #0863a6; cursor: pointer; }

@media (max-width: 760px) {
    .market-landing { padding-bottom: calc(61px + env(safe-area-inset-bottom, 0px)); }
    .market-header { z-index: auto; }
    .market-header__tools { position: relative; z-index: 3; }
    .market-header__nav { display: none; }
}

.market-thin-scroll {
    scrollbar-width: thin;
    scrollbar-color: #a7b7c6 transparent;
}

.market-thin-scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.market-thin-scroll::-webkit-scrollbar-thumb {
    background: #a7b7c6;
    border-radius: 6px;
}

.contract-history {
    margin: 0;
    background: #f2f7fb;
    color: #142b42;
    font: 400 14px/1.5 Inter, system-ui, sans-serif;
}

.contract-history__header,
.contract-records__header {
    display: flex;
    align-items: center;
    min-height: 48px;
    background: #fff;
    border-bottom: 1px solid #d8e2ec;
}

.contract-history__header {
    position: sticky;
    top: 0;
    z-index: 1;
    justify-content: center;
}

.contract-history__header h1,
.contract-records__header h2 {
    margin: 0;
    color: #142b42;
    font-size: 15px;
    font-weight: 700;
}

.contract-history__back,
.contract-records__header a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #0863a6;
    font-size: 20px;
    text-decoration: none;
}

.contract-history__back {
    position: absolute;
    inset-inline-start: 4px;
}

.contract-records__header {
    justify-content: space-between;
    padding-inline: 14px 4px;
}

.contract-records__list {
    display: grid;
    gap: 10px;
    padding: 10px 12px 14px;
}

.contract-records__message {
    margin: 0;
    padding: 18px 12px;
    border: 1px solid #dfe8f1;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    color: #5b7085;
    font-size: 13px;
}

.contract-records__estimate-note {
    margin: 0;
    color: #465d73;
    font-size: 12px;
}

.contract-record {
    margin: 0;
    border: 1px solid #dfe8f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 38, 64, 0.04);
    color: #12263a;
    overflow: hidden;
}

.contract-record__link {
    display: block;
    padding: 12px 13px;
    color: inherit;
    text-decoration: none;
}

.contract-record__link:active {
    background: #f8fbfe;
}

.contract-record__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.contract-record__title-group {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.contract-record__pair {
    color: #0f2236;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.contract-record__duration {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eaf3fb;
    color: #0b5fa5;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    flex: none;
}

.contract-record__status-group {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
}

.contract-record__status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #52657a;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}

.contract-record__status[data-state="pending"] {
    background: #eaf4ff;
    color: #0b6bcb;
}

.contract-record__chevron {
    color: #98abc0;
    flex: none;
}

.contract-record__direction,
.contract-direction-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    flex: none;
    vertical-align: middle;
    font-weight: 800;
}
.contract-record__direction svg,
.contract-direction-arrow svg {
    display: block;
}
.contract-record__direction[data-direction="up"],
.contract-direction-arrow--up {
    color: #0b9b63;
}
.contract-record__direction[data-direction="down"],
.contract-direction-arrow--down {
    color: #d9304a;
}

.contract-record__primary {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.72fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 8px;
    margin: 0;
    padding: 11px 0;
}

.contract-record__primary dt {
    color: #6c7f93;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
}

.contract-record__primary dd {
    margin: 4px 0 0;
    color: #12263a;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.contract-record__dir-cell {
    text-align: center;
}

.contract-record__dir-cell dd {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 19px;
}

.contract-record__pnl {
    text-align: end;
}

.contract-record__pnl dd {
    font-weight: 800;
}

.contract-record__pnl[data-direction="up"] dd { color: #0b9b63; }
.contract-record__pnl[data-direction="down"] dd { color: #d9304a; }

.contract-record__secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f5f8fc;
    font-variant-numeric: tabular-nums;
}

.contract-record__secondary dt {
    color: #74879a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

.contract-record__secondary dd {
    margin: 3px 0 0;
    color: #243b53;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.contract-record__cell-center {
    text-align: center;
}

.contract-record__cell-end {
    text-align: end;
}

.contract-record__countdown {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 9px;
    color: #0b5fa5;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.contract-record__countdown progress {
    flex: 1;
    height: 6px;
    accent-color: #0b6bcb;
}

@media (max-width: 760px) {
    .market-header__tools .market-header__wallet { display: none; }
    .market-header__tools .market-menu > summary { font-size: 13px; }
}

.market-thin-scroll:has(.market-contract-mobile) { background: #f2f7fb; }

@supports selector(::-webkit-scrollbar) {
    .market-thin-scroll { scrollbar-width: auto; scrollbar-color: auto; }
}

.market-quote-head, .market-quote-action, .market-desktop-intro { display: none; }

@media (min-width: 900px) {
    .market-quotes {
        --desktop-quote-columns: minmax(130px, 1.25fr) repeat(4, minmax(90px, 1fr)) minmax(74px, .65fr);
        padding-block: 24px 44px;
    }

    .market-quotes__toolbar { margin-bottom: 12px; }
    .market-quotes h1 { font-size: 27px; }
    .market-quotes .market-views { display: none; }

    .market-quotes #market-panel {
        min-width: 0;
        border: 1px solid var(--line);
        background: #fff;
    }

    .market-quote-head,
    .market-quote-grid .market-quote-link,
    .market-quote-grid[data-view="list"] .market-quote-link {
        display: grid;
        grid-template-columns: var(--desktop-quote-columns);
        grid-template-areas: "pair price change range volume action";
        align-items: center;
        gap: 12px;
        min-width: 0;
        padding: 12px 16px;
    }

    .market-quote-head {
        border-bottom: 1px solid var(--line);
        background: #e8f2fa;
        color: var(--muted);
        font-size: 12px;
        font-weight: 600;
    }

    .market-quote-head span:not(:first-child) { text-align: end; }
    .market-quote-head span:last-child { text-align: center; }
    .market-quote-action { display: block; grid-area: action; padding: 5px; border: 1px solid #9cbfd9; border-radius: 4px; text-align: center; color: var(--blue); font-size: 12px; }
    .market-desktop-intro { display: block; border-bottom: 1px solid var(--line); background: #e8f2fa; }
    .market-desktop-intro__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 138px; padding-block: 20px; }
    .market-desktop-intro p { margin: 0; color: var(--blue); font-weight: 600; }
    .market-desktop-intro h2 { margin: 2px 0 0; font-size: 35px; line-height: 1.15; }
    .market-desktop-intro a { padding: 8px 12px; border: 1px solid #9cbfd9; border-radius: 4px; background: #fff; color: var(--blue); font-weight: 600; }

    .market-quote-grid,
    .market-quote-grid[data-view="list"] {
        display: block;
        margin: 0;
    }

    .market-quote-card {
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .market-quote-card:last-child { border-bottom: 0; }
    .market-quote-link { min-height: 50px; }
    .market-quote-grid .market-quote-code,
    .market-quote-grid .market-quote-volume small { display: none; }
    .market-quote-grid .market-quote-range { display: block; }

    .market-quote-grid :is(.market-quote-price, .market-change, .market-quote-volume, .market-quote-range),
    .market-quote-grid[data-view="list"] :is(.market-quote-price, .market-change) {
        text-align: end;
    }

    .market-quotes__empty { margin: 0; padding: 24px 16px; }
}

.market-mobile-brief { display: none; }

@media (max-width: 760px) {
    .market-mobile-brief { display: block; border-top: 3px solid #2b9ad3; }
    .market-mobile-brief .market-frame { width: 100%; }
    .market-greeting {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 3px 12px 3px 16px;
        min-height: 49px;
        border-bottom: 1px solid var(--line);
        background: #eef4f8;
        font-size: 15px;
        font-weight: 600;
    }
    .market-greeting a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); font-size: 21px; }
    .market-pulse { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: #fff; }
    .market-pulse__label {
        display: grid;
        align-content: center;
        flex: 0 0 79px;
        min-width: 0;
        padding: 10px 7px 10px 16px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
    }
    .market-pulse__items {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        min-height: 67px;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: #c0ceda transparent;
    }
    .market-pulse__item {
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 1px 7px;
        min-width: 130px;
        padding: 7px 12px;
        border-inline-start: 1px solid var(--line);
        font-variant-numeric: tabular-nums;
    }
    .market-pulse__item .bi { grid-row: span 2; font-size: 19px; }
    .market-pulse__item span, .market-pulse__empty { color: var(--muted); font-size: 12px; }
    .market-pulse__item[data-direction="up"] :is(.bi, span) { color: var(--positive); }
    .market-pulse__item[data-direction="down"] :is(.bi, span) { color: var(--negative); }
    .market-pulse__items [hidden] { display: none; }
    .market-landing { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

.spot-order-records .spot-order-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 9px 10px;
    border-bottom: 1px solid #d8e2ec;
    background: #eef4f8;
    font-variant-numeric: tabular-nums;
}

.spot-order-records .spot-order-meta dt { color: #465d73; font-size: 11px; font-weight: 400; }
.spot-order-records .spot-order-meta dd { margin: 2px 0 0; color: #142b42; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.spot-order-records .spot-order-meta > div:last-child { text-align: end; }

@media (max-width: 760px) {
    .market-landing .market-footer { display: none; }
}

.market-announcement__icon {
    flex: none;
    color: var(--blue);
    font-size: 17px;
    line-height: 1;
}

.market-announcement__link { align-items: center; gap: 9px; }
.market-shortcuts { display: none; }

@media (max-width: 760px) {
    .market-shortcuts {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        margin-block: 10px 3px;
    }

    .market-landing .market-shortcuts a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 62px;
        padding: 5px 2px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: #fff;
        color: var(--ink);
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .market-shortcuts .bi {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 6px;
        background: #e8f2fa;
        color: var(--blue);
        font-size: 15px;
    }
}

@media (max-width: 760px) {
    .market-pulse__items { scrollbar-width: none; overscroll-behavior-x: contain; }
    .market-pulse__items::-webkit-scrollbar { display: none; }
}

.market-contract-mobile .btnbox button { border: 0; cursor: pointer; }
.market-contract-mobile .contract-open-order {
    width: 100%;
    min-height: 40px;
    border-radius: 6px;
    background: #0863a6;
    color: #fff;
    font: inherit;
    font-weight: 700;
}
.market-contract-mobile .contract-open-order:hover { background: #07578e; }
.market-contract-mobile #dongbox { inset: 0; height: 100%; background: #142b427d; }

.market-contract-mobile .contract-order-sheet {
    --sheet-ink: #142b42;
    --sheet-blue: #0863a6;
    --sheet-line: #d8e2ec;
    inset: auto 0 0;
    width: min(100%, 540px);
    height: auto;
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding: 0;
    border: 1px solid var(--sheet-line);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: #fff;
    color: var(--sheet-ink);
}
.contract-order-sheet::-webkit-scrollbar { display: none; }

.contract-timer-sheet .circle_wrapper,
.contract-timer-sheet .base-timer {
    width: 124px;
    height: 124px;
}
.contract-timer-sheet .base-timer__label {
    inset: 0;
    width: auto;
    height: auto;
    color: var(--sheet-ink);
    font-size: 30px;
    font-variant-numeric: tabular-nums;
}
.contract-timer-sheet .base-timer__path-elapsed { stroke: var(--sheet-line); }
.contract-timer-sheet .base-timer__path-remaining.green { color: var(--sheet-blue); }
.contract-timer-sheet .base-timer__path-remaining.orange { color: #996000; }
.contract-timer-sheet .base-timer__path-remaining.red { color: #ae2940; }
.contract-timer-status {
    margin: 0;
    padding: 12px;
    border-radius: 6px;
    background: #edf5fb;
    color: var(--sheet-ink);
    text-align: center;
}
.contract-timer-details {
    margin: 0;
    padding-inline: 12px;
    border: 1px solid var(--sheet-line);
    border-radius: 7px;
    background: #f2f7fb;
    font-size: 13px;
}
.contract-timer-details > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    padding-block: 8px;
}
.contract-timer-details > div + div { border-top: 1px solid var(--sheet-line); }
.contract-timer-details dt { color: #465d73; }
.contract-timer-details dd {
    margin: 0;
    text-align: end;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.contract-order-sheet__header,
.contract-order-sheet__footer {
    position: sticky;
    z-index: 1;
    padding-inline: 14px;
    background: #fff;
}
.contract-order-sheet__header {
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    border-bottom: 1px solid var(--sheet-line);
}
.contract-order-sheet__header h2 { margin: 0; font-size: 17px; font-weight: 700; }
.contract-order-sheet__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sheet-ink);
    font-size: 21px;
    cursor: pointer;
}
.contract-order-sheet__body { display: grid; gap: 9px; padding: 11px 14px 14px; }
.contract-order-sheet fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contract-order-sheet :is(legend, .contract-order-sheet__label) { margin: 0 0 5px; font-size: 13px; font-weight: 700; }
.contract-order-directions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.contract-order-directions label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid var(--sheet-line);
    border-radius: 5px;
    background: #f4f8fb;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.contract-order-directions__up { color: #147353; }
.contract-order-directions__down { color: #ae334c; }
.contract-order-directions label:has(input:checked) {
    border-color: currentColor;
    box-shadow: inset 0 0 0 1px currentColor;
}
.contract-order-directions label:has(input:focus-visible) {
    outline: 2px solid var(--sheet-blue);
    outline-offset: 2px;
}
.contract-order-directions__up:has(input:checked) { background: #e6f6ee; }
.contract-order-directions__down:has(input:checked) { background: #faedf0; }
.contract-order-directions input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}
.contract-order-sheet__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.contract-order-sheet__options button {
    display: grid;
    gap: 2px;
    align-content: center;
    min-height: 44px;
    padding: 4px 3px;
    border: 1px solid var(--sheet-line);
    border-radius: 5px;
    background: #f4f8fb;
    color: var(--sheet-ink);
    font: inherit;
    font-size: 12px;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.contract-order-sheet__options button span { color: #465d73; font-size: 11px; }
.contract-order-sheet__options button[aria-pressed="true"] { border-color: var(--sheet-blue); background: #e3f0fa; color: var(--sheet-blue); }
.contract-order-sheet__options button:disabled { opacity: .6; cursor: default; }
.contract-order-sheet__label { align-self: end; margin-bottom: -5px !important; }
.contract-order-sheet__amount {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding-inline: 10px;
    border: 1px solid var(--sheet-line);
    border-radius: 5px;
    background: #f4f8fb;
}
.contract-order-sheet__amount:focus-within { box-shadow: inset 0 -2px var(--sheet-blue); }
.contract-order-sheet__amount input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--sheet-ink); font-size: 16px; }
.contract-order-sheet__amount span { color: #465d73; font-size: 12px; }
.contract-order-sheet__balance { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.contract-order-sheet__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px 8px;
    margin: 0;
    padding: 9px;
    border-radius: 5px;
    background: #eef5fa;
}
.contract-order-sheet__summary dt { color: #465d73; font-size: 11px; }
.contract-order-sheet__summary dd { margin: 2px 0 0; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.contract-order-sheet__summary dd span { font-size: inherit !important; }
.contract-order-sheet__footer { bottom: 0; padding-block: 8px calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sheet-line); }
.contract-order-sheet__submit {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 42px;
    padding: 6px;
    border: 0;
    border-radius: 6px;
    background: var(--sheet-blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.contract-order-sheet__submit:is(:hover, :focus) { color: #fff; text-decoration: none; }
.contract-order-sheet__submit:disabled { opacity: .56; cursor: default; }
.contract-order-sheet a:focus-visible { outline: 2px solid var(--sheet-blue); outline-offset: 2px; }

.market-language-link {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    max-width: 42vw;
    padding-inline: 8px;
    border: 1px solid #d8e2ec;
    border-radius: 6px;
    background: transparent;
    color: #0863a6;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.market-language-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-language-link:focus-visible {
    outline: 2px solid #0863a6;
    outline-offset: 2px;
}

.market-header__tools .market-language-link { color: #0863a6; }

.market-language-open {
    overflow: hidden;
}

.market-language-modal[hidden] {
    display: none;
}

.market-language-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 16px;
}

.market-language-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 43, 66, 0.48);
}

.market-language-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 380px);
    max-height: min(560px, calc(100vh - 32px));
    max-height: min(560px, calc(100dvh - 32px));
    border: 1px solid #d8e2ec;
    border-radius: 12px;
    background: #fff;
    color: #142b42;
    box-shadow: 0 16px 40px rgba(7, 26, 44, 0.22);
    overflow: hidden;
}

.market-language-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 8px 8px 8px 16px;
    border-bottom: 1px solid #d8e2ec;
    background: #fff;
}

.market-language-modal__header h2 {
    margin: 0;
    color: #142b42;
    font-size: 16px;
    font-weight: 700;
}

.market-language-modal__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #465d73;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.market-language-modal__close:hover {
    background: #f2f7fb;
    color: #142b42;
}

.market-language-modal__list {
    margin: 0;
    padding: 6px;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.market-language-modal__list li + li {
    margin-top: 2px;
}

.market-language-modal__list a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #142b42;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.market-language-modal__list a:is(:focus, :focus-visible, :active) {
    outline: none;
}

.market-language-modal__list a:hover {
    background: #f2f7fb;
}

.market-language-modal__list a[aria-current="true"] {
    background: #eaf4fb;
    color: #0863a6;
    font-weight: 700;
}

.market-language-modal__flag {
    width: 23px;
    height: 17px;
    flex: none;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(20, 43, 66, 0.08);
}

.market-language-modal__list a span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-language-modal__check {
    flex: none;
    color: #0863a6;
    font-size: 17px;
    line-height: 1;
}

.market-greeting > a.market-greeting__auth {
    width: auto;
    min-height: 44px;
    padding-inline: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.market-greeting > a.market-greeting__auth:hover { color: #074e83; }

.market-greeting__message {
    min-width: 0;
    overflow-wrap: anywhere;
}

.market-greeting > a { flex-shrink: 0; }

.site-brand-logo {
    width: 30px;
    height: 30px;
    flex: none;
    object-fit: contain;
}

.site-brand-logo--desktop {
    width: auto;
    max-width: 156px;
    height: 38px;
}

.configured-banners {
    position: relative;
    max-width: 700px;
    min-width: 0;
    overflow: hidden;
}

.configured-banners__track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
    user-select: none;
}

.configured-banners__track[data-scrollable] {
    cursor: grab;
}

.configured-banners__track.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
}

.configured-banners__track::-webkit-scrollbar { display: none; }

.configured-banners__track li {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.configured-banners__track img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 350px;
    aspect-ratio: 2 / 1;
    object-fit: fill;
    pointer-events: none;
    -webkit-user-drag: none;
}

.market-landing .configured-banners {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    background: transparent;
}
