/* v79. Common catalogue chips; no global button, header, chat or Garant rules. */
.homePage #catalogShell .marketCategoryNav{width:100%;max-width:100%;min-width:0;margin:0 0 16px}
.homePage #catalogShell .marketCategoryNav .marketCategoryTabs{margin:0!important}
.catalogMobileNavBar{display:none}
.homePage .marketSubcategoryTabs,.productPage .marketSubcategoryTabs{
 display:flex!important;flex-flow:row wrap!important;align-items:stretch;justify-content:flex-start;
 width:100%;max-width:100%;min-width:0;gap:8px!important;margin:12px 0 22px!important;padding:0!important;
 border:0!important;box-shadow:none!important;background:none!important;
 overflow:visible!important;grid-auto-flow:row!important;grid-template-rows:none!important;
}
.homePage .marketSubcategoryTabs .marketSubcategoryBtn,
.productPage .marketSubcategoryTabs .marketSubcategoryBtn{
 --catalog-accent:#74b4ff;appearance:none;-webkit-appearance:none;position:relative;box-sizing:border-box;
 display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;
 flex:0 0 auto;min-width:0!important;max-width:100%;min-height:40px!important;height:auto!important;
 padding:8px 14px!important;margin:0!important;gap:9px!important;
 border:0!important;border-radius:10px!important;background:var(--catalog-chip-bg,var(--surface,#1a1e27))!important;background-image:none!important;
 color:var(--text,#f4f7fb)!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;
 text-align:left;white-space:normal!important;letter-spacing:0!important;text-decoration:none;
 box-shadow:none!important;text-shadow:none!important;filter:none!important;transform:none!important;
 cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
 transition:color .16s ease,background-color .16s ease!important;overflow:visible!important;
}
.homePage .marketSubcategoryTabs .marketSubcategoryBtn.active,
.productPage .marketSubcategoryTabs .marketSubcategoryBtn.active{color:var(--catalog-accent)!important}
.homePage .marketSubcategoryBtn::before,.homePage .marketSubcategoryBtn::after,
.productPage .marketSubcategoryBtn::before,.productPage .marketSubcategoryBtn::after{content:none!important;display:none!important}
.homePage .marketSubcategoryBtn .catalogButtonIcon,
.productPage .marketSubcategoryBtn .catalogButtonIcon{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 20px!important;width:20px!important;min-width:20px!important;height:20px!important;
 margin:0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;filter:none!important;color:inherit!important;opacity:1!important;
}
.homePage .catalogSvg,.productPage .catalogSvg{display:block;width:20px;height:20px;fill:currentColor;stroke:none;stroke-width:0;flex:none;filter:none;color:inherit}
.homePage .marketSubcategoryBtn .catalogButtonCopy,
.productPage .marketSubcategoryBtn .catalogButtonCopy{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;
 min-width:0;max-width:100%;font:inherit!important;color:inherit!important;
}
.homePage .marketSubcategoryBtn .catalogButtonLabel,
.productPage .marketSubcategoryBtn .catalogButtonLabel{
 display:block!important;min-width:0;color:inherit!important;font:inherit!important;line-height:1.3!important;
 white-space:normal!important;word-break:normal;overflow-wrap:anywhere;
}
.homePage .marketSubcategoryBtn .catalogButtonMeta,
.productPage .marketSubcategoryBtn .catalogButtonMeta{
 display:block!important;color:var(--muted,#a0a8b6)!important;font-size:10px!important;font-weight:500!important;
 line-height:1.25!important;letter-spacing:0!important;opacity:1!important;min-width:0!important;height:auto!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
.homePage .marketSubcategoryBtn .catalogButtonBadge,
.productPage .marketSubcategoryBtn .catalogButtonBadge{
 margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 color:var(--muted2,#8891a0)!important;font-size:8px!important;font-style:normal;font-weight:600!important;letter-spacing:.03em;
}
.homePage .marketSubcategoryBtn:focus-visible,.productPage .marketSubcategoryBtn:focus-visible{
 outline:2px solid var(--catalog-accent);outline-offset:3px;
}
.homePage .marketSubcategoryBtn:focus:not(:focus-visible),.productPage .marketSubcategoryBtn:focus:not(:focus-visible){outline:none}
@media(hover:hover){
 .homePage .marketSubcategoryTabs .marketSubcategoryBtn:hover,
 .productPage .marketSubcategoryTabs .marketSubcategoryBtn:hover{background:var(--catalog-chip-hover,var(--surface2,#1d222b))!important}
}
.homePage .marketSubcategoryTabs .marketSubcategoryBtn:active,
.productPage .marketSubcategoryTabs .marketSubcategoryBtn:active{background:var(--surface3,#232934)!important}
/* Title icons are actual SVGs with the same silhouettes, not colored boxed glyphs. */
.homePage #catalogShell .inlineHead h1{display:flex;align-items:center;gap:10px;min-width:0}
.homePage #catalogShell .inlineHead .catalogSectionIcon{
 display:flex;align-items:center;justify-content:center;flex:0 0 24px;
 width:24px;height:24px;padding:0;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;filter:none!important;color:var(--catalog-accent)!important;
}
.homePage #catalogShell .catalogSectionIcon .catalogSvg{width:24px;height:24px}
/* Product artwork stays intact; only its frame is brought into the common palette. */
.productPage .productLogo{background:var(--surface,#1a1e27)!important;border:0!important;border-radius:12px;box-shadow:none!important;flex-shrink:0}
.homePage .socialNetworkMark{background:var(--surface,#1a1e27)!important;border:0!important;box-shadow:none!important;border-radius:10px;color:var(--text)}
.productPage .esimHeroIcon{background:var(--surface,#1a1e27)!important;border:0!important;box-shadow:none!important;color:#5bd6ad}
/* NFT filter controls share the chips. Collection photos and GIFs are not replaced. */
.homePage #catalogShell .tgCompactFilters .tgFacetBtn.catalogFacetButton{
 min-height:40px!important;height:auto!important;padding:9px 12px!important;gap:9px!important;
 border:0!important;border-radius:10px!important;background:var(--surface,#1a1e27)!important;
 color:var(--text,#f4f7fb)!important;box-shadow:none!important;min-width:0;
}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton b{color:inherit!important;font-size:13px!important;font-weight:600!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton .tgFacetIcon{display:flex;width:20px;height:20px;flex:0 0 20px;color:inherit!important;font-size:inherit;background:none;border:0;padding:0}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton .tgFacetChevron{margin-left:auto;color:var(--muted)!important}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton em{background:transparent!important;color:var(--muted)!important}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton.catalog-filtered,
.homePage #catalogShell .tgCompactFilters .tgFacet.open .catalogFacetButton{color:#67c2ff!important;background:var(--surface,#1a1e27)!important}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton:focus-visible{outline:2px solid #67c2ff;outline-offset:3px}
.homePage #catalogShell .tgFacetPanel{background:var(--surface,#1a1e27)!important;border-color:var(--line)!important;box-shadow:none!important}
.homePage #catalogShell .tgFacetOption,.homePage #catalogShell .tgCollectionOption{border:0!important;border-radius:10px!important;background:var(--surface,#1a1e27)!important;box-shadow:none!important;color:var(--text)}
.homePage #catalogShell .tgFacetOption.active,.homePage #catalogShell .tgCollectionOption.active{color:#67c2ff!important;background:var(--surface,#1a1e27)!important}
.homePage #catalogShell .tgFacetOption.active b,.homePage #catalogShell .tgCollectionOption.active b{color:inherit!important}
.homePage #catalogShell .tgFacetOption.active .tgFacetCheck{background:none!important;border:0!important;color:inherit!important}
@media(hover:hover){
 .homePage #catalogShell .tgCompactFilters .catalogFacetButton:not(:disabled):hover,
 .homePage #catalogShell .tgFacetOption:hover,.homePage #catalogShell .tgCollectionOption:hover{background:var(--surface2,#1d222b)!important}
}
/* Phones: one swipeable primary row, expandable into a full labelled grid. */
@media(max-width:800px){
 .homePage #catalogShell .marketCategoryNav{margin-bottom:14px}
 .homePage #catalogShell .catalogMobileNavBar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;min-height:36px;color:var(--muted);font-size:12px}
 .homePage #catalogShell .catalogExpand{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;padding:6px 0 6px 10px;background:none;border:0;box-shadow:none;color:var(--muted);font:inherit;cursor:pointer;touch-action:manipulation}
 .homePage #catalogShell .catalogExpand .catalogSvg{width:14px;height:14px}
 .homePage #catalogShell .catalogExpand:focus-visible{outline:2px solid var(--blue2);outline-offset:2px;border-radius:6px}
 .homePage #catalogShell .is-expanded .catalogExpand .catalogSvg{transform:rotate(180deg)}
 .homePage #catalogShell .marketCategoryNav .marketCategoryTabs{
  display:flex!important;flex-flow:row nowrap!important;align-items:stretch;gap:8px!important;
  width:100%;max-width:100%;margin:0!important;padding:3px 2px 6px!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;scroll-padding-inline:3px;grid-template-rows:none!important;
 }
 .homePage #catalogShell .marketCategoryNav .marketCategoryTabs::-webkit-scrollbar{display:none}
 .homePage #catalogShell .marketCategoryNav .marketCategoryTabs .marketCategoryBtn{
  flex:0 0 auto!important;width:auto!important;min-height:44px!important;height:auto!important;max-width:calc(100vw - 64px);
  padding:10px 12px!important;justify-content:flex-start!important;font-size:12px!important;gap:8px!important;
  scroll-snap-align:start;white-space:normal!important;
 }
 .homePage #catalogShell .marketCategoryNav .marketCategoryLabel{white-space:normal!important;word-break:normal;overflow-wrap:anywhere}
 .homePage #catalogShell .marketCategoryNav.is-expanded .marketCategoryTabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  overflow:visible!important;scroll-snap-type:none;grid-auto-flow:row!important;
 }
 .homePage #catalogShell .marketCategoryNav.is-expanded .marketCategoryBtn{width:100%!important;max-width:100%;justify-content:flex-start!important}
 .homePage .marketSubcategoryTabs,.productPage .marketSubcategoryTabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;
  grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:8px!important;margin:10px 0 18px!important;
  padding:0!important;overflow:visible!important;
 }
 .homePage .marketSubcategoryTabs .marketSubcategoryBtn,.productPage .marketSubcategoryTabs .marketSubcategoryBtn{
  flex:initial!important;width:100%!important;min-height:44px!important;height:auto!important;
  padding:10px 11px!important;gap:8px!important;font-size:12px!important;justify-content:flex-start!important;
 }
 .homePage .marketSubcategoryBtn .catalogButtonIcon,.productPage .marketSubcategoryBtn .catalogButtonIcon{width:18px!important;min-width:18px!important;height:18px!important;flex-basis:18px!important}
 .homePage .marketSubcategoryBtn .catalogSvg,.productPage .marketSubcategoryBtn .catalogSvg{width:18px!important;height:18px!important}
 .homePage .marketSubcategoryBtn .catalogButtonBadge,.productPage .marketSubcategoryBtn .catalogButtonBadge{font-size:7px!important;letter-spacing:0}
 .homePage #catalogShell .inlineHead{align-items:flex-start;gap:12px;flex-wrap:wrap}
 .homePage #catalogShell .inlineHead>div{min-width:0;max-width:100%}
 .homePage #catalogShell .inlineHead h1{font-size:20px;line-height:1.25;overflow-wrap:anywhere}
 .homePage #catalogShell .miniSearch{width:100%;max-width:100%;min-height:44px}
 .homePage #catalogShell .miniSearch input{min-width:0;font-size:16px}
 .homePage #catalogShell .tgCompactFilters .catalogFacetButton{min-height:44px!important;padding:10px 11px!important;gap:8px!important}
 .homePage #catalogShell .tgCompactFilters .catalogFacetButton b{font-size:12px!important}
 .homePage #catalogShell .tgCompactFilters .catalogFacetButton .tgFacetIcon,.homePage #catalogShell .tgCompactFilters .catalogFacetButton .catalogSvg{width:18px;height:18px;flex-basis:18px}
 .homePage #catalogShell .tgFacetOption,.homePage #catalogShell .tgCollectionOption{min-height:44px;max-width:100%}
 .homePage #catalogShell .tgFacetOption b,.homePage #catalogShell .tgCollectionOption b{white-space:normal;overflow-wrap:anywhere}
 .productPage .customServerBlock,.productPage .customServerSelect,.productPage .uiSelect{max-width:100%;min-width:0}
 .productPage .customServerSelect .uiSelectBtn{min-height:44px!important}
}
@media(min-width:641px) and (max-width:800px){
 .homePage #catalogShell .marketCategoryNav.is-expanded .marketCategoryTabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .homePage .marketSubcategoryTabs,.productPage .marketSubcategoryTabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){
 .homePage .marketSubcategoryTabs .marketSubcategoryBtn,.productPage .marketSubcategoryTabs .marketSubcategoryBtn{transition:none!important}
 .homePage #catalogShell .marketCategoryTabs{scroll-behavior:auto!important}
}

/* A chip on a panel needs its own neutral surface, not invisible text. */
.productPage .marketSubcategoryTabs{--catalog-chip-bg:#232934;--catalog-chip-hover:#2b323e}
/* Override the old phone rule that hid NFT glyphs, and separate chips from the panel. */
.homePage #catalogShell .tgCompactFilters .tgFacetBtn.catalogFacetButton,
.homePage #catalogShell .tgCompactFilters .tgFacet.open .catalogFacetButton,
.homePage #catalogShell .tgCompactFilters .catalogFacetButton.catalog-filtered{background:#232934!important}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton .tgFacetIcon{display:flex!important;visibility:visible!important;opacity:1!important}
.homePage #catalogShell .tgCompactFilters .catalogFacetButton .catalogSvg{display:block!important;visibility:visible!important;opacity:1!important}
@media(hover:hover){.homePage #catalogShell .tgCompactFilters .catalogFacetButton:not(:disabled):hover{background:#2b323e!important}}
.homePage #catalogShell .tgMarketplaceGrid>.emptyState{grid-column:1/-1;width:100%}
