.traders-page {
  background: #f4f7f8;
  padding: 36px 0 72px;
}

.traders-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.traders-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.traders-side {
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: 8px;
  padding: 22px 18px 12px;
  position: sticky;
  top: 16px;
}

.traders-kicker {
  margin: 0 0 6px;
  color: #0d9488;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.traders-side h1 {
  margin: 0 0 8px;
  color: #0b1f33;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.traders-lead {
  margin: 0 0 16px;
  color: #5c6b7a;
  font-size: 0.92rem;
}

.traders-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(11, 31, 51, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  margin-bottom: 12px;
}

.traders-search svg {
  flex: 0 0 auto;
  color: #5c6b7a;
}

.traders-search input {
  width: 100%;
  border: 0;
  outline: none;
  min-height: 42px;
  background: transparent;
  color: #0b1f33;
}

.traders-publish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #0b1f33;
  color: #fff;
  font-weight: 600;
}

.traders-publish:hover {
  background: #12384a;
}

.traders-tabs {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.traders-tabs button {
  text-align: left;
  border: 0;
  border-top: 1px solid rgba(11, 31, 51, 0.1);
  background: transparent;
  color: #0b1f33;
  min-height: 46px;
  padding: 0 12px;
  cursor: pointer;
}

.traders-tabs button.is-active {
  font-weight: 700;
  box-shadow: inset 3px 0 0 #14b8a6;
  background: rgba(20, 184, 166, 0.08);
}

.traders-main h2 {
  margin: 0 0 6px;
  color: #0b1f33;
  font-size: 1.35rem;
}

.traders-main .section-note {
  margin: 0 0 14px;
  color: #5c6b7a;
  font-size: 0.92rem;
  max-width: 640px;
}

.traders-block {
  margin-bottom: 34px;
}

.traders-card {
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.traders-card h3 {
  margin: 0;
  padding: 14px 16px;
  color: #0b1f33;
  font-size: 1rem;
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.traders-chart {
  padding: 12px 12px 0;
  background: #fff;
}

.traders-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.traders-table {
  width: 100%;
  border-collapse: collapse;
}

.traders-table th,
.traders-table td {
  text-align: left;
  padding: 12px 16px;
  border-top: 1px solid rgba(11, 31, 51, 0.08);
  font-size: 0.92rem;
  color: #0b1f33;
}

.traders-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #5c6b7a;
  font-weight: 700;
}

.traders-table tr.is-hidden {
  display: none;
}

.traders-name {
  font-weight: 600;
}

.trader-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 28px;
  height: 28px;
  margin-right: 10px;
  padding: 0 7px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #0b1f33;
  color: #fff;
  font-size: 0.75rem;
  vertical-align: middle;
}

.traders-disclaimer {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid #0d9488;
  background: #fff;
  color: #3d4d5c;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 0 8px 8px 0;
}

.traders-side .traders-disclaimer {
  margin-top: -4px;
}

.traders-main {
  min-width: 0;
}

.traders-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.traders-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ret-pos {
  color: #0f766e;
}

.ret-neg {
  color: #9f2d2d;
}

.trader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.trader-tile {
  background: #fff;
  border: 1px solid rgba(11, 31, 51, 0.1);
  border-radius: 8px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.trader-tile:hover {
  border-color: rgba(13, 148, 136, 0.45);
}

.trader-tile.is-hidden {
  display: none;
}

.trader-tile-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.trader-tile-top .trader-mark {
  margin-right: 0;
  flex: 0 0 auto;
}

.trader-tile h3 {
  margin: 0;
  color: #0b1f33;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.trader-sub {
  margin: 2px 0 0;
  color: #5c6b7a;
  font-size: 0.82rem;
}

.trader-sub .ticker {
  color: #0b1f33;
  font-weight: 700;
}

.trader-returns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.trader-ret strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.trader-ret span {
  color: #5c6b7a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trader-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trader-chip {
  background: #f4f7f8;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.78rem;
  color: #0b1f33;
}

.trader-chip.dir-long {
  background: rgba(20, 184, 166, 0.14);
  color: #0f766e;
}

.trader-chip.dir-short {
  background: rgba(11, 31, 51, 0.06);
  color: #0b1f33;
}

.trader-meta {
  margin: 0;
  color: #5c6b7a;
  font-size: 0.8rem;
}

.traders-notes p {
  margin: 0;
  padding: 0 16px 14px;
  color: #5c6b7a;
  font-size: 0.92rem;
  line-height: 1.5;
}

.traders-notes p:first-child {
  padding-top: 14px;
}

.traders-empty {
  margin: 0;
  padding: 18px 16px 20px;
  color: #5c6b7a;
}

@media (max-width: 860px) {
  .traders-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .traders-side {
    position: static;
  }

}
