:root {
    --page: #111210;
    --surface-lowest: #110e06;
    --surface-low: #1e1b12;
    --surface: #161715;
    --surface-high: #2d2a20;
    --panel-raised: #252624;
    --panel-hover: #2b2c29;
    --control: #2a2b29;
    --control-hover: #323330;
    --line: #3a3b37;
    --line-soft: #2d2e2b;
    --text: #e9e2d2;
    --text-soft: #c7c6bf;
    --text-muted: #c8cbbf;
    --text-faint: #6d6e68;
    --primary: #ffffff;
    --accent: #ffc533;
    --accent-dim: #e6c430;
    --accent-ink: #221b00;
    --success: #55b657;
    --warning: #d6a84c;
    --danger: #c87861;
    --scrollbar-track: #181916;
    --scrollbar-track-soft: #22231f;
    --scrollbar-thumb: #d7b936;
    --scrollbar-thumb-hover: #f6d33f;
    --container: 1440px;
    --gutter: 24px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.06)),
        var(--scrollbar-track);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

*::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 3px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(180deg, var(--scrollbar-thumb-hover), var(--scrollbar-thumb)) padding-box,
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.18)) border-box;
}

*::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg, #ffe15f, var(--scrollbar-thumb-hover)) padding-box,
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(0, 0, 0, 0.2)) border-box;
}

*::-webkit-scrollbar-corner {
    background: var(--scrollbar-track-soft);
}

body[data-route="game"] .latest-home-main {
    width: 100%;
    padding: 0;
}

body[data-route="game"] .latest-home-main--static-page {
    padding-bottom: 0;
}

body[data-route="game"] .latest-home-header {
    height: 70px;
    background: transparent;
    transition: background 160ms ease;
}

body[data-route="game"] .latest-home-header__primary,
body[data-route="game"] .latest-home-header__utility {
    background: transparent;
    transition: background 160ms ease;
}

body[data-route="game"].is-game-header-scrolled .latest-home-header,
body[data-route="game"].is-game-header-scrolled .latest-home-header__primary,
body[data-route="game"].is-game-header-scrolled .latest-home-header__utility {
    background: var(--page);
}

body[data-route="game"] .latest-home-header__utility {
    border-top: 0;
}

body[data-route="game"] .app-footer--guest {
    margin-top: 0;
}

.game-market-page--stitch {
    width: 100%;
    display: grid;
    gap: 0;
    margin: 0;
    background: var(--page);
}

.game-market-stitch-hero {
    position: relative;
    overflow: visible;
    border-bottom: 0;
    background: var(--surface-lowest);
}

.game-market-stitch-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.game-market-stitch-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 18, 16, 0.04) 0%, rgba(17, 18, 16, 0.14) 34%, rgba(17, 18, 16, 0.48) 62%, rgba(17, 18, 16, 0.86) 84%, #111210 100%), linear-gradient(90deg, rgba(17, 18, 16, 0.82) 0%, rgba(17, 18, 16, 0.18) 48%, rgba(17, 18, 16, 0.34) 100%);
}

.game-market-stitch-hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 146px 40px 82px;
}

.game-market-stitch-hero__bar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 24px;
}

.game-market-stitch-hero__heading {
    min-width: 0;
}

.game-market-stitch-hero__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.game-market-stitch-hero__title-row h1 {
    min-width: 0;
}

.game-market-stitch-hero h1 {
    margin: 0;
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

.game-market-mobile-badges {
    display: none;
}

.market-watch-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.market-watch-action {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(17, 18, 16, 0.9);
    color: var(--text);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    transition: transform 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.market-watch-action:hover {
    transform: translateY(-1px);
}

.market-watch-action .material-symbols-outlined {
    font-size: 22px;
}

.market-watch-action svg {
    width: 24px;
    height: 24px;
    display: block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.market-watch-action__label {
    display: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.market-watch-action__sr-only {
    position: absolute;
}

.market-watch-action--watch.is-active {
    border-color: rgba(246, 211, 63, 0.72);
    background: var(--accent);
    color: #000000;
}

.market-watch-action--hero {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.market-watch-actions--hero {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
}

.market-watch-action--hero .material-symbols-outlined {
    font-size: 12px;
}

.market-watch-action--hero svg {
    width: 14px;
    height: 14px;
}

.market-watch-action--hero .market-watch-action__label {
    display: none;
}

.market-watch-actions--sidebar {
    gap: 10px;
}

.market-watch-action--sidebar {
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    flex-basis: 46px;
    box-shadow: none;
}

.market-watch-action--sidebar .material-symbols-outlined {
    font-size: 24px;
}

.market-watch-action[disabled],
.market-watch-action[aria-busy="true"] {
    opacity: 0.72;
    pointer-events: none;
}

.listing-order-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.listing-order-card__head h2 {
    margin: 0;
}

.game-market-stitch-tabs {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 40px;
    border: 0;
}

.game-market-stitch-tabs__list,
.game-market-stitch-filters {
    display: flex;
    align-items: center;
    gap: 18px;
}

.game-market-stitch-tabs__list {
    min-width: 0;
}

.game-market-stitch-tabs__list a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.game-market-stitch-tabs__list a.is-active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.game-market-stitch-tabs__list span {
    min-width: 24px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.game-market-stitch-tabs__list a.is-active span {
    background: rgba(246, 211, 63, 0.12);
    color: var(--primary);
}

.game-market-stitch-filters {
    gap: 10px;
}

.game-market-stitch-filter-trigger {
    display: none;
}

.game-market-filter {
    position: relative;
    min-width: 102px;
}

.game-market-filter--sort {
    min-width: 152px;
}

.game-market-filter__toggle {
    width: 100%;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.game-market-filter__toggle:hover,
.game-market-filter.is-open .game-market-filter__toggle {
    border-color: rgba(246, 211, 63, 0.24);
    background: rgba(255, 255, 255, 0.07);
}

.game-market-filter__toggle .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--text-faint);
    font-size: 16px;
    transition: transform 150ms ease;
}

.game-market-filter.is-open .game-market-filter__toggle .material-symbols-outlined:last-child {
    transform: rotate(180deg);
}

.game-market-filter__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 80;
    min-width: 180px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-raised);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

.game-market-filter__menu--right {
    right: 0;
    left: auto;
}

.game-market-filter__menu a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.game-market-filter__menu a:hover,
.game-market-filter__menu a.is-active {
    background: var(--surface-high);
    color: var(--accent-dim);
}

.game-market-stitch-results {
    padding-top: 18px;
}

.game-market-stitch-mobile-tabs,
.game-market-stitch-mobile-search,
.game-market-mobile-filter-chips,
.game-market-mobile-filter-sheet,
.game-market-stitch-mobile-list {
    display: none;
}

.game-market-stitch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 28px;
}

.game-market-stitch-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    background: #2a2a27;
}

.game-market-stitch-card__media {
    position: relative;
    height: 126px;
    display: block;
    overflow: hidden;
}

.game-market-stitch-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-market-stitch-card__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 7px;
    border: 1px solid rgba(85, 182, 87, 0.3);
    border-radius: 999px;
    background: rgba(85, 182, 87, 0.16);
    color: var(--success);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.game-market-stitch-card:nth-child(2) .game-market-stitch-card__tag {
    border-color: var(--line);
    background: var(--secondary-container);
    color: var(--text-soft);
}

.game-market-stitch-card:nth-child(3) .game-market-stitch-card__tag {
    border-color: rgba(214, 168, 76, 0.3);
    background: rgba(214, 168, 76, 0.16);
    color: var(--warning);
}

.game-market-stitch-card__seller {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    font-size: 10px;
    font-weight: 600;
}

.game-market-stitch-card__seller .material-symbols-outlined {
    color: var(--accent);
    font-size: 12px;
}

.game-market-stitch-card__body {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    padding: 10px 12px 12px;
}

.game-market-stitch-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-faint);
    font-size: 11px;
}

.game-market-stitch-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.game-market-stitch-card__meta .material-symbols-outlined {
    font-size: 13px;
}

.game-market-stitch-card__meta .is-filled {
    color: var(--warning);
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.game-market-stitch-card h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.game-market-stitch-card h2 a:hover {
    color: var(--primary);
}

.game-market-stitch-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
}

.game-market-stitch-card__bottom span {
    display: block;
    margin-bottom: 3px;
    color: var(--text-faint);
    font-size: 10px;
    text-transform: uppercase;
}

.game-market-stitch-card__bottom strong {
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.game-market-stitch-card__bottom a {
    min-width: 68px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.game-market-stitch-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 20px;
}

.game-market-stitch-pagination a,
.game-market-stitch-pagination strong,
.game-market-stitch-pagination>.material-symbols-outlined {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-raised);
    color: var(--text-muted);
    font-size: 11px;
}

.game-market-stitch-pagination strong {
    border-color: var(--accent);
    background: rgba(246, 211, 63, 0.1);
    color: var(--accent);
}

.game-market-stitch-empty {
    margin: 0 40px;
    min-height: 0;
    align-content: center;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.game-market-stitch-empty p {
    max-width: 420px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.game-market-empty__reset {
    min-width: 132px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1180px) {
    body[data-route="game"] .latest-home-header__primary {
        gap: 50px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .latest-home-logo img {
        height: 26px;
    }

    body[data-route="game"] .latest-home-search--header {
        width: auto;
        grid-template-columns: max-content minmax(0, 1fr) 54px;
        flex-basis: auto;
    }

    .latest-home-search__category-toggle,
.latest-home-search--header input,
.latest-home-search__submit,
.latest-home-auth-link {
        font-size: 12px;
    }

    body[data-route="game"] .latest-home-auth-link {
        min-height: 38px;
        max-width: 104px;
        padding-right: 14px;
        padding-left: 14px;
    }

    body[data-route="game"] .latest-home-header__desktop .latest-home-auth-link:not(.is-primary) {
        padding-right: 8px;
        padding-left: 8px;
    }

    .latest-home-header__desktop .latest-home-auth-link--guest {
        display: none;
    }

    .latest-home-header__desktop .latest-home-header__profile--desktop-compact {
        display: grid;
        flex: 0 0 40px;
    }

    .game-market-page--stitch {
        padding-top: 0;
    }

    .game-market-stitch-hero {
        height: 250px;
    }

    .game-market-stitch-hero__content {
        position: relative;
        padding: 0px 16px 80px;
    }

    .game-market-stitch-hero__bar {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .game-market-stitch-hero__heading {
        min-width: 0;
        padding-right: 0;
    }

    .game-market-mobile-badges {
        display: flex;
        gap: 8px;
        margin-bottom: 4px;
    }

    .game-market-mobile-badges span {
        padding: 3px 6px;
        border: 1px solid rgba(246, 211, 63, 0.2);
        border-radius: 3px;
        background: rgba(246, 211, 63, 0.1);
        color: var(--accent);
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .game-market-mobile-badges span+span {
        border-color: rgba(85, 182, 87, 0.2);
        background: rgba(85, 182, 87, 0.1);
        color: var(--success);
    }

    .game-market-stitch-hero h1 {
        margin: 0;
        color: var(--text);
        font-size: 24px;
    }

    .game-market-stitch-title-suffix {
        display: none;
    }

    .market-watch-actions--hero {
        position: static;
        display: flex;
        width: auto;
        min-width: 0;
        max-width: none;
        height: 28px;
        flex: 0 0 auto;
        gap: 8px;
        margin-top: 0;
    }

    .market-watch-action--hero {
        position: static;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        flex-basis: 28px;
        padding: 0;
        border-radius: 999px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    }

    .market-watch-action--hero .material-symbols-outlined {
        font-size: 12px;
    }

    .market-watch-action--hero svg {
        width: 14px;
        height: 14px;
    }

    .market-watch-action--hero .market-watch-action__label {
        display: none;
    }

    body[data-route="game"] .game-market-stitch-tabs {
        align-items: center;
        flex-direction: row;
        gap: 18px;
        padding: 0 16px 14px;
    }

    body[data-route="game"] .game-market-stitch-tabs__list {
        width: auto;
        flex: 1 1 auto;
        gap: 22px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    body[data-route="game"] .game-market-stitch-tabs__list::-webkit-scrollbar {
        display: none;
    }

    body[data-route="game"] .game-market-stitch-filters {
        display: none;
    }

    body[data-route="game"] .game-market-stitch-filter-trigger {
        height: 38px;
        width: 38px;
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--text);
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    body[data-route="game"] .game-market-stitch-filter-trigger .material-symbols-outlined {
        color: var(--text);
        font-size: 19px;
    }

    body[data-route="game"] .game-market-stitch-filter-trigger.is-open {
        color: var(--text);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet {
        position: fixed;
        inset: 0;
        z-index: 121;
        display: block;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet[hidden] {
        display: none !important;
    }

    body[data-route="game"].is-game-market-filter-open {
        overflow: hidden;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(0, 0, 0, 0.58);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__panel {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        max-height: min(78vh, 620px);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        border: 1px solid var(--line);
        border-bottom: 0;
        border-radius: 18px 18px 0 0;
        background: var(--panel-raised);
        box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.52);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__head {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        border-bottom: 1px solid var(--line-soft);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__head h2 {
        margin: 0;
        color: var(--text);
        font-size: 16px;
        font-weight: 800;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__head button {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--control);
        color: var(--text);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__head .material-symbols-outlined {
        font-size: 18px;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__section {
        display: grid;
        gap: 10px;
        padding: 14px 16px;
        border-bottom: 1px solid var(--line-soft);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__section h3 {
        margin: 0;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__section p {
        margin: 0;
        color: var(--text-faint);
        font-size: 12px;
        font-weight: 600;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    body[data-route="game"] .game-market-mobile-filter-option {
        position: relative;
        display: inline-flex;
    }

    body[data-route="game"] .game-market-mobile-filter-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    body[data-route="game"] .game-market-mobile-filter-option span {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--control);
        color: var(--text-soft);
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    body[data-route="game"] .game-market-mobile-filter-option input:checked+span {
        border-color: rgba(246, 211, 63, 0.68);
        background: rgba(246, 211, 63, 0.14);
        color: var(--accent);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
        gap: 10px;
        padding: 14px 16px max(14px, env(safe-area-inset-bottom));
        background: var(--panel-raised);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__footer a,
body[data-route="game"] .game-market-mobile-filter-sheet__footer button {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 800;
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__footer a {
        border: 1px solid var(--line);
        background: var(--control);
        color: var(--text);
    }

    body[data-route="game"] .game-market-mobile-filter-sheet__footer button {
        border: 1px solid var(--btn-primary-bg);
    }

    body[data-route="game"] .app-footer__source {
        width: min(calc(100% - 64px), var(--container));
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        text-align: center;
    }

    body[data-route="game"] .app-footer__source-meta,
body[data-route="game"] .app-footer__source-brand,
body[data-route="game"] .app-footer__source-actions {
        justify-self: center;
    }

    body[data-route="game"] .app-footer__source-meta {
        align-items: center;
    }

    body[data-route="game"] .app-footer__source-actions {
        justify-content: center;
        gap: 18px;
    }

}

@media (max-width: 1000px) {
    .game-market-stitch-tabs {
        align-items: flex-start;
        flex-direction: column;
    }

    .game-market-stitch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    body[data-route="game"] .latest-home-main {
        padding-top: 0;
    }

    body[data-route="game"] .app-footer--guest {
        display: none;
    }

    .game-market-page--stitch {
        width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

    .game-market-stitch-hero {
        height: 250px;
        border-bottom: 0;
    }

    .game-market-stitch-hero__media {
        background-position: center top;
    }

    .game-market-stitch-hero__content {
        position: relative;
        padding: 0 16px 64px;
    }

    .game-market-stitch-hero__shade {
        inset: 0 0 -2px;
        background:
            linear-gradient(0deg, rgba(17, 18, 16, 0.94) 0%, rgba(17, 18, 16, 0.72) 34%, rgba(17, 18, 16, 0.52) 68%, rgba(17, 18, 16, 0.5) 100%),
            linear-gradient(90deg, rgba(17, 18, 16, 0.28) 0%, rgba(17, 18, 16, 0.12) 100%);
    }

    .game-market-stitch-tabs--desktop,
.game-market-stitch-grid {
        display: none;
    }

    .game-market-stitch-hero__bar {
        display: flex;
    }

    .game-market-stitch-hero__heading {
        min-width: 0;
        padding-right: 0;
    }

    .game-market-mobile-badges {
        display: flex;
        gap: 8px;
        margin-bottom: 4px;
    }

    .game-market-mobile-badges span {
        padding: 3px 6px;
        border: 1px solid rgba(246, 211, 63, 0.2);
        border-radius: 3px;
        background: rgba(246, 211, 63, 0.1);
        color: var(--accent);
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .game-market-mobile-badges span+span {
        border-color: rgba(85, 182, 87, 0.2);
        background: rgba(85, 182, 87, 0.1);
        color: var(--success);
    }

    .game-market-stitch-hero h1 {
        margin: 0;
        color: var(--text);
        font-size: 24px;
    }

    .game-market-stitch-title-suffix {
        display: none;
    }

    .market-watch-actions--hero {
        position: static;
        display: flex;
        width: auto;
        min-width: 0;
        max-width: none;
        height: 28px;
        flex: 0 0 auto;
        gap: 8px;
        margin-top: 0;
    }

    .market-watch-action--hero {
        position: static;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        flex-basis: 28px;
        padding: 0;
        border-radius: 999px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    }

    .market-watch-action--hero .material-symbols-outlined {
        font-size: 12px;
    }

    .market-watch-action--hero svg {
        width: 14px;
        height: 14px;
    }

    .market-watch-action--hero .market-watch-action__label {
        display: none;
    }

    .game-market-stitch-mobile-tabs {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: flex;
        align-items: center;
        gap: 24px;
        overflow-x: auto;
        height: 48px;
        padding: 0 16px;
        background: linear-gradient(180deg, rgba(17, 18, 16, 0) 0%, rgba(17, 18, 16, 0.76) 100%);
        scrollbar-width: none;
    }

    .game-market-stitch-mobile-tabs::-webkit-scrollbar {
        display: none;
    }

    .game-market-stitch-mobile-tabs a {
        height: 100%;
        display: inline-flex;
        align-items: center;
        border-bottom: 2px solid transparent;
        color: var(--text-muted);
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

    .latest-home-notification-panel,
.latest-home-notification-panel--mobile {
        right: -8px;
        width: min(340px, calc(100vw - 24px));
    }

    .listing-order-card__head {
        align-items: flex-start;
    }

    .game-market-stitch-mobile-tabs a.is-active {
        border-bottom-color: var(--accent);
        color: var(--accent);
    }

    .game-market-stitch-mobile-search {
        position: relative;
        z-index: 35;
        display: none;
        gap: 8px;
        padding: 24px 16px 0;
    }

    .game-market-stitch-mobile-search label {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        height: 40px;
        display: flex;
        align-items: center;
    }

    .game-market-stitch-mobile-search label .material-symbols-outlined {
        position: absolute;
        left: 12px;
        color: var(--text-faint);
        font-size: 20px;
    }

    .game-market-stitch-mobile-search input {
        width: 100%;
        height: 100%;
        padding: 0 14px 0 40px;
        border: 1px solid var(--line);
        border-radius: 8px;
        outline: 0;
        background: var(--control);
        color: var(--text);
        font-size: 14px;
    }

    .game-market-stitch-mobile-search input::placeholder {
        color: var(--text-faint);
    }

    .game-market-stitch-mobile-search button {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--control);
        color: var(--text);
    }

    .game-market-stitch-mobile-search button.is-open {
        border-color: var(--accent);
        color: var(--accent);
    }

    .game-market-mobile-filter-chips {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 16px 0;
        scrollbar-width: none;
    }

    .game-market-mobile-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .game-market-mobile-filter-chips a {
        min-height: 30px;
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 6px;
        padding: 0 10px;
        border: 1px solid rgba(246, 211, 63, 0.22);
        border-radius: 999px;
        background: rgba(246, 211, 63, 0.1);
        color: var(--accent);
        font-size: 12px;
        font-weight: 700;
    }

    .game-market-mobile-filter-chips .material-symbols-outlined {
        font-size: 14px;
    }

    .game-market-stitch-mobile-list {
        display: grid;
        gap: 12px;
        padding: 24px 16px 0;
        transition: opacity 150ms ease;
    }

    .game-market-stitch-mobile-list.is-dimmed {
        opacity: 0.4;
    }

    .game-market-stitch-mobile-card {
        min-width: 0;
        display: flex;
        gap: 12px;
        padding: 12px;
        border: 1px solid var(--line-soft);
        border-radius: 12px;
        background: var(--panel-raised);
    }

    .game-market-stitch-mobile-card__media {
        position: relative;
        width: 100px;
        height: 100px;
        flex: 0 0 100px;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--control);
    }

    .game-market-stitch-mobile-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .game-market-stitch-mobile-card__media span {
        position: absolute;
        top: 4px;
        left: 4px;
        padding: 2px 6px;
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.62);
        color: var(--accent);
        font-size: 9px;
        font-weight: 800;
    }

    .game-market-stitch-mobile-card__body {
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .game-market-stitch-mobile-card h2 {
        margin: 0;
        overflow: hidden;
        color: var(--text);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .game-market-stitch-mobile-card p {
        display: flex;
        align-items: center;
        gap: 5px;
        min-width: 0;
        margin: 4px 0 0;
        color: var(--text-muted);
        font-size: 12px;
    }

    .game-market-stitch-mobile-card p .material-symbols-outlined {
        font-size: 14px;
    }

    .game-market-stitch-mobile-card__bottom {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
        margin-top: 8px;
    }

    .game-market-stitch-mobile-card__bottom strong {
        color: var(--accent);
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
    }

    .game-market-stitch-mobile-card__bottom a {
        min-width: 66px;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
    }

    .game-market-stitch-empty {
        margin: 24px 16px 0;
        min-height: 0;
        gap: 10px;
        padding-inline: 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .game-market-stitch-empty p {
        font-size: 13px;
    }

    .game-market-empty__reset {
        width: auto;
        min-width: 148px;
        min-height: 42px;
        font-size: 15px;
    }

    .game-market-stitch-pagination {
        flex-wrap: wrap;
        gap: 8px;
        padding: 24px 16px 0;
    }

    .game-market-stitch-pagination a,
.game-market-stitch-pagination strong,
.game-market-stitch-pagination>.material-symbols-outlined {
        width: 36px;
        height: 36px;
    }


}

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

html {
    min-height: 100%;
    background: var(--page);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
label.btn-primary {
    --btn-primary-bg: var(--accent);
    --btn-primary-hover-bg: #ffe05c;
    border-color: var(--btn-primary-bg);
    background: var(--btn-primary-bg);
    color: var(--accent-ink);
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.btn-primary:not(:disabled):not([aria-disabled="true"]):hover,
a.btn-primary:hover,
button.btn-primary:not(:disabled):hover,
label.btn-primary:hover {
    border-color: var(--btn-primary-hover-bg);
    background: var(--btn-primary-hover-bg);
    color: var(--accent-ink);
    transform: translateY(-1px);
}

:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus {
    outline: none;
}

:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus-visible {
    outline: none;
    box-shadow: none;
}

[hidden] {
    display: none !important;
}

@font-face {
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: 400;
    src: url("/assets/fonts/material-symbols-outlined.ttf") format("truetype");
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.material-symbols-outlined {
    display: inline-block;
    direction: ltr;
    font-family: "Material Symbols Outlined";
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    letter-spacing: normal;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
}

.app-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent);
    transition: transform 180ms ease;
}

.app-loading-bar.is-active {
    transform: scaleX(0.68);
}

.app-loading-bar.is-complete {
    transform: scaleX(1);
}

.app-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

.app-flashes {
    position: fixed;
    top: 140px;
    right: 24px;
    z-index: 160;
    display: grid;
    gap: 8px;
    width: min(380px, calc(100vw - 32px));
}

.app-flash {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-high);
    color: var(--text);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    font-size: 13px;
}

.app-toast-region {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 260;
    width: min(420px, calc(100vw - 32px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.app-toast {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(200, 120, 97, 0.46);
    border-radius: 12px;
    background: rgba(31, 32, 29, 0.96);
    color: var(--text);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: auto;
    backdrop-filter: blur(18px);
}

.app-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.app-toast__icon {
    margin-top: 1px;
    color: var(--danger);
    font-size: 22px;
}

.app-toast__message {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.app-toast__close {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.app-toast__close .material-symbols-outlined {
    font-size: 18px;
}

.latest-home {
    display: flex;
    flex-direction: column;
}

@media (min-width: 761px) {
    .latest-home {
        min-height: 100vh;
    }

}

.latest-home-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 70px;
    background: var(--page);
}

.latest-home-header__desktop {
    height: 100%;
}

.latest-home-header__primary {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.8vw, 24px);
    padding: 0 24px;
}

.latest-home-logo {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.04em;
    -webkit-tap-highlight-color: transparent;
}

.latest-home-logo img {
    height: 28px;
}

.latest-home-logo:hover,
.latest-home-logo:focus,
.latest-home-logo:focus-visible,
.latest-home-logo:active,
.latest-home-header__mobile-brand:hover,
.latest-home-header__mobile-brand:focus,
.latest-home-header__mobile-brand:focus-visible,
.latest-home-header__mobile-brand:active {
    outline: none;
    background: transparent;
    box-shadow: none;
}

.latest-home-header__nav {
    min-width: 0;
    flex: 0 1 auto;
    max-width: min(52vw, 650px);
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: clamp(14px, 2vw, 32px);
    overflow: hidden;
}

.latest-home-header__primary.is-search-open .latest-home-header__nav,
.latest-home-header__primary:has(.latest-home-search--header:hover) .latest-home-header__nav,
.latest-home-header__primary:has(.latest-home-search--header:focus-within) .latest-home-header__nav,
.latest-home-header__primary:has(.latest-home-search--header.is-search-expanded) .latest-home-header__nav {
    display: none;
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.latest-home-header__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 2px 0 6px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 150ms ease;
}

.latest-home-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 150ms ease;
}

.latest-home-header__nav a:hover,
.latest-home-header__nav a.is-active {
    color: var(--primary);
}

.latest-home-header__nav a.is-active::after {
    opacity: 1;
}

.latest-home-header__nav .material-symbols-outlined {
    font-size: 18px;
}

.latest-home-header__actions {
    min-width: 0;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
}

.latest-home-auth-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: clamp(108px, 10vw, 152px);
    padding: 0 24px;
    overflow: hidden;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: transform 150ms ease, background 150ms ease;
}

.latest-home-auth-link .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 18px;
}

.latest-home-auth-link__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-home-auth-link:hover {
    background: rgba(255, 241, 199, 0.05);
}

.latest-home-auth-link:active {
    transform: scale(0.97);
}

.latest-home-header__desktop .latest-home-auth-link:not(.is-primary) {
    padding-right: 12px;
    padding-left: 12px;
    border-color: transparent;
}

.latest-home-header__profile--desktop-compact {
    width: 40px;
    height: 40px;
    display: none;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    color: var(--text-soft);
    justify-content: center;
}

.latest-home-header__profile--desktop-compact .material-symbols-outlined {
    font-size: 24px;
}

.latest-home-profile-menu {
    position: relative;
    flex: 0 0 auto;
}

.latest-home-profile-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.latest-home-profile-button:hover,
.latest-home-profile-menu.is-open .latest-home-profile-button {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
}

.latest-home-profile-button:active {
    transform: scale(0.97);
}

.latest-home-profile-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, #32362f, #151711);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.latest-home-profile-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.latest-home-profile-avatar--large {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 999px;
    font-size: 14px;
}

.latest-home-profile-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 145;
    width: min(250px, calc(100vw - 24px));
    color: var(--text);
}

.latest-home-profile-panel::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    width: 100%;
    height: 8px;
}

.latest-home-profile-panel__card {
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    padding: 0;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36);
}

.latest-home-profile-panel__identity {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px 13px;
    border-bottom: 1px solid var(--line-soft);
}

.latest-home-profile-panel__avatar-wrap {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
}

.latest-home-profile-panel__identity-copy {
    min-width: 0;
    padding-top: 1px;
}

.latest-home-profile-panel__identity strong,
.latest-home-profile-panel__identity small,
.latest-home-profile-panel__identity a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-home-profile-panel__identity strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.latest-home-profile-panel__identity small {
    margin-top: 2px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.35;
}

.latest-home-profile-panel__identity a {
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.latest-home-profile-panel__identity a:hover {
    color: var(--accent-dim);
}

.latest-home-profile-panel__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
}

.latest-home-profile-panel__group {
    display: grid;
    gap: 0;
}

.latest-home-profile-panel__group + .latest-home-profile-panel__group {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
}

.latest-home-profile-panel__item {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.latest-home-profile-panel__item:hover {
    background: var(--panel-hover);
    color: var(--text);
}

.latest-home-profile-panel__item-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--text);
}

.latest-home-profile-panel__item-icon .material-symbols-outlined {
    font-size: 20px;
    font-weight: 400;
}

.latest-home-profile-panel__logout {
    margin: 6px 0 0;
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
}

.latest-home-profile-panel__item--danger {
    color: var(--danger);
}

.latest-home-profile-panel__item--danger .latest-home-profile-panel__item-icon {
    color: var(--danger);
}

.latest-home-notifications {
    position: relative;
}

.latest-home-notification-button {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.latest-home-notification-button:hover {
    background: rgba(255, 255, 255, 0.06);
}

.latest-home-notification-button__dot {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff453a;
    box-shadow: 0 0 0 2px #181914;
}

.latest-home-notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 40;
    width: min(360px, calc(100vw - 32px));
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #181914;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36);
    overflow: hidden;
}

.latest-home-notification-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.latest-home-notification-panel__header strong,
.latest-home-notification-item strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.latest-home-notification-count {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.latest-home-notification-item small {
    color: var(--text-faint);
}

.latest-home-notification-panel__list {
    display: grid;
    max-height: 360px;
    overflow-y: auto;
}

.latest-home-notification-panel__footer {
    padding: 12px 16px;
    text-align: center;
}

.latest-home-notification-panel__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.latest-home-notification-panel__all:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.latest-home-notification-item,
.latest-home-notification-panel__empty {
    padding: 14px 16px;
}

.latest-home-notification-item {
    display: grid;
    gap: 6px;
    color: var(--text);
}

.latest-home-notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.latest-home-notification-item.is-unread {
    background: rgba(246, 211, 63, 0.06);
}

.latest-home-notification-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.latest-home-notification-panel__empty {
    color: var(--text-muted);
    font-size: 13px;
}

.latest-home-notification-modal {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 170ms ease;
}

.latest-home-notification-modal.is-open {
    opacity: 1;
}

.latest-home-notification-modal__scrim {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 19, 0.82);
    backdrop-filter: blur(10px);
}

.latest-home-notification-modal__panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(720px, calc(100vh - 32px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #181914;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.latest-home-notification-modal__header {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
}

.latest-home-notification-modal__header div {
    min-width: 0;
}

.latest-home-notification-modal__header strong,
.latest-home-notification-modal__header small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.latest-home-notification-modal__header strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.latest-home-notification-modal__header small {
    margin-top: 3px;
    color: var(--text-faint);
    font-size: 12px;
}

.latest-home-notification-modal__close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.latest-home-notification-modal__close:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text);
}

.latest-home-notification-modal__close .material-symbols-outlined {
    font-size: 20px;
}

.latest-home-notification-modal__list {
    min-height: 0;
    display: grid;
    align-content: start;
    overflow-y: auto;
}

.latest-home-notification-modal__item,
.latest-home-notification-modal__empty {
    padding: 16px 20px;
}

.latest-home-notification-modal__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    color: var(--text);
    text-decoration: none;
}

.latest-home-notification-modal__item.is-unread {
    background: rgba(246, 211, 63, 0.06);
}

.latest-home-notification-modal__item strong,
.latest-home-notification-modal__item p {
    display: block;
}

.latest-home-notification-modal__item strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.latest-home-notification-modal__item p {
    margin: 5px 0 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.latest-home-notification-modal__item small {
    color: var(--text-faint);
    font-size: 12px;
    white-space: nowrap;
}

.latest-home-notification-modal__empty {
    color: var(--text-muted);
    font-size: 14px;
}

.notification-modal-is-open {
    overflow: hidden;
}

.latest-home-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.latest-home-mobile-header-search__iconleft {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.latest-home-header__mobile-search-button .material-symbols-outlined,
.latest-home-mobile-header-search__iconleft .material-symbols-outlined {
    color: var(--text-soft);
}

.latest-home-mobile-header-search {
    --search-menu-surface: rgba(17, 18, 16, 0.42);
    --search-results-surface: var(--search-menu-surface);
    --search-results-item-surface: rgba(255, 255, 255, 0.05);
    --search-results-item-hover-surface: rgba(255, 255, 255, 0.05);
    --search-results-backdrop: blur(22px) saturate(1.15) brightness(0.72);
    display: none;
}

.latest-home-notification-panel--mobile {
    right: -12px;
}

.latest-home-header__utility {
    height: 0;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
}

.latest-home-search {
    position: relative;
}

.latest-home-search>.material-symbols-outlined,
.latest-home-search__field>.material-symbols-outlined {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 1;
    color: var(--text-muted);
    font-size: 24px;
    transform: translateY(-50%);
    pointer-events: none;
}

.latest-home-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    background: var(--control);
    color: var(--text);
    font-size: 14px;
    transition: border-color 150ms ease, background 150ms ease;
}

.latest-home-search input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}

.latest-home-search input[type="search"]::-webkit-search-decoration,
.latest-home-search input[type="search"]::-webkit-search-cancel-button,
.latest-home-search input[type="search"]::-webkit-search-results-button,
.latest-home-search input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
    width: 0;
    height: 0;
    margin: 0;
}

.latest-home-search input::placeholder {
    color: var(--text-muted);
}

.latest-home-search input:focus {
    border-color: var(--accent);
    background: var(--control-hover);
}

.latest-home-search--header {
    --search-surface: rgba(255, 255, 255, 0.03);
    --search-divider: rgba(255, 255, 255, 0.12);
    --search-menu-surface: rgba(17, 18, 16, 0.42);
    --search-results-surface: var(--search-menu-surface);
    --search-results-item-surface: rgba(255, 255, 255, 0.05);
    --search-results-item-hover-surface: rgba(255, 255, 255, 0.05);
    --search-results-backdrop: blur(22px) saturate(1.15) brightness(0.72);
    width: min(100%, 780px);
    min-width: 0;
    display: grid;
    grid-template-columns: max-content minmax(180px, 1fr) 54px;
    flex: 1 1 780px;
}

.latest-home-search__category {
    position: relative;
    width: var(--search-category-width, max-content);
    min-width: 0;
}

.latest-home-search__category-toggle {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px 0 0 8px;
    background: transparent;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.latest-home-search__category-toggle [data-search-category-label] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-home-search__category-toggle .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 17px;
    transition: transform 150ms ease;
}

.latest-home-search--header .latest-home-search__category-toggle {
    border-color: var(--search-surface);
    border-right-color: var(--search-surface);
    background: var(--search-surface);
}

.latest-home-search__category.is-open .latest-home-search__category-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}

.latest-home-search--header .latest-home-search__category.is-open .latest-home-search__category-toggle {
    border-bottom-left-radius: 0;
}

.latest-home-search--header .latest-home-search__category-menu {
    top: 100%;
    width: 100%;
    min-width: 100%;
    margin-top: 0;
    border-width: 0;
    border-radius: 0 0 8px 8px;
    background: var(--search-menu-surface);
    backdrop-filter: blur(22px) saturate(1.15) brightness(0.72);
    -webkit-backdrop-filter: blur(22px) saturate(1.15) brightness(0.72);
    color: var(--text-soft);
}

.latest-home-search__category-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 190;
    width: 180px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel-raised);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

.latest-home-search__category-menu button {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    background: transparent;
    color: var(--text-soft);
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.latest-home-search__category-menu button:hover,
.latest-home-search__category-menu button[aria-selected="true"] {
    background: var(--surface-high);
    color: var(--accent-dim);
}

.latest-home-search--header .latest-home-search__category-menu button {
    color: inherit;
}

.latest-home-search--header .latest-home-search__category-menu button:hover,
.latest-home-search--header .latest-home-search__category-menu button[aria-selected="true"] {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.latest-home-mobile-browse__search,
.markets-directory__search--mobile .latest-home-mobile-browse__search {
    --search-results-surface: var(--panel-raised);
    --search-results-item-surface: var(--surface-high);
    --search-results-item-hover-surface: var(--surface-high);
}

.latest-home-search__field {
    position: relative;
    min-width: 0;
}

.latest-home-search--header input {
    height: 40px;
    padding-right: 56px;
    padding-left: 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--search-surface);
}

.latest-home-search__clear {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    transform: translateY(-50%);
    transition: color 150ms ease, background 150ms ease;
}

.latest-home-search__clear[hidden] {
    display: none;
}
.latest-home-search__clear::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -4px;
    width: 1px;
    height: 22px;
    background: var(--search-divider, rgba(255, 255, 255, 0.32));
    transform: translateY(-50%);
    pointer-events: none;
}

.latest-home-search__clear .material-symbols-outlined {
    font-size: 21px;
}

.latest-home-search__submit {
    min-width: 0;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0 8px 8px 0;
    background: var(--search-surface);
    color: var(--text-muted);
    transition: background 150ms ease, color 150ms ease;
}

.latest-home-search__submit .material-symbols-outlined {
    font-size: 21px;
}

.latest-home-search--header .search-results {
    top: calc(100% + 8px);
}

body[data-route="game"] .latest-home-header .latest-home-search--header,
body[data-route="game"] .latest-home-header .latest-home-mobile-header-search {
    --search-results-item-surface: rgba(255, 255, 255, 0.05);
    --search-results-item-hover-surface: rgba(255, 255, 255, 0.05);
}

body[data-route="game"] .latest-home-header .latest-home-search input,
body[data-route="game"] .latest-home-header .latest-home-search__category-toggle {
    background: var(--search-surface);
}

body[data-route="game"] .latest-home-header .latest-home-search--header .latest-home-search__category-menu {
    background: var(--search-menu-surface);
}

body[data-route="game"] .latest-home-header .latest-home-search--header input {
    border-right: 0;
    border-left: 0;
}

.latest-home-header .latest-home-search--header .latest-home-search__category-toggle,
body[data-route="game"] .latest-home-header .latest-home-search--header .latest-home-search__category-toggle {
    border: 1px solid var(--search-surface);
    border-right-color: var(--search-surface);
}

.latest-home-header .latest-home-search--header input,
body[data-route="game"] .latest-home-header .latest-home-search--header input {
    border-top: 1px solid var(--search-surface);
    border-right: 0;
    border-bottom: 1px solid var(--search-surface);
    border-left: 0;
}

.latest-home-header .latest-home-search--header input:focus {
    border-top-color: var(--search-surface);
    border-bottom-color: var(--search-surface);
    background: var(--search-surface);
    box-shadow: none;
}

.latest-home-search--header.latest-home-search--no-category {
    grid-template-columns: minmax(180px, 1fr) 54px;
}

.latest-home-header .latest-home-search--header.latest-home-search--no-category input,
body[data-route="game"] .latest-home-header .latest-home-search--header.latest-home-search--no-category input {
    border-left: 1px solid var(--search-surface);
    border-radius: 8px 0 0 8px;
}

.latest-home-header__flash-deals {
    min-width: 0;
    max-width: min(100%, 220px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    color: var(--warning);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.latest-home-header__flash-deals:hover {
    color: var(--accent);
}

.latest-home-header__flash-deals .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: "FILL" 1;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 180;
    overflow: hidden;
    border-radius: 8px;
    background: var(--search-results-surface, var(--surface-high));
    backdrop-filter: var(--search-results-backdrop, none);
    -webkit-backdrop-filter: var(--search-results-backdrop, none);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.search-results a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    background: var(--search-results-item-surface, transparent);
}

.search-results .search-empty {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--search-results-item-surface, transparent);
}

.search-results a+a {
    border-top: 1px solid var(--line-soft);
}

.search-results a:hover {
    background: var(--search-results-item-hover-surface, var(--panel-hover));
}

.search-results img,
.search-logo-fallback {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--panel-raised);
}

.search-results strong,
.search-results span {
    display: block;
}

.search-results strong {
    color: var(--text);
    font-size: 12px;
}

.search-results span,
.search-empty {
    color: var(--text-muted);
    font-size: 11px;
}

.latest-home-header__mobile,
.latest-home-hero--mobile,
.latest-home-mobile-browse,
.latest-home-view-mobile,
.latest-home-bottom-nav {
    display: none;
}

.latest-home-main {
    flex: 1 0 auto;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 70px 0 128px;
}

.latest-home-main--static-page {
    padding-bottom: 48px;
}

.latest-home-hero {
    padding-top: 32px;
}

.latest-home-hero h1 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.latest-home-hero p {
    max-width: 720px;
    margin: 0 0 32px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.latest-home-hero h1 span {
    color: var(--accent);
}

.latest-home-section {
    padding-bottom: 32px;
}

.latest-home-hero__copy {
    max-width: 880px;
}

.latest-home-section__head {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.latest-home-section__head h2 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.latest-home-section__head p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.latest-home-section__head>a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.latest-home-section__head>a:hover {
    color: var(--text);
}

.latest-home-section__head>a .material-symbols-outlined {
    font-size: 16px;
}

.latest-home-games {
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    background: transparent;
}

.latest-home-games .latest-home-section__head {
    margin: 32px 0 10px;
}

.latest-home-section__head>.latest-home-section__more-link {
    color: var(--accent-dim);
    font-weight: 600;
}

.latest-home-game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.latest-home-game-card {
    min-width: 0;
    display: grid;
    gap: 8px;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms ease;
}

.latest-home-game-card:focus,
.latest-home-game-card:focus-visible,
.latest-home-game-card:active {
    outline: 0 !important;
    box-shadow: none !important;
}

.latest-home-game-card:hover {
    transform: translateY(2px);
}

.latest-home-game-card__media {
    position: relative;
    aspect-ratio: 1;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-raised);
    transition: border-color 160ms ease;
}

.latest-home-game-card__media::before,
.latest-home-listing-card__media::before,
.directory-market-card__art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 18%, rgba(246, 211, 63, 0.16), transparent 38%), linear-gradient(135deg, #252624 0%, #323330 48%, #1e1f1d 100%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.latest-home-game-card__media.is-image-pending::before,
.latest-home-listing-card__media.is-image-pending::before,
.directory-market-card__art.is-image-pending::before,
.latest-home-game-card__media.is-image-error::before,
.latest-home-listing-card__media.is-image-error::before,
.directory-market-card__art.is-image-error::before {
    opacity: 1;
}

.latest-home-game-card__media.is-image-pending img,
.latest-home-listing-card__media.is-image-pending img,
.directory-market-card__art.is-image-pending img,
.latest-home-game-card__media.is-image-error img,
.latest-home-listing-card__media.is-image-error img,
.directory-market-card__art.is-image-error img {
    opacity: 0;
}

.latest-home-game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 220ms ease, transform 300ms ease;
}

.latest-home-game-card:hover img {
    transform: scale(1.1);
}

.latest-home-game-card:focus .latest-home-game-card__media,
.latest-home-game-card:focus-visible .latest-home-game-card__media,
.latest-home-game-card:active .latest-home-game-card__media {
    border-color: var(--line);
    outline: 0 !important;
    box-shadow: none !important;
}

.latest-home-game-card__shade {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.latest-home-game-card__count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 5px 4px;
    border: 1px solid rgba(230, 196, 48, 0.42);
    border-radius: 9px;
    background: rgba(16, 16, 14, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.latest-home-game-card__count-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 4px;
    padding: 1px 5px;
    color: var(--text);
}

.latest-home-game-card__count-item+.latest-home-game-card__count-item {
    border-left: 1px solid rgba(230, 196, 48, 0.24);
}

.latest-home-game-card__count-item.is-empty {
    opacity: 0.42;
}

.latest-home-game-card__count-icon {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
}

.latest-home-game-card__count-value {
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-home-game-card>strong {
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 150ms ease;
}

.latest-home-game-card:hover>strong {
    color: var(--accent-dim);
}

.latest-home-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.latest-home-listing-grid.is-empty {
    grid-template-columns: 1fr;
}

.latest-home-listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-low);
    transition: transform 180ms ease, border-color 180ms ease;
}

.latest-home-listing-card:hover {
    transform: translateY(-4px);
    border-color: #565143;
}

.latest-home-listing-card__media {
    position: relative;
    height: 192px;
    display: block;
    overflow: hidden;
    background: var(--panel-raised);
}

.latest-home-listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 220ms ease, transform 360ms ease;
}

.latest-home-listing-card:hover .latest-home-listing-card__media img {
    transform: scale(1.04);
}

.latest-home-listing-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 241, 199, 0.28);
    border-radius: 7px;
    background: rgba(255, 241, 199, 0.16);
    color: var(--primary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.latest-home-listing-card__badge.is-verified {
    border-color: rgba(85, 182, 87, 0.34);
    background: rgba(85, 182, 87, 0.18);
    color: var(--success);
}

.latest-home-listing-card__badge.is-service {
    border-color: rgba(246, 211, 63, 0.34);
    background: rgba(246, 211, 63, 0.18);
    color: var(--accent-dim);
}

.latest-home-listing-card__media-rating {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.68);
    color: var(--accent-dim);
    font-size: 12px;
}

.latest-home-listing-card__media-rating .material-symbols-outlined {
    font-size: 14px;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 14;
}

.latest-home-listing-card__body {
    min-height: 192px;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.latest-home-listing-card__title-row {
    margin-bottom: 8px;
}

.latest-home-listing-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-home-listing-card h3 a:hover {
    color: var(--primary);
}

.latest-home-listing-card p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.latest-home-listing-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-soft);
    font-size: 12px;
}

.latest-home-listing-card__avatar {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--panel-raised);
    color: var(--primary);
    font-size: 9px;
    font-weight: 700;
}

.latest-home-listing-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-home-listing-card__seller-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-soft);
}

.latest-home-listing-card__seller small {
    color: var(--text-muted);
    font-size: 12px;
}

.latest-home-listing-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}

.latest-home-listing-card__protection {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.latest-home-listing-card__protection .material-symbols-outlined {
    font-size: 18px;
}

.latest-home-listing-card__price {
    color: var(--accent-dim);
    font-size: 26px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
}

.latest-home-empty {
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

.app-footer--guest {
    margin-top: auto;
    padding: 2rem 0;
    background: transparent;
}

.app-footer__source {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    border-top: 1px solid #2d2e2b;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

.app-footer__source-meta {
    display: flex;
    align-items: flex-start;
    justify-self: start;
    color: #6d6e68;
    font-size: 0.83rem;
}

.app-footer__source-brand {
    display: inline-flex;
    align-items: center;
    justify-self: center;
}

.app-footer__source-actions {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 1.5rem;
}

.app-footer__source-icons {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.app-footer__translate {
    position: relative;
}

.app-footer__translate-toggle {
    min-height: 32px;
    padding: 0 0.65rem 0 0.8rem;
    border: 1px solid #3a3b37;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    background: rgba(42, 43, 41, 0.72);
    color: #c7c6bf;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.app-footer__translate-toggle:hover,
.app-footer__translate-toggle[aria-expanded="true"] {
    border-color: rgba(246, 211, 63, 0.34);
    color: #fff1c7;
    background: rgba(246, 211, 63, 0.08);
}

.app-footer__translate-toggle .material-symbols-outlined {
    font-size: 1rem;
}

.app-footer__translate-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.7rem);
    z-index: 20;
    min-width: 170px;
    padding: 0.45rem;
    border: 1px solid #3a3b37;
    background: #1f201d;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 0.15rem;
}

.app-footer__translate-menu button {
    min-height: 34px;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
    color: #c7c6bf;
    font-size: 0.82rem;
    text-align: left;
}

.app-footer__translate-menu button:hover,
.app-footer__translate-menu button.is-active {
    background: rgba(246, 211, 63, 0.08);
    color: #fff1c7;
}

.app-footer__translate-host,
.goog-te-banner-frame.skiptranslate,
body>.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

.app-footer__source-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
}

.app-footer__source-links a {
    color: #92938c;
    font-size: 0.82rem;
    font-weight: 500;
}

.app-footer__source-links a:hover {
    color: #c7c6bf;
}

@media (min-width: 761px) {
    .latest-home--authenticated .app-footer--guest {
        display: none;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    .app-footer__source {
        width: min(calc(100% - 64px), var(--container));
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        text-align: center;
    }

    .app-footer__source-meta,
.app-footer__source-brand,
.app-footer__source-actions {
        justify-self: center;
    }

    .app-footer__source-actions {
        order: 1;
        justify-content: center;
        gap: 18px;
    }

    .app-footer__source-brand {
        order: 2;
    }

    .app-footer__source-meta {
        order: 3;
        align-items: center;
    }

}

.business-page {
    width: min(1440px, calc(100% - 2rem));
    margin: 0 auto;
}

.about-market-page {
    display: grid;
    gap: 44px;
    padding-top: 0;
}

.stitch-404-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 40px;
}

.stitch-404-page__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.2;
}

.stitch-404-page__scanlines {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
}

.stitch-404-page__content {
    position: relative;
    z-index: 10;
    width: min(100%, 672px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stitch-404-page__code-wrap {
    margin-bottom: 8px;
}

.stitch-404-page__code {
    margin: 0;
    color: var(--primary);
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.9;
    text-shadow: 2px 0 var(--warning), -2px 0 var(--tertiary);
    animation: stitch-404-glitch 3s infinite;
    will-change: transform;
}

.stitch-404-page__details {
    display: grid;
    gap: 16px;
}

.stitch-404-page__details h2 {
    margin: 0;
    color: var(--text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stitch-404-page__details p {
    max-width: 448px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.55;
}

.stitch-404-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.stitch-404-page__button {
    min-width: 170px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: filter 150ms ease, transform 150ms ease, background 150ms ease, color 150ms ease;
}

.stitch-404-page__button--primary {
    box-shadow: 0 18px 40px rgba(246, 211, 63, 0.1);
}

.stitch-404-page__button--primary:active {
    transform: scale(0.95);
}

.stitch-404-page__button--secondary {
    border-color: var(--line-soft);
    background: var(--surface-low);
    color: var(--text-soft);
}

.stitch-404-page__button--secondary:hover {
    background: var(--panel-hover);
    color: var(--text);
}

.stitch-404-page__terminal {
    width: min(100%, 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-faint);
    font-size: 12px;
    line-height: 1.4;
}

.stitch-404-page__terminal .material-symbols-outlined {
    font-size: 16px;
}

@keyframes stitch-404-glitch {
    0%,
    4%,
    100% {
        text-shadow: 2px 0 var(--warning), -2px 0 var(--tertiary);
    }
    2% {
        text-shadow: -2px 0 var(--warning), 2px 0 var(--tertiary);
    }
}

.about-market-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background: var(--page);
}

.about-market-hero__content {
    position: relative;
    z-index: 1;
    width: min(100%, var(--container));
    min-height: 640px;
    margin: 0 auto;
    padding: 76px var(--gutter) 124px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    align-items: center;
    gap: 56px;
}

.about-market-hero__copy {
    max-width: 720px;
    display: grid;
    gap: 20px;
}

.about-market-kicker {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.about-market-hero__content h1 {
    margin: 0;
    color: var(--primary);
    font-size: 72px;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
}

.about-market-hero__content p {
    margin: 0;
    max-width: 660px;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.75;
}

.about-market-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 6px;
}

.about-market-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.about-market-button:active {
    transform: translateY(1px);
}

.about-market-button .material-symbols-outlined {
    font-size: 18px;
}

.about-market-button--primary {
    border-color: var(--accent);
}

.about-market-button--secondary {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.about-market-button--secondary:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(246, 211, 63, 0.45);
    color: var(--primary);
}

.about-market-page--text {
    width: min(1120px, calc(100% - 48px));
    gap: 58px;
    padding-top: 0;
}

.about-market-page--text .about-market-hero {
    min-height: auto;
    overflow: visible;
    padding: 68px 0 12px;
    background: transparent;
}

.about-market-page--text .about-market-hero__content {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.about-market-page--text .about-market-hero__copy {
    max-width: 920px;
    gap: 22px;
}

.about-market-page--text .about-market-hero__content h1 {
    max-width: 900px;
    color: var(--primary);
    font-size: 58px;
    line-height: 1.04;
}

.about-market-lede {
    max-width: 880px;
    display: grid;
    gap: 16px;
}

.about-market-lede p,
.about-market-text-section p {
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.82;
}

.about-market-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-market-facts div {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding-right: 24px;
}

.about-market-facts div+div {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.about-market-facts dt {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.about-market-facts dd {
    margin: 0;
    color: var(--primary);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.about-market-story {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
    gap: 72px;
}

.about-market-index {
    position: sticky;
    top: 160px;
    display: grid;
    gap: 11px;
    padding-left: 16px;
    border-left: 2px solid rgba(246, 211, 63, 0.72);
}

.about-market-index span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.about-market-index a {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
}

.about-market-index a:hover {
    color: var(--primary);
}

.about-market-story__body {
    min-width: 0;
    max-width: 820px;
    display: grid;
    gap: 54px;
}

.about-market-text-section {
    display: grid;
    gap: 15px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    scroll-margin-top: 150px;
}

.about-market-text-section h2,
.about-market-page--text .about-market-cta h2 {
    margin: 0;
    color: var(--primary);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.about-market-text-section ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
}

.about-market-text-section li::marker {
    color: var(--accent);
}

.about-market-text-section strong {
    color: var(--text);
    font-weight: 800;
}

.about-market-page--text .about-market-cta {
    display: grid;
    gap: 22px;
    padding: 40px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-market-page--text .about-market-cta>div:first-child {
    max-width: 780px;
}

.about-market-page--text .about-market-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1100px) {
    .about-market-page.about-market-page--text {
        width: min(100%, calc(100% - 48px));
        gap: 46px;
    }
    .about-market-page--text .about-market-hero {
        padding-top: 56px;
    }
    .about-market-page--text .about-market-hero__content h1 {
        font-size: 46px;
    }
    .about-market-story {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-market-index {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px 16px;
        padding: 0 0 18px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .about-market-index span {
        grid-column: 1 / -1;
    }
    .about-market-story__body {
        max-width: 860px;
    }

}

@media (max-width: 760px) {
    .about-market-page.about-market-page--text {
        width: calc(100% - 32px);
        gap: 34px;
    }
    .about-market-page--text .about-market-hero {
        padding: 34px 0 4px;
    }
    .about-market-page--text .about-market-hero__content {
        gap: 24px;
    }
    .about-market-page--text .about-market-hero__copy {
        gap: 16px;
    }
    .about-market-page--text .about-market-hero__content h1 {
        font-size: 34px;
        line-height: 1.12;
    }
    .about-market-lede p,
.about-market-text-section p {
        font-size: 15px;
        line-height: 1.78;
    }
    .about-market-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
        padding: 18px 0;
    }
    .about-market-facts div {
        padding-right: 18px;
    }
    .about-market-facts div+div {
        padding-left: 18px;
    }
    .about-market-facts div:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
    .about-market-facts dd {
        font-size: 28px;
    }
    .about-market-index {
        grid-template-columns: 1fr 1fr;
        display: none!important;
    }
    .about-market-story__body {
        gap: 38px;
    }
    .about-market-text-section {
        gap: 13px;
        padding-top: 26px;
        scroll-margin-top: 80px;
    }
    .about-market-text-section h2,
.about-market-page--text .about-market-cta h2 {
        font-size: 25px;
        line-height: 1.18;
    }
    .about-market-text-section ul {
        font-size: 15px;
        line-height: 1.72;
    }
    .about-market-page--text .about-market-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .about-market-page--text .about-market-button {
        width: 100%;
    }

}

@media (max-width: 430px) {
    .about-market-page--text .about-market-hero__content h1 {
        font-size: 31px;
    }

}

@media (max-width: 360px) {
    .about-market-facts {
        grid-template-columns: 1fr;
    }
    .about-market-facts div,
.about-market-facts div+div {
        padding-right: 0;
        padding-left: 0;
        border-left: 0;
    }
    .about-market-facts div+div {
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .about-market-index {
        grid-template-columns: 1fr;
    }

}

.contact-support-page {
    display: grid;
    gap: 28px;
    padding-top: 24px;
}

.contact-support-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-support-header__main {
    display: grid;
    gap: 10px;
}

.contact-support-header h1 {
    max-width: 760px;
    margin: 0;
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.contact-support-header p {
    max-width: 560px;
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

.contact-support-status {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(85, 182, 87, 0.24);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.contact-support-status strong {
    color: var(--success);
    font-weight: 800;
}

.contact-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 24px;
    align-items: start;
}

.contact-support-form {
    display: grid;
    gap: 14px;
}

.contact-support-form {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(0, 0, 0, 0.28);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.contact-support-rail {
    position: sticky;
    top: 108px;
    display: grid;
    gap: 12px;
}

.contact-support-form {
    padding: 24px;
}

.contact-support-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(246, 211, 63, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(246, 211, 63, 0.12), rgba(85, 182, 87, 0.055) 38%, rgba(255, 255, 255, 0.025) 100%),
        rgba(0, 0, 0, 0.34);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.contact-support-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(85, 182, 87, 0.8));
}

.contact-support-panel__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.contact-support-panel__eyebrow>span {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
}

.contact-support-panel__eyebrow strong {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid rgba(85, 182, 87, 0.28);
    border-radius: 999px;
    background: rgba(85, 182, 87, 0.08);
    color: var(--success);
    font-size: 12px;
    font-weight: 800;
}

.contact-support-panel__intro {
    display: grid;
    gap: 8px;
}

.contact-support-panel__intro h2,
.contact-support-form__header h2 {
    margin: 0;
    color: var(--text);
    line-height: 1.2;
}

.contact-support-form__header h2 {
    font-size: 20px;
}

.contact-support-panel__intro h2 {
    font-size: 22px;
    font-weight: 800;
}

.contact-support-panel__intro p,
.contact-support-checklist li {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.contact-support-panel__intro p {
    margin: 0;
}

.contact-support-form label>span {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
}

.contact-support-email-card {
    min-height: 74px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(246, 211, 63, 0.22);
    border-radius: 8px;
    background: rgba(246, 211, 63, 0.08);
    color: var(--text);
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.contact-support-email-card:hover {
    transform: translateY(-1px);
    border-color: rgba(246, 211, 63, 0.45);
    background: rgba(246, 211, 63, 0.12);
}

.contact-support-email-card__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 22px;
}

.contact-support-email-card__body {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.contact-support-email-card__body small,
.contact-support-quick-list__item small {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

.contact-support-email-card__body strong {
    overflow-wrap: anywhere;
    color: var(--primary);
    font-size: 16px;
    line-height: 1.25;
}

.contact-support-email-card__arrow {
    color: var(--accent);
    font-size: 20px;
}

.contact-support-links a:hover {
    color: var(--accent);
}

.contact-support-form__header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.contact-support-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(85, 182, 87, 0.12);
}

.contact-support-quick-list {
    display: grid;
    gap: 10px;
}

.contact-support-quick-list__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.contact-support-quick-list__item>.material-symbols-outlined {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.065);
    color: var(--accent);
    font-size: 19px;
}

.contact-support-quick-list__item span:last-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.contact-support-quick-list__item strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

.contact-support-checklist {
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-support-checklist h3 {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.contact-support-checklist ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-support-checklist li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
}

.contact-support-checklist .material-symbols-outlined {
    color: var(--accent);
    font-size: 18px;
}

.contact-support-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-support-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.24);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.contact-support-links .material-symbols-outlined {
    font-size: 16px;
}

.contact-support-form__header {
    display: grid;
    gap: 8px;
    margin-bottom: 2px;
}

.contact-support-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-support-form label {
    display: grid;
    gap: 8px;
}

.contact-support-form input,
.contact-support-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
}

.contact-support-select {
    position: relative;
}

.contact-support-select__toggle {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font: inherit;
    text-align: left;
}

.contact-support-select__toggle span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-support-select__toggle .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 18px;
    transition: transform 150ms ease;
}

.contact-support-select.is-open .contact-support-select__toggle {
    border-color: rgba(246, 211, 63, 0.55);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 0 0 3px rgba(246, 211, 63, 0.08);
}

.contact-support-select.is-open .contact-support-select__toggle .material-symbols-outlined {
    transform: rotate(180deg);
}

.contact-support-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 50;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #171815;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.44);
}

.contact-support-select__menu button {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: transparent;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.contact-support-select__menu button:hover,
.contact-support-select__menu button[aria-selected="true"] {
    background: rgba(246, 211, 63, 0.1);
    color: var(--accent);
}

.contact-support-form textarea {
    min-height: 136px;
    resize: none;
}

.contact-support-form input::placeholder,
.contact-support-form textarea::placeholder {
    color: var(--text-faint);
}

.contact-support-form input:focus,
.contact-support-form textarea:focus {
    outline: none;
    border-color: rgba(246, 211, 63, 0.55);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 0 0 3px rgba(246, 211, 63, 0.08);
}

.contact-support-form__actions {
    display: flex;
    justify-content: flex-end;
}

.contact-support-submit {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
}

.contact-support-submit .material-symbols-outlined {
    font-size: 18px;
}

.privacy-legal-page {
    width: min(100%, var(--container));
    margin: 0 auto;
    color: var(--text);
}

.privacy-legal-hero {
    padding: 32px 0;
    border-bottom: 1px solid var(--line-soft);
}

.privacy-legal-hero h1 {
    margin: 0 0 4px;
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

.privacy-legal-hero p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.privacy-legal-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0;
}

.privacy-legal-sidebar {
    position: sticky;
    top: 160px;
    width: 280px;
    flex: 0 0 280px;
    display: grid;
    gap: 32px;
}

.privacy-legal-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.privacy-legal-nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border-left: 2px solid transparent;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.privacy-legal-nav a:hover,
.privacy-legal-nav a.nav-active,
.privacy-legal-nav a[aria-current="location"] {
    border-left-color: var(--primary);
    background: rgba(255, 241, 199, 0.05);
    color: var(--primary);
}

.privacy-legal-help {
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.privacy-legal-help h4 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.privacy-legal-help p {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.privacy-legal-help a {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--control);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: background 150ms ease;
}

.privacy-legal-help a:hover {
    background: var(--control-hover);
}

.privacy-legal-content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 768px;
    color: var(--text-soft);
    line-height: 1.65;
}

.privacy-legal-content section {
    margin: 0 0 32px;
    scroll-margin-top: 140px;
}

.privacy-legal-content section:last-child {
    padding-bottom: 32px;
}

.privacy-legal-content h2 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.privacy-legal-content p {
    margin: 0 0 16px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.privacy-legal-content p:last-child {
    margin-bottom: 0;
}

.privacy-legal-content a {
    color: var(--primary);
}

.privacy-legal-content ul {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.privacy-legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.privacy-legal-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-raised);
}

.privacy-legal-grid h4 {
    margin: 0 0 4px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.privacy-legal-grid p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.privacy-legal-table-wrap {
    overflow-x: auto;
}

.privacy-legal-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 14px;
    text-align: left;
}

.privacy-legal-content th,
.privacy-legal-content td {
    padding: 8px;
    border: 1px solid var(--line);
    vertical-align: top;
}

.privacy-legal-content th {
    background: #2d2a20;
    color: var(--primary);
    font-weight: 700;
}

.privacy-legal-content td:last-child {
    color: var(--text-muted);
}

.privacy-legal-callout {
    padding: 24px;
    border: 1px solid rgba(255, 241, 199, 0.2);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: var(--panel-raised);
}

.privacy-legal-callout p:first-child {
    font-weight: 500;
}

.privacy-legal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.privacy-legal-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #221f16;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.4;
}

.app-main--auth {
    width: 100%;
    padding: 0;
}

.stitch-app--auth .app-flashes {
    top: 144px;
    right: 24px;
    width: min(420px, calc(100vw - 48px));
}

.auth-reference {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--page);
}

.auth-reference__mobile-only {
    display: none;
}

.auth-panel {
    width: min(460px, 100%);
}

.auth-panel--reset {
    width: min(432px, 100%);
}

.auth-reference__container {
    width: min(460px, 100%);
}

.auth-reference__card {
    width: 100%;
    padding: 32px;
    background: var(--page);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.auth-reference__content {
    display: contents;
}

.auth-reference__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(246, 211, 63, 0.22);
    border-radius: 8px;
    background: rgba(246, 211, 63, 0.08);
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.5;
}

.auth-reference__notice .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--accent-dim);
    font-size: 19px;
}

.auth-reference__switch {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.auth-reference__google {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--control);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.auth-reference__google:hover {
    border-color: var(--text-faint);
    background: var(--control-hover);
}

.auth-reference__google:active,
.auth-reference__submit:active {
    transform: scale(0.98);
}

.auth-reference__google--disabled {
    cursor: default;
    opacity: 1;
}

.auth-reference__google-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.google-one-tap-host {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2147483646;
    max-width: calc(100vw - 40px);
    background: transparent !important;
    color-scheme: dark;
}

.google-one-tap-host iframe,
#credential_picker_container,
#credential_picker_container iframe,
iframe#credential_picker_iframe,
iframe[src^="https://accounts.google.com/gsi/iframe"] {
    background: transparent !important;
    color-scheme: dark;
}

@media (max-width: 760px) {
    .google-one-tap-host {
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

.auth-reference__divider {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.auth-reference__divider::before,
.auth-reference__divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: var(--line-soft);
}

.auth-reference__divider span {
    padding: 0 16px;
    color: var(--text-faint);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-reference__form {
    display: grid;
    gap: 24px;
}

.auth-reference__field {
    display: grid;
    gap: 8px;
}

.auth-reference__field>span:first-child,
.auth-reference__field-row {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
}

.auth-reference__field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-reference__forgot,
.auth-reference__switch a {
    color: var(--accent-dim);
    font-weight: 600;
}

.auth-reference__forgot {
    font-size: 12px;
}

.auth-reference__forgot:hover,
.auth-reference__switch a:hover {
    text-decoration: underline;
}

.auth-reference__input {
    position: relative;
    display: block;
}

.auth-reference__input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: var(--text-faint);
    font-size: 20px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 150ms ease;
}

.auth-reference__input:focus-within .auth-reference__input-icon {
    color: var(--primary);
}

.auth-reference__input input {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px 10px 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    background: var(--control);
    color: var(--text);
    box-shadow: none;
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.auth-reference__input input::placeholder {
    color: var(--text-faint);
}

.auth-reference__input input:focus {
    border-color: var(--accent-dim);
    background: var(--control-hover);
    box-shadow: 0 0 0 1px rgba(230, 196, 48, 0.18);
}

.auth-reference__input input[type="password"],
.auth-reference__input input[type="text"][name="password"] {
    padding-right: 44px;
}

.auth-reference__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
}

.auth-reference__check input {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--control);
    cursor: pointer;
}

.auth-reference__check input:checked {
    border-color: var(--accent);
    background-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23221b00' d='m6.4 11.2-3-3 1.1-1.1 1.9 1.9 5-5 1.1 1.1z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.auth-reference__password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    background: transparent;
    color: var(--text-muted);
    transform: translateY(-50%);
}

.auth-reference__password-toggle:hover {
    color: var(--text);
}

.auth-reference__password-toggle .material-symbols-outlined {
    font-size: 20px;
}

.auth-reference__submit {
    position: relative;
    min-height: 48px;
    margin-top: 8px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: filter 150ms ease, transform 150ms ease;
}

.auth-reference__submit.is-submitting,
.signup-stitch-submit.is-submitting {
    cursor: wait;
    pointer-events: none;
}

.auth-reference__submit.is-submitting > *,
.signup-stitch-submit.is-submitting > * {
    opacity: 0;
}

.auth-reference__submit.is-submitting::after,
.signup-stitch-submit.is-submitting::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    content: "";
    border: 2px solid rgba(34, 27, 0, 0.28);
    border-top-color: var(--accent-ink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: auth-submit-spin 650ms linear infinite;
}

@keyframes auth-submit-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.auth-reference__switch {
    margin-top: 32px;
    text-align: center;
}

.auth-reference__security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    color: var(--text-faint);
    font-size: 12px;
}

.auth-reference__security .material-symbols-outlined {
    font-size: 16px;
}

.auth-reference__card--reset-stitch {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.reset-stitch-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 28px 4px;
    list-style: none;
    margin: 0;
}

.reset-stitch-progress li {
    position: relative;
    display: grid;
    gap: 8px;
    justify-items: center;
    color: var(--text-faint);
    text-align: center;
}

.reset-stitch-progress li::after {
    content: "";
    position: absolute;
    top: 16px;
    left: calc(50% + 20px);
    width: calc(100% - 24px);
    height: 1px;
    background: var(--line);
}

.reset-stitch-progress li:last-child::after {
    display: none;
}

.reset-stitch-progress li strong {
    font-size: 11px;
    font-weight: 500;
}

.reset-stitch-progress li.is-active,
.reset-stitch-progress li.is-complete {
    color: var(--text-soft);
}

.reset-stitch-progress__dot {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 241, 199, 0.08);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.reset-stitch-progress li.is-active .reset-stitch-progress__dot {
    background: var(--accent);
    color: #6d5b00;
}

.reset-stitch-progress li.is-complete .reset-stitch-progress__dot {
    background: rgba(230, 196, 48, 0.24);
    color: var(--accent-dim);
}

.reset-stitch-card__head {
    display: grid;
    gap: 6px;
    padding: 18px 28px 10px;
}

.reset-stitch-card__head h1 {
    margin: 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.reset-stitch-card__head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.reset-stitch-form {
    display: grid;
    gap: 18px;
    padding: 14px 28px 18px;
}

.reset-stitch-field {
    display: grid;
    gap: 10px;
}

.reset-stitch-field__row,
.reset-otp-fieldset legend,
.reset-strength-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 500;
}

.reset-stitch-field__row small,
.reset-otp-fieldset legend small {
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 600;
}

.reset-stitch-field input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    background: #343331;
    color: var(--text);
    box-shadow: none;
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.reset-stitch-field input::placeholder {
    color: var(--text-faint);
}

.reset-stitch-field input:focus {
    border-color: var(--accent-dim);
    background: #3a3937;
    box-shadow: 0 0 0 1px rgba(230, 196, 48, 0.16);
}

.reset-stitch-field input.is-invalid,
.reset-password-form input.is-invalid {
    border-color: rgba(200, 120, 97, 0.72);
}

.reset-stitch-input {
    position: relative;
    display: block;
}

.reset-stitch-input--icon input {
    padding-right: 12px;
    padding-left: 38px;
}

.reset-stitch-input__icon {
    position: absolute;
    top: 50%;
    left: 12px;
    color: var(--text-faint);
    font-size: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}

.reset-stitch-input input {
    padding-right: 42px;
}

.reset-stitch-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    padding: 0;
    background: transparent;
    color: var(--text-muted);
    transform: translateY(-50%);
}

.reset-stitch-toggle .material-symbols-outlined {
    font-size: 18px;
}

.reset-otp-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.reset-otp-fieldset legend {
    margin-bottom: 10px;
}

.reset-otp-cells {
    display: grid;
    grid-template-columns: repeat(6, clamp(38px, 10vw, 48px));
    justify-content: center;
    gap: 12px;
}

.reset-otp-cells input {
    width: 100%;
    min-height: 52px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 2px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--text-muted);
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: none;
    transition: border-color 150ms ease, color 150ms ease;
}

.reset-otp-cells input:focus {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.reset-otp-cells input.is-filled {
    border-bottom-color: var(--accent);
    color: var(--text);
}

.reset-otp-form.is-invalid .reset-otp-cells input {
    border-bottom-color: rgba(200, 120, 97, 0.82);
}

.reset-strength-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #15120d;
}

.reset-strength-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reset-strength-card__meter {
    display: inline-grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    width: 92px;
}

.reset-strength-card__meter span {
    height: 3px;
    border-radius: 999px;
    background: #3f392e;
    transition: background 150ms ease, opacity 150ms ease;
}

.reset-strength-card__meter span.is-active {
    background: var(--accent);
}

.reset-strength-card__rules {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reset-strength-card__rules li {
    position: relative;
    padding-left: 16px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.reset-strength-card__rules li::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 7px;
    height: 7px;
    border: 1px solid #6d6e68;
    border-radius: 50%;
}

.reset-strength-card__rules li.is-passed {
    color: var(--text-soft);
}

.reset-strength-card__rules li.is-passed::before {
    border-color: var(--accent);
    background: var(--accent);
}

.reset-feedback--inline {
    margin: 0;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.45;
}

.reset-feedback--inline.is-error {
    color: #e5a18f;
}

.reset-feedback--inline.is-success {
    color: var(--text);
}

.reset-stitch-submit {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: filter 150ms ease, transform 150ms ease;
}

.reset-stitch-submit:active {
    transform: scale(0.98);
}

.reset-stitch-submit .material-symbols-outlined {
    font-size: 16px;
}

.reset-stitch-secondary {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 2px 28px 20px;
    text-align: center;
}

.reset-stitch-resend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-faint);
    font-size: 11px;
}

.reset-stitch-resend form {
    display: inline-flex;
    margin: 0;
}

.reset-stitch-link-button {
    width: auto;
    min-height: 0;
    appearance: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline-offset: 3px;
    background: transparent;
    font: inherit;
    line-height: inherit;
}

.reset-stitch-link-button,
.reset-stitch-secondary a,
.reset-stitch-card__footer a {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
}

.reset-stitch-link-button[disabled] {
    background: transparent;
    color: var(--text-faint);
    opacity: 0.72;
    cursor: default;
}

.reset-stitch-link-button:not([disabled]) {
    color: var(--accent-dim);
}

.reset-stitch-secondary a:hover,
.reset-stitch-card__footer a:hover,
.reset-stitch-link-button:not([disabled]):hover {
    color: var(--text-soft);
}

.reset-stitch-change-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.reset-stitch-change-account .material-symbols-outlined {
    font-size: 14px;
}

.reset-stitch-card__footer {
    padding: 4px 28px 28px;
    border: 0;
    background: transparent;
    text-align: center;
}

.reset-stitch-card__footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.reset-stitch-card__footer .material-symbols-outlined {
    font-size: 15px;
}

.reset-stitch-support {
    margin: 16px 0 0;
    text-align: center;
    color: var(--text-faint);
    font-size: 11px;
    line-height: 1.45;
}

.reset-stitch-support a {
    color: var(--text-soft);
    font-weight: 500;
}

.reset-stitch-support a:hover {
    color: var(--primary);
}

.auth-panel--signup {
    width: min(520px, 100%);
    margin: 0 auto;
}

.signup-stitch-card {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--page);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.signup-stitch-content {
    padding: 32px;
}

.signup-stitch-heading {
    margin-bottom: 32px;
}

.signup-stitch-heading h1 {
    margin: 0 0 4px;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.signup-stitch-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.signup-stitch-form {
    display: grid;
    gap: 24px;
}

.signup-stitch-identity-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.signup-stitch-field {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.signup-stitch-label {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.signup-stitch-input {
    position: relative;
    display: block;
    min-width: 0;
}

.signup-stitch-input input {
    width: 100%;
    height: 40px;
    padding: 8px 40px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: 0;
    background: var(--control);
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.signup-stitch-input input::placeholder {
    color: var(--text-faint);
}

.signup-stitch-input input:focus {
    border-color: var(--accent);
    background: var(--control-hover);
    box-shadow: 0 0 0 1px rgba(246, 211, 63, 0.16);
}

.signup-field.is-invalid .signup-stitch-input input {
    border-color: var(--danger);
}

.signup-field.is-valid .signup-stitch-input input {
    border-color: var(--accent);
}

.signup-field-feedback {
    display: none;
    color: var(--accent);
    font-size: 12px;
    line-height: 1.4;
}

.signup-field.is-invalid .signup-field-feedback {
    display: block;
}

.display-name-validation {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: var(--accent);
    pointer-events: none;
    transform: translateY(-50%);
}

.display-name-validation__scanner,
.display-name-validation__check {
    display: none;
}

.signup-field.is-checking .display-name-validation__scanner {
    width: 16px;
    height: 16px;
    display: block;
    border: 2px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: display-name-scan 700ms linear infinite;
}

.signup-field.is-valid .display-name-validation__check {
    display: block;
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
}

.auth-panel--display-name .signup-stitch-submit:disabled {
    background: var(--control);
    color: var(--text-faint);
    box-shadow: none;
}

.auth-panel--display-name .signup-stitch-submit.is-submitting:disabled {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@keyframes display-name-scan {
    to {
        transform: rotate(360deg);
    }
}

.signup-stitch-input__icon {
    display: none;
}

.signup-stitch-email-row {
    position: relative;
    display: block;
}

.signup-stitch-email-row .signup-stitch-input input {
    padding-right: 104px;
}

.signup-stitch-send {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 1;
    min-width: 82px;
    height: 26px;
    padding: 0 8px;
    border-radius: 8px;
    background: transparent;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    transform: translateY(-50%);
    transition: background 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.signup-stitch-send:hover:disabled {
    color: var(--ink);
}

.signup-stitch-send:disabled {
    cursor: default;
    opacity: 1;
}

.signup-stitch-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    background: transparent;
    color: var(--text-faint);
    transform: translateY(-50%);
}

.signup-stitch-password-toggle:hover {
    color: var(--text-muted);
}

.signup-stitch-password-toggle .material-symbols-outlined {
    font-size: 18px;
}

.signup-password-meter {
    position: relative;
    height: 4px;
    display: block;
    margin-top: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--line-soft);
}

.signup-password-meter>span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: var(--danger);
    transition: width 180ms ease, background 180ms ease;
}

.signup-field[data-strength="good"] .signup-password-meter>span {
    background: var(--warning);
}

.signup-field[data-strength="strong"] .signup-password-meter>span {
    background: var(--success);
}

.signup-stitch-strength-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.signup-stitch-strength-copy small {
    color: var(--text-faint);
    font-size: 12px;
    line-height: 1.4;
}

.signup-stitch-terms {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.signup-stitch-terms input {
    appearance: none;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 1px 0 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--control);
}

.signup-stitch-terms input:checked {
    border-color: var(--accent);
    background-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23221b00' d='m6.4 11.2-3-3 1.1-1.1 1.9 1.9 5-5 1.1 1.1z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.signup-stitch-terms a {
    color: var(--accent);
}

.signup-stitch-terms a:hover {
    text-decoration: underline;
}

.signup-stitch-submit {
    position: relative;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: filter 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.signup-stitch-submit:active:not(:disabled) {
    transform: scale(0.98);
}

.signup-stitch-submit:disabled {
    cursor: default;
    opacity: 1;
}

.signup-stitch-submit .material-symbols-outlined {
    font-size: 20px;
}

.signup-stitch-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.signup-stitch-divider::before,
.signup-stitch-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: var(--line-soft);
}

.signup-stitch-divider span {
    color: var(--text-faint);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.signup-stitch-google {
    margin: 0;
}

.signup-stitch-switch {
    margin-top: 24px;
    text-align: center;
}

.signup-stitch-switch a {
    margin-left: 4px;
}

.signup-otp-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 170ms ease;
}

.signup-otp-modal.is-open {
    opacity: 1;
}

.signup-otp-modal__scrim {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 19, 0.82);
    backdrop-filter: blur(10px);
    border-radius: 8px;
}

.signup-otp-modal__panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.signup-otp-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 999px;
    background: var(--control);
    color: var(--text-muted);
}

.signup-otp-modal__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 28px;
}

.signup-otp-modal__head>.material-symbols-outlined {
    color: var(--accent);
    font-size: 28px;
}

.signup-otp-modal__head h3 {
    margin: 0 0 4px;
    color: var(--text);
    font-size: 18px;
}

.signup-otp-modal__head p,
.signup-otp-form__feedback {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.signup-otp-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.signup-otp-cells {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.signup-otp-cells input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 2px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--text-muted);
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: none;
    transition: border-color 150ms ease, color 150ms ease;
}

.signup-otp-cells input:focus {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.signup-otp-cells input.is-filled {
    border-bottom-color: var(--accent);
    color: var(--text);
}

.signup-otp-form.is-invalid .signup-otp-cells input {
    border-bottom-color: rgba(200, 120, 97, 0.82);
}

.signup-otp-submit {
    margin-top: 0;
}

.signup-otp-is-open {
    overflow: hidden;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 24px;
}

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

.auth-modal__scrim {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 19, 0.72);
    backdrop-filter: blur(10px);
}

.auth-modal__panel {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    overflow: auto;
    overflow: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.auth-modal__panel::-webkit-scrollbar {
    display: none;
}

.auth-modal__body {
    position: relative;
    z-index: 1;
}

.auth-modal__body .auth-panel,
.auth-modal__body .auth-reference__container,
.auth-modal__body .auth-reference__card {
    width: 100%;
}

.auth-modal__body .auth-reference__card {
    border-radius: 18px;
    overflow: hidden;
}

.auth-modal__body .auth-reference__security {
    display: none;
}

.auth-modal__flashes {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.auth-modal__flashes[hidden] {
    display: none;
}

.auth-modal__flashes .app-flashes {
    display: grid;
    gap: 10px;
}

.auth-modal__flashes .app-flash {
    position: static;
}

.auth-modal-is-open {
    overflow: hidden;
}

.stitch-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dim);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stitch-empty {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-low);
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.stitch-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--control);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.stitch-button:hover {
    background: var(--control-hover);
    border-color: var(--text-faint);
}

.stitch-button:active {
    transform: translateY(1px);
}

.stitch-button--secondary,
.stitch-button--ghost {
    border-color: rgba(255, 241, 199, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: var(--primary);
}

.stitch-button--secondary:hover,
.stitch-button--ghost:hover {
    border-color: rgba(255, 241, 199, 0.26);
    background: rgba(255, 255, 255, 0.05);
}

.select-shell {
    position: relative;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--control);
    color: var(--text-soft);
}

.select-shell select {
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    appearance: none;
}

.select-shell select:focus {
    outline: none;
}

.select-shell .material-symbols-outlined {
    position: absolute;
    right: 12px;
    color: var(--text-faint);
    font-size: 20px;
    pointer-events: none;
}

.markets-directory {
    width: min(var(--container), 100%);
    margin: 0 auto;
    padding: 32px var(--gutter) 96px;
}

.markets-directory {
    display: grid;
    gap: 24px;
}

@media (min-width: 761px) {
    .markets-directory {
        width: calc(100% + (var(--gutter) * 2));
        margin-right: calc(var(--gutter) * -1);
        margin-left: calc(var(--gutter) * -1);
    }

}

.game-market-controls
.market-offer-card {
    border: 1px solid var(--line-soft);
    background: var(--surface-low);
}

.game-market-hero__title h1 {
    margin: 0;
    color: var(--text);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.game-market-hero__title p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.markets-directory__mobile-search {
    display: none;
    position: relative;
    z-index: 20;
    padding: 0 !important;
}

.markets-directory__search--mobile {
    position: relative;
    z-index: 20;
}

.markets-directory__search--mobile .latest-home-search__field input {
    height: 56px;
    padding-right: 64px;
    border-radius: 16px;
    background: var(--control);
}

.markets-directory__search--mobile .latest-home-mobile-browse__category {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 25;
    transform: translateY(-50%);
}

.markets-directory__search--mobile .latest-home-mobile-browse__filter {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.markets-directory__search--mobile .latest-home-mobile-browse__filter .material-symbols-outlined {
    position: static;
    font-size: 20px;
    transform: none;
}

.markets-directory__search--mobile .latest-home-mobile-browse__category.is-open .latest-home-mobile-browse__filter,
.markets-directory__search--mobile .latest-home-mobile-browse__category[data-search-category-value]:not([data-search-category-value=""]) .latest-home-mobile-browse__filter {
    background: rgba(246, 211, 63, 0.14);
    color: var(--accent-dim);
}

.markets-directory__search--mobile .latest-home-mobile-browse__menu {
    left: auto;
    right: -10px;
    width: 190px;
    margin-top: 2px;
}

.market-alphabet {
    position: sticky;
    top: 70px;
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    margin-right: calc(var(--gutter) * -1);
    margin-left: calc(var(--gutter) * -1);
    padding: 8px var(--gutter);
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    background: var(--page);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.market-alphabet a,
.market-alphabet span {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.market-alphabet::-webkit-scrollbar {
    display: none;
}

.market-alphabet a:hover {
    color: var(--text);
}

.market-alphabet a.is-active,
.market-alphabet__all.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: #6d5b00;
}

.market-alphabet span[aria-disabled="true"] {
    border-color: var(--line-soft);
    color: var(--text-faint);
    opacity: 0.38;
    cursor: not-allowed;
}

.market-alphabet__symbol {
    order: 1;
}

.market-directory-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.market-directory-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.market-directory-heading span {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.market-directory-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-top: -8px;
}

.directory-market-card {
    min-width: 0;
    display: grid;
    gap: 8px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    outline: 0;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms ease;
}

.directory-market-card:hover {
    border-color: transparent;
    background: transparent;
    transform: translateY(-2px);
}

.directory-market-card:active {
    outline: 0;
    box-shadow: none;
}

.directory-market-card__art {
    position: relative;
    height: auto;
    aspect-ratio: 1;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-raised);
    transition: border-color 160ms ease;
}

.directory-market-card__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 220ms ease, transform 300ms ease;
}

.directory-market-card:hover .directory-market-card__art img {
    transform: scale(1.1);
}

.directory-market-card__shade {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.directory-market-card__count {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 5px 4px;
    border: 1px solid rgba(230, 196, 48, 0.42);
    border-radius: 9px;
    background: rgba(16, 16, 14, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.directory-market-card__count-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 4px;
    padding: 1px 5px;
    color: var(--text);
}

.directory-market-card__count-item+.directory-market-card__count-item {
    border-left: 1px solid rgba(230, 196, 48, 0.24);
}

.directory-market-card__count-item.is-empty {
    opacity: 0.42;
}

.directory-market-card__count-icon {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
}

.directory-market-card__count-value {
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.directory-market-card__count--single {
    right: auto;
    display: inline-flex;
    width: auto;
    max-width: calc(100% - 16px);
    padding: 5px 10px;
}

.directory-market-card__count-item--single {
    padding: 0;
}

.directory-market-card__count-item--single+.directory-market-card__count-item--single {
    border-left: 0;
}

.directory-market-card__count-value--single {
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent)!important;
}

.directory-market-card>strong {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 150ms ease;
}

.directory-market-card:hover>strong {
    color: var(--accent-dim);
}

.game-market-page {
    display: grid;
}

.game-market-offer-search {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--control);
    overflow: hidden;
}

.game-market-offer-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.game-market-offer-search input::placeholder {
    color: var(--text-faint);
}

.game-market-offer-search button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-left: 1px solid var(--line-soft);
    background: transparent;
    color: var(--text-soft);
}

.game-market-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    background-color: var(--surface);
    background-image: var(--market-hero);
    background-position: center;
    background-size: cover;
}

.market-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 18, 16, 0.12), rgba(17, 18, 16, 0.92)), linear-gradient(90deg, rgba(17, 18, 16, 0.85), rgba(17, 18, 16, 0.25));
}

.game-market-hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    display: grid;
    gap: 14px;
}

.market-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.market-hero__crumbs a:hover {
    color: var(--primary);
}

.game-market-hero__title {
    display: grid;
    gap: 10px;
}

.game-market-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.game-market-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    transition: color 150ms ease;
}

.game-market-tabs a small {
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 700;
}

.game-market-tabs a.is-active,
.game-market-tabs a:hover {
    color: var(--primary);
}

.game-market-tabs a.is-active small,
.game-market-tabs a:hover small {
    color: var(--text-soft);
}

.game-market-tabs a.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.game-market-browser {
    display: grid;
    gap: 16px;
}

.game-market-controls {
    display: grid;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 22px;
}

.game-market-controls__actions,
.market-offer-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.game-market-controls__actions {
    justify-content: flex-end;
}

.game-market-controls__sort {
    min-width: 190px;
}

.game-market-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

.game-market-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.game-market-toggle__track {
    position: relative;
    width: 48px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--control);
    transition: background 150ms ease, border-color 150ms ease;
}

.game-market-toggle__thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-faint);
    transition: transform 150ms ease, background 150ms ease;
}

.game-market-toggle input:checked+.game-market-toggle__track {
    border-color: rgba(246, 211, 63, 0.28);
    background: rgba(246, 211, 63, 0.16);
}

.game-market-toggle input:checked+.game-market-toggle__track .game-market-toggle__thumb {
    transform: translateX(20px);
    background: var(--accent);
}

.game-market-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.market-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.market-offer-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.market-offer-card:hover {
    border-color: rgba(246, 211, 63, 0.22);
    background: var(--panel-hover);
    transform: translateY(-2px);
}

.market-offer-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--panel-raised);
}

.market-offer-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 18, 16, 0.04), rgba(17, 18, 16, 0.88));
}

.market-offer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.market-offer-card:hover .market-offer-card__media img {
    transform: scale(1.04);
}

.game-market-card__seller-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 241, 199, 0.12);
    border-radius: 14px;
    background: rgba(17, 18, 16, 0.78);
    backdrop-filter: blur(6px);
}

.game-market-card__seller-badge>span {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.game-market-card__seller-badge small {
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.4;
}

.market-offer-card__body {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.market-offer-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.market-offer-card__topline h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.market-offer-card__topline h2 a:hover {
    color: var(--primary);
}

.market-offer-card__summary {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.game-market-card__inline-link {
    color: var(--accent-dim);
    font-size: 13px;
    font-weight: 700;
}

.game-market-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.game-market-card__specs div {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.game-market-card__specs small,
.game-market-card__price small {
    display: block;
    margin-bottom: 4px;
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-market-card__specs strong {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.game-market-card__price strong {
    color: var(--accent);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.game-market-card__meta-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.market-offer-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 241, 199, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.market-offer-status.is-online {
    border-color: rgba(85, 182, 87, 0.34);
    background: rgba(85, 182, 87, 0.12);
    color: #92d890;
}

.game-market-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 40px 24px;
    border-radius: 22px;
    text-align: center;
}

.game-market-empty__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 241, 199, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-dim);
}

.game-market-empty__icon .material-symbols-outlined {
    font-size: 28px;
}

.game-market-empty h2,
.game-market-empty p {
    margin: 0;
}

.game-market-empty h2 {
    color: var(--text);
    font-size: 24px;
    font-weight: 700;
}

.game-market-empty p {
    max-width: 540px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .market-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .market-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .game-market-controls__actions,
.market-offer-card__meta {
        flex-wrap: wrap;
    }
    .game-market-controls__actions {
        width: 100%;
        justify-content: flex-start;
    }

}

@media (max-width: 760px) {
    .markets-directory {
        --markets-directory-sticky-top: 58px;
        --markets-directory-mobile-search-offset: 0px;
        padding-top: 0;
    }
    
    .markets-directory,
.game-market-page {
        padding-bottom: 108px;
    }
    .game-market-hero__title h1 {
        font-size: 24px;
    }
    .markets-directory__mobile-search {
        display: none;
    }
    .market-alphabet {
        top: calc(var(--markets-directory-sticky-top) + var(--markets-directory-mobile-search-offset));
        z-index: 25;
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding: 8px var(--gutter);
        border-radius: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .market-alphabet::-webkit-scrollbar {
        display: none;
    }
    .market-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .market-offer-grid {
        grid-template-columns: 1fr;
    }
    .directory-market-card {
        border-radius: 0;
    }
    .market-offer-card__body {
        padding: 14px;
    }
    .game-market-hero {
        min-height: 260px;
        padding: 22px 18px;
    }
    .game-market-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .game-market-controls {
        padding: 18px 16px;
        border-radius: 18px;
    }
    .game-market-controls__sort,
.select-shell {
        width: 100%;
    }
    .game-market-card__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .game-market-card__price strong {
        font-size: 24px;
    }
    .game-market-card__meta-actions {
        width: 100%;
        justify-content: flex-start;
    }

}

@media (max-width: 1100px) {
    .latest-home-header__primary,
.latest-home-header__utility {
        gap: clamp(16px, 2.4vw, 24px);
        padding-right: 24px;
        padding-left: 24px;
    }
    
    body[data-route="game"] .latest-home-header__utility {
        height: 23px;
    }
    
    .latest-home-logo {
        font-size: 25px;
    }
    .latest-home-search--header {
        min-width: 0;
        grid-template-columns: max-content minmax(0, 1fr) 50px;
    }
    .latest-home-search__category-toggle {
        padding-right: 10px;
        padding-left: 12px;
        font-size: 12px;
    }
    .latest-home-search__category-toggle [data-search-category-label] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .latest-home-search--header input,
.latest-home-search__submit {
        font-size: 12px;
    }
    .latest-home-header__nav {
        gap: 14px;
    }
    .latest-home-header__nav a {
        font-size: 12px;
    }
    .latest-home-auth-link {
        padding: 0 16px;
        font-size: 12px;
    }
    body[data-viewer-authenticated="1"] .latest-home-header__primary {
        gap: 16px;
        padding-right: 18px;
        padding-left: 18px;
    }
    body[data-viewer-authenticated="1"] .latest-home-search--header {
        grid-template-columns: max-content minmax(0, 1fr) 50px;
        flex: 1 1 0;
    }
    body[data-viewer-authenticated="1"] .latest-home-auth-link:not(.is-primary) {
        width: 40px;
        max-width: 40px;
        padding-right: 0;
        padding-left: 0;
    }
    body[data-viewer-authenticated="1"] .latest-home-auth-link:not(.is-primary) .latest-home-auth-link__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
    body[data-viewer-authenticated="1"] .latest-home-auth-link.is-primary {
        max-width: 118px;
        padding-right: 14px;
        padding-left: 14px;
    }
    body[data-viewer-authenticated="1"] .latest-home-auth-link.is-primary .latest-home-auth-link__label {
        font-size: 0;
    }
    body[data-viewer-authenticated="1"] .latest-home-auth-link.is-primary .latest-home-auth-link__label::after {
        content: "Create";
        font-size: 12px;
    }
    .latest-home-header__actions {
        gap: 6px;
    }
    .latest-home-header__flash-deals {
        font-size: 10px;
    }
    .latest-home-game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .latest-home-listing-card__body {
        padding: 24px;
    }
    .about-market-hero {
        min-height: auto;
    }
    .about-market-hero__content {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 64px;
        padding-bottom: 104px;
    }
    .about-market-hero__content h1 {
        font-size: 56px;
    }
    .contact-support-layout {
        grid-template-columns: 1fr;
    }
    .about-market-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-support-rail {
        position: static;
    }
    .contact-support-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-support-form__grid {
        gap: 0.85rem;
    }

}

@media (min-width: 761px) {
    body .latest-home-header__primary .latest-home-search--header {
        width: 40px;
        flex: 0 0 40px;
        grid-template-columns: 0 40px 0;
        margin-left: auto;
        margin-right: -16px;
        overflow: visible;
    }

    body .latest-home-header__primary .latest-home-search--header:hover,
    body .latest-home-header__primary .latest-home-search--header:focus-within,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded {
        width: min(100%, 780px);
        flex: 1 1 780px;
        grid-template-columns: max-content minmax(180px, 1fr) 54px;
        margin-left: 0;
        margin-right: 0;
    }

    body .latest-home-header__primary .latest-home-search--header.latest-home-search--no-category {
        grid-template-columns: 40px 0;
    }

    body .latest-home-header__primary .latest-home-search--header.latest-home-search--no-category:hover,
    body .latest-home-header__primary .latest-home-search--header.latest-home-search--no-category:focus-within,
    body .latest-home-header__primary .latest-home-search--header.latest-home-search--no-category.is-search-expanded {
        grid-template-columns: minmax(180px, 1fr) 54px;
    }

    body .latest-home-header__primary .latest-home-search--header .latest-home-search__category,
    body .latest-home-header__primary .latest-home-search--header .latest-home-search__submit,
    body .latest-home-header__primary .latest-home-search--header .latest-home-search__clear,
    body .latest-home-header__primary .latest-home-search--header input {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body .latest-home-header__primary .latest-home-search--header:hover .latest-home-search__category,
    body .latest-home-header__primary .latest-home-search--header:hover .latest-home-search__submit,
    body .latest-home-header__primary .latest-home-search--header:hover .latest-home-search__clear,
    body .latest-home-header__primary .latest-home-search--header:hover input,
    body .latest-home-header__primary .latest-home-search--header:focus-within .latest-home-search__category,
    body .latest-home-header__primary .latest-home-search--header:focus-within .latest-home-search__submit,
    body .latest-home-header__primary .latest-home-search--header:focus-within .latest-home-search__clear,
    body .latest-home-header__primary .latest-home-search--header:focus-within input,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded .latest-home-search__category,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded .latest-home-search__submit,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded .latest-home-search__clear,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded input {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body .latest-home-header__primary .latest-home-search--header .latest-home-search__clear {
        right: -42px;
    }

    body .latest-home-header__primary .latest-home-search--header .latest-home-search__clear::after {
        right: auto;
        left: -4px;
    }

    body .latest-home-header__primary .latest-home-search--header:hover .latest-home-search__submit .material-symbols-outlined,
    body .latest-home-header__primary .latest-home-search--header:focus-within .latest-home-search__submit .material-symbols-outlined,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded .latest-home-search__submit .material-symbols-outlined {
        opacity: 0;
        visibility: hidden;
    }

    body .latest-home-header__primary .latest-home-search--header .latest-home-search__field {
        width: 40px;
        height: 40px;
        overflow: hidden;
        border: 0;
        border-radius: 999px;
        background: transparent;
    }

    body .latest-home-header__primary .latest-home-search--header:hover .latest-home-search__field,
    body .latest-home-header__primary .latest-home-search--header:focus-within .latest-home-search__field,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded .latest-home-search__field {
        width: auto;
        height: auto;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    body .latest-home-header__primary .latest-home-search--header:hover input,
    body .latest-home-header__primary .latest-home-search--header:focus-within input,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded input {
        padding-left: 40px;
    }

    body .latest-home-header__primary .latest-home-search--header .latest-home-search__field>.material-symbols-outlined {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    body .latest-home-header__primary .latest-home-search--header:hover .latest-home-search__field>.material-symbols-outlined,
    body .latest-home-header__primary .latest-home-search--header:focus-within .latest-home-search__field>.material-symbols-outlined,
    body .latest-home-header__primary .latest-home-search--header.is-search-expanded .latest-home-search__field>.material-symbols-outlined {
        left: 12px;
        opacity: 1;
        transform: translateY(-50%);
        visibility: visible;
    }

    body .latest-home-header__primary .latest-home-search--header:not(:hover):not(:focus-within):not(.is-search-expanded) .search-results {
        display: none;
    }
}

@media (max-width: 760px) {
     :root {
        --gutter: 16px;
    }
    .stitch-app--auth .app-flashes {
        top: 70px;
        right: 16px;
        width: calc(100vw - 32px);
    }
    .auth-reference {
        min-height: max(884px, 100dvh);
    }
    .auth-reference__desktop-only {
        display: none;
    }
    .auth-reference__mobile-only {
        display: inline;
    }
    .auth-modal {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 16px;
        place-items: center;
    }
    .auth-modal__panel {
        position: fixed;
        top: 50%;
        left: 50%;
        width: min(100vw - 32px, 520px);
        max-height: calc(100dvh - 32px);
        margin: 0;
        padding: 0;
        transform: translate(-50%, -50%);
    }
    .auth-modal__body {
        width: 100%;
        display: grid;
        justify-items: center;
    }
    .auth-modal__body .auth-reference__container,
.auth-modal__body .auth-panel,
.auth-modal__body .auth-panel--reset {
        width: 100%;
    }
    .auth-modal__body .auth-panel.auth-reference--login,
    .auth-modal__body .auth-reference--login .auth-reference__container {
        width: min(100%, 520px);
        margin-right: auto;
        margin-left: auto;
    }
    .auth-modal__body .auth-reference__card {
        border-radius: 16px;
    }
    .auth-panel--signup {
        width: 100%;
    }
    .signup-stitch-content {
        padding: 24px;
    }
    .signup-stitch-heading {
        margin-bottom: 24px;
    }
    .signup-stitch-heading h1 {
        font-size: 16px;
    }
    .signup-stitch-heading p {
        font-size: 12px;
    }
    .signup-stitch-form {
        gap: 16px;
    }
    .signup-stitch-identity-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .signup-stitch-label {
        font-size: 13px;
    }
    .signup-stitch-terms {
        gap: 12px;
    }
    .signup-stitch-divider {
        padding: 12px 0;
    }
    .signup-stitch-google {
        border-radius: 8px;
    }
    .signup-stitch-google .auth-reference__google-icon {
        padding: 0;
        border-radius: 0;
        background: transparent;
    }
    .auth-reference--login .auth-reference__card {
        width: min(420px, 100%);
        padding: 0;
        overflow: hidden;
        border-radius: 12px;
        background: var(--page);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
    .auth-reference--login .auth-reference__content {
        display: grid;
        gap: 24px;
        padding: 32px;
    }
    .auth-reference--login .auth-reference__google,
.auth-reference--login .auth-reference__divider,
.auth-reference--login .auth-reference__switch,
.auth-reference--login .auth-reference__notice {
        margin: 0;
    }
    .auth-reference--login .auth-reference__google,
.auth-reference--login .auth-reference__input input,
.auth-reference--login .auth-reference__submit {
        border-radius: 8px;
    }
    .auth-reference--login .auth-reference__google-icon {
        padding: 0;
        border-radius: 0;
        background: transparent;
    }
    .auth-reference--login .auth-reference__divider span {
        padding: 0 16px;
    }
    .auth-reference--login .auth-reference__form {
        gap: 16px;
    }
    .auth-reference--login .auth-reference__field {
        gap: 6px;
    }
    .auth-reference--login .auth-reference__field>span:first-child,
.auth-reference--login .auth-reference__field-row {
        font-size: 13px;
    }
    .auth-reference--login .auth-reference__forgot {
        font-size: 11px;
    }
    .auth-reference--login .auth-reference__input-icon {
        display: none;
    }
    .auth-reference--login .auth-reference__input input {
        padding-right: 16px;
        padding-left: 16px;
    }
    .auth-reference--login .auth-reference__input input[type="password"] {
        padding-right: 44px;
    }
    .auth-reference--login .auth-reference__password-toggle {
        position: absolute;
        top: 50%;
        right: 10px;
        display: grid;
        width: 28px;
        height: 28px;
        place-items: center;
        padding: 0;
        background: transparent;
        color: var(--text-muted);
        transform: translateY(-50%);
    }
    .auth-reference--login .auth-reference__password-toggle .material-symbols-outlined {
        font-size: 20px;
    }
    .auth-reference--login .auth-reference__check {
        padding-top: 4px;
    }
    .auth-reference--login .auth-reference__check input {
        border-radius: 8px;
    }
    .auth-reference--login .auth-reference__submit {
        margin-top: 8px;
        letter-spacing: 0;
        text-transform: none;
    }
    .auth-reference--login .auth-reference__switch {
        padding-top: 0;
        border-top: 0;
    }
    .auth-panel--reset {
        width: min(100%, 432px);
    }
    .auth-reference__card--reset-stitch {
        border-radius: 10px;
    }
    .reset-stitch-card__head {
        padding-right: 16px;
        padding-left: 16px;
    }
    .reset-stitch-card__head h1 {
        font-size: 24px;
    }
    .reset-stitch-form,
.reset-stitch-secondary,
.reset-stitch-card__footer {
        padding-right: 16px;
        padding-left: 16px;
    }
    .reset-otp-cells {
        gap: 8px;
    }
    .reset-otp-cells input {
        width: 100%;
        min-height: 48px;
    }
    .auth-reference__security {
        display: none;
    }
    .latest-home-header {
        height: 58px;
    }
    .latest-home-header__desktop {
        display: none;
    }
    .latest-home-header__mobile {
        position: relative;
        height: 58px;
        display: block;
        overflow: visible;
    }
    .latest-home-header__mobile-bar {
        height: 58px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        padding: 0 16px;
        gap: 10px;
    }
    .latest-home-header__mobile.is-search-open .latest-home-header__mobile-search-button {
        display: none;
    }
    .latest-home-header__mobile-brand {
        grid-column: 1;
        display: flex;
        min-width: 0;
        overflow: hidden;
        color: var(--accent-dim);
        font-weight: 700;
        letter-spacing: -0.03em;
        justify-content: flex-start;
        -webkit-tap-highlight-color: transparent;
        width: 40px;
    }
    .latest-home-header__mobile-actions {
        grid-column: 3;
        justify-self: end;
        gap: 0;
    }
    .latest-home-header__mobile-search-button {
        background: transparent;
        height: 40px;
        display: flex;
        align-items: center;
    }
    .latest-home-notifications--mobile .latest-home-notification-button,
    .latest-home-notifications--mobile .latest-home-notification-button:hover,
    .latest-home-header__mobile-search-button:hover {
        background: transparent;
    }
    .latest-home-mobile-header-search {
        grid-column: 2;
        position: relative;
        z-index: 4;
        min-width: 0;
        width: 100%;
        height: 50px;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 0;
        padding: 0 12px 0 0;
        border: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.03);
    }
    .latest-home-mobile-header-search[hidden] {
        display: none;
    }
    .latest-home-mobile-header-search__iconleft {
        position: relative;
        z-index: 2;
        width: 38px;
        height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--text);
        opacity: 1;
        visibility: visible;
        cursor: default;
    }
    .latest-home-mobile-header-search__iconleft:hover,
    .latest-home-mobile-header-search__iconleft:focus,
    .latest-home-mobile-header-search__iconleft:focus-visible,
    .latest-home-mobile-header-search__iconleft:active {
        background: transparent;
        box-shadow: none;
        transform: none;
    }
    .latest-home-mobile-header-search__iconleft .material-symbols-outlined {
        font-size: 24px;
    }
    .latest-home-mobile-header-search .latest-home-search__field {
        position: relative;
        min-width: 0;
        height: 100%;
        border-radius: 16px;
        background: transparent;
    }
    .latest-home-mobile-header-search .latest-home-search__field input {
        height: 100%;
        padding: 0 72px 0 0;
        border: 0;
        border-radius: 16px;
        background: transparent;
        color: var(--text);
        font-size: 14px;
    }
    .latest-home-mobile-header-search .latest-home-search__field input:focus {
        background: transparent;
        box-shadow: none;
    }
    body[data-route="game"] .latest-home-header .latest-home-mobile-header-search .latest-home-search__field input,
    body[data-route="game"] .latest-home-header .latest-home-mobile-header-search .latest-home-search__field input:focus {
        border: 0;
        background: transparent;
    }
    .latest-home-mobile-header-search .latest-home-search__clear {
        right: 43px;
        color: var(--text-soft);
    }
    .latest-home-mobile-header-search .latest-home-search__clear .material-symbols-outlined {
        font-size: 21px;
    }
    .latest-home-mobile-header-search .latest-home-search__field>.latest-home-mobile-header-search__icon {
        position: absolute;
        top: 50%;
        left: auto;
        right: 4px;
        width: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 24px;
        transform: translateY(-50%);
        pointer-events: none;
    }
    .latest-home-mobile-header-search__category {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 4;
        width: auto;
        transform: translateY(-50%);
    }
    .latest-home-mobile-header-search__filter {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--text-muted);
        transition: background 150ms ease, color 150ms ease;
    }
    .latest-home-mobile-header-search__category.is-open .latest-home-mobile-header-search__filter,
    .latest-home-mobile-header-search__category[data-search-category-value]:not([data-search-category-value=""]) .latest-home-mobile-header-search__filter {
        background: rgba(246, 211, 63, 0.14);
        color: var(--accent-dim);
    }
    .latest-home-mobile-header-search__filter .material-symbols-outlined {
        position: static;
        transform: none;
        font-size: 21px;
        pointer-events: auto;
    }
    .latest-home-mobile-header-search__menu {
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        width: 190px;
    }
    .latest-home-mobile-header-search .search-results {
        top: calc(100% + 6px);
        right: 0;
        left: 0;
    }
    .latest-home-header__profile {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: transparent;
        color: var(--text-soft);
    }
    .latest-home-profile-menu--mobile .latest-home-profile-button {
        width: 44px;
        height: 44px;
        padding: 3px;
    }
    .latest-home-profile-menu--mobile .latest-home-profile-avatar {
        width: 36px;
        height: 36px;
    }
    .latest-home-profile-menu--mobile .latest-home-profile-panel .latest-home-profile-avatar--large {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .latest-home-profile-menu--mobile .latest-home-profile-panel {
        right: 0;
        width: min(250px, calc(100vw - 24px));
    }
    .latest-home-profile-menu--mobile .latest-home-profile-panel__card {
        max-height: calc(100dvh - 92px);
    }
    .latest-home-notification-modal__panel {
        width: min(100%, 430px);
        max-height: calc(100vh - 24px);
    }
    .latest-home-notification-modal__header {
        padding: 16px;
    }
    .latest-home-notification-modal__item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px 16px;
    }
    .latest-home-notification-modal__item small {
        white-space: normal;
    }
    .latest-home-main {
        width: 100%;
        padding: 58px 0 0;
    }
    .latest-home-main--static-page {
        padding-bottom: 32px;
    }
    .latest-home-hero--desktop {
        display: none;
    }
    .latest-home-hero--mobile {
        display: block;
        padding: 0 16px 12px;
        background: var(--page);
    }
    .latest-home-mobile-browse {
        display: none;
    }
    body[data-route="home"] .latest-home-mobile-browse {
        display: none;
    }
    .latest-home-mobile-browse__search {
        position: relative;
    }
    .latest-home-mobile-browse__search .latest-home-search__field {
        position: relative;
    }
    .latest-home-mobile-browse__search .latest-home-search__field input {
        height: 56px;
        padding-right: 98px;
        border: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.03);
    }
    .latest-home-mobile-browse__search .latest-home-search__clear {
        right: 58px;
        color: var(--text-soft);
    }
    .latest-home-mobile-browse__search .latest-home-search__clear .material-symbols-outlined {
        font-size: 21px;
    }
    .latest-home-mobile-browse__category {
        position: absolute;
        top: 50%;
        right: 10px;
        z-index: 210;
        transform: translateY(-50%);
    }
    .latest-home-mobile-browse__filter {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        color: var(--text-muted);
        transition: background 150ms ease, color 150ms ease;
    }
    .latest-home-mobile-browse__category.is-open .latest-home-mobile-browse__filter,
    .latest-home-mobile-browse__category[data-search-category-value]:not([data-search-category-value=""]) .latest-home-mobile-browse__filter {
        background: rgba(246, 211, 63, 0.14);
        color: var(--accent-dim);
    }
    .latest-home-mobile-browse__filter .material-symbols-outlined {
        position: static;
        transform: none;
        font-size: 20px;
        pointer-events: auto;
    }
    .latest-home-mobile-browse__menu {
        left: auto;
        right: -10px;
        width: 190px;
        margin-top: 2px;
    }
    .latest-home-mobile-browse__search .search-results {
        top: calc(100% + 10px);
    }
    .latest-home-hero__mobile-copy {
        display: grid;
        gap: 8px;
    }
    .latest-home-hero h1 {
        margin: 0;
        color: var(--text);
        font-size: 24px;
        line-height: 1.15;
    }
    .latest-home-hero__mobile-copy p {
        margin: 0;
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.6;
    }
    .latest-home-section {
        padding-top: 32px;
        padding-bottom: 0;
    }
    .latest-home-section__head {
        min-height: 28px;
        margin-bottom: 16px;
        padding: 0 16px;
    }
    .latest-home-section__head h2 {
        font-size: 16px;
    }
    .latest-home-section__head p {
        font-size: 12px;
    }
    .latest-home-view-desktop {
        display: none !important;
    }
    .latest-home-view-mobile {
        display: inline;
        color: var(--accent-dim);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }
    .latest-home-section__head>a {
        color: var(--accent-dim);
        font-size: 12px;
    }
    .latest-home-games {
        margin-right: 0;
        margin-left: 0;
        padding-right: 16px;
        padding-left: 16px;
        overflow: hidden;
    }
    .latest-home-games .latest-home-section__head {
        margin-bottom: 16px;
        padding-right: 0;
        padding-left: 0;
    }
    .latest-home-game-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        margin-right: -16px;
        padding: 0 16px 4px 0;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .latest-home-game-grid::-webkit-scrollbar {
        display: none;
    }
    .latest-home-game-card {
        width: 140px;
        flex: 0 0 140px;
        gap: 8px;
        scroll-snap-align: start;
    }
    .latest-home-game-card__media {
        height: auto;
        aspect-ratio: 1;
        border-radius: 12px;
    }
    .latest-home-game-card>strong {
        font-size: 16px;
    }
    .latest-home-game-card__count {
        padding-right: 2px;
        padding-left: 2px;
    }
    .latest-home-game-card__count-item {
        gap: 2px;
        padding-right: 2px;
        padding-left: 2px;
    }
    .latest-home-game-card__count-icon {
        font-size: 14px;
    }
    .latest-home-game-card__count-value {
        font-size: 9px;
    }
    .latest-home-listings {
        padding-right: 16px;
        padding-left: 16px;
    }
    .latest-home-listings .latest-home-section__head {
        padding: 0;
    }
    .latest-home-listing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .latest-home-listing-card {
        border-radius: 12px;
        background: var(--surface-low);
        transform: none;
    }
    .latest-home-listing-card:hover {
        transform: none;
    }
    .latest-home-listing-card__media {
        height: 192px;
        border-radius: 11px 11px 0 0;
    }
    .latest-home-listing-card__badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        border-radius: 7px;
        font-size: 10px;
    }
    .latest-home-listing-card__body {
        min-height: 192px;
        padding: 24px;
    }
    .latest-home-listing-card h3 {
        font-size: 16px;
    }
    .latest-home-listing-card__seller {
        display: flex;
    }
    .latest-home-listing-card__footer {
        display: flex;
        margin-top: auto;
    }
    .latest-home-listing-card__price {
        font-size: 24px;
    }
    .stitch-app--mobile-nav {
        padding-bottom: calc(58px + env(safe-area-inset-bottom));
    }
    .stitch-app--not-found.stitch-app--mobile-nav {
        height: 100dvh;
        min-height: 100dvh;
        overflow-y: hidden;
        padding-bottom: 0;
    }
    .app-footer--guest {
        display: none;
    }
    .business-page {
        width: min(100%, calc(100% - 1rem));
    }
    .privacy-legal-hero {
        padding: 32px 0;
    }
    .privacy-legal-hero h1 {
        font-size: 30px;
    }
    .privacy-legal-layout {
        display: block;
        padding: 32px 0;
    }
    .privacy-legal-sidebar {
        display: none;
    }
    .privacy-legal-page {
        width: 100%;
        padding-right: 40px;
        padding-left: 40px;
    }
    .privacy-legal-content {
        max-width: none;
    }
    .privacy-legal-content section {
        margin-bottom: 32px;
        scroll-margin-top: 78px;
    }
    .privacy-legal-grid {
        grid-template-columns: 1fr;
    }
    .privacy-legal-table-wrap {
        overflow-x: visible;
    }
    .privacy-legal-content table {
        min-width: 0;
        table-layout: fixed;
    }
    .privacy-legal-content th,
.privacy-legal-content td {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .privacy-legal-callout {
        padding: 16px;
    }
    .about-market-page {
        width: calc(100% - 32px);
        gap: 28px;
    }
    .about-market-hero {
        min-height: auto;
    }
    .about-market-hero__content {
        position: relative;
        min-height: auto;
        gap: 22px;
        padding: 42px 16px 48px;
        background: transparent;
    }
    .about-market-hero__copy {
        gap: 14px;
    }
    .about-market-hero__content h1 {
        font-size: 42px;
        line-height: 1;
    }
    .about-market-hero__content p {
        font-size: 15px;
        line-height: 1.65;
    }
    .about-market-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .about-market-button {
        width: 100%;
    }
    .stitch-404-page {
        min-height: calc(100dvh - 116px);
        padding: 0 var(--gutter);
    }
    .stitch-404-page__code {
        font-size: 120px;
    }
    .stitch-404-page__details h2 {
        font-size: 24px;
    }
    .stitch-404-page__actions {
        width: 100%;
        flex-direction: column;
    }
    .stitch-404-page__button {
        width: min(100%, 280px);
    }
    .about-market-cta h2 {
        font-size: 28px;
        line-height: 1.12;
    }
    .about-market-cta {
        display: grid;
        gap: 18px;
        padding-top: 24px;
    }
    .contact-support-page {
        width: calc(100% - 32px);
        gap: 20px;
        padding-top: 18px;
    }
    .contact-support-header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
        padding-bottom: 18px;
    }
    .contact-support-status {
        min-height: 36px;
        justify-self: start;
        max-width: 100%;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 12px;
    }
    .contact-support-panel,
.contact-support-form {
        padding: 20px;
    }
    .contact-support-header h1 {
        font-size: clamp(24px, 7vw, 30px);
        line-height: 1.22;
    }
    .contact-support-header p {
        font-size: 14px;
        line-height: 1.55;
    }
    .contact-support-form__grid {
        grid-template-columns: 1fr;
    }
    .contact-support-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-support-form__actions {
        display: grid;
    }
    .contact-support-submit {
        width: 100%;
        justify-content: center;
    }
    .latest-home-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 120;
        width: 100%;
        min-height: calc(58px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        background: var(--surface);
    }
    .latest-home-bottom-nav a {
        min-width: 0;
        min-height: 46px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #cfc6ae;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: -0.02em;
        text-transform: none;
        transition: color 150ms ease, transform 150ms ease;
    }
    .latest-home-bottom-nav a.is-active {
        color: var(--accent-dim);
    }
    .latest-home-bottom-nav a:active {
        transform: scale(0.95);
    }
    .latest-home-bottom-nav .material-symbols-outlined {
        font-size: 24px;
    }
    .latest-home-bottom-nav a.is-active .material-symbols-outlined {
        font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
    }
    .app-flashes {
        top: 70px;
        right: 16px;
    }
    .app-toast-region {
        top: 70px;
        right: 16px;
        left: 16px;
        width: auto;
    }

}

@media (max-width: 430px) {
    .latest-home-header__mobile-brand {
        font-size: 18px;
    }
    .about-market-hero__content h1 {
        font-size: 36px;
    }
    .about-market-cta h2 {
        font-size: 25px;
    }
    .latest-home-listing-card__price {
        font-size: 21px;
    }

}

body[data-route="seller"] .latest-home-main {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

body[data-route="seller"] .latest-home-main--static-page {
    padding-bottom: 0;
}

.seller-profile-page {
    width: 100%;
    min-height: 100%;
    background: var(--page);
    color: var(--text);
}

.seller-profile-summary {
    border-bottom: 1px solid var(--line-soft);
    background: var(--page);
}

.seller-profile-summary__inner {
    width: min(calc(100% - 48px), var(--container));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
    padding: 28px 0;
}

.seller-profile-avatar {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
    font-weight: 800;
}

.seller-profile-avatar--summary {
    width: 96px;
    height: 96px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    font-size: 34px;
}

.seller-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-profile-avatar__status {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 2px solid var(--page);
    border-radius: 50%;
    background: var(--success);
    color: var(--page);
}

.seller-profile-avatar__status .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 16;
}

.seller-profile-identity {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.seller-profile-identity__title-row {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-profile-identity h1 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 720;
    line-height: 1.16;
}

.seller-profile-identity p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.4;
}

.seller-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
}

.seller-profile-pill .material-symbols-outlined {
    font-size: 15px;
}

.seller-profile-rating {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.seller-profile-rating strong {
    color: var(--primary);
    font-weight: 720;
}

.seller-profile-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--text-faint);
    line-height: 1;
}

.seller-profile-stars .material-symbols-outlined {
    font-size: 17px;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 18;
}

.seller-profile-stars .is-filled,
.seller-profile-stars .is-half {
    color: var(--accent);
}

.seller-profile-stars.is-muted .material-symbols-outlined {
    color: var(--text-faint);
    opacity: 0.66;
}

.seller-profile-identity__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-soft);
    font-size: 12px;
}

.seller-profile-identity__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.seller-profile-identity__meta strong {
    color: var(--primary);
    font-weight: 750;
}

.seller-profile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-profile-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background 150ms ease, color 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.seller-profile-button:active {
    transform: scale(0.98);
}

.seller-profile-button--secondary {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.seller-profile-button--secondary:hover {
    border-color: var(--outline-variant, #4f4633);
    background: var(--control-hover);
}

.seller-profile-button .material-symbols-outlined {
    font-size: 18px;
}

.seller-profile-layout {
    width: min(calc(100% - 48px), var(--container));
    display: grid;
    grid-template-columns: minmax(272px, 330px) minmax(0, 1fr);
    gap: 28px;
    margin: 28px auto 72px;
}

.seller-profile-sidebar {
    display: grid;
    align-content: start;
    gap: 16px;
}

.seller-profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    order: 2;
}

/*.seller-profile-stat,
.seller-profile-panel,
.seller-listing-card,
.seller-review-card,
.seller-market-card,
.seller-profile-empty {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}*/

.seller-profile-stat {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 14px;
}

.seller-profile-stat span {
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.seller-profile-stat strong {
    color: var(--primary);
    font-size: 24px;
    font-weight: 760;
    line-height: 1.05;
}

.seller-profile-stat small {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.35;
}

.seller-profile-stat .material-symbols-outlined {
    color: var(--accent-dim);
    font-size: 14px;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 14;
}

.seller-profile-panel {
    padding: 16px;
}

.seller-profile-panel__eyebrow {
    margin: 0 0 10px;
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
}

.seller-profile-panel--rating {
    order: 1;
}

.seller-profile-rating-card {
    display: grid;
    gap: 8px;
}

.seller-profile-rating-card>strong {
    color: var(--primary);
    font-size: 24px;
    font-weight: 760;
    line-height: 1.1;
}

.seller-profile-panel .seller-profile-rating-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.seller-profile-panel--about {
    order: 3;
}

.seller-profile-panel--tools,
.seller-profile-panel--trust {
    order: 4;
}

.seller-profile-panel h2,
.seller-profile-section h2 {
    margin: 0;
    color: var(--primary);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
}

.seller-profile-panel p {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.65;
}

.seller-profile-facts {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.seller-profile-facts div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.seller-profile-facts dt,
.seller-profile-facts dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.seller-profile-facts dt {
    color: var(--text-faint);
}

.seller-profile-facts dd {
    color: var(--text);
    font-weight: 650;
    text-align: right;
}

.seller-profile-tool-list,
.seller-profile-checklist {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
}

.seller-profile-tool-list a,
.seller-profile-checklist li {
    min-height: 38px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.35;
}

.seller-profile-tool-list a {
    border-radius: 8px;
    transition: background 150ms ease, color 150ms ease;
}

.seller-profile-tool-list a:hover {
    background: var(--surface-high);
    color: var(--primary);
}

.seller-profile-checklist {
    padding: 0;
    list-style: none;
}

.seller-profile-tool-list .material-symbols-outlined,
.seller-profile-checklist .material-symbols-outlined {
    color: var(--text-muted);
    font-size: 20px;
}

.seller-profile-main {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 22px;
}

.seller-profile-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.seller-profile-tabs button {
    appearance: none;
    position: relative;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color 150ms ease;
}

.seller-profile-tabs button:hover,
.seller-profile-tabs button.is-active {
    color: var(--accent);
}

.seller-profile-tabs button.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.seller-profile-tabs button span {
    min-width: 24px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--surface-high);
    color: var(--text-muted);
    font-size: 11px;
    text-align: center;
}

.seller-profile-section[hidden] {
    display: none !important;
}

.seller-profile-section {
    min-width: 0;
    display: grid;
    gap: 18px;
    scroll-margin-top: 150px;
}

.seller-profile-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.seller-profile-section__header div {
    display: grid;
    gap: 4px;
}

.seller-profile-section__header span {
    color: var(--accent-dim);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.seller-profile-section__header a {
    color: var(--accent);
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.seller-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.seller-listing-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.seller-listing-card:hover {
    border-color: var(--outline-variant, #4f4633);
    background: var(--surface-low);
    transform: translateY(-2px);
}

.seller-listing-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-high);
}

.seller-listing-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 18, 16, 0.02), rgba(17, 18, 16, 0.76));
}

.seller-listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.seller-listing-card:hover .seller-listing-card__media img {
    transform: scale(1.04);
}

.seller-listing-card__media span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 1;
    max-width: calc(100% - 20px);
    overflow: hidden;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(17, 18, 16, 0.72);
    color: var(--text);
    font-size: 10px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listing-card__body {
    min-width: 0;
    min-height: 150px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
}

.seller-listing-card small {
    display: block;
    margin-bottom: 4px;
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.seller-listing-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--primary);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listing-card h3 a:hover {
    color: var(--accent);
}

.seller-listing-card p {
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listing-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.seller-listing-card__footer strong {
    min-width: 0;
    overflow: hidden;
    color: var(--accent);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listing-card__footer a {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--control);
    color: var(--text-soft);
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.seller-listing-card__footer a:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.seller-listing-card__footer .material-symbols-outlined {
    font-size: 18px;
}

.seller-profile-more {
    margin: 0;
    color: var(--text-faint);
    font-size: 12px;
    text-align: center;
}

.seller-profile-empty {
    min-height: 50px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 0 22px;
    text-align: center;
}

.seller-profile-empty .material-symbols-outlined {
    color: var(--text-faint);
    font-size: 34px;
}

.seller-profile-empty strong {
    color: var(--text);
    font-size: 15px;
}

.seller-profile-empty p {
    max-width: 360px;
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.seller-review-list,
.seller-market-list {
    display: grid;
    gap: 12px;
}

.seller-review-card {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.seller-review-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.seller-review-card__head div {
    display: grid;
    gap: 3px;
}

.seller-review-card strong {
    color: var(--primary);
    font-size: 14px;
    font-weight: 750;
}

.seller-review-card small {
    color: var(--text-faint);
    font-size: 12px;
}

.seller-review-card__head>span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.seller-review-card__head .material-symbols-outlined {
    font-size: 15px;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 15;
}

.seller-review-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
}

.seller-review-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}

.seller-market-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seller-market-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    transition: border-color 150ms ease, background 150ms ease;
}

.seller-market-card:hover {
    border-color: var(--outline-variant, #4f4633);
    background: var(--surface-low);
}

.seller-market-card img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--surface-high);
}

.seller-market-card span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.seller-market-card strong {
    overflow: hidden;
    color: var(--primary);
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-market-card small {
    color: var(--text-muted);
    font-size: 12px;
}

.seller-market-card>.material-symbols-outlined {
    color: var(--text-faint);
    font-size: 20px;
}

@media (max-width: 1100px) {
    .seller-profile-summary__inner,
    .seller-profile-layout {
        width: min(calc(100% - 32px), var(--container));
    }

    .seller-profile-layout {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
        gap: 24px;
    }

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

@media (max-width: 760px) {
    body[data-route="seller"] .latest-home-main {
        padding-top: 58px;
    }

    .seller-profile-page {
        padding-bottom: 24px;
    }

    .seller-profile-summary__inner {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
        padding: 16px;
        text-align: center;
    }

    .seller-profile-avatar--summary {
        width: 78px;
        height: 78px;
        border-width: 1px;
        font-size: 28px;
        box-shadow: none;
    }

    .seller-profile-avatar__status {
        right: 0;
        bottom: 0;
        width: 25px;
        height: 25px;
        border-width: 2px;
    }

    .seller-profile-identity {
        justify-items: center;
        gap: 5px;
    }

    .seller-profile-identity__title-row {
        justify-content: center;
    }

    .seller-profile-identity h1 {
        font-size: 21px;
    }

    .seller-profile-identity__meta {
        justify-content: center;
        gap: 8px;
        font-size: 11px;
    }

    .seller-profile-rating {
        justify-content: center;
        gap: 6px;
    }

    .seller-profile-pill {
        min-height: 24px;
        padding: 4px 9px;
        font-size: 10px;
        text-transform: uppercase;
    }

    .seller-profile-pill .material-symbols-outlined {
        font-size: 13px;
    }

    .seller-profile-actions {
        width: min(100%, 390px);
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding-bottom: 0;
    }

    .seller-profile-button {
        min-width: 0;
        min-height: 42px;
        flex: 1 1 150px;
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13px;
    }

    .seller-profile-layout {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin: 0 auto;
        padding: 0 16px 24px;
    }

    .seller-profile-sidebar {
        order: 2;
        gap: 12px;
    }

    .seller-profile-stat-grid {
        gap: 10px;
        order: 1;
    }

    .seller-profile-panel--about {
        order: 3;
    }

    .seller-profile-panel--tools,
    .seller-profile-panel--trust {
        order: 4;
    }

    .seller-profile-stat {
        padding: 14px;
        border-radius: 10px;
    }

    .seller-profile-stat span {
        font-size: 10px;
    }

    .seller-profile-stat strong {
        font-size: 22px;
    }

    .seller-profile-panel {
        padding: 16px;
        border-radius: 10px;
    }

    .seller-profile-main {
        order: 1;
        gap: 18px;
        margin-top: 18px;
    }

    .seller-profile-tabs {
        position: sticky;
        top: 58px;
        z-index: 50;
        gap: 22px;
        margin: 0 -16px;
        padding: 0 16px;
        overflow-x: auto;
        border-bottom-color: var(--line-soft);
        background: rgba(17, 18, 16, 0.96);
        scrollbar-width: none;
    }

    .seller-profile-tabs::-webkit-scrollbar {
        display: none;
    }

    .seller-profile-tabs button {
        min-height: 46px;
        font-size: 12px;
    }

    .seller-profile-section {
        gap: 12px;
        scroll-margin-top: 114px;
    }

    .seller-profile-section__header {
        align-items: center;
    }

    .seller-profile-section__header span {
        font-size: 10px;
    }

    .seller-profile-section h2 {
        font-size: 15px;
    }

    .seller-listing-grid,
    .seller-market-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .seller-listing-card {
        min-height: 112px;
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        border-radius: 10px;
    }

    .seller-listing-card:hover {
        transform: none;
    }

    .seller-listing-card__media {
        width: 104px;
        height: 100%;
        min-height: 112px;
        aspect-ratio: auto;
    }

    .seller-listing-card__media span {
        right: 7px;
        bottom: 7px;
        left: 7px;
        max-width: none;
        padding: 3px 6px;
        font-size: 9px;
    }

    .seller-listing-card__body {
        min-height: 112px;
        gap: 10px;
        padding: 10px 12px;
    }

    .seller-listing-card small {
        margin-bottom: 3px;
        font-size: 10px;
    }

    .seller-listing-card h3 {
        font-size: 13px;
    }

    .seller-listing-card p {
        margin-top: 4px;
        font-size: 11px;
    }

    .seller-listing-card__footer strong {
        font-size: 18px;
    }

    .seller-listing-card__footer a {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .seller-profile-empty {
        min-height: 50px;
        border-radius: 10px;
        padding: 0px 16px;
    }

    .seller-review-card,
    .seller-market-card {
        border-radius: 10px;
    }

    .seller-review-card {
        padding: 14px;
    }

    .seller-review-card__head {
        gap: 10px;
    }

    .seller-market-card {
        grid-template-columns: 46px minmax(0, 1fr) auto;
        padding: 10px;
    }

    .seller-market-card img {
        width: 46px;
        height: 46px;
        border-radius: 8px;
    }
}

@media (max-width: 380px) {
    .seller-profile-stat-grid {
        grid-template-columns: 1fr;
    }

    .seller-listing-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .seller-listing-card__media {
        width: 92px;
    }
}

/* Seller profile reference layout */
body[data-route="seller"] .latest-home-main {
    padding-top: 70px;
    padding-right: 0;
    padding-left: 0;
}

body[data-route="seller"] .latest-home-main--static-page {
    padding-bottom: 0;
}

.seller-profile-page {
    min-height: 100%;
    padding: 28px 0 72px;
    background: var(--page);
    color: var(--text);
}

.seller-profile-summary,
.seller-profile-actions,
.seller-profile-section__header {
    display: none !important;
}

.seller-profile-layout {
    width: min(calc(100% - 48px), 1320px);
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    margin: 0 auto;
    padding: 0;
}

.seller-profile-sidebar {
    position: sticky;
    top: 112px;
    display: block;
}

.seller-profile-card {
    position: relative;
    display: grid;
    padding: 20px 18px;
    border-radius: 12px;
    text-align: center;
}

.seller-profile-card__face {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 16px;
}

.seller-profile-card__face[hidden] {
    display: none;
}

.seller-profile-card__info,
.seller-profile-card__back {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-soft);
    transition: background 150ms ease, color 150ms ease;
}

.seller-profile-card__info {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.seller-profile-card__back {
    position: absolute;
    top: 10px;
    left: 10px;
}

.seller-profile-card__info:hover,
.seller-profile-card__back:hover {
    background: var(--surface-high);
    color: var(--primary);
}

.seller-profile-card__info .material-symbols-outlined,
.seller-profile-card__back .material-symbols-outlined {
    font-size: 22px;
}

.seller-profile-avatar {
    position: relative;
    display: grid;
    place-items: center;
    overflow: visible;
    border-radius: 50%;
    background: var(--surface-high);
    color: var(--accent);
    font-weight: 800;
}

.seller-profile-avatar--card {
    width: 122px;
    height: 122px;
    font-size: 48px;
}

.seller-profile-avatar--account {
    width: 70px;
    height: 70px;
    font-size: 30px;
}

.seller-profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.seller-profile-avatar__status {
    position: absolute;
    right: 7px;
    bottom: 9px;
    width: 19px;
    height: 19px;
    display: block;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--success);
}

.seller-profile-card__identity {
    display: grid;
    justify-items: center;
    gap: 7px;
}

.seller-profile-card__identity h1 {
    margin: 0;
    color: var(--primary);
    font-size: 26px;
    font-weight: 760;
    line-height: 1.12;
}

.seller-profile-card__identity p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.35;
}

.seller-profile-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.25;
}

.seller-profile-rating strong {
    color: var(--accent);
    font-weight: 720;
}

.seller-profile-rating__star {
    color: var(--accent);
    font-size: 18px;
    font-variation-settings: "FILL" 1, "wght" 520, "GRAD" 0, "opsz" 18;
}

.seller-profile-stars {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--text-faint);
    line-height: 1;
}

.seller-profile-stars .material-symbols-outlined {
    font-size: 17px;
    font-variation-settings: "FILL" 1, "wght" 520, "GRAD" 0, "opsz" 17;
}

.seller-profile-stars .is-filled,
.seller-profile-stars .is-half {
    color: var(--accent);
}

.seller-profile-stars.is-muted .material-symbols-outlined {
    color: var(--text-faint);
    opacity: 0.58;
}

.seller-profile-chat {
    width: min(100%, 178px);
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.seller-profile-chat .material-symbols-outlined {
    font-size: 19px;
}

.seller-profile-divider {
    width: 100%;
    height: 1px;
    background: var(--line);
}

.seller-profile-card__section {
    width: 100%;
    display: grid;
    gap: 11px;
    text-align: left;
}

.seller-profile-card__heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.seller-profile-card__section h2,
.seller-profile-listings h2 {
    margin: 0;
    color: var(--primary);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.2;
}

.seller-profile-card__section p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.55;
}

.seller-profile-card__face--account {
    align-content: start;
    gap: 16px;
    padding: 4px 0 8px;
    overflow: hidden;
    text-align: left;
}

.seller-profile-card__face--account h2 {
    justify-self: stretch;
    margin: 0;
    padding: 2px 38px 0;
    color: var(--primary);
    font-size: 20px;
    font-weight: 720;
    line-height: 1.2;
    text-align: center;
}

.seller-profile-card__account-head {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.seller-profile-card__account-head strong {
    color: var(--primary);
    font-size: 17px;
    font-weight: 720;
    line-height: 1.2;
}

.seller-profile-account-list {
    width: 100%;
    display: grid;
    gap: 15px;
    margin: 0;
    margin-top: 50px;
}

.seller-profile-account-list div {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px;
}

.seller-profile-account-list dt,
.seller-profile-account-list dd {
    margin: 0;
}

.seller-profile-account-list dt {
    display: contents;
    color: var(--primary);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
}

.seller-profile-account-list dt .material-symbols-outlined {
    grid-row: span 2;
    align-self: start;
    color: var(--text-soft);
    font-size: 26px;
}

.seller-profile-account-list dd {
    grid-column: 2;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.3;
}

.seller-profile-main {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 24px;
}

.seller-profile-listings,
.seller-profile-section {
    min-width: 0;
    display: grid;
    gap: 16px;
    scroll-margin-top: 118px;
}

.seller-profile-section[hidden] {
    display: none !important;
}

.seller-listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.seller-listing-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    transition: border-color 150ms ease, background 150ms ease;
}

.seller-listing-card:hover {
    border-color: var(--accent-dim);
    background: var(--surface-low);
    transform: none;
}

.seller-listing-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-high);
}

.seller-listing-card__media::after {
    content: none;
}

.seller-listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.seller-listing-card:hover .seller-listing-card__media img {
    transform: none;
}

.seller-listing-card__body {
    min-width: 0;
    min-height: auto;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 0;
}

.seller-listing-card__topline {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.25;
}

.seller-listing-card__topline span,
.seller-listing-card__topline time {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listing-card h3 {
    margin: 0;
    overflow: hidden;
    color: var(--primary);
    font-size: 15px;
    font-weight: 680;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.seller-listing-card h3 a:hover {
    color: var(--accent);
}

.seller-listing-card p {
    margin: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-listing-card strong {
    align-self: end;
    color: var(--accent);
    font-size: 23px;
    font-weight: 780;
    line-height: 1.05;
}

.seller-profile-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.seller-profile-tabs button {
    appearance: none;
    position: relative;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: color 150ms ease;
}

.seller-profile-tabs button:hover,
.seller-profile-tabs button.is-active {
    color: var(--accent);
}

.seller-profile-tabs button.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.seller-profile-tabs button span {
    display: none;
}

.seller-market-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.seller-market-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color 150ms ease, background 150ms ease;
}

.seller-market-card:hover {
    border-color: var(--accent-dim);
    background: var(--surface-low);
}

.seller-market-card img {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    object-fit: cover;
    background: var(--surface-high);
}

.seller-market-card span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.seller-market-card strong {
    overflow: hidden;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-market-card small,
.seller-market-card em {
    color: var(--text-muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
}

.seller-review-list {
    display: grid;
    gap: 12px;
}

.seller-review-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.seller-review-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.seller-review-card__head div {
    display: grid;
    gap: 3px;
}

.seller-review-card strong {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.seller-review-card small {
    color: var(--text-muted);
    font-size: 12px;
}

.seller-review-card__head>span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.seller-review-card__head .material-symbols-outlined {
    font-size: 15px;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 15;
}

.seller-review-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.seller-review-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.seller-profile-empty {
    min-height: 50px;
    display: grid;
    place-items: center;
    padding: 0 22px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1100px) {
    .seller-profile-layout {
        width: min(calc(100% - 32px), 1120px);
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 24px;
    }

    .seller-listing-grid,
    .seller-market-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body[data-route="seller"] .latest-home-main {
        padding-top: 58px;
    }

    .seller-profile-page {
        padding: 16px 0 34px;
    }

    .seller-profile-layout {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 0;
        padding: 0 16px 24px;
    }

    .seller-profile-sidebar {
        position: static;
        order: 0;
    }

    .seller-profile-card {
        padding: 16px;
        border-radius: 12px;
        box-shadow: none;
        text-align: left;
    }

    .seller-profile-card__face--front {
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: center;
        justify-items: stretch;
        gap: 14px 18px;
    }

    .seller-profile-card__info {
        top: 8px;
        right: 8px;
    }

    .seller-profile-avatar--card {
        width: 112px;
        height: 112px;
        font-size: 48px;
        justify-self: start;
    }

    .seller-profile-avatar__status {
        right: 4px;
        bottom: 5px;
    }

    .seller-profile-card__identity {
        min-width: 0;
        justify-items: start;
        gap: 6px;
        padding-right: 34px;
    }

    .seller-profile-card__identity h1 {
        overflow: hidden;
        max-width: 100%;
        font-size: 24px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .seller-profile-card__identity p {
        font-size: 14px;
    }

    .seller-profile-rating {
        justify-content: flex-start;
        gap: 4px;
        font-size: 13px;
    }

    .seller-profile-rating__star {
        font-size: 18px;
    }

    .seller-profile-chat,
    .seller-profile-divider,
    .seller-profile-card__section {
        grid-column: 1 / -1;
    }

    .seller-profile-chat {
        width: 100%;
        min-height: 46px;
    }

    .seller-profile-card__section h2,
    .seller-profile-listings h2 {
        font-size: 16px;
    }

    .seller-profile-card__face--account {
        min-height: 0;
        gap: 22px;
        padding: 4px 0;
    }

    .seller-profile-card__face--account h2 {
        padding-top: 2px;
        font-size: 19px;
    }

    .seller-profile-tabs {
        position: static;
        top: auto;
        z-index: auto;
        margin: 0;
        padding: 0;
        overflow: visible;
        scrollbar-width: auto;
    }

    .seller-profile-main {
        order: 0;
        margin-top: 0;
    }

    .seller-profile-tabs button {
        min-height: 46px;
        font-size: 13px;
    }

    .seller-listing-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .seller-listing-card h3 {
        font-size: 14px;
    }

    .seller-listing-card strong {
        font-size: 20px;
    }

    .seller-market-card {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        padding: 10px;
    }

    .seller-market-card img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 420px) {
    .seller-profile-layout {
        padding-right: 12px;
        padding-left: 12px;
    }

    .seller-listing-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .seller-listing-card__topline {
        font-size: 11px;
    }
}
