.community-market {
    --cm-bg: #050914;
    --cm-panel: #0a101e;
    --cm-panel-strong: #0d1526;
    --cm-line: rgba(137, 157, 205, .14);
    --cm-line-strong: rgba(145, 93, 255, .34);
    --cm-text: #edf1ff;
    --cm-muted: #8994ad;
    --cm-purple: #9b53ff;
    --cm-purple-bright: #b471ff;
    --cm-green: #66d99a;
    width: min(1680px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 64px;
    color: var(--cm-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.cm-alert,
.cm-restriction {
    margin-bottom: 16px;
    padding: 13px 16px;
    border: 1px solid rgba(103, 218, 156, .28);
    border-radius: 8px;
    color: #a9f0ca;
    background: rgba(32, 113, 75, .13);
    font-size: 14px;
}

.cm-alert.is-error,
.cm-restriction {
    border-color: rgba(255, 179, 71, .3);
    color: #ffd18c;
    background: rgba(137, 79, 19, .14);
}

.cm-restriction {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cm-restriction b {
    color: #ffe0ab;
}

.cm-restriction span {
    color: #c1aa83;
}

.cm-hero {
    min-height: 164px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--cm-line);
    border-radius: 12px 12px 0 0;
    background:
        radial-gradient(circle at 83% 18%, rgba(139, 67, 255, .2), transparent 27%),
        linear-gradient(118deg, rgba(13, 22, 40, .98), rgba(6, 10, 20, .99));
}

.cm-hero::after {
    content: "J";
    position: absolute;
    right: 33%;
    top: -76px;
    color: rgba(154, 83, 255, .045);
    font-size: 250px;
    font-weight: 950;
    line-height: 1;
    transform: rotate(11deg);
    pointer-events: none;
}

.cm-hero__brand {
    max-width: 710px;
    position: relative;
    z-index: 1;
}

.cm-hero__brand > span,
.cm-sidebar header,
.cm-wallet > header,
.cm-activity > header > span,
.cm-offers-panel > header span,
.cm-sales-history > header span,
.cm-price-panel > header span,
.cm-item-hero__market > span {
    color: #8f70ba;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.cm-hero h1 {
    margin: 8px 0 7px;
    color: #f5f6ff;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.05;
    letter-spacing: -.8px;
}

.cm-hero p {
    max-width: 650px;
    margin: 0;
    color: #9da8bf;
    font-size: 15px;
    line-height: 1.65;
}

.cm-hero__summary {
    min-width: 480px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    z-index: 1;
    border: 1px solid rgba(166, 114, 255, .17);
    border-radius: 9px;
    background: rgba(4, 8, 17, .72);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.cm-hero__summary article {
    min-height: 84px;
    padding: 16px;
    display: grid;
    align-content: center;
    gap: 7px;
    border-right: 1px solid var(--cm-line);
}

.cm-hero__summary article:last-child {
    border-right: 0;
}

.cm-hero__summary small {
    color: #7f8ba3;
    font-size: 11px;
    line-height: 1.35;
}

.cm-hero__summary strong {
    color: #e9dcff;
    font-size: 24px;
}

.cm-actions {
    min-height: 58px;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--cm-line);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #080e1a;
}

.cm-actions a {
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #9ca7bf;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: .18s ease;
}

.cm-actions a:hover,
.cm-actions a.is-active {
    border-color: rgba(155, 83, 255, .22);
    color: #e9deff;
    background: rgba(155, 83, 255, .09);
}

.cm-actions a.is-primary {
    margin-left: auto;
    border-color: rgba(155, 83, 255, .42);
    color: #fff;
    background: linear-gradient(135deg, #7b2af2, #9d3cff);
    box-shadow: 0 8px 24px rgba(123, 42, 242, .19);
}

.cm-layout {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 310px;
    align-items: start;
    gap: 14px;
}

.cm-sidebar,
.cm-activity,
.cm-browser,
.cm-offers-panel,
.cm-sales-history,
.cm-price-panel {
    min-width: 0;
}

.cm-sidebar__section,
.cm-wallet,
.cm-security-note,
.cm-browser,
.cm-activity,
.cm-offers-panel,
.cm-sales-history,
.cm-price-panel {
    border: 1px solid var(--cm-line);
    border-radius: 9px;
    background: linear-gradient(150deg, rgba(11, 17, 31, .98), rgba(7, 11, 21, .98));
}

.cm-sidebar__section,
.cm-wallet {
    padding: 15px;
}

.cm-sidebar__section nav {
    margin-top: 12px;
    display: grid;
    gap: 3px;
}

.cm-sidebar__section nav a {
    min-height: 40px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-left: 2px solid transparent;
    border-radius: 5px;
    color: #929eb6;
    text-decoration: none;
    font-size: 12px;
    transition: .15s ease;
}

.cm-sidebar__section nav a:hover,
.cm-sidebar__section nav a.is-active {
    border-left-color: var(--cm-purple);
    color: #eee7ff;
    background: linear-gradient(90deg, rgba(150, 75, 255, .18), rgba(150, 75, 255, .035));
}

.cm-sidebar__section nav b {
    color: #77839c;
    font-size: 11px;
}

.cm-wallet {
    margin-top: 12px;
}

.cm-wallet > div {
    min-height: 45px;
    margin-top: 7px;
    padding: 0 9px;
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 6px;
    background: rgba(3, 7, 14, .5);
}

.cm-wallet i {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: #b36cff;
    background: rgba(155, 83, 255, .12);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.cm-wallet .is-coins i {
    color: #ffd15c;
    background: rgba(255, 195, 53, .11);
}

.cm-wallet .is-donat i {
    color: #65b9ff;
    background: rgba(69, 153, 255, .11);
}

.cm-wallet span {
    color: #8c98b0;
    font-size: 11px;
}

.cm-wallet strong {
    color: #dbe1ef;
    font-size: 11px;
}

.cm-security-note {
    margin-top: 12px;
    padding: 14px;
    display: flex;
    gap: 10px;
}

.cm-security-note > span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #a9f1cc;
    background: rgba(86, 213, 148, .12);
    font-size: 11px;
    font-weight: 900;
}

.cm-security-note strong {
    color: #cfd7e9;
    font-size: 11px;
}

.cm-security-note p {
    margin: 5px 0 0;
    color: #748097;
    font-size: 10px;
    line-height: 1.55;
}

.cm-browser {
    overflow: hidden;
}

.cm-toolbar {
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, .7fr)) auto;
    gap: 9px;
    border-bottom: 1px solid var(--cm-line);
    background: rgba(11, 18, 33, .88);
}

.cm-toolbar label {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.cm-toolbar label > span {
    color: #77839c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.cm-toolbar input,
.cm-toolbar select {
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 1px solid rgba(137, 157, 205, .16);
    border-radius: 6px;
    outline: 0;
    color: #dce2f1;
    background: #060b15;
    font: inherit;
    font-size: 12px;
}

.cm-search {
    position: relative;
}

.cm-search > span {
    display: none;
}

.cm-toolbar input:focus,
.cm-toolbar select:focus {
    border-color: rgba(155, 83, 255, .5);
    box-shadow: 0 0 0 3px rgba(155, 83, 255, .08);
}

.cm-toolbar button {
    height: 40px;
    margin-top: 17px;
    padding: 0 17px;
    border: 1px solid rgba(155, 83, 255, .4);
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(135deg, #7025e2, #9638f6);
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.cm-market-list__head {
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--cm-line);
    background: rgba(5, 9, 18, .58);
}

.cm-market-list__head > div {
    min-width: 0;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(270px, 1fr) 135px 210px;
    gap: 20px;
}

.cm-market-list__head span,
.cm-market-list__head > strong {
    color: #69758d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.cm-market-row {
    min-height: 86px;
    padding: 9px 15px;
    display: grid;
    grid-template-columns: minmax(270px, 1fr) 135px 210px 16px;
    align-items: center;
    gap: 20px;
    position: relative;
    border-bottom: 1px solid rgba(137, 157, 205, .09);
    color: inherit;
    text-decoration: none;
    background: rgba(7, 12, 23, .55);
    transition: background .16s ease, transform .16s ease;
}

.cm-market-row::before {
    content: "";
    width: 2px;
    position: absolute;
    inset: 9px auto 9px 0;
    border-radius: 2px;
    background: var(--cm-rarity);
    opacity: .65;
}

.cm-market-row:hover {
    background: linear-gradient(90deg, rgba(155, 83, 255, .095), rgba(11, 18, 33, .86));
}

.cm-market-row__item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.cm-market-row__preview {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cm-rarity) 40%, transparent);
    border-radius: 6px;
    background: radial-gradient(circle, color-mix(in srgb, var(--cm-rarity) 12%, transparent), #070c16 70%);
}

.cm-market-row__preview .item-visual-preview,
.cm-market-row__preview img {
    width: 100%;
    height: 100%;
}

.cm-market-row__item > div:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.cm-market-row__item span,
.cm-market-row__item small {
    overflow: hidden;
    color: #77849d;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-market-row__item strong {
    overflow: hidden;
    color: #e6eaf5;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-market-row__offers {
    display: grid;
    gap: 3px;
}

.cm-market-row__offers strong {
    color: #e8e1f6;
    font-size: 18px;
}

.cm-market-row__offers span,
.cm-market-row__offers small {
    color: #7c889f;
    font-size: 10px;
}

.cm-market-row__prices {
    display: grid;
    justify-items: end;
    gap: 3px;
}

.cm-market-row__prices > span {
    color: #71809a;
    font-size: 10px;
    text-transform: uppercase;
}

.cm-market-row__prices > strong {
    color: #f0e8ff;
    font-size: 16px;
}

.cm-market-row__prices > div {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
}

.cm-market-row__prices i {
    padding: 3px 5px;
    border-radius: 4px;
    color: #a9b4c9;
    background: rgba(255, 255, 255, .045);
    font-size: 10px;
    font-style: normal;
}

.cm-market-row__prices i.is-coins {
    color: #eec765;
}

.cm-market-row__prices i.is-donat {
    color: #72bfff;
}

.cm-market-row__arrow {
    color: #73539f;
    font-size: 24px;
}

.cm-empty,
.cm-offers-empty {
    min-height: 310px;
    padding: 35px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    text-align: center;
}

.cm-empty > span,
.cm-offers-empty > span {
    color: #9b5cff;
    font-size: 35px;
}

.cm-empty strong,
.cm-offers-empty strong {
    color: #dfe4f2;
    font-size: 16px;
}

.cm-empty p,
.cm-offers-empty p {
    margin: 0;
    color: #77839a;
    font-size: 12px;
}

.cm-pagination {
    padding: 12px;
    border-top: 1px solid var(--cm-line);
}

.cm-pagination nav > div:first-child {
    display: none;
}

.cm-pagination nav > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cm-pagination nav p {
    color: #78849c;
    font-size: 11px;
}

.cm-pagination nav span,
.cm-pagination nav a {
    border-color: var(--cm-line) !important;
    color: #a5b0c6 !important;
    background: #080d18 !important;
    text-decoration: none;
}

.cm-activity {
    overflow: hidden;
}

.cm-activity > header {
    min-height: 68px;
    padding: 14px;
    display: grid;
    align-content: center;
    gap: 5px;
    border-bottom: 1px solid var(--cm-line);
}

.cm-activity > header strong {
    color: #dfe4f2;
    font-size: 14px;
}

.cm-activity__list {
    display: grid;
}

.cm-activity__list > a {
    min-height: 75px;
    padding: 11px 13px;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid rgba(137, 157, 205, .08);
    color: inherit;
    text-decoration: none;
    transition: background .15s ease;
}

.cm-activity__list > a:hover {
    background: rgba(155, 83, 255, .07);
}

.cm-activity__list > a > i {
    width: 6px;
    height: 36px;
    border-radius: 5px;
    background: var(--cm-rarity);
    box-shadow: 0 0 14px color-mix(in srgb, var(--cm-rarity) 35%, transparent);
}

.cm-activity__list > a > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.cm-activity__list strong,
.cm-activity__list span,
.cm-activity__list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-activity__list strong {
    color: #d9dfed;
    font-size: 11px;
}

.cm-activity__list span,
.cm-activity__list small {
    color: #748098;
    font-size: 10px;
}

.cm-activity__list b {
    color: #c9b5e7;
    font-size: 10px;
    white-space: nowrap;
}

.cm-activity__empty {
    padding: 35px 16px;
    color: #748098;
    text-align: center;
    font-size: 11px;
}

.cm-activity > footer {
    padding: 13px;
    color: #78849a;
    background: rgba(4, 8, 16, .55);
    font-size: 10px;
}

.cm-activity > footer strong {
    color: #d4c3ee;
}

/* Item page */

.cm-breadcrumbs {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #66738b;
    font-size: 12px;
}

.cm-breadcrumbs a {
    color: #9980bc;
    text-decoration: none;
}

.cm-breadcrumbs strong {
    color: #aeb7cb;
}

.cm-item-hero {
    min-height: 300px;
    padding: 24px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 310px;
    align-items: stretch;
    gap: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cm-rarity) 24%, var(--cm-line));
    border-radius: 11px;
    background:
        radial-gradient(circle at 20% 45%, color-mix(in srgb, var(--cm-rarity) 13%, transparent), transparent 32%),
        linear-gradient(135deg, #0d1526, #060b15 65%);
}

.cm-item-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -110px 35%;
    height: 160px;
    background: var(--cm-rarity);
    opacity: .035;
    filter: blur(60px);
}

.cm-item-hero__visual {
    min-height: 250px;
    padding: 15px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cm-rarity) 34%, transparent);
    border-radius: 8px;
    background: rgba(3, 7, 14, .66);
    box-shadow: inset 0 0 50px color-mix(in srgb, var(--cm-rarity) 8%, transparent);
}

.cm-item-hero__visual .item-visual-preview,
.cm-item-hero__visual img {
    width: 100%;
    height: 100%;
    max-height: 230px;
}

.cm-item-hero__identity {
    min-width: 0;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.cm-item-hero__identity > span {
    color: #7f8ba2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.cm-item-hero__identity h1 {
    margin: 8px 0;
    color: #f2f4fb;
    font-size: clamp(25px, 2.3vw, 37px);
    line-height: 1.12;
}

.cm-item-rarity {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--cm-rarity);
    font-size: 13px;
    font-weight: 800;
}

.cm-item-rarity i {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--cm-rarity);
    transform: rotate(45deg);
}

.cm-item-hero__identity > p {
    max-width: 620px;
    margin: 17px 0;
    color: #909cb4;
    font-size: 13px;
    line-height: 1.65;
}

.cm-item-hero__identity dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 24px;
}

.cm-item-hero__identity dl > div {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(137, 157, 205, .08);
}

.cm-item-hero__identity dt,
.cm-item-hero__identity dd {
    margin: 0;
    font-size: 10px;
}

.cm-item-hero__identity dt {
    color: #69768e;
}

.cm-item-hero__identity dd {
    overflow: hidden;
    color: #b9c2d5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-item-hero__market {
    padding: 18px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(155, 83, 255, .18);
    border-radius: 8px;
    background: rgba(5, 9, 18, .76);
}

.cm-item-current-price {
    margin: 15px 0;
    padding-bottom: 15px;
    display: grid;
    gap: 5px;
    border-bottom: 1px solid var(--cm-line);
}

.cm-item-current-price small {
    color: #7c879f;
    font-size: 11px;
}

.cm-item-current-price strong {
    color: #efe6ff;
    font-size: 28px;
}

.cm-item-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

.cm-item-mini-stats div {
    min-width: 0;
    padding: 9px 5px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .045);
    border-radius: 5px;
    text-align: center;
    background: rgba(255, 255, 255, .018);
}

.cm-item-mini-stats strong {
    color: #d7deec;
    font-size: 15px;
}

.cm-item-mini-stats span {
    color: #707c93;
    font-size: 10px;
    line-height: 1.3;
}

.cm-item-hero__market > a {
    min-height: 42px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(155, 83, 255, .42);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #7026df, #9636f5);
    font-size: 12px;
    font-weight: 850;
}

.cm-currency-tabs {
    margin-top: 13px;
    padding: 8px;
    display: flex;
    gap: 7px;
    border: 1px solid var(--cm-line);
    border-radius: 8px;
    background: #080e1a;
}

.cm-currency-tabs a {
    min-width: 170px;
    min-height: 48px;
    padding: 7px 11px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    column-gap: 9px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #9ba7bd;
    text-decoration: none;
    transition: .15s ease;
}

.cm-currency-tabs a:hover,
.cm-currency-tabs a.is-active {
    border-color: rgba(155, 83, 255, .3);
    color: #eee7ff;
    background: rgba(155, 83, 255, .09);
}

.cm-currency-tabs i {
    width: 28px;
    height: 28px;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: #b36cff;
    background: rgba(155, 83, 255, .12);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.cm-currency-tabs .is-coins i {
    color: #ffd05a;
    background: rgba(255, 195, 53, .11);
}

.cm-currency-tabs .is-donat i {
    color: #67baff;
    background: rgba(69, 153, 255, .11);
}

.cm-currency-tabs span {
    font-size: 12px;
    font-weight: 800;
}

.cm-currency-tabs small {
    color: #748097;
    font-size: 10px;
}

.cm-item-layout {
    margin-top: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 14px;
}

.cm-item-layout > main {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.cm-offers-panel,
.cm-sales-history,
.cm-price-panel {
    overflow: hidden;
}

.cm-offers-panel > header,
.cm-sales-history > header,
.cm-price-panel > header {
    min-height: 66px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--cm-line);
}

.cm-offers-panel > header > div,
.cm-sales-history > header > div,
.cm-price-panel > header > div {
    display: grid;
    gap: 4px;
}

.cm-offers-panel h2,
.cm-sales-history h2,
.cm-price-panel h2 {
    margin: 0;
    color: #dfe4f2;
    font-size: 16px;
}

.cm-offers-panel > header > strong,
.cm-sales-history > header > strong,
.cm-price-panel > header > strong {
    color: #aa91cf;
    font-size: 12px;
}

.cm-offers-table__head,
.cm-offer-row {
    display: grid;
    grid-template-columns: minmax(145px, 1.2fr) minmax(120px, .9fr) 80px 115px 115px 120px;
    align-items: center;
    gap: 12px;
}

.cm-offers-table__head {
    min-height: 38px;
    padding: 0 14px;
    border-bottom: 1px solid var(--cm-line);
    color: #69758c;
    background: rgba(4, 8, 16, .48);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cm-offer-row {
    min-height: 68px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(137, 157, 205, .08);
    background: rgba(7, 12, 22, .54);
}

.cm-offer-row:hover {
    background: rgba(155, 83, 255, .045);
}

.cm-offer-user {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.cm-offer-user > i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(155, 83, 255, .25);
    border-radius: 50%;
    color: #c39aff;
    background: rgba(155, 83, 255, .1);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.cm-offer-user > span,
.cm-offer-serial {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.cm-offer-user strong,
.cm-offer-serial strong {
    overflow: hidden;
    color: #d6ddeb;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-offer-user small,
.cm-offer-serial small {
    color: #6f7c94;
    font-size: 10px;
}

.cm-offer-quantity,
.cm-offer-price,
.cm-offer-total {
    color: #aeb8cb;
    font-size: 12px;
    font-weight: 750;
}

.cm-offer-total {
    color: #eadfff;
}

.cm-offer-price small,
.cm-offer-total small {
    color: #7c6a98;
    font-size: 10px;
}

.cm-offer-action a,
.cm-offer-action button {
    width: 100%;
    min-height: 34px;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(155, 83, 255, .36);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #6d25da, #9235ee);
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.cm-offer-action button:disabled,
.cm-offer-action a.is-own {
    border-color: var(--cm-line);
    color: #8995ab;
    background: #0a101c;
    cursor: default;
}

.cm-sales-history__head,
.cm-sale-row {
    display: grid;
    grid-template-columns: 135px minmax(100px, 1fr) minmax(100px, 1fr) 85px 120px;
    align-items: center;
    gap: 12px;
}

.cm-sales-history__head {
    min-height: 38px;
    padding: 0 14px;
    color: #69758c;
    background: rgba(4, 8, 16, .48);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.cm-sale-row {
    min-height: 44px;
    padding: 0 14px;
    border-top: 1px solid rgba(137, 157, 205, .07);
    color: #8e9ab0;
    font-size: 10px;
}

.cm-sale-row a {
    overflow: hidden;
    color: #a991cf;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cm-sale-row strong {
    color: #d7c9ec;
    text-align: right;
}

.cm-sales-history__empty {
    padding: 35px 15px;
    color: #768299;
    text-align: center;
    font-size: 11px;
}

.cm-price-panel {
    position: sticky;
    top: 82px;
}

.cm-price-summary {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.cm-price-summary > div {
    min-height: 61px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(137, 157, 205, .09);
    border-radius: 6px;
    background: rgba(4, 8, 16, .48);
}

.cm-price-summary span {
    color: #748097;
    font-size: 10px;
}

.cm-price-summary strong {
    color: #e4daf5;
    font-size: 13px;
}

.cm-price-chart {
    height: 220px;
    margin: 0 14px;
    padding: 16px 8px 25px;
    display: grid;
    grid-template-columns: repeat(30, minmax(2px, 1fr));
    align-items: end;
    gap: 2px;
    position: relative;
    border: 1px solid rgba(137, 157, 205, .1);
    border-radius: 7px;
    background:
        repeating-linear-gradient(to top, transparent 0, transparent 43px, rgba(137, 157, 205, .065) 44px),
        rgba(3, 7, 14, .58);
}

.cm-price-chart__point {
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.cm-price-chart__point i {
    width: 100%;
    height: var(--cm-height);
    min-height: 0;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, rgba(123, 42, 242, .42), #a55bff);
    box-shadow: 0 0 8px rgba(155, 83, 255, .12);
}

.cm-price-chart__point span {
    position: absolute;
    left: 0;
    bottom: -17px;
    color: #5f6b82;
    font-size: 9px;
    white-space: nowrap;
}

.cm-price-legend {
    padding: 12px 14px 15px;
    display: grid;
    gap: 7px;
}

.cm-price-legend span,
.cm-price-legend small {
    color: #707c93;
    font-size: 10px;
    line-height: 1.45;
}

.cm-price-legend span i {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 2px;
    background: #9b53ff;
}

.cm-market-rules {
    margin: 0 14px 14px;
    padding: 14px;
    border: 1px solid rgba(90, 210, 149, .13);
    border-radius: 7px;
    background: rgba(40, 114, 79, .07);
}

.cm-market-rules > strong {
    color: #b9dfcc;
    font-size: 11px;
}

.cm-market-rules ol {
    margin: 9px 0 0;
    padding-left: 18px;
    color: #718b7e;
    font-size: 10px;
    line-height: 1.7;
}

@media (max-width: 1380px) {
    .cm-layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .cm-activity {
        grid-column: 1 / -1;
    }

    .cm-activity__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-activity__list > a:nth-child(odd) {
        border-right: 1px solid rgba(137, 157, 205, .08);
    }

    .cm-toolbar {
        grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(130px, .7fr));
    }

    .cm-toolbar label:nth-of-type(4),
    .cm-toolbar button {
        margin-top: 0;
    }

    .cm-item-hero {
        grid-template-columns: 230px minmax(0, 1fr) 285px;
    }

    .cm-offers-table__head,
    .cm-offer-row {
        grid-template-columns: minmax(135px, 1fr) minmax(110px, .8fr) 65px 100px 105px 105px;
        gap: 8px;
    }
}

@media (max-width: 1080px) {
    .community-market {
        width: min(100% - 22px, 960px);
    }

    .cm-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .cm-hero__summary {
        min-width: 0;
        width: 100%;
    }

    .cm-layout {
        grid-template-columns: 1fr;
    }

    .cm-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cm-wallet,
    .cm-security-note {
        margin-top: 0;
    }

    .cm-security-note {
        grid-column: 1 / -1;
    }

    .cm-item-hero {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .cm-item-hero__market {
        grid-column: 1 / -1;
    }

    .cm-item-layout {
        grid-template-columns: 1fr;
    }

    .cm-price-panel {
        position: static;
    }

    .cm-offers-table {
        overflow-x: auto;
    }

    .cm-offers-table__head,
    .cm-offer-row {
        min-width: 780px;
    }
}

@media (max-width: 720px) {
    .community-market {
        width: calc(100% - 14px);
        padding-top: 14px;
    }

    .cm-hero,
    .cm-item-hero {
        padding: 18px;
    }

    .cm-hero h1 {
        font-size: 31px;
    }

    .cm-hero__summary {
        grid-template-columns: 1fr;
    }

    .cm-hero__summary article {
        min-height: 62px;
        border-right: 0;
        border-bottom: 1px solid var(--cm-line);
    }

    .cm-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cm-actions a,
    .cm-actions a.is-primary {
        margin-left: 0;
        justify-content: center;
    }

    .cm-sidebar {
        grid-template-columns: 1fr;
    }

    .cm-security-note {
        grid-column: auto;
    }

    .cm-toolbar {
        grid-template-columns: 1fr;
    }

    .cm-toolbar button,
    .cm-toolbar label:nth-of-type(4) {
        margin-top: 0;
    }

    .cm-market-list__head {
        display: none;
    }

    .cm-market-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .cm-market-row__offers {
        grid-column: 1;
        padding-left: 79px;
    }

    .cm-market-row__prices {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .cm-market-row__arrow {
        display: none;
    }

    .cm-activity__list {
        grid-template-columns: 1fr;
    }

    .cm-activity__list > a:nth-child(odd) {
        border-right: 0;
    }

    .cm-item-hero {
        grid-template-columns: 1fr;
    }

    .cm-item-hero__visual {
        min-height: 230px;
    }

    .cm-item-hero__market {
        grid-column: auto;
    }

    .cm-item-hero__identity dl {
        grid-template-columns: 1fr;
    }

    .cm-currency-tabs {
        overflow-x: auto;
    }

    .cm-currency-tabs a {
        min-width: 155px;
    }

    .cm-sales-history__table {
        overflow-x: auto;
    }

    .cm-sales-history__head,
    .cm-sale-row {
        min-width: 650px;
    }
}

@media (max-width: 470px) {
    .cm-market-row {
        padding: 10px;
    }

    .cm-market-row__preview {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .cm-market-row__offers {
        padding-left: 67px;
    }

    .cm-market-row__prices > div {
        display: none;
    }

    .cm-item-mini-stats,
    .cm-price-summary {
        grid-template-columns: 1fr;
    }
}

/* Marketplace Buy Orders v1 */

.cm-buy-orders {
    overflow: hidden;
    border: 1px solid rgba(82, 177, 255, .2);
    border-radius: 9px;
    background:
        radial-gradient(circle at 8% 0, rgba(56, 153, 255, .09), transparent 28%),
        linear-gradient(145deg, rgba(8, 16, 30, .98), rgba(6, 11, 22, .98));
}

.cm-buy-orders > header {
    min-height: 68px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--cm-line);
}

.cm-buy-orders > header > div {
    display: grid;
    gap: 4px;
}

.cm-buy-orders > header span {
    color: #6da8dc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.cm-buy-orders > header h2 {
    margin: 0;
    color: #e7edf8;
    font-size: 17px;
}

.cm-buy-orders > header > strong {
    color: #8cc9ff;
    font-size: 11px;
}

.cm-buy-orders__grid {
    display: grid;
    grid-template-columns: minmax(350px, .95fr) minmax(330px, 1.05fr);
}

.cm-buy-order-form {
    padding: 16px;
    border-right: 1px solid var(--cm-line);
}

.cm-buy-order-form__intro {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.cm-buy-order-form__intro > i {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(92, 181, 255, .25);
    border-radius: 8px;
    color: #82c4ff;
    background: rgba(62, 150, 231, .09);
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
}

.cm-buy-order-form__intro strong {
    color: #e3e9f5;
    font-size: 13px;
}

.cm-buy-order-form__intro p {
    margin: 4px 0 0;
    color: #7d899f;
    font-size: 11px;
    line-height: 1.5;
}

.cm-buy-order-form form {
    display: grid;
    grid-template-columns: .8fr 1.2fr 1fr;
    gap: 9px;
}

.cm-buy-order-form label {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.cm-buy-order-form label > span,
.cm-buy-order-funds > span {
    color: #8190a8;
    font-size: 10px;
    font-weight: 800;
}

.cm-buy-order-form input,
.cm-buy-order-form select {
    width: 100%;
    height: 41px;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid rgba(126, 153, 196, .2);
    border-radius: 6px;
    outline: 0;
    color: #eaf0fa;
    background: rgba(3, 8, 17, .72);
    font: inherit;
    font-size: 12px;
}

.cm-buy-order-form select option {
    color: #111729;
}

.cm-buy-order-form input:focus,
.cm-buy-order-form select:focus {
    border-color: rgba(90, 180, 255, .6);
    box-shadow: 0 0 0 3px rgba(54, 152, 238, .08);
}

.cm-buy-order-price-input {
    position: relative;
}

.cm-buy-order-price-input input {
    padding-right: 43px;
}

.cm-buy-order-price-input b {
    right: 10px;
    top: 50%;
    position: absolute;
    color: #72b8f2;
    font-size: 10px;
    transform: translateY(-50%);
}

.cm-buy-order-funds {
    min-height: 42px;
    grid-column: 1 / 3;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(126, 153, 196, .11);
    border-radius: 6px;
    background: rgba(255, 255, 255, .018);
}

.cm-buy-order-funds strong {
    color: #dbe9f8;
    font-size: 12px;
}

.cm-buy-order-form form > button,
.cm-buy-order-login {
    min-height: 42px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(77, 176, 255, .42);
    border-radius: 6px;
    color: #f7fbff;
    text-decoration: none;
    background: linear-gradient(135deg, #196cb1, #318bd8);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.cm-buy-order-login {
    width: 100%;
}

.cm-buy-order-login:disabled {
    opacity: .55;
    cursor: default;
}

.cm-buy-order-form > small {
    margin-top: 11px;
    display: block;
    color: #69778e;
    font-size: 10px;
    line-height: 1.45;
}

.cm-order-book {
    min-width: 0;
}

.cm-order-book > header {
    min-height: 59px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--cm-line);
}

.cm-order-book > header > div {
    display: grid;
    gap: 3px;
}

.cm-order-book > header span,
.cm-order-book > header small {
    color: #718097;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .9px;
}

.cm-order-book > header strong {
    color: #91caff;
    font-size: 14px;
}

.cm-order-book__head,
.cm-order-book__row {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) 105px 75px;
    align-items: center;
    gap: 12px;
}

.cm-order-book__head {
    min-height: 34px;
    padding: 0 14px;
    color: #647187;
    background: rgba(3, 8, 17, .38);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.cm-order-book__row {
    min-height: 42px;
    padding: 0 14px;
    border-top: 1px solid rgba(137, 157, 205, .07);
    color: #98a6bd;
    font-size: 11px;
}

.cm-order-book__row strong {
    color: #91caff;
    font-size: 12px;
}

.cm-order-book__row strong small {
    color: #587ea0;
    font-size: 9px;
}

.cm-order-book__empty {
    min-height: 128px;
    padding: 24px;
    display: grid;
    place-items: center;
    color: #6f7d93;
    text-align: center;
    font-size: 11px;
}

@media (max-width: 1180px) {
    .cm-buy-orders__grid {
        grid-template-columns: 1fr;
    }

    .cm-buy-order-form {
        border-right: 0;
        border-bottom: 1px solid var(--cm-line);
    }
}

@media (max-width: 680px) {
    .cm-buy-orders > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .cm-buy-order-form form {
        grid-template-columns: 1fr;
    }

    .cm-buy-order-funds {
        grid-column: auto;
    }
}
