/* Canonical Trade Hub comparison cards — compact, aligned exchange rows. */
.tradehub-shell{max-width:1180px}
.tradehub-feed{display:grid;grid-template-columns:1fr;gap:12px;align-items:start;background:transparent!important;border:0!important;box-shadow:none!important}
.tradehub-card{width:100%;min-width:0;padding:0;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible;box-shadow:none!important;transition:none}
.tradehub-card:hover{transform:none;box-shadow:none!important;background:transparent!important;border-color:transparent!important}
.tradehub-card-main{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:14px;align-items:start;padding:10px 18px 8px;background:transparent!important;border:0!important;box-shadow:none!important}
.tradehub-side{min-width:0;display:flex;flex-direction:column;align-items:center!important;justify-content:flex-start;background:transparent!important}
.tradehub-side-label{box-sizing:border-box;width:230px;max-width:100%;height:20px;margin:0 0 6px!important;font-size:.8rem;font-weight:800;letter-spacing:.03em;color:var(--muted);text-align:left!important}
.tradehub-items{box-sizing:border-box;width:230px;max-width:100%;display:flex;flex-direction:column;gap:6px;align-items:stretch;justify-content:flex-start;background:transparent!important}
.tradehub-item,.tradehub-requirement-item{box-sizing:border-box;width:100%;min-width:0;flex:none;padding:0;border:0;background:transparent;overflow:hidden;text-align:left!important}
.tradehub-item-symbol,.tradehub-requirement-item .tradehub-item-symbol{box-sizing:border-box;width:100%;height:112px;min-height:112px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface-2);display:grid;place-items:center}
.tradehub-item-symbol img{width:100%!important;height:100%!important;display:block;object-fit:cover;border-radius:10px!important}
.tradehub-item small{box-sizing:border-box;display:block;width:100%;min-height:32px;margin:5px 0 0;padding:0;text-align:left!important;font-size:.8rem;line-height:1.25}
.tradehub-item .mth-card-name{display:block;font-size:.8rem;font-weight:800;color:var(--ink);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tradehub-item .mth-card-value{display:block;margin-top:2px;font-size:.8rem;font-weight:750;color:var(--muted)}
.tradehub-requirement-item .tradehub-requirement-value{max-width:100%;white-space:normal;font-size:.8rem}
.tradehub-cash-item{box-sizing:border-box;width:100%;min-width:0!important;min-height:34px!important;height:34px!important;padding:5px 9px!important;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);display:flex!important;align-items:center;justify-content:space-between;gap:8px}
.tradehub-cash-item .tradehub-item-symbol,.tradehub-cash-symbol{display:none!important}
.tradehub-cash-item small{min-height:0!important;width:100%;margin:0!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;text-align:left!important;line-height:1.1}
.tradehub-cash-item .mth-card-name{font-size:.8rem;color:var(--muted);font-weight:700}.tradehub-cash-item .mth-card-value{margin:0;font-size:.8rem;font-weight:850;color:var(--ink);white-space:nowrap}
.tradehub-center{min-width:42px;align-self:start;margin-top:75px;display:flex;align-items:center;justify-content:center;color:var(--muted);background:transparent!important}
.tradehub-swap{width:30px;height:30px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);display:grid;place-items:center;font-size:.9rem}
.tradehub-center .tradehub-value,.tradehub-difference-label{display:none!important}
.tradehub-card-meta{margin:2px 0 0;padding:7px 14px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted);text-align:center;background:transparent}

/* My Trade Listings is a catalog view, not a panel/card container. Keep only the asset tiles themselves visible. */
#browseView.active-view .tradehub-feed,#browseView.active-view #tradeHubFeed{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
#browseView.active-view .tradehub-card,#browseView.active-view #tradeHubFeed>.tradehub-card{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;outline:0!important}
#browseView.active-view .tradehub-card-main{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
:root[data-theme="night"] #browseView.active-view .tradehub-card,:root[data-theme="night"] #browseView.active-view .tradehub-card:hover,:root[data-theme="night"] #browseView.active-view .tradehub-card-main{background:transparent!important;border-color:transparent!important;box-shadow:none!important}

#profileContent .profile-section-head.profile-listings-controls{max-width:1180px;margin:0 auto 14px}
#profileContent .profile-auction-grid{max-width:1180px;margin:0 auto 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
#profileContent .profile-trade-listings{max-width:1180px;margin:0 auto 20px;display:grid!important;grid-template-columns:1fr!important;gap:12px;align-items:start}
#profileContent .profile-trade-listing{width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none;transition:none}
#profileContent .profile-trade-listing:hover{transform:none;box-shadow:none}
#profileContent .profile-trade-listing .tradehub-card-main{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;gap:14px!important;padding:10px 18px 8px!important;align-items:start!important}
#profileContent .profile-trade-listing .tradehub-side{align-items:center!important}
#profileContent .profile-trade-listing .tradehub-side-label,#profileContent .profile-trade-listing .tradehub-items{width:230px!important;max-width:100%!important}
#profileContent .profile-trade-listing .tradehub-item-symbol,#profileContent .profile-trade-listing .tradehub-requirement-item .tradehub-item-symbol{width:100%!important;height:112px!important;min-height:112px!important}
#profileContent .profile-trade-listing .tradehub-center{min-width:42px!important;align-self:start!important;margin-top:75px!important}
#profileContent .profile-trade-listing-footer{min-height:40px;margin:2px 0 0;padding:6px 10px 6px 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent}
#profileContent .profile-trade-listing-footer .tradehub-card-meta{margin:0;padding:0;border:0;background:transparent;text-align:left;font-size:.8rem;min-width:0;color:var(--muted)}
#profileContent .profile-trade-listing-actions{position:static;margin-left:auto;display:flex;gap:6px;flex-shrink:0}
#profileContent .profile-trade-listing-actions .quiet{min-height:29px;padding:4px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:.8rem;font-weight:750}
#profileContent>.asset-grid{display:none!important}
:root[data-theme="night"] .tradehub-item-symbol,:root[data-theme="night"] .tradehub-cash-item{background:#151a17;border-color:#29312d}
@media(max-width:820px){.tradehub-card-main,#profileContent .profile-trade-listing .tradehub-card-main{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)!important;gap:8px!important;padding:10px 12px!important}.tradehub-side-label,.tradehub-items,#profileContent .profile-trade-listing .tradehub-side-label,#profileContent .profile-trade-listing .tradehub-items{width:100%!important}.tradehub-item-symbol,.tradehub-requirement-item .tradehub-item-symbol,#profileContent .profile-trade-listing .tradehub-item-symbol,#profileContent .profile-trade-listing .tradehub-requirement-item .tradehub-item-symbol{height:106px!important;min-height:106px!important}.tradehub-center,#profileContent .profile-trade-listing .tradehub-center{min-width:36px!important;margin-top:71px!important}#profileContent .profile-auction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tradehub-feed,#profileContent .profile-auction-grid,#profileContent .profile-trade-listings{grid-template-columns:1fr;gap:10px}.tradehub-card-main,#profileContent .profile-trade-listing .tradehub-card-main{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)!important;gap:5px!important;padding:8px 4px!important}.tradehub-item-symbol,.tradehub-requirement-item .tradehub-item-symbol,#profileContent .profile-trade-listing .tradehub-item-symbol,#profileContent .profile-trade-listing .tradehub-requirement-item .tradehub-item-symbol{height:92px!important;min-height:92px!important}.tradehub-center,#profileContent .profile-trade-listing .tradehub-center{min-width:28px!important;margin-top:64px!important}.tradehub-swap{width:24px;height:24px}.tradehub-item .mth-card-name{font-size:.8rem}.tradehub-card-meta{padding:6px 4px}.tradehub-cash-item{height:32px!important;min-height:32px!important;padding:5px 7px!important}}

/* 2026-10-06 — Canonical listing asset size follows Inventory cards. */
.tradehub-card-main{
  grid-template-columns:minmax(145px,1fr) 42px minmax(145px,1fr);
  gap:12px;
  padding:8px 10px;
}
.tradehub-side-label{
  width:100%;
  max-width:180px;
  height:auto;
  margin-bottom:5px!important;
  font-size:.8rem;
}
.tradehub-items{
  width:100%;
  max-width:180px;
  gap:6px;
}
.tradehub-item,.tradehub-requirement-item{
  width:100%;
}
.tradehub-item-symbol,.tradehub-requirement-item .tradehub-item-symbol{
  height:94px;
  min-height:94px;
  border-radius:16px;
}
.tradehub-item-symbol img{
  border-radius:15px!important;
}
.tradehub-item-symbol .mth-icon-svg{
  width:48px;
  height:48px;
}
.tradehub-item small{
  min-height:0;
  margin-top:4px;
}
.tradehub-item .mth-card-name{
  font-size:.8rem;
}
.tradehub-item .mth-card-value{
  font-size:.8rem;
}
.tradehub-center{
  margin-top:61px;
}
.tradehub-card-meta{
  margin-top:3px;
  padding-top:5px;
  font-size:.8rem;
}
#profileContent .profile-trade-listing .tradehub-card-main{
  grid-template-columns:minmax(145px,1fr) 42px minmax(145px,1fr)!important;
  gap:12px!important;
  padding:8px 10px!important;
}
@media(max-width:720px){
  .tradehub-card-main,#profileContent .profile-trade-listing .tradehub-card-main{
    grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;
    gap:7px!important;
    padding:6px!important;
  }
  .tradehub-item-symbol,.tradehub-requirement-item .tradehub-item-symbol{height:82px;min-height:82px}
  .tradehub-center{min-width:34px;margin-top:54px}
  .tradehub-swap{width:26px;height:26px}
}
@media(max-width:500px){
  .tradehub-item-symbol,.tradehub-requirement-item .tradehub-item-symbol{height:90px;min-height:90px}
  .tradehub-side-label{font-size:.8rem}
  .tradehub-item .mth-card-name{font-size:.8rem}
  .tradehub-item .mth-card-value{font-size:.8rem}
}
