.market_intro {
    margin: 10px 0 8px;
    font-size: 12.5px;
}

.market_categories {
    margin-top: 2px;
}

.market_filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.market_filters .economy_select {
    font-size: 14px;
    padding: 8px 10px;
}

.market_grid .it {
    width: 100%;
    font-family: inherit;
    color: inherit;
}

.market_card .price {
    color: var(--gold);
    font-size: 13.5px;
}

.market_card .bon {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market_card_mine {
    opacity: .78;
}

.market_card_mine .bon {
    color: var(--green);
}

.market_more {
    margin-top: 10px;
}

.market_footer {
    position: sticky;
    bottom: calc(-20px - env(safe-area-inset-bottom, 0px));
    z-index: 2;
    margin: 14px -16px 0;
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: var(--soft);
    border-top: 1px solid var(--line);
}

.market_offline {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 22px 16px;
    text-align: center;
}

.market_offline svg {
    width: 72px;
    height: 72px;
    filter: grayscale(.8);
    opacity: .8;
}

.market_offline b {
    font-family: var(--f-display);
    font-size: 19px;
}

.market_own_list {
    margin-top: 4px;
}

.market_own_row {
    grid-template-columns: 56px 1fr auto;
}

.market_own_row > div {
    min-width: 0;
}

.market_own_row .muted {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    margin: 2px 0 5px;
}

.market_own_art {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market_own_art svg {
    width: 56px;
    height: 56px;
}

.market_detail_top {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.market_detail_art {
    width: 128px;
    height: 128px;
    border-radius: 20px;
    border: 2px solid var(--line);
    background: var(--surf);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.market_detail_art.b-comum {
    border-color: #BFEBD2;
}

.market_detail_art.b-raro {
    border-color: #BCD8FF;
}

.market_detail_art.b-muitoraro {
    border-color: #FFC2E4;
}

.market_detail_art.b-lendario {
    border-color: #FFD970;
}

.market_detail_art.b-ultimate {
    border-color: #E0243A;
    box-shadow: 0 0 12px rgba(224, 36, 58, .5);
}

.market_detail_art svg {
    width: 116px;
    height: 116px;
}

.market_detail_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.market_detail_info .muted {
    font-size: 12.5px;
    line-height: 1.3;
}

.market_detail_name {
    font-family: var(--f-display);
    font-size: 20px;
    line-height: 1.1;
}

.market_detail_price {
    font-size: 24px;
    color: var(--gold);
}

.market_detail_price svg {
    width: 22px;
    height: 22px;
}

.market_facts {
    padding: 12px;
}

.market_fact_row {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr .7fr;
    gap: 6px;
}

.market_fact_row small {
    display: block;
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink2);
}

.market_fact_row b {
    font-size: 13.5px;
    line-height: 1.2;
}

.market_chart_empty {
    margin-top: 8px;
    font-size: 12.5px;
}

.market_note {
    margin-top: 10px;
}

.market_price_field {
    margin-top: 12px;
}

.market_actions {
    margin-top: 12px;
}

.market_entry {
    margin: 0 0 12px;
    background: linear-gradient(135deg, rgba(155, 92, 255, .32), rgba(20, 12, 26, .75));
    border: 2px solid #9B5CFF;
    color: inherit;
    font-family: inherit;
}

.market_entry .muted {
    display: block;
    font-size: 12.5px;
    line-height: 1.3;
    margin-top: 3px;
}

.market_entry_icon {
    background: #2A1E3F;
}

.market_friends_entry {
    margin: 12px 12px 0;
    width: calc(100% - 24px);
}

.market_wardrobe_entry {
    margin-top: 12px;
}

.market_reference_price {
    font-size: 10px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.2;
}

.market_inventory_row {
    margin-top: 8px;
}

.market_test_table {
    margin-top: 8px;
}
