.trades-page { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 56px; }
.trades-page-header { margin: 0 0 34px; }
.trades-page-header > span, .trades-section-heading > span { display: block; margin-bottom: 5px; color: #ff5100; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.trades-page-header h1, .trades-section-heading h2 { margin: 0; color: #19171f; }
.trades-page-header h1 { font-size: clamp(32px, 5vw, 54px); }
.trades-page-header p { max-width: 560px; margin: 10px 0 0; color: #78665c; font-size: 16px; }
.trades-section { margin: 0 0 42px; }
.trades-section-heading { margin: 0 0 14px; }
.trades-section-heading h2 { font-size: 24px; }
.trades-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trade-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; padding: 12px; border: 1px solid #f0d6c7; border-radius: 8px; background: #fff; }
.trade-card > img { width: 74px; height: 100px; object-fit: contain; border-radius: 4px; background: #fff8f4; }
.trade-card-copy { display: grid; gap: 4px; min-width: 0; }
.trade-card-copy strong { overflow: hidden; color: #19171f; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.trade-card-copy span { overflow: hidden; color: #78665c; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.trade-card-copy .trade-owner { color: #ff5100; font-weight: 700; }
.trade-card-action { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: #19171f; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.trade-card-action:hover { background: #ff5100; }
.trade-card-action.is-announced { border: 1px solid #f0c6ad; background: #fff0e8; color: #d94700; }
.trade-card-action:disabled { cursor: default; opacity: .7; }
.trade-card-action svg { width: 15px; height: 15px; }
.trade-empty { grid-column: 1 / -1; margin: 0; padding: 28px; border: 1px dashed #f0c6ad; border-radius: 8px; color: #78665c; text-align: center; }

@media (max-width: 760px) {
  .trades-page { width: min(100% - 28px, 580px); padding: 24px 0 96px; }
  .trades-grid { grid-template-columns: 1fr; }
}

.trades-page-header h1, .trades-section-heading h2 { color: var(--texto-primario); }
.trades-page-header p, .trade-card-copy span, .trade-empty { color: var(--texto-secundario); }
.trade-card { border-color: var(--borda-cor); background: #1b1920; }
.trade-card > img { background: #26232b; }
.trade-card-copy strong { color: var(--texto-primario); }
.trade-card-action.is-announced { border-color: var(--accent); background: rgba(255,90,0,.14); color: #ff9b61; }
.trade-empty { border-color: var(--borda-forte); }

.trade-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.trade-pagination[hidden] { display: none; }
.trade-pagination-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--borda-cor);
  border-radius: 50%;
  background: #fff;
  color: var(--texto-primario);
  cursor: pointer;
}
.trade-pagination-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.trade-pagination-arrow:disabled { opacity: .4; cursor: default; }
.trade-pagination-arrow svg { width: 17px; height: 17px; }
.trade-pagination-info { color: var(--texto-secundario); font-size: 12px; font-weight: 800; }
