.market-header-container {
    width: min(1386px, calc(100% - 40px));
    margin-inline: auto;
}

.market-topbar {
    min-height: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #17191f;
    color: #a9afbd;
}

.market-topbar-inner,
.market-topbar-links,
.market-topbar-actions {
    display: flex;
    align-items: center;
}

.market-topbar-inner {
    min-height: 28px;
    justify-content: space-between;
    gap: 20px;
}

.market-topbar-links,
.market-topbar-actions {
    min-width: 0;
    gap: 20px;
}

.market-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    font-size: 0.62rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.market-topbar a:hover {
    color: #fff;
}

.market-topbar-links a {
    letter-spacing: 0.025em;
}

.market-topbar-links a > .ui-icon {
    width: 14px;
    height: 14px;
    color: #9ab8ff;
}

.market-topbar-label > .ui-icon {
    width: 15px;
    height: 15px;
    color: #4a87ff;
}

.market-topbar-brand-icon {
    width: 15px;
    height: 15px;
    border-radius: 4px;
}

.market-topbar-chat b {
    min-width: 17px;
    padding: 1px 5px;
    border-radius: 9px;
    background: #ff6a78;
    color: #fff;
    font-size: 0.55rem;
    text-align: center;
}

.market-topbar-deals {
    color: #e3c9ff !important;
}

.market-topbar-deals > .ui-icon {
    width: 14px;
    height: 14px;
    color: #9a7cff;
}

.market-topbar-chat > .ui-icon {
    width: 14px;
    height: 14px;
}

.site-header .marketplace-main-row {
    width: min(1448px, calc(100% - 40px));
    min-height: 84px;
    gap: 28px;
}

.marketplace-brand {
    flex: 0 0 auto;
}

.marketplace-brand .logo-mark {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(145deg, #a277ff 0%, #6258f0 54%, #2bcbb8 100%);
    box-shadow: 0 8px 20px rgba(89, 84, 226, 0.3), inset 0 1px rgba(255, 255, 255, 0.3);
    color: #fff;
}

.marketplace-brand .logo-mark > .ui-icon {
    width: 27px;
    height: 27px;
}

.marketplace-auth-button > .ui-icon {
    width: 16px;
    height: 16px;
}

.market-nav-symbol > .ui-icon {
    width: 20px;
    height: 20px;
}
.marketplace-brand > span:last-child {
    white-space: nowrap;
}

.marketplace-brand .logo small {
    color: #a8b8ff;
    letter-spacing: 0.13em;
}

.site-header .marketplace-main-row .header-search {
    max-width: 560px;
    min-height: 50px;
    flex: 1 1 520px;
    padding: 6px 10px 6px 15px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 13px;
    background: #292c33;
}

.marketplace-main-row .header-search input {
    font-size: 0.78rem;
}

.marketplace-main-row .header-search button {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #4c70fa;
}

.marketplace-header-actions {
    justify-content: flex-end;
    gap: 9px;
    margin-left: auto;
}

@media (min-width: 769px) {
    .site-header .marketplace-main-row {
        justify-content: center;
    }

    .marketplace-header-actions {
        margin-left: 0;
    }
}

.marketplace-auth-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.market-action-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.marketplace-auth-button.is-register {
    border-color: rgba(171, 155, 243, 0.26);
    background: linear-gradient(120deg, #5b4d91, #50558f);
}

.marketplace-auth-button.is-login {
    border-color: rgba(126, 161, 220, 0.25);
    background: linear-gradient(120deg, #495989, #426a8b);
}

.marketplace-auth-button:hover {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.marketplace-auth-button.is-register:hover {
    border-color: rgba(190, 178, 246, 0.34);
    background: linear-gradient(120deg, #65579a, #5a6098);
}

.marketplace-auth-button.is-login:hover {
    border-color: rgba(147, 177, 225, 0.34);
    background: linear-gradient(120deg, #536694, #4c7595);
}

.marketplace-auth-button:focus-visible {
    outline: 2px solid #b9aaff;
    outline-offset: 3px;
}

html[data-theme="light"] .marketplace-auth-button.is-register {
    border-color: rgba(93, 79, 159, 0.17);
    background: linear-gradient(120deg, #ece8f7, #e2def1);
    box-shadow: 0 3px 10px rgba(57, 48, 115, 0.1);
    color: #4e456f;
}

html[data-theme="light"] .marketplace-auth-button.is-login {
    border-color: rgba(58, 91, 145, 0.17);
    background: linear-gradient(120deg, #e5eaf4, #dbe6f0);
    box-shadow: 0 3px 10px rgba(39, 68, 105, 0.1);
    color: #405470;
}

html[data-theme="light"] .marketplace-auth-button.is-register:hover {
    border-color: rgba(93, 79, 159, 0.28);
    background: linear-gradient(120deg, #e4dff2, #d8d3e9);
}

html[data-theme="light"] .marketplace-auth-button.is-login:hover {
    border-color: rgba(58, 91, 145, 0.28);
    background: linear-gradient(120deg, #dce4f1, #d1dfed);
}

.marketplace-header-actions .account-menu > summary {
    display: inline-flex;
    min-width: 154px;
    min-height: 54px;
    gap: 10px;
    padding: 6px 9px 6px 7px;
    border: 1px solid rgba(167,151,255,0.27);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(53,54,67,0.98), rgba(31,33,42,0.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 7px 18px rgba(0,0,0,0.16);
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.marketplace-header-actions .account-menu > summary:hover,
.marketplace-header-actions .account-menu[open] > summary {
    transform: translateY(-1px);
    border-color: rgba(169,148,255,0.6);
    background: linear-gradient(145deg, rgba(66,62,88,0.98), rgba(35,36,49,0.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 24px rgba(0,0,0,0.24), 0 0 0 3px rgba(143,116,255,0.09);
}

.marketplace-header-actions .account-menu > summary .account-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-color: rgba(210,197,255,0.7);
    box-shadow: 0 0 0 3px rgba(147,118,255,0.13), inset 0 1px 1px rgba(255,255,255,0.22);
    font-size: 0.82rem;
}

.account-trigger-copy {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 3px;
    text-align: left;
}

.marketplace-header-actions .account-menu > summary .account-name {
    max-width: 112px;
    color: #f5f3ff;
    font-size: 0.75rem;
    font-weight: 850;
    line-height: 1.15;
}

.account-trigger-copy small {
    color: #aeb2c4;
    font-size: 0.52rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    line-height: 1.15;
    text-transform: uppercase;
}

.marketplace-header-actions .account-menu > summary .account-caret {
    display: grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: #c6c1dc;
    transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.marketplace-header-actions .account-menu > summary .account-caret svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.marketplace-header-actions .account-menu[open] > summary .account-caret {
    background: rgba(160,139,255,0.2);
    color: #e4dcff;
    transform: rotate(180deg);
}

.marketplace-header-actions .account-menu > summary:focus-visible {
    outline: 2px solid #aa91ff;
    outline-offset: 3px;
}

html[data-theme="light"] .marketplace-header-actions .account-menu > summary {
    border-color: rgba(92,75,170,0.2);
    background: linear-gradient(145deg, #fff, #f1f2fa);
    box-shadow: inset 0 1px 0 #fff, 0 7px 18px rgba(37,44,74,0.12);
}

html[data-theme="light"] .marketplace-header-actions .account-menu > summary:hover,
html[data-theme="light"] .marketplace-header-actions .account-menu[open] > summary {
    border-color: rgba(92,75,190,0.45);
    background: linear-gradient(145deg, #fff, #eeedff);
    box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(49,44,100,0.16), 0 0 0 3px rgba(102,79,220,0.08);
}

html[data-theme="light"] .marketplace-header-actions .account-menu > summary .account-name {
    color: #25283a;
}

html[data-theme="light"] .account-trigger-copy small {
    color: #737b91;
}

html[data-theme="light"] .marketplace-header-actions .account-menu > summary .account-caret {
    border-color: rgba(69,75,104,0.09);
    background: rgba(54,61,91,0.06);
    color: #626983;
}

.marketplace-nav {
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(108,132,255,0.2);
    background: linear-gradient(180deg, #292c35 0%, #22242b 100%);
}

.marketplace-nav-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
    min-height: 68px;
    align-items: center;
    gap: 8px;
    padding-block: 10px;
}

.market-category-menu {
    position: relative;
    z-index: 110;
    flex: 0 0 auto;
}

.market-category-trigger {
    display: inline-flex;
    width: 172px;
    max-width: 172px;
    flex: 0 0 172px;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 13px;
    background: #4268fa;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(34,77,220,0.24);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.market-nav-link.market-nav-epin,
.market-category-trigger {
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.market-nav-link.market-nav-epin {
    width: 172px;
    min-width: 172px;
    max-width: 172px;
    flex: 0 0 172px;
}

.market-category-trigger > svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.4;
}

.market-category-trigger:hover,
.market-category-trigger[aria-expanded="true"] {
    transform: translateY(-1px);
    background: #5478ff;
    box-shadow: 0 8px 18px rgba(34,77,220,0.3);
}

.market-category-caret {
    margin-left: 2px;
    font-size: 0.9rem;
    transition: transform 160ms ease;
}

.market-category-trigger[aria-expanded="true"] .market-category-caret {
    transform: rotate(180deg);
}

.market-category-dialog {
    position: fixed;
    inset: 0;
    width: min(1260px, calc(100vw - 48px));
    max-width: none;
    height: min(760px, calc(100vh - 48px));
    max-height: calc(100vh - 48px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    background: #20232c;
    color: #f5f6fb;
    box-shadow: 0 28px 90px rgba(0,0,0,0.5);
}

.market-category-dialog::backdrop {
    background: rgba(8,11,18,0.76);
    backdrop-filter: blur(7px);
}

.market-category-dialog-shell {
    display: grid;
    position: relative;
    height: 100%;
    min-height: 0;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 21px;
    padding: 27px 30px 30px;
}

.market-category-dialog-heading,
.market-category-dialog-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.market-category-dialog-kicker {
    color: #9ab1ff;
    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.market-category-dialog-heading h2 {
    margin-top: 5px;
    color: #f5f6fb;
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    letter-spacing: -0.04em;
}

.market-category-dialog-heading p {
    margin-top: 4px;
    color: #a7adbc;
    font-size: 0.75rem;
}

.market-category-dialog-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 13px;
    background: rgba(255,255,255,0.06);
    color: #e7eaf2;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.market-category-dialog-close:hover {
    transform: rotate(4deg);
    background: rgba(255,255,255,0.12);
}

.market-category-dialog-close svg,
.market-category-search svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.market-category-search {
    display: flex;
    width: min(420px, 100%);
    min-height: 45px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 13px;
    background: rgba(255,255,255,0.055);
    color: #aeb8d0;
}

.market-category-search:focus-within {
    border-color: rgba(127,153,255,0.65);
    box-shadow: 0 0 0 3px rgba(84,120,255,0.12);
}

.market-category-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f5f6fb;
    font: inherit;
    font-size: 0.77rem;
}

.market-category-search input::placeholder {
    color: #9198a9;
}

.market-category-all-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(127,153,255,0.24);
    border-radius: 11px;
    color: #b6c5ff;
    font-size: 0.73rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.market-category-all-link:hover {
    border-color: rgba(127,153,255,0.5);
    background: rgba(84,120,255,0.12);
    color: #fff;
}

.market-category-dialog-grid {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    padding: 2px 3px 4px 1px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 6px;
    scroll-snap-type: y proximity;
    scrollbar-color: #4a5267 transparent;
    scrollbar-width: thin;
}

.market-category-dialog-card {
    display: flex;
    min-width: 0;
    min-height: 76px;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border: 1px solid rgba(132,151,204,0.18);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(53,59,76,0.72), rgba(38,42,54,0.8));
    color: #e8ebf3;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.market-category-dialog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(125,151,255,0.55);
    background: linear-gradient(145deg, rgba(61,74,111,0.86), rgba(42,49,71,0.94));
    box-shadow: 0 9px 24px rgba(9,14,30,0.24);
}

.market-category-dialog-card[hidden] {
    display: none;
}

.market-category-dialog-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: #303542;
}

.market-category-dialog-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-category-dialog-name {
    min-width: 0;
    overflow: hidden;
    font-size: 0.74rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.market-category-dialog-arrow {
    margin-left: auto;
    color: #879bdb;
    font-size: 0.8rem;
}

.market-category-dialog-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 60px);
    padding: 30px 15px;
    color: #b5bbca;
    font-size: 0.82rem;
    text-align: center;
    transform: translate(-50%, -50%);
}

.market-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
    min-width: 0;
    width: 100%;
    align-items: center;
    gap: 8px;
}

.market-quick-link {
    display: inline-flex;
    width: 100%;
    min-height: clamp(52px, 4vw, 76px);
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(122,102,255,0.62), rgba(62,180,255,0.32));
    color: #f4f7ff;
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 8px 18px rgba(0,0,0,0.16);
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.market-quick-link:hover,
.market-quick-link.is-current {
    background: linear-gradient(135deg, rgba(128,110,255,0.8), rgba(77,191,255,0.46));
    color: #fff;
    transform: translateY(-1px);
}

.market-quick-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: #30343e;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 3px 8px rgba(0,0,0,0.14);
}

.market-quick-icon img {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.market-quick-link:hover .market-quick-icon img,
.market-quick-link:focus-visible .market-quick-icon img {
    transform: scale(1.06);
}

.market-quick-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.market-quick-sosyal-medya .market-quick-icon {
    background: #3a2930;
    color: #ff526d;
}

.market-quick-pubg-mobile .market-quick-icon {
    border-color: rgba(243,189,85,0.52);
    background: linear-gradient(145deg, #705322 0%, #3b2b18 100%);
    box-shadow: 0 4px 13px rgba(243,189,85,0.2), inset 0 1px rgba(255,255,255,0.16);
}

.market-quick-valorant .market-quick-icon {
    border-color: rgba(255,70,85,0.55);
    background: linear-gradient(145deg, #702532 0%, #3b1b25 100%);
    box-shadow: 0 4px 13px rgba(255,70,85,0.2), inset 0 1px rgba(255,255,255,0.14);
}

.market-quick-lol .market-quick-icon {
    border-color: rgba(200,170,110,0.55);
    background: linear-gradient(145deg, #62502e 0%, #342b1d 100%);
    box-shadow: 0 4px 13px rgba(200,170,110,0.19), inset 0 1px rgba(255,255,255,0.16);
}

.market-quick-roblox .market-quick-icon {
    border-color: rgba(240,70,77,0.55);
    background: linear-gradient(145deg, #d52d37 0%, #78212c 100%);
    box-shadow: 0 4px 13px rgba(240,70,77,0.2), inset 0 1px rgba(255,255,255,0.16);
}

.market-quick-cs2 .market-quick-icon {
    border-color: rgba(240,179,79,0.5);
    background: linear-gradient(145deg, #435472 0%, #252f43 100%);
    box-shadow: 0 4px 13px rgba(240,179,79,0.16), inset 0 1px rgba(255,255,255,0.15);
}

.market-nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 0 8px;
    border-radius: 11px;
    color: #e2e5ec;
    font-size: 0.75rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.market-short-label {
    display: none;
}

.market-nav-link:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
}

.market-nav-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: #292e3a;
    color: #bfcced;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.market-nav-symbol.is-gift {
    background: #183b35;
    color: #20d895;
}

.market-nav-symbol.is-chat {
    background: linear-gradient(145deg, #6558d8, #443a9a);
    color: #f0edff;
}

.market-nav-chat-count {
    position: absolute;
    z-index: 2;
    top: 3px;
    right: 3px;
    min-width: 18px;
    padding: 2px 5px;
    border: 2px solid #22242b;
    border-radius: 999px;
    background: #ff6173;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
}

.market-nav-chat.is-current {
    filter: brightness(1.12);
}

.market-nav-deals:hover .market-nav-symbol.is-gift {
    background: #1d5143;
}

.market-nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.market-action-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border-radius: 13px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(0,0,0,0.16);
    transition: filter 0.16s ease, transform 0.16s ease;
}

.market-action-button.is-add > span:first-child {
    font-size: 1.08rem;
    line-height: 1;
}

.market-action-button.is-add > span > .ui-icon {
    width: 18px;
    height: 18px;
}

.market-action-button.is-add {
    background: linear-gradient(135deg, #ffbe0b, #ff9f00);
    color: #28210d;
}

.market-action-button.is-wallet {
    gap: 10px;
    min-height: 52px;
    padding: 5px 13px;
    background: linear-gradient(135deg, #16d997, #08bd78);
    color: #062d22;
}

.market-action-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(4,74,51,0.16);
    border-radius: 11px;
    background: rgba(255,255,255,0.28);
}

.market-action-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.marketplace-main-row .header-search > .ui-icon {
    width: 18px;
    height: 18px;
    color: #a7aec0;
}

.mobile-bottom-nav a > span > .ui-icon {
    width: 19px;
    height: 19px;
}

.market-action-copy {
    display: grid;
    gap: 2px;
    text-align: left;
}

.market-action-copy strong {
    font-size: 0.73rem;
    font-weight: 850;
    line-height: 1.15;
}

.market-action-copy small {
    color: rgba(6,45,34,0.78);
    font-size: 0.57rem;
    font-weight: 650;
    line-height: 1.2;
}

.market-action-arrow {
    align-self: flex-start;
    margin-top: 2px;
    font-size: 0.78rem;
    line-height: 1;
}

html[data-theme="light"] .market-topbar {
    border-bottom-color: rgba(40,48,70,0.12);
    background: #20232b;
}

html[data-theme="light"] .marketplace-nav {
    border-color: rgba(40,48,70,0.12);
    background: #e8eaf1;
}

html[data-theme="light"] .market-quick-link,
html[data-theme="light"] .market-nav-link {
    color: #34394a;
}

html[data-theme="light"] .market-quick-link:hover,
html[data-theme="light"] .market-quick-link.is-current,
html[data-theme="light"] .market-nav-link:hover {
    background: rgba(54,88,190,0.1);
    color: #182b68;
}

html[data-theme="light"] .market-category-dialog {
    border-color: rgba(45,53,79,0.15);
    background: #f7f8fc;
    color: #22283b;
    box-shadow: 0 28px 90px rgba(38,42,75,0.24);
}

html[data-theme="light"] .market-category-dialog-heading h2 {
    color: #22283b;
}

html[data-theme="light"] .market-category-dialog-heading p {
    color: #737b91;
}

html[data-theme="light"] .market-category-dialog-close {
    border-color: rgba(45,53,79,0.14);
    background: #fff;
    color: #444b60;
}

html[data-theme="light"] .market-category-search {
    border-color: rgba(45,53,79,0.14);
    background: #fff;
    color: #626b81;
}

html[data-theme="light"] .market-category-search input {
    color: #252b3b;
}

html[data-theme="light"] .market-category-search input::placeholder {
    color: #858da0;
}

html[data-theme="light"] .market-category-all-link {
    border-color: rgba(71,96,189,0.2);
    color: #3654ad;
}

html[data-theme="light"] .market-category-dialog-card {
    border-color: rgba(45,53,79,0.11);
    background: linear-gradient(145deg, #fff, #f1f3f9);
    color: #30374b;
}

html[data-theme="light"] .market-category-dialog-card:hover {
    border-color: rgba(76,106,206,0.38);
    background: #edf1ff;
    box-shadow: 0 9px 24px rgba(38,48,87,0.1);
}

html[data-theme="light"] .market-category-dialog-icon {
    border-color: rgba(45,53,79,0.08);
    background: #e7eaf2;
}

html[data-theme="light"] .market-category-dialog-arrow {
    color: #526bb5;
}

html[data-theme="light"] .market-category-dialog-empty {
    color: #626b81;
}

html[data-theme="light"] .market-nav-symbol {
    background: #d9deeb;
    color: #405174;
}

@media (max-width: 1240px) {
    .market-topbar .market-topbar-label,
    .market-nav-deals {
        display: none;
    }

    .marketplace-nav-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
        padding-block: 7px;
    }

    .market-nav-actions {
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .market-topbar-links {
        gap: 12px;
    }

    .market-topbar-actions {
        gap: 12px;
    }

    .market-quick-link {
        gap: 5px;
        padding-inline: 5px;
        font-size: 0.65rem;
    }

    .market-quick-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

@media (max-width: 620px) {
    .market-home-shortcut-row {
        margin-bottom: 12px;
    }

    .market-header-container,
    .site-header .marketplace-main-row {
        width: calc(100% - 24px);
    }

    .market-topbar-inner {
        min-height: 27px;
    }

    .market-topbar-links a:not(:first-child),
    .market-topbar .market-topbar-chat {
        display: none;
    }

    .market-topbar-links,
    .market-topbar-actions {
        gap: 10px;
    }

    .market-topbar-links a {
        font-size: 0.56rem;
    }

    .market-topbar-deals {
        font-size: 0.56rem !important;
    }

    .site-header .marketplace-main-row {
        min-height: 0;
        gap: 7px;
        padding-block: 9px;
    }

    .marketplace-brand {
        gap: 7px;
        font-size: 0.95rem !important;
    }

    .marketplace-brand .logo-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .marketplace-brand .logo-mark > .ui-icon {
        width: 23px;
        height: 23px;
    }

    .marketplace-brand .logo small {
        margin-top: 2px;
        font-size: 0.47rem;
    }

    .marketplace-main-row .header-search {
        min-height: 42px;
        padding: 4px 7px 4px 10px;
    }

    .marketplace-header-actions {
        gap: 5px;
    }

    .marketplace-auth-button {
        min-height: 34px;
        gap: 4px;
        padding-inline: 8px;
        border-radius: 10px;
        font-size: 0.59rem;
    }

    .marketplace-auth-button > span {
        display: none;
    }

    .marketplace-nav-inner {
        gap: 4px;
    }

    .market-category-trigger {
        min-height: 36px;
        gap: 6px;
        padding-inline: 9px;
        font-size: 0.64rem;
    }

    .market-quick-links {
        flex-wrap: wrap;
        gap: 2px;
    }

    .market-quick-link {
        min-height: 36px;
        gap: 4px;
        padding-inline: 4px;
        font-size: 0.59rem;
    }

    .market-quick-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        border-radius: 8px;
    }

    .market-nav-link {
        min-height: 36px;
        gap: 5px;
        padding-inline: 4px;
        font-size: 0.59rem;
    }

    .market-nav-symbol {
        width: 27px;
        height: 27px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .market-nav-symbol > .ui-icon {
        width: 16px;
        height: 16px;
    }

    .market-nav-actions {
        gap: 5px;
    }

    .market-action-button {
        min-height: 36px;
        gap: 5px;
        padding-inline: 9px;
        border-radius: 10px;
        font-size: 0.6rem;
    }

    .market-action-button.is-wallet {
        min-height: 42px;
        gap: 6px;
        padding: 4px 8px;
    }

    .market-action-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 9px;
    }

    .market-action-icon svg {
        width: 18px;
        height: 18px;
    }

    .market-action-copy small,
    .market-action-arrow {
        display: none;
    }

    .market-category-dialog {
        width: calc(100vw - 24px);
        height: calc(100vh - 28px);
        max-height: calc(100vh - 28px);
        border-radius: 17px;
    }

    .market-category-dialog-shell {
        gap: 15px;
        padding: 17px 14px 14px;
    }

    .market-category-dialog-heading {
        gap: 12px;
    }

    .market-category-dialog-heading p {
        font-size: 0.68rem;
    }

    .market-category-dialog-close {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        border-radius: 11px;
    }

    .market-category-dialog-tools {
        align-items: stretch;
        gap: 8px;
    }

    .market-category-search {
        min-height: 41px;
        gap: 7px;
        padding-inline: 10px;
    }

    .market-category-search input {
        font-size: 0.68rem;
    }

    .market-category-all-link {
        min-height: 41px;
        gap: 5px;
        padding-inline: 9px;
        font-size: 0.64rem;
    }

    .market-category-dialog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .market-category-dialog-card {
        min-height: 63px;
        gap: 7px;
        padding: 7px;
    }

    .market-category-dialog-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
    }

    .market-category-dialog-name {
        font-size: 0.64rem;
    }

    .market-category-dialog-arrow {
        font-size: 0.67rem;
    }
}

@media (max-width: 620px) {
    .marketplace-nav-inner > .market-nav-chat {
        display: none;
    }

    .marketplace-nav-inner {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
        gap: 3px;
        padding-block: 7px;
    }

    .market-category-menu {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .market-category-trigger {
        width: 100%;
        min-height: 36px;
        justify-content: center;
        gap: 3px;
        padding-inline: 4px;
        font-size: 0.54rem;
    }

    .market-category-trigger > svg {
        width: 15px;
        height: 15px;
    }

    .market-category-caret {
        margin-left: 0;
        font-size: 0.68rem;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-height: 36px;
        justify-content: center;
        gap: 3px;
        padding-inline: 3px;
        font-size: 0.54rem;
    }

    .market-nav-symbol {
        width: 20px;
        height: 20px;
        border-radius: 7px;
    }

    .market-nav-symbol > .ui-icon {
        width: 13px;
        height: 13px;
    }

    .market-full-label {
        display: none;
    }

    .market-short-label {
        display: inline;
    }

    .market-quick-links {
        display: none;
    }

    .market-nav-actions {
        display: contents;
    }

    .market-nav-actions .market-action-button.is-add {
        grid-column: 3;
        grid-row: 1;
    }

    .market-nav-actions .market-action-button.is-wallet {
        grid-column: 4;
        grid-row: 1;
    }

    .market-action-button {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        justify-content: center;
        gap: 3px;
        padding-inline: 3px;
        border-radius: 9px;
        font-size: 0.54rem;
    }

    .market-action-button.is-wallet {
        min-height: 36px;
        padding: 3px;
    }

    .market-action-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        border-radius: 8px;
    }

    .market-action-icon svg {
        width: 15px;
        height: 15px;
    }

    .market-action-copy strong {
        font-size: 0.54rem;
    }

    .site-header:not(.has-market-actions) .marketplace-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .market-category-label,
    .market-category-caret,
    .market-nav-label,
    .market-action-label,
    .market-action-copy {
        display: none;
    }

    .market-category-trigger,
    .market-nav-link,
    .market-action-button,
    .market-action-button.is-wallet {
        height: 36px;
        min-height: 36px;
        padding: 0;
        gap: 0;
    }

    .market-nav-symbol,
    .market-action-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .market-category-trigger > svg,
    .market-nav-symbol > .ui-icon,
    .market-action-icon svg {
        width: 15px;
        height: 15px;
    }
}

.market-home-shortcut-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 24px;
    margin-bottom: 14px;
}

.market-home-shortcut {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 8px 18px 8px 9px;
    border: 1px solid rgba(198, 190, 255, 0.45);
    border-radius: 16px;
    background: linear-gradient(115deg, #4968f0, #7255e9 58%, #9957d8);
    box-shadow: 0 7px 20px rgba(100, 82, 226, 0.24), inset 0 1px rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.market-home-shortcut::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 42%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    content: "";
    pointer-events: none;
    transform: translateX(-150%) skewX(-18deg);
    animation: market-home-sheen 5s ease-in-out infinite;
}

.market-home-shortcut > span {
    position: relative;
    z-index: 2;
}

.market-home-shortcut-mark {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    animation: market-home-logo 2.8s ease-in-out infinite;
}

.market-home-shortcut-mark > .ui-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.48));
}

.market-home-shortcut-copy {
    display: grid;
    gap: 3px;
    text-align: left;
}

.market-home-shortcut-copy strong {
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.1;
}

.market-home-shortcut-copy small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.64rem;
    font-weight: 650;
    line-height: 1.15;
}

.market-home-shortcut-arrow {
    margin-left: 6px;
    font-size: 1.1rem;
    opacity: 0.88;
    transition: transform 180ms ease;
}

.market-home-shortcut:hover {
    box-shadow: 0 10px 24px rgba(100, 82, 226, 0.34), inset 0 1px rgba(255, 255, 255, 0.24);
    filter: saturate(1.12) brightness(1.06);
    transform: translateY(-2px);
}

.market-home-shortcut:hover .market-home-shortcut-arrow {
    transform: translateX(3px);
}

.market-home-shortcut:focus-visible {
    outline: 2px solid #b9aaff;
    outline-offset: 3px;
}

@keyframes market-home-sheen {
    0%, 74%, 100% { transform: translateX(-150%) skewX(-18deg); }
    88% { transform: translateX(340%) skewX(-18deg); }
}

@keyframes market-home-logo {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.06) rotate(-4deg); }
}

@media (max-width: 620px) {
    .market-home-shortcut {
        min-height: 54px;
        gap: 10px;
        padding: 7px 15px 7px 8px;
    }

    .market-home-shortcut-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .market-home-shortcut-mark > .ui-icon {
        width: 22px;
        height: 22px;
    }

    .market-home-shortcut-copy strong {
        font-size: 0.84rem;
    }

    .market-home-shortcut-copy small {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .market-home-shortcut-row {
        display: none;
    }
}

.site-header:not(.is-homepage) .header-search,
.site-header:not(.is-homepage) .marketplace-nav,
.site-header:not(.is-homepage) .market-topbar-label,
.site-header:not(.is-homepage) .market-topbar-links a[href$="categories.php"] {
    display: none;
}

@media (min-width: 769px) {
    .site-header:not(.is-homepage) .marketplace-main-row {
        min-height: 88px;
        justify-content: space-between;
    }

    .site-header:not(.is-homepage) .marketplace-header-actions {
        gap: 12px;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .site-header:not(.is-homepage) .header-search {
        display: none;
    }

    .site-header:not(.is-homepage) .marketplace-nav {
        display: block;
    }

    .site-header .marketplace-main-row .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .marketplace-nav-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 6px;
        padding-block: 7px;
    }

    .marketplace-nav-inner > .market-quick-links,
    .marketplace-nav-inner > .market-nav-deals,
    .marketplace-nav-inner > .market-nav-chat,
    .marketplace-nav-inner > .market-nav-actions {
        display: none;
    }

    .market-category-menu {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        width: 100%;
        min-height: 40px;
        justify-content: center;
        gap: 6px;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        grid-column: 2;
        grid-row: 1;
    }

    .market-full-label {
        display: none;
    }

    .market-short-label {
        display: inline;
    }

    .market-category-label,
    .market-nav-label {
        display: inline;
    }

    .market-category-caret {
        display: none;
    }
}

@media (min-width: 769px) {
    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        min-width: 10rem;
    }
}

.market-topbar {
    border-bottom-color: rgba(183, 177, 219, 0.06);
    background: rgba(14, 16, 25, 0.76);
}

.marketplace-nav {
    border-top-color: rgba(183, 177, 219, 0.04);
    border-bottom-color: rgba(183, 177, 219, 0.09);
    background: rgba(18, 20, 30, 0.78);
    backdrop-filter: blur(18px);
}

.site-header .marketplace-main-row .header-search {
    border-color: rgba(190, 197, 223, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.marketplace-main-row .header-search button {
    border-radius: 12px;
    background: var(--gradient);
    box-shadow: 0 6px 16px rgba(91, 82, 232, 0.2);
}

.market-category-trigger {
    border-color: rgba(198, 185, 255, 0.18);
    border-radius: 15px;
    background: var(--gradient);
    box-shadow: 0 7px 20px rgba(91, 82, 232, 0.18);
}

.market-category-trigger:hover,
.market-category-trigger[aria-expanded="true"] {
    background: linear-gradient(120deg, #9678ff, #638cf0);
    box-shadow: 0 10px 24px rgba(91, 82, 232, 0.26);
}

.marketplace-auth-button {
    border-radius: 14px;
}

.header-mobile-balance {
    display: none;
}

.marketplace-header-actions .account-menu > summary .account-balance-inline {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin-left: 2px;
    padding: 5px 8px 5px 10px;
    border-left: 1px solid rgba(113,223,180,0.3);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(47,180,132,0.1), rgba(91,114,234,0.08));
}

.account-balance-inline > .ui-icon {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    padding: 3px;
    border: 1px solid rgba(113,223,180,0.18);
    border-radius: 7px;
    background: rgba(113,223,180,0.1);
    color: #71dfb4;
}

.account-balance-inline > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.account-balance-inline small {
    color: #b7c8ce;
    font-size: 0.49rem;
    font-weight: 750;
    letter-spacing: 0.035em;
    line-height: 1;
    white-space: nowrap;
}

.account-balance-inline strong {
    color: #c9ffe8;
    font-size: 0.67rem;
    font-weight: 850;
    line-height: 1.15;
    white-space: nowrap;
}

html[data-theme="light"] .marketplace-header-actions .account-menu > summary .account-balance-inline {
    border-left-color: rgba(24,118,79,0.24);
    background: linear-gradient(135deg, rgba(66,193,142,0.1), rgba(102,110,220,0.06));
}

html[data-theme="light"] .account-balance-inline > .ui-icon {
    border-color: rgba(24,118,79,0.15);
    background: rgba(24,118,79,0.08);
}

html[data-theme="light"] .account-balance-inline small {
    color: #737b91;
}

html[data-theme="light"] .account-balance-inline strong {
    color: #18764f;
}

@media (max-width: 1024px) {
    .marketplace-header-actions .header-mobile-balance {
        display: inline-flex;
        min-width: 116px;
        max-width: 170px;
        min-height: 44px;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 5px 10px;
        border: 1px solid rgba(113,223,180,0.3);
        border-radius: 13px;
        background: linear-gradient(140deg, rgba(34,76,79,0.98), rgba(39,43,72,0.98));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 7px 18px rgba(48,203,153,0.13);
        color: #f5f3ff;
        text-decoration: none;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
    }

    .header-mobile-balance > .ui-icon {
        box-sizing: border-box;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        padding: 6px;
        border: 1px solid rgba(113,223,180,0.22);
        border-radius: 9px;
        background: rgba(113,223,180,0.12);
        color: #71dfb4;
    }

    .header-mobile-balance-copy {
        display: grid;
        min-width: 0;
        gap: 2px;
        justify-items: start;
        text-align: left;
    }

    .header-mobile-balance-copy small {
        color: #c0d0d5;
        font-size: 0.5rem;
        font-weight: 750;
        letter-spacing: 0.035em;
        line-height: 1;
    }

    .header-mobile-balance-copy strong {
        overflow: hidden;
        color: #c9ffe8;
        font-size: 0.64rem;
        font-weight: 850;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-mobile-balance:hover {
        transform: translateY(-1px);
        border-color: rgba(113,223,180,0.58);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 9px 22px rgba(48,203,153,0.2);
        filter: brightness(1.06);
    }

    .header-mobile-balance:focus-visible {
        outline: 2px solid #78ecc2;
        outline-offset: 3px;
    }

    .header-mobile-balance:active {
        transform: translateY(0);
    }
}

@media (max-width: 620px) {
    .marketplace-header-actions .header-mobile-balance {
        max-width: 148px;
    }
}

@media (max-width: 360px) {
    .marketplace-header-actions .header-mobile-balance {
        max-width: 124px;
        min-width: 106px;
        gap: 6px;
        padding-inline: 7px;
    }

    .header-mobile-balance-copy strong {
        font-size: 0.55rem;
    }
}

@media (max-width: 1024px) {
    html[data-theme="light"] .marketplace-header-actions .header-mobile-balance {
        border-color: rgba(24,118,79,0.24);
        background: linear-gradient(140deg, #f0fff8, #f0f1ff);
        box-shadow: inset 0 1px 0 #fff, 0 7px 18px rgba(38,142,109,0.12);
        color: #25283a;
    }

    html[data-theme="light"] .header-mobile-balance > .ui-icon {
        border-color: rgba(24,118,79,0.16);
        background: rgba(24,118,79,0.08);
    }

    html[data-theme="light"] .header-mobile-balance-copy small {
        color: #737b91;
    }

    html[data-theme="light"] .header-mobile-balance-copy strong {
        color: #18764f;
    }

    html[data-theme="light"] .header-mobile-balance:hover {
        border-color: rgba(24,118,79,0.44);
        box-shadow: inset 0 1px 0 #fff, 0 9px 22px rgba(38,142,109,0.18);
    }
}

.market-category-trigger,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 46px;
    border: 1px solid rgba(210, 204, 255, 0.3);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(54, 59, 166, 0.22), inset 0 1px rgba(255, 255, 255, 0.16);
    transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.market-category-trigger {
    background: linear-gradient(120deg, #9a72f5 0%, #668bfa 100%);
    font-size: 0.82rem;
    text-align: center;
}

.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
    background: linear-gradient(120deg, #426ee8 0%, #398fd1 100%);
    font-size: 0.78rem;
    text-align: center;
}

.market-category-trigger::after,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals)::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.22) 50%, transparent 78%);
    content: "";
    pointer-events: none;
    transform: translateX(-130%);
    transition: transform 560ms ease;
}

.market-category-trigger > svg,
.market-category-trigger > .market-category-label,
.market-category-trigger > .market-category-caret,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) > .market-nav-symbol,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) > .market-nav-label {
    position: relative;
    z-index: 1;
}

.market-category-trigger > svg {
    fill: none;
    stroke-width: 1.8;
}

.market-category-label {
    text-align: center;
}

.market-nav-link:not(.market-nav-deals) {
    justify-content: center;
    border-color: rgba(174, 215, 255, 0.28);
}

.market-nav-link:not(.market-nav-deals) .market-nav-symbol.is-market {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.07));
    color: #e9f8ff;
    transition: transform 220ms ease, background 220ms ease;
}

.market-category-trigger:hover,
.market-category-trigger[aria-expanded="true"],
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals):hover {
    transform: translateY(-2px);
    border-color: rgba(235, 230, 255, 0.52);
    box-shadow: 0 12px 26px rgba(91, 82, 232, 0.31), inset 0 1px rgba(255, 255, 255, 0.22);
    filter: saturate(1.12) brightness(1.05);
}

.market-category-trigger:hover::after,
.market-category-trigger[aria-expanded="true"]::after,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals):hover::after {
    transform: translateX(130%);
}

.market-category-trigger:active,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals):active {
    transform: translateY(0) scale(0.985);
}

.market-category-trigger:hover > svg {
    transform: rotate(-5deg) scale(1.06);
}

.market-nav-link:not(.market-nav-deals):hover .market-nav-symbol.is-market {
    transform: rotate(-5deg) scale(1.06);
    background: rgba(255, 255, 255, 0.2);
}

.market-category-trigger:focus-visible,
.marketplace-nav-inner > .market-nav-link:not(.market-nav-deals):focus-visible {
    outline: 3px solid rgba(211, 221, 255, 0.85);
    outline-offset: 3px;
}

@media (max-width: 620px) {
    .market-category-trigger {
        box-sizing: border-box;
        height: 43px;
        min-height: 43px;
        justify-content: center;
        gap: 0;
        padding: 0 20px;
        font-size: 0.72rem;
        font-weight: 850;
    }

    .market-category-trigger > svg {
        position: absolute;
        left: 4px;
        width: 17px;
        height: 17px;
    }

    .market-category-label {
        display: block;
        width: 100%;
        justify-self: center;
        text-align: center;
        line-height: 1.1;
    }

    .market-category-label > span,
    .market-nav-epin .market-nav-label > span {
        display: block;
        line-height: inherit;
    }

    .market-category-caret {
        position: absolute;
        right: 7px;
        margin: 0;
        font-size: 0.78rem;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        box-sizing: border-box;
        height: 43px;
        min-height: 43px;
        justify-content: center;
        gap: 0;
        padding-inline: 20px;
        font-size: 0.72rem;
        font-weight: 850;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) .market-nav-symbol {
        position: absolute;
        left: 4px;
        width: 19px;
        height: 19px;
        flex-basis: 19px;
        border-radius: 7px;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) .market-nav-symbol > .ui-icon {
        width: 14px;
        height: 14px;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) .market-nav-label {
        display: block;
        width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.1;
    }
}

@media (max-width: 360px) {
    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        height: 38px;
        min-height: 38px;
    }

    .market-category-trigger {
        font-size: 0.64rem;
    }

    .market-category-trigger > svg {
        left: 4px;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) .market-nav-symbol {
        left: 4px;
        transform: none;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        font-size: 0.64rem;
    }

    .market-category-trigger:hover > svg,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals):hover .market-nav-symbol.is-market {
        transform: rotate(-5deg) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-category-trigger,
    .market-category-trigger::after,
    .market-category-trigger > svg,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals),
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals)::after,
    .market-nav-link:not(.market-nav-deals) .market-nav-symbol.is-market {
        transition: none;
    }
}

.market-category-dialog {
    border-color: rgba(168, 177, 226, 0.24);
    background:
        radial-gradient(ellipse at 0 0, rgba(139, 115, 244, 0.12), transparent 42%),
        radial-gradient(ellipse at 100% 0, rgba(87, 150, 237, 0.08), transparent 38%),
        linear-gradient(145deg, #15192b, #1a2035 58%, #171d2d);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62), 0 0 42px rgba(104, 100, 255, 0.08);
}

.market-category-dialog::before {
    position: absolute;
    z-index: 0;
    inset: -35%;
    background:
        radial-gradient(ellipse at 18% 22%, rgba(139, 102, 255, 0.12), transparent 38%),
        radial-gradient(ellipse at 82% 15%, rgba(87, 150, 237, 0.07), transparent 34%);
    content: "";
    pointer-events: none;
    animation: category-ambient 12s ease-in-out infinite alternate;
}

.market-category-dialog[open] {
    animation: category-dialog-enter 320ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.market-category-dialog[open]::backdrop {
    animation: category-backdrop-enter 260ms ease-out both;
}

.market-category-dialog-shell {
    z-index: 1;
}

.market-category-dialog-heading h2 {
    width: fit-content;
    background: linear-gradient(100deg, #ffffff 8%, #c6b8ff 58%, #a9bbff 100%);
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.market-category-dialog-kicker {
    color: #bdb5ff;
    text-shadow: 0 0 18px rgba(139, 115, 244, 0.16);
}

.market-category-dialog-close {
    border-color: rgba(179, 183, 255, 0.22);
    background: linear-gradient(145deg, rgba(124, 112, 190, 0.2), rgba(56, 71, 108, 0.35));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.09);
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.market-category-dialog-close:hover {
    transform: rotate(90deg) scale(1.04);
    border-color: rgba(189, 180, 255, 0.5);
    background: linear-gradient(145deg, rgba(139, 105, 255, 0.35), rgba(59, 126, 212, 0.35));
    box-shadow: 0 0 20px rgba(118, 100, 255, 0.2);
}

.market-category-search {
    border-color: rgba(157, 166, 220, 0.22);
    border-radius: 14px;
    background: linear-gradient(115deg, rgba(28, 35, 57, 0.96), rgba(33, 38, 59, 0.92));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.market-category-search:focus-within {
    transform: translateY(-1px);
    border-color: rgba(153, 139, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(123, 105, 255, 0.15), 0 8px 24px rgba(60, 67, 159, 0.16);
}

.market-category-search svg {
    color: #a9a7f8;
}

.market-category-all-link {
    border-color: rgba(135, 155, 255, 0.35);
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(107, 86, 211, 0.17), rgba(56, 111, 190, 0.15));
    color: #d3d8ff;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.market-category-all-link:hover {
    transform: translateY(-1px);
    border-color: rgba(168, 177, 255, 0.66);
    background: linear-gradient(120deg, rgba(126, 98, 244, 0.32), rgba(54, 138, 218, 0.3));
    box-shadow: 0 7px 20px rgba(78, 91, 196, 0.17);
}

.market-category-dialog-grid {
    scrollbar-color: #7771c4 rgba(255, 255, 255, 0.04);
}

.market-category-dialog-card {
    --category-accent: 145, 125, 255;
    border-color: rgba(var(--category-accent), 0.19);
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 0 0, rgba(var(--category-accent), 0.08), transparent 72%),
        linear-gradient(145deg, rgba(39, 45, 67, 0.94), rgba(27, 33, 51, 0.96));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.market-category-dialog-card:nth-child(3n + 1) { --category-accent: 139, 115, 244; }
.market-category-dialog-card:nth-child(3n + 2) { --category-accent: 108, 112, 237; }
.market-category-dialog-card:nth-child(3n) { --category-accent: 87, 150, 237; }

.market-category-dialog[open] .market-category-dialog-card:nth-child(1) { animation-delay: 20ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(2) { animation-delay: 40ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(3) { animation-delay: 60ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(4) { animation-delay: 80ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(5) { animation-delay: 100ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(6) { animation-delay: 120ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(7) { animation-delay: 140ms; }
.market-category-dialog[open] .market-category-dialog-card:nth-child(8) { animation-delay: 160ms; }

.market-category-dialog[open] .market-category-dialog-card {
    animation: category-card-enter 420ms cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}

.market-category-dialog-card:hover,
.market-category-dialog-card:focus-visible {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(var(--category-accent), 0.72);
    background:
        radial-gradient(ellipse at 0 0, rgba(var(--category-accent), 0.2), transparent 76%),
        linear-gradient(145deg, rgba(46, 54, 82, 0.98), rgba(28, 36, 60, 0.98));
    box-shadow: 0 10px 24px rgba(var(--category-accent), 0.12), inset 0 1px rgba(255, 255, 255, 0.08);
}

.market-category-dialog-card:focus-visible {
    outline: 2px solid rgba(var(--category-accent), 0.85);
    outline-offset: 2px;
}

.market-category-dialog-icon {
    border-color: rgba(var(--category-accent), 0.34);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(var(--category-accent), 0.26), rgba(25, 31, 48, 0.92));
    box-shadow: 0 5px 15px rgba(var(--category-accent), 0.12), inset 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.market-category-dialog-card:hover .market-category-dialog-icon {
    transform: scale(1.04);
    box-shadow: 0 7px 19px rgba(var(--category-accent), 0.18);
}

.market-category-dialog-name {
    display: -webkit-box;
    overflow: hidden;
    color: #eef0ff;
    font-size: 0.78rem;
    font-weight: 750;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.market-category-dialog-arrow {
    color: rgba(var(--category-accent), 0.95);
    transition: transform 180ms ease;
}

.market-category-dialog-card:hover .market-category-dialog-arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 620px) {
    .market-category-dialog {
        height: calc(100vh - 28px);
        height: calc(100dvh - 28px);
        max-height: calc(100vh - 28px);
        max-height: calc(100dvh - 28px);
    }

    .market-category-dialog-card {
        min-height: 68px;
        gap: 8px;
        padding: 8px;
    }

    .market-category-dialog-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .market-category-dialog-name {
        font-size: 0.68rem;
    }
}

.market-category-dialog-empty {
    color: #c6c7df;
}

@keyframes category-dialog-enter {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes category-backdrop-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes category-card-enter {
    from { opacity: 0; transform: translateY(9px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes category-ambient {
    from { transform: translate3d(-1%, -0.5%, 0) scale(1); }
    to { transform: translate3d(1%, 0.75%, 0) scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
    .market-category-dialog[open],
    .market-category-dialog[open]::backdrop,
    .market-category-dialog::before,
    .market-category-dialog[open] .market-category-dialog-card {
        animation: none;
    }

    .market-category-dialog-close,
    .market-category-search,
    .market-category-all-link,
    .market-category-dialog-card,
    .market-category-dialog-icon,
    .market-category-dialog-arrow {
        transition: none;
    }
}

@media (min-width: 901px) {
    .marketplace-nav {
        border-top-color: rgba(192, 198, 226, 0.08);
        border-bottom-color: rgba(139, 151, 208, 0.16);
        background: linear-gradient(180deg, rgba(35, 38, 49, 0.96), rgba(27, 29, 39, 0.98));
    }

    .marketplace-nav-inner {
        width: min(1680px, calc(100% - 40px));
        min-height: 76px;
        gap: 9px;
        padding-block: 12px;
    }

    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals),
    .market-nav-deals {
        min-height: 48px;
        border-radius: 15px;
    }

    .market-category-trigger {
        gap: 10px;
        padding-inline: 16px;
        font-size: 0.84rem;
        letter-spacing: 0.005em;
    }

    .market-quick-links {
        gap: 5px;
        padding: 4px;
        border: 1px solid rgba(198, 204, 230, 0.08);
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.025);
        box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
    }

    .market-quick-link {
        min-height: 46px;
        gap: 9px;
        padding-inline: 6px;
        border: 1px solid transparent;
        border-radius: 13px;
        color: #e4e7f1;
        font-size: 0.83rem;
        font-weight: 750;
        transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
    }

    .market-quick-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-color: rgba(221, 226, 246, 0.14);
        border-radius: 12px;
        box-shadow: 0 4px 11px rgba(5, 8, 17, 0.24), inset 0 1px rgba(255, 255, 255, 0.1);
        transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .market-quick-link:hover,
    .market-quick-link.is-current {
        transform: translateY(-1px);
        border-color: rgba(168, 177, 229, 0.17);
        background: rgba(129, 139, 193, 0.12);
        color: #fff;
    }

    .market-quick-link:hover .market-quick-icon,
    .market-quick-link.is-current .market-quick-icon {
        transform: scale(1.035);
        border-color: rgba(208, 213, 255, 0.34);
        box-shadow: 0 6px 15px rgba(5, 8, 17, 0.3), inset 0 1px rgba(255, 255, 255, 0.13);
    }

    .market-quick-link:focus-visible {
        outline: 2px solid rgba(172, 190, 255, 0.8);
        outline-offset: 2px;
    }

    .market-quick-icon img {
        image-rendering: auto;
    }

    .market-quick-icon svg {
        width: 21px;
        height: 21px;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    }

    .market-nav-link {
        min-height: 48px;
        gap: 8px;
        padding-inline: 10px;
        font-size: 0.8rem;
    }

    .market-nav-symbol {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        padding-inline: 11px;
        font-size: 0.82rem;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) .market-nav-symbol {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
    }

    .marketplace-nav-inner > .market-nav-chat {
        background: linear-gradient(120deg, #665bd2, #5149ad);
        border-color: rgba(199, 193, 255, 0.34);
    }

    .market-nav-chat .market-nav-symbol.is-chat {
        border-color: rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.16);
    }

    .market-nav-deals {
        gap: 8px;
        padding-inline: 9px;
        font-size: 0.82rem;
    }

    .market-nav-deals .market-nav-symbol {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .market-nav-actions {
        gap: 9px;
    }

    .market-action-button {
        min-height: 48px;
        gap: 8px;
        padding-inline: 14px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 15px;
        font-size: 0.8rem;
        box-shadow: 0 7px 17px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.2);
    }

    .market-action-button.is-add {
        background: linear-gradient(135deg, #ffd166, #f8ad25);
        color: #2b2414;
    }

    .market-action-button.is-wallet {
        min-height: 48px;
        gap: 8px;
        padding: 4px 12px;
        background: linear-gradient(135deg, #27d6a1, #12b981);
        color: #062d22;
    }

    .market-action-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 10px;
    }

    .market-action-copy strong {
        font-size: 0.78rem;
    }

    .market-action-copy small {
        font-size: 0.59rem;
    }

    .market-action-button:hover {
        transform: translateY(-2px);
        filter: brightness(1.04) saturate(1.04);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.24);
    }

    .market-action-button:focus-visible {
        outline: 3px solid rgba(211, 221, 255, 0.85);
        outline-offset: 3px;
    }
}

@media (min-width: 1241px) {
    .marketplace-nav-inner {
        gap: 7px;
    }

    .market-quick-links {
        gap: 3px;
        padding: 3px;
    }

    .market-quick-link {
        gap: 7px;
        padding-inline: 3px;
        font-size: 0.83rem;
    }

    .market-quick-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

@media (min-width: 901px) and (max-width: 1450px) {
    .marketplace-nav-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .market-nav-actions {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .market-home-shortcut,
    .market-home-shortcut::before,
    .market-home-shortcut-mark,
    .market-home-shortcut-arrow {
        animation: none;
        transition: none;
    }

    .market-home-shortcut:hover {
        transform: none;
    }

    .market-quick-link,
    .market-quick-icon,
    .market-action-button,
    .marketplace-auth-button {
        transition: none;
    }

    .marketplace-auth-button:hover {
        transform: none;
    }
}

@media (min-width: 901px) {
    .market-nav-deals {
        min-height: 48px;
        gap: 8px;
        padding-inline: 10px;
        border: 1px solid rgba(83, 218, 172, 0.24);
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(22, 91, 69, 0.92), rgba(24, 62, 54, 0.96));
        box-shadow: 0 7px 18px rgba(9, 52, 39, 0.2), inset 0 1px rgba(255, 255, 255, 0.09);
        color: #e2fff4;
        font-weight: 800;
        transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    .market-nav-deals .market-nav-symbol.is-gift {
        border-color: rgba(136, 255, 208, 0.22);
        background: rgba(58, 211, 157, 0.16);
        color: #8affcf;
    }

    .market-nav-deals:hover {
        transform: translateY(-2px);
        border-color: rgba(113, 245, 196, 0.48);
        background: linear-gradient(135deg, rgba(27, 119, 88, 0.98), rgba(26, 78, 64, 0.98));
        box-shadow: 0 10px 24px rgba(10, 79, 56, 0.3), inset 0 1px rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    .market-nav-deals:focus-visible {
        outline: 3px solid rgba(117, 244, 194, 0.75);
        outline-offset: 3px;
    }

    .marketplace-nav-inner > .market-nav-link.market-nav-chat {
        background: linear-gradient(125deg, #287fe0, #644edb 92%);
        border-color: rgba(174, 218, 255, 0.42);
        box-shadow: 0 8px 22px rgba(69, 91, 220, 0.3), inset 0 1px rgba(255, 255, 255, 0.22);
    }

    .marketplace-nav-inner > .market-nav-link.market-nav-chat:hover,
    .marketplace-nav-inner > .market-nav-link.market-nav-chat.is-current {
        background: linear-gradient(125deg, #3299ed, #765be9 92%);
        box-shadow: 0 10px 28px rgba(82, 102, 235, 0.4), inset 0 1px rgba(255, 255, 255, 0.28);
    }

    .market-nav-chat .market-nav-symbol.is-chat {
        position: relative;
        isolation: isolate;
        overflow: visible;
        border-color: rgba(255, 255, 255, 0.26);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
        color: #fff;
        box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
    }

    .market-nav-chat .market-nav-symbol.is-chat::before {
        position: absolute;
        z-index: 0;
        inset: -5px;
        border: 2px solid rgba(130, 255, 231, 0.18);
        border-top-color: #82ffe9;
        border-right-color: #a18bff;
        border-bottom-color: rgba(130, 255, 231, 0.72);
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(80, 239, 211, 0.34);
        content: "";
        pointer-events: none;
        animation: market-chat-orbit 3.4s linear infinite;
    }

    .market-nav-chat .market-nav-symbol.is-chat::after {
        position: absolute;
        z-index: 2;
        top: -3px;
        right: -3px;
        width: 7px;
        height: 7px;
        border: 1px solid #d5fff4;
        border-radius: 50%;
        background: #64f3c1;
        box-shadow: 0 0 0 0 rgba(100, 243, 193, 0.55), 0 0 10px rgba(100, 243, 193, 0.9);
        content: "";
        animation: market-chat-live 1.8s ease-out infinite;
    }

    .market-nav-chat .market-nav-symbol.is-chat > .ui-icon {
        position: relative;
        z-index: 1;
    }
}

@keyframes market-chat-orbit {
    to { transform: rotate(360deg); }
}

@keyframes market-chat-live {
    0% { box-shadow: 0 0 0 0 rgba(100, 243, 193, 0.55), 0 0 10px rgba(100, 243, 193, 0.9); }
    70% { box-shadow: 0 0 0 6px rgba(100, 243, 193, 0), 0 0 11px rgba(100, 243, 193, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(100, 243, 193, 0), 0 0 10px rgba(100, 243, 193, 0.9); }
}

@media (prefers-reduced-motion: reduce) {
    .market-nav-chat .market-nav-symbol.is-chat::before,
    .market-nav-chat .market-nav-symbol.is-chat::after {
        animation: none;
    }
}

@media (min-width: 769px) {
    .marketplace-nav-inner {
        justify-content: center;
    }

    .market-nav-actions {
        margin-left: 0;
    }

    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link,
    .market-action-button {
        box-sizing: border-box;
        width: 10.75rem;
        min-width: 10.75rem;
        height: 48px;
        min-height: 48px;
        flex: 0 0 10.75rem;
        justify-content: center;
    }

    .market-quick-links {
        box-sizing: border-box;
        height: 48px;
        padding-block: 2px;
    }

    .market-quick-link {
        height: 42px;
        min-height: 42px;
    }

    .market-quick-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .market-action-button.is-wallet {
        min-height: 48px;
        padding-inline: 8px;
    }
}

@media (min-width: 1451px) and (max-width: 1587px) {
    .marketplace-nav-inner {
        flex-wrap: wrap;
    }
}

@media (min-width: 1588px) {
    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link,
    .market-action-button {
        width: 10.5rem;
        min-width: 10.5rem;
        flex: 0 0 10.5rem;
    }
}

@media (min-width: 769px) {
    .marketplace-nav-inner {
        display: flex;
        flex-wrap: nowrap;
        justify-content: stretch;
        gap: clamp(4px, 0.55vw, 9px);
    }

    .market-category-menu {
        min-width: 0;
        flex: 0 1 clamp(84px, 12vw, 172px);
    }

    .market-category-trigger {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        gap: clamp(3px, 0.55vw, 9px);
        padding-inline: clamp(5px, 0.8vw, 14px);
        font-size: clamp(0.55rem, 0.68vw, 0.82rem);
    }

    .market-category-trigger > svg {
        width: clamp(14px, 1.35vw, 19px);
        height: clamp(14px, 1.35vw, 19px);
        flex: 0 0 auto;
    }

    .market-quick-links {
        display: flex;
        width: auto;
        min-width: 0;
        height: 48px;
        flex: 1 1 0;
        flex-wrap: nowrap;
        gap: clamp(2px, 0.3vw, 5px);
        padding: 2px;
        overflow: hidden;
    }

    .market-quick-link {
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        height: 42px;
        min-height: 42px;
        flex: 1 1 0;
        gap: clamp(2px, 0.35vw, 7px);
        padding-inline: clamp(2px, 0.38vw, 6px);
        font-size: clamp(0.5rem, 0.62vw, 0.78rem);
    }

    .market-quick-icon {
        width: clamp(20px, 2.75vw, 38px);
        height: clamp(20px, 2.75vw, 38px);
        flex: 0 1 clamp(20px, 2.75vw, 38px);
    }

    .market-quick-link > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .marketplace-nav-inner > .market-nav-link {
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        min-height: 44px;
        flex: 0 1 clamp(68px, 10vw, 150px);
        gap: clamp(3px, 0.5vw, 8px);
        padding-inline: clamp(4px, 0.65vw, 10px);
        font-size: clamp(0.52rem, 0.66vw, 0.8rem);
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        width: auto;
        min-width: 0;
        flex: 0 1 clamp(44px, 10vw, 150px);
    }

    .marketplace-nav-inner > .market-nav-link.market-nav-deals {
        min-width: 0;
        flex: 0 1 clamp(72px, 10vw, 150px);
    }

    .marketplace-nav-inner > .market-nav-link .market-nav-symbol {
        width: clamp(22px, 2.75vw, 38px);
        height: clamp(22px, 2.75vw, 38px);
        flex: 0 1 clamp(22px, 2.75vw, 38px);
    }

    .market-nav-actions {
        min-width: 0;
        flex: 0 1 auto;
    }

    .market-action-button {
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        min-height: 44px;
        flex: 0 1 auto;
    }
}

@media (min-width: 769px) and (max-width: 1450px) {
    .market-nav-actions {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        flex: 0 0 42px;
        padding-inline: 4px;
    }

    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) .market-nav-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header.is-homepage .marketplace-nav .marketplace-nav-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 8px;
    }

    .site-header.is-homepage .marketplace-nav .marketplace-nav-inner > .market-nav-link.market-nav-epin {
        grid-column: 2;
        grid-row: 1;
    }

    .site-header.is-homepage .marketplace-nav .market-category-menu,
    .site-header.is-homepage .marketplace-nav .market-nav-link.market-nav-epin,
    .site-header.is-homepage .marketplace-nav .market-category-trigger {
        width: 100%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
    }

    .site-header.is-homepage .marketplace-nav .market-category-trigger,
    .site-header.is-homepage .marketplace-nav .market-nav-link.market-nav-epin {
        height: 40px;
        min-height: 40px;
        justify-content: center;
    }
}

.marketplace-nav-inner > .market-nav-link.market-nav-epin {
    border-color: rgba(165, 157, 255, 0.38);
    background: linear-gradient(120deg, #7858d9 0%, #586ee5 100%);
    box-shadow: 0 8px 20px rgba(89, 77, 196, 0.24), inset 0 1px rgba(255, 255, 255, 0.18);
}

.marketplace-nav-inner > .market-nav-link.market-nav-epin .market-nav-symbol.is-gift {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.16);
    color: #e8e9ff;
}

.marketplace-nav-inner > .market-nav-link.market-nav-epin:hover,
.marketplace-nav-inner > .market-nav-link.market-nav-epin.is-current {
    border-color: rgba(208, 206, 255, 0.62);
    background: linear-gradient(120deg, #8868ed 0%, #637cf5 100%);
    box-shadow: 0 12px 26px rgba(91, 82, 232, 0.32), inset 0 1px rgba(255, 255, 255, 0.24);
}

@media (min-width: 901px) {
    .marketplace-nav-inner > .market-nav-link.market-nav-epin {
        min-width: clamp(146px, 12vw, 172px);
        flex: 0 0 clamp(146px, 12vw, 172px);
        gap: 8px;
        padding-inline: 12px;
        font-size: clamp(0.7rem, 0.72vw, 0.82rem);
    }
}

.epin-campaign-ribbon {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    width: min(1680px, calc(100% - 40px));
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    margin: 10px auto 0;
    padding: 7px 16px;
    border: 1px solid rgba(255, 202, 117, 0.25);
    border-radius: 13px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(255, 185, 87, 0.13), transparent 68%),
        linear-gradient(110deg, rgba(65, 43, 35, 0.72), rgba(37, 34, 43, 0.94) 52%, rgba(61, 43, 35, 0.72));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 7px 20px rgba(0, 0, 0, 0.14);
    color: #fff5e4;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.epin-campaign-ribbon::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 223, 165, 0.85), transparent);
    content: "";
}

.epin-campaign-ribbon::after {
    position: absolute;
    z-index: 0;
    top: -50%;
    bottom: -50%;
    left: -35%;
    width: 20%;
    transform: skewX(-24deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
    animation: epin-campaign-shine 6s ease-in-out infinite;
    content: "";
    pointer-events: none;
}

.epin-campaign-ribbon:hover,
.epin-campaign-ribbon:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 218, 157, 0.48);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 194, 106, 0.08);
}

.epin-campaign-ribbon:focus-visible {
    outline: 2px solid #ffd28b;
    outline-offset: 3px;
}

.epin-campaign-ribbon__badge,
.epin-campaign-ribbon__message,
.epin-campaign-ribbon__arrow,
.epin-campaign-ribbon__brand {
    position: relative;
    z-index: 1;
}

.epin-campaign-ribbon__brand {
    display: flex;
    height: 28px;
    align-items: center;
    gap: 9px;
}

.epin-campaign-ribbon__brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.epin-campaign-ribbon__badge {
    padding: 5px 9px;
    border: 1px solid rgba(255, 219, 164, 0.25);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffdb9c, #f3ad54);
    box-shadow: 0 3px 10px rgba(238, 157, 66, 0.18);
    color: #392414;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    white-space: nowrap;
}

.epin-campaign-ribbon__message {
    justify-self: center;
    max-width: 620px;
    font-size: 0.81rem;
    font-weight: 750;
    letter-spacing: 0.005em;
    line-height: 1.4;
    text-align: center;
}

.epin-campaign-ribbon__message-mobile {
    display: none;
}

.epin-campaign-ribbon__arrow {
    justify-self: end;
    color: #ffd28b;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 180ms ease;
}

.epin-campaign-ribbon:hover .epin-campaign-ribbon__arrow {
    transform: translateX(3px);
}

@keyframes epin-campaign-shine {
    0%, 62% { transform: translateX(0) skewX(-24deg); }
    100% { transform: translateX(720%) skewX(-24deg); }
}

html[data-theme="light"] .epin-campaign-ribbon {
    border-color: rgba(166, 112, 42, 0.22);
    background:
        radial-gradient(ellipse at 50% 0, rgba(255, 185, 87, 0.17), transparent 68%),
        linear-gradient(110deg, #fff7e9, #fffaf1 52%, #fff5e5);
    color: #47321e;
}

html[data-theme="light"] .epin-campaign-ribbon__badge {
    border-color: rgba(166, 112, 42, 0.17);
}

html[data-theme="light"] .epin-campaign-ribbon__arrow {
    color: #a76620;
}

@media (max-width: 560px) {
    .epin-campaign-ribbon {
        display: flex;
        flex-wrap: nowrap;
        grid-template-columns: none;
        width: 100vw;
        height: 48px;
        min-height: 48px;
        justify-content: stretch;
        gap: 8px;
        margin-top: 8px;
        margin-right: calc((100vw - 100%) / -2);
        margin-left: calc((100vw - 100%) / -2);
        padding: 7px 12px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .epin-campaign-ribbon__brand {
        gap: 6px;
        flex: 0 0 auto;
    }

    .epin-campaign-ribbon__brand img {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .epin-campaign-ribbon__badge {
        padding: 5px 6px;
        font-size: 0.56rem;
    }

    .epin-campaign-ribbon__message {
        min-width: 0;
        flex: 1 1 auto;
        overflow: visible;
        font-size: 0.68rem;
        line-height: 1.22;
        text-align: left;
        text-overflow: clip;
        white-space: normal;
    }

    .epin-campaign-ribbon__message-desktop {
        display: none;
    }

    .epin-campaign-ribbon__message-mobile {
        display: inline;
    }

    .epin-campaign-ribbon__arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .epin-campaign-ribbon,
    .epin-campaign-ribbon__arrow {
        transition: none;
    }

    .epin-campaign-ribbon::after {
        animation: none;
    }
}

@media (max-width: 768px) {
    .epin-campaign-ribbon {
        width: calc(100% - 24px);
        height: 34px;
        min-height: 34px;
        margin: 6px auto 0;
        padding: 4px 10px;
        border-right: 1px solid rgba(255, 202, 117, 0.22);
        border-left: 1px solid rgba(255, 202, 117, 0.22);
        border-radius: 8px;
        gap: 7px;
    }

    .epin-campaign-ribbon__brand {
        height: 24px;
    }

    .epin-campaign-ribbon__brand img {
        display: none;
    }

    .epin-campaign-ribbon__badge {
        padding: 4px 7px;
        font-size: 0.56rem;
    }

    .epin-campaign-ribbon__message {
        font-size: 0.62rem;
        line-height: 1.15;
        text-align: left;
    }

    .site-header.is-homepage .marketplace-nav .marketplace-nav-inner {
        min-height: 52px;
        column-gap: 8px;
        row-gap: 0;
        padding: 6px 12px;
    }

    .site-header.is-homepage .marketplace-nav .market-category-trigger,
    .site-header.is-homepage .marketplace-nav .market-nav-link.market-nav-epin {
        height: 40px;
        min-height: 40px;
    }

    .market-category-trigger,
    .marketplace-nav-inner > .market-nav-link:not(.market-nav-deals) {
        border-radius: 10px;
    }
}

@media (min-width: 1025px) {
    .marketplace-nav-inner > .market-nav-deals,
    .marketplace-nav-inner > .market-nav-actions {
        display: none;
    }

    .marketplace-nav-inner > .market-nav-link.market-nav-chat {
        box-sizing: border-box;
        width: clamp(146px, 12vw, 172px);
        min-width: clamp(146px, 12vw, 172px);
        height: 48px;
        min-height: 48px;
        flex: 0 0 clamp(146px, 12vw, 172px);
        gap: 8px;
        margin-left: auto;
        padding: 0 12px;
        border: 1px solid rgba(160, 237, 215, 0.32);
        border-radius: 14px;
        background: linear-gradient(120deg, #246e68, #287d8a);
        box-shadow: 0 6px 16px rgba(30, 119, 111, 0.18), inset 0 1px rgba(255, 255, 255, 0.12);
        color: #f0fffa;
        font-size: clamp(0.7rem, 0.72vw, 0.82rem);
        transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .marketplace-nav-inner > .market-nav-link.market-nav-chat::after,
    .market-nav-chat .market-nav-symbol.is-chat::before,
    .market-nav-chat .market-nav-symbol.is-chat::after {
        display: none;
        animation: none;
    }

    .market-nav-chat .market-nav-symbol.is-chat {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        border: 1px solid rgba(182, 247, 226, 0.26);
        border-radius: 11px;
        background: rgba(131, 224, 197, 0.14);
        box-shadow: none;
        color: #c4f6e5;
    }

    .market-nav-chat .market-nav-symbol.is-chat > .ui-icon {
        width: 19px;
        height: 19px;
    }

    .marketplace-nav-inner > .market-nav-link.market-nav-chat:hover,
    .marketplace-nav-inner > .market-nav-link.market-nav-chat.is-current {
        transform: translateY(-1px);
        border-color: rgba(182, 247, 226, 0.45);
        background: linear-gradient(120deg, #2d8077, #318b98);
        box-shadow: 0 8px 18px rgba(30, 119, 111, 0.23), inset 0 1px rgba(255, 255, 255, 0.16);
        color: #fff;
        filter: none;
    }

    html[data-theme="light"] .marketplace-nav-inner > .market-nav-link.market-nav-chat {
        border-color: rgba(31, 123, 108, 0.24);
        background: linear-gradient(120deg, #e2f2ed, #dceef0);
        box-shadow: inset 0 1px #fff;
        color: #285d56;
    }

    html[data-theme="light"] .market-nav-chat .market-nav-symbol.is-chat {
        border-color: rgba(31, 123, 108, 0.2);
        background: rgba(59, 157, 133, 0.09);
        color: #30796d;
    }

    html[data-theme="light"] .marketplace-nav-inner > .market-nav-link.market-nav-chat:hover,
    html[data-theme="light"] .marketplace-nav-inner > .market-nav-link.market-nav-chat.is-current {
        border-color: rgba(31, 123, 108, 0.32);
        background: linear-gradient(120deg, #d7ebe5, #d1e8eb);
        color: #204f49;
    }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
    .marketplace-nav-inner > .market-nav-link.market-nav-chat,
    .marketplace-nav-inner > .market-nav-link.market-nav-chat:hover {
        transition: none;
        transform: none;
    }
}

@media (max-width: 640px) {
    .market-topbar-actions {
        display: none;
    }
}
