/* Exchange content/config adapter. Geometry is owned by the loaded TCGN styles. */
html[data-tcgn-v1][data-theme='dark'][data-tcgn-product='exchange'] {
  --tcgn-product-accent: #02fdcf;
  --brand: var(--tcgn-product-accent);
  --mint: var(--brand);
  --brand-hover: var(--brand);
  --mint-hover: var(--brand);
  --brand-pressed: var(--brand);
  --focus: var(--brand);
  --progress: var(--brand);
  --wishlist: var(--brand);
  --meteor-base: var(--brand);
  --meteor-second: #ff7341;
  --meteor-return: var(--brand);
}
html[data-tcgn-product='exchange'] .brand-stationary {
  width: 3.106em;
  height: 1.15em;
}
html[data-tcgn-product='exchange'] .word-slot {
  width: 4.499em;
}
html[data-tcgn-product='exchange'] .brand-mobile {
  display: none;
  color: var(--brand);
}
html[data-tcgn-product='exchange'] .header-actions {
  margin-left: auto;
}
html[data-tcgn-product='exchange'] .primary-nav a[aria-current] {
  color: var(--brand);
}
html[data-tcgn-product='exchange'] .primary-nav a::after {
  display: none;
}
html[data-tcgn-product='exchange'] .primary-nav a:hover {
  color: var(--brand);
  text-decoration: none;
}
html[data-tcgn-product='exchange'] .page-heading > div > p {
  color: var(--muted);
  margin-top: 12px;
}
html[data-tcgn-product='exchange'] .market-actions {
  margin-bottom: var(--tcgn-page-stack-gap);
}
html[data-tcgn-product='exchange'] .market-filters {
  margin-bottom: var(--tcgn-page-stack-gap);
}
html[data-tcgn-product='exchange'] :is(.market-group, .account-overview) {
  background: var(--surface);
  border: 0;
  border-radius: var(--tcgn-radius-surface);
}
html[data-tcgn-product='exchange'] :is(.product-surface, .category-surface) {
  background: var(--surface);
  border: 0;
}
html[data-tcgn-product='exchange'] .exchange-row:hover {
  background: transparent;
  text-decoration: none;
}
html[data-tcgn-product='exchange'] :is(input, select, textarea) {
  border-radius: var(--tcgn-radius-input);
}
@media (max-width: 900px) {
  html[data-tcgn-product='exchange'] .primary-nav {
    display: none;
  }
  html[data-tcgn-product='exchange'] .header-actions > :is(.cart-control, a[href='/looking-for']) {
    display: none;
  }
  html[data-tcgn-product='exchange'] .primary-header .header-actions {
    flex: 1;
  }
  html[data-tcgn-product='exchange'] .header-actions .platform-search {
    flex: 1;
    width: auto;
  }
}
@media (max-width: 700px) {
  html[data-tcgn-product='exchange'] .brand-stationary,
  html[data-tcgn-product='exchange'] .word-slot {
    display: none;
  }
  html[data-tcgn-product='exchange'] .brand-mobile {
    display: block;
    width: 28px;
    height: 28px;
  }
}

/* Reuse Tracker's canonical badge from /tcgn/v1-shell.css, including its mobile presentation. */
html[data-tcgn-product='exchange'] .brand-link { display: flex; align-items: center; }
@media (max-width: 700px) {
  html[data-tcgn-product='exchange'] .tcgn-beta-badge { display: none; }
}
