:root .ts-listing-actions .ts-listing-action.ts-listing-favorite,:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:0;height:36px;padding:0 18px;border:0;border-radius:40px;color:#fff;background:var(--favorite-rest, rgba(255, 255, 255, .04));font:inherit;font-size:var(--type-control);font-weight:500;letter-spacing:-.02em;cursor:pointer;transition:background-color .15s,color .15s,transform .15s}.ts-favorite-heart{display:block;width:16px;height:16px;flex-shrink:0;fill:none}:root:not([data-theme]) .ts-listing-action.ts-listing-favorite,:root[data-theme=light] .ts-listing-action.ts-listing-favorite{--favorite-rest: #252528;--favorite-hover: #333337}:root .ts-listing-actions .ts-listing-action.ts-listing-favorite[aria-pressed=true],:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite[aria-pressed=true]{background:#c52946;border:0;color:#fff}.ts-listing-favorite[aria-pressed=true] .ts-favorite-heart{fill:currentColor}.ts-listing-favorite:disabled{opacity:.45;cursor:default}@media(hover:hover){:root .ts-listing-actions .ts-listing-action.ts-listing-favorite:hover,:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite:hover{transform:scale(1.02);background:var(--favorite-hover, rgba(255, 255, 255, .06))}:root .ts-listing-actions .ts-listing-action.ts-listing-favorite[aria-pressed=true]:hover,:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite[aria-pressed=true]:hover{background:#b9233f}.ts-listing-favorite:hover .ts-favorite-heart{animation:favorite-pulse .4s ease-in-out}}:root .ts-listing-actions .ts-listing-action.ts-listing-favorite:active,:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite:active{transform:scale(.96)}@keyframes favorite-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.25)}}.ts-filter-chip[data-filter-favorites]{gap:6px}.ts-filter-chip[data-filter-favorites] .ts-favorite-heart{width:14px;height:14px}:root .ts-market-filter .ts-filter-chip[data-filter-favorites]:not([aria-pressed=true]){background:var(--favorites-filter-rest, rgba(255, 255, 255, .04));border:0;box-shadow:inset 0 0 0 1px #c52946;color:var(--fluid-text)}:root[data-theme=light] .ts-filter-chip[data-filter-favorites]{--favorites-filter-rest: #e7ebf1;--favorites-filter-hover: #dce2eb}@media(prefers-color-scheme:light){:root:not([data-theme]) .ts-filter-chip[data-filter-favorites]{--favorites-filter-rest: #e7ebf1;--favorites-filter-hover: #dce2eb}}:root .ts-market-filter .ts-filter-chip[data-filter-favorites][aria-pressed=true]{background:#c52946;border:0;box-shadow:none;color:#fff}.ts-filter-chip[data-filter-favorites]:is(.has-favorites,[aria-pressed=true]) .ts-favorite-heart{fill:currentColor}@media(hover:hover){:root .ts-market-filter .ts-filter-chip[data-filter-favorites][aria-pressed=true]:hover{background:#b9233f}:root .ts-market-filter .ts-filter-chip[data-filter-favorites]:not([aria-pressed=true]):hover{background:var(--favorites-filter-hover, rgba(255, 255, 255, .06))}}[data-favorites-count]{font-variant-numeric:tabular-nums}.ts-favorites-note{margin:10px 0 0;font-size:var(--type-caption);color:var(--muted, #91a1af)}.ts-favorites-note[hidden]{display:none}.ts-listing-actions .ts-listing-action{padding-inline:12px}.ts-listing-actions .ts-listing-action-label{white-space:normal;line-height:1.2}.ts-listing-actions{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"purchase information favorite"}.ts-listing .ts-listing-actions>.ts-listing-action-primary{grid-area:purchase}.ts-listing .ts-listing-actions>a:not(.ts-listing-action-primary){grid-area:information}.ts-listing .ts-listing-actions>.ts-listing-favorite{grid-area:favorite}.ts-profile-v2 .ts-profile-socials{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:620px){.ts-listing-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"information favorite" "purchase purchase"}:root .ts-listing-actions .ts-listing-action.ts-listing-favorite,:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite{min-height:36px;height:36px;padding:0 12px}.ts-filter-chip[data-filter-favorites]{min-height:36px}}@media(max-width:380px){.ts-listing-actions{grid-template-columns:minmax(0,1fr);grid-template-areas:"favorite" "information" "purchase"}:root .ts-listing-actions .ts-listing-action.ts-listing-favorite{min-height:44px;height:auto;padding:12px}}@supports (container-type: inline-size){.ts-card.ts-listing{container:catalog-card / inline-size}.ts-listing .ts-listing-actions{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"purchase information favorite"}@container catalog-card (width < 32rem){.ts-listing .ts-listing-actions{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"information favorite" "purchase purchase"}}@container catalog-card (width < 22rem){.ts-listing .ts-listing-actions{grid-template-columns:minmax(0,1fr);grid-template-areas:"favorite" "information" "purchase"}}}@media(prefers-reduced-motion:reduce){:root .ts-listing-actions .ts-listing-action.ts-listing-favorite,:root .ts-profile-v2 .ts-profile-socials>.ts-listing-favorite{transition:none;transform:none!important}.ts-listing-favorite .ts-favorite-heart{animation:none!important}}.ts-profile-v2 .ts-profile-button-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"purchase favorite" "back support";gap:14px 8px;margin-top:20px;align-items:start}.ts-profile-v2 .ts-profile-button-grid>.ts-profile-cta-row,.ts-profile-v2 .ts-profile-button-grid>.ts-profile-socials{display:contents}.ts-profile-button-grid .ts-profile-purchase-action{grid-area:purchase}.ts-profile-button-grid .ts-profile-home-action{grid-area:back}.ts-profile-button-grid .ts-listing-favorite{grid-area:favorite}.ts-profile-button-grid .ts-profile-socials>a{grid-area:support}@media(max-width:380px){.ts-profile-v2 .ts-profile-button-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"favorite" "support" "purchase" "back";row-gap:8px}.ts-profile-button-grid .ts-profile-purchase-action{margin-top:6px}}.ts-favorites-toast-region{position:fixed;z-index:1300;top:calc(72px + env(safe-area-inset-top,0px));left:auto;right:max(42px,calc((100% - var(--shell) + 44px) / 2));width:min(376px,calc(100% - 32px));max-width:none;margin:0;container:favorite-notice / inline-size;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .22s ease,transform .22s cubic-bezier(.22,1,.36,1),visibility 0s linear .22s;will-change:opacity,transform}.ts-favorites-toast-region.is-visible{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .22s ease,transform .22s cubic-bezier(.22,1,.36,1)}.ts-favorites-toast{position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;min-height:62px;box-sizing:border-box;padding:13px 18px;font-weight:400;border:1px solid transparent;border-radius:16px;background-color:#1e1f24!important;background-image:none!important;color:var(--fluid-text);box-shadow:inset 0 0 0 .5px rgba(160,160,168,.35)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transform:translateY(0);transition:opacity .22s ease,transform .22s cubic-bezier(.22,1,.36,1)}.ts-favorites-toast[hidden]{display:none}.ts-favorites-toast>*{animation:favorites-drop-content-in .22s ease-out .08s both}.ts-favorites-toast.is-leaving{opacity:0;transform:translateY(-4px)}.ts-favorites-toast.is-leaving>*{animation:favorites-drop-content-in .18s ease-out reverse both}.ts-favorites-toast:before{content:none}:root[data-theme=light] .ts-favorites-toast{background-color:#ffffff!important;box-shadow:none!important}@media(prefers-color-scheme:light){:root:not([data-theme]) .ts-favorites-toast{background-color:#ffffff!important;box-shadow:none!important}}.ts-favorites-toast-icon{display:grid;place-items:center;flex:0 0 24px;height:24px;padding:0;border:0;background:none;color:#ff4963}.ts-favorites-toast-icon .ts-favorite-heart{width:22px;height:22px;fill:currentColor}.ts-favorites-toast.is-removal .ts-favorites-toast-icon{color:#fff}.ts-favorites-toast.is-removal .ts-favorite-heart{fill:none}.ts-favorites-toast-copy{min-width:0}.ts-favorites-toast-title{display:block;overflow-wrap:anywhere;font-size:var(--type-compact);font-weight:400;line-height:1.4;letter-spacing:-.01em}.ts-favorites-toast-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin-top:2px;color:var(--fluid-muted);font-size:var(--type-small);line-height:1.4}@keyframes favorites-drop-content-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:620px){.ts-favorites-toast-region{top:calc(76px + env(safe-area-inset-top,0px));left:auto;right:max(12px,env(safe-area-inset-right,0px));width:min(376px,calc(100% - 24px))}.ts-favorites-toast{gap:10px;padding:12px}}@container favorite-notice (max-width: 260px){.ts-favorites-toast{gap:8px;padding:12px}.ts-favorites-toast-icon{flex-basis:20px;height:20px}.ts-favorites-toast-icon .ts-favorite-heart{width:20px;height:20px}}@media(prefers-reduced-motion:reduce){.ts-favorites-toast-region,.ts-favorites-toast,.ts-favorites-toast>*{transition:none!important;animation:none!important}.ts-favorites-toast-region.is-visible{transform:translateY(0)}.ts-favorites-toast.is-leaving{opacity:0;transform:none}}/* Opaque home directory controls */
body.marketplace-home {
  --home-surface-opaque: #1e1f24;
  --home-control-opaque: #2a2b31;
  --home-control-hover-opaque: #36373f;
  --home-search-opaque: #111217;
  --home-edge-opaque: #45464d;
}
body.marketplace-home .ts-market-stats > div,
body.marketplace-home .ts-market-filter {
  background: var(--home-surface-opaque) !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.marketplace-home .ts-market-search {
  background: var(--home-search-opaque) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.marketplace-home .ts-market-search:focus-within {
  border-color: var(--home-edge-opaque) !important;
  box-shadow: none !important;
  transform: none !important;
}
body.marketplace-home .ts-filter-chip {
  background: var(--home-control-opaque) !important;
}
body.marketplace-home .ts-filter-chip:hover {
  background: var(--home-control-hover-opaque) !important;
}
body.marketplace-home .ts-filter-chip.active {
  background: #2f9cff !important;
}
body.marketplace-home .ts-market-filter .ts-filter-chip[data-filter-favorites][aria-pressed="false"] {
  background: var(--home-control-opaque) !important;
  box-shadow: inset 0 0 0 1px #c52946 !important;
}
body.marketplace-home .ts-market-filter .ts-filter-chip[data-filter-favorites][aria-pressed="false"]:hover {
  background: var(--home-control-hover-opaque) !important;
}
body.marketplace-home .ts-market-filter .ts-filter-chip[data-filter-favorites][aria-pressed="true"] {
  background: #c52946 !important;
  box-shadow: none !important;
  color: #fff !important;
}
body.marketplace-home .ts-market-filter .ts-result-line {
  border-top-color: var(--home-edge-opaque) !important;
}
body.marketplace-home .ts-market-filter .ts-result-line i {
  box-shadow: none !important;
  animation: none !important;
  opacity: 1 !important;
}
html[data-theme="light"] body.marketplace-home {
  --home-surface-opaque: #ffffff;
  --home-control-opaque: #e7ebf1;
  --home-control-hover-opaque: #dce2eb;
  --home-search-opaque: #ffffff;
  --home-edge-opaque: #c8ccd5;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) body.marketplace-home {
    --home-surface-opaque: #ffffff;
    --home-control-opaque: #e7ebf1;
    --home-control-hover-opaque: #dce2eb;
    --home-search-opaque: #ffffff;
    --home-edge-opaque: #c8ccd5;
  }
}
/* Opaque home catalogue toolbar */
body.marketplace-home {
  --home-toolbar-opaque: #15161b;
}
body.marketplace-home .catalogue-search,
body.marketplace-home .ts-catalogue-sort-shell {
  background: var(--home-toolbar-opaque) !important;
  border-color: var(--home-edge-opaque) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-theme="light"] body.marketplace-home {
  --home-toolbar-opaque: #ffffff;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) body.marketplace-home {
    --home-toolbar-opaque: #ffffff;
  }
}
/* Always-open home search */
body.marketplace-home .ts-market-search-row {
  width: 100%;
  margin: 0 0 12px;
}
body.marketplace-home .ts-market-search-row .ts-catalogue-toolbar-always-open {
  width: 100%;
  height: auto !important;
  flex-direction: column;
  gap: 12px;
}
body.marketplace-home .ts-market-search-row .catalogue-search {
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  flex: 0 0 58px !important;
  border-radius: 22px !important;
  overflow: visible;
}
body.marketplace-home .ts-market-search-row .ts-market-search {
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 16px !important;
  border-radius: 22px !important;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto !important;
}
body.marketplace-home .ts-market-search-row .ts-market-search input {
  padding: 0 16px 0 8px !important;
}
body.marketplace-home .ts-market-search-row .ts-catalogue-search-toggle,
body.marketplace-home .ts-market-search-row .ts-catalogue-search-action {
  display: none !important;
}
body.marketplace-home .ts-market-search-row .ts-catalogue-sort-shell {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 24px !important;
}
body.marketplace-home .ts-market-search-row .ts-catalogue-sort-options,
body.marketplace-home .ts-market-search-row .ts-catalogue-toolbar-always-open[data-search-expanded="true"] .ts-catalogue-sort-options {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto !important;
}
@media (max-width: 620px) {
  body.marketplace-home .ts-market-search-row {
    margin-bottom: 10px;
  }
  body.marketplace-home .ts-market-search-row .catalogue-search,
  body.marketplace-home .ts-market-search-row .ts-market-search {
    height: 54px !important;
    min-height: 54px !important;
  }
  body.marketplace-home .ts-market-search-row .catalogue-search {
    flex-basis: 54px !important;
  }
  body.marketplace-home .ts-market-filter .ts-filter-row {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 860px) {
  body.marketplace-home .ts-market-search-row .ts-catalogue-sort-shell {
    height: auto !important;
    min-height: 48px !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }
  body.marketplace-home .ts-market-search-row .ts-catalogue-sort-options {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap !important;
    width: 100% !important;
    height: auto !important;
    min-height: 48px;
    overflow: visible !important;
    white-space: normal !important;
    padding: 6px !important;
    gap: 6px !important;
  }
  body.marketplace-home .ts-market-search-row .ts-catalogue-sort-options > [data-sort],
  body.marketplace-home .ts-market-search-row .ts-catalogue-sort-options > [data-filter-favorites] {
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }
  body.marketplace-home .ts-market-search-row .ts-catalogue-sort-toggle {
    display: none !important;
  }
}

/* Center favorite notifications on small screens. */
@media(max-width:620px){.ts-favorites-toast-region{left:50vw;right:auto;width:min(376px,calc(100vw - 24px));margin:0;transform:translate(-50%,-8px)}.ts-favorites-toast-region.is-visible{transform:translate(-50%,0)}}
