.section-page {
  width: 1300px;
  margin: 0 auto 44px;
  color: #1f2d3d;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.section-page .top {
  transform: translateY(-20px);
}

.section-hero {
  margin-top: -4px;
  padding: 24px 32px 22px;
  background: #fff;
  border-top: 2px solid #0152bf;
  border-bottom: 1px solid #d8e2ef;
  text-align: center;
}

.section-hero h1 {
  margin: 0 0 8px;
  color: #064899;
  font-size: 26px;
  font-weight: 800;
}

.section-hero p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.section-shell {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #dbe3ec;
  padding: 22px;
}

.star-rank-boards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin: 28px 0 20px;
}

.star-rank-board {
  position: relative;
  min-height: 420px;
  padding: 34px 26px 30px;
  background: #fff;
  border-top: 2px solid #0759bd;
  box-shadow: 0 12px 28px rgba(15, 35, 62, 0.06);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
}

.star-rank-board h2 {
  margin: 24px 0 24px 138px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
}

.star-rank-badge {
  position: absolute;
  left: 16px;
  top: -10px;
  width: 94px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.18);
}

.star-rank-fans {
  border-top-color: #0759bd;
}

.star-rank-fans h2 {
  color: #0759bd;
}

.star-rank-fans .star-rank-badge {
  background: linear-gradient(180deg, #ff2a25, #de1616);
}

.star-rank-groups {
  border-top-color: #e20000;
}

.star-rank-groups h2 {
  color: #e20000;
}

.star-rank-groups .star-rank-badge {
  background: linear-gradient(180deg, #c826ff, #9410df);
}

.star-rank-recommend {
  border-top-color: #981bea;
}

.star-rank-recommend h2 {
  color: #981bea;
}

.star-rank-recommend .star-rank-badge {
  background: linear-gradient(180deg, #3aa4f6, #147ad0);
}

.star-rank-head,
.star-rank-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 70px 76px;
  gap: 12px;
  align-items: center;
}

.star-rank-head {
  margin-bottom: 14px;
  color: #6b7280;
  font-size: 17px;
}

.star-rank-row {
  min-height: 48px;
  color: #202d3b;
  font-size: 16px;
}

.star-rank-row:hover .star-rank-person em {
  color: #0759bd;
}

.star-rank-medal {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, #ffbc54, #ff7b22);
  clip-path: polygon(50% 0, 90% 18%, 90% 72%, 50% 100%, 10% 72%, 10% 18%);
}

.medal-2 {
  background: linear-gradient(180deg, #cfd8e3, #7d8796);
}

.medal-3 {
  background: linear-gradient(180deg, #dca466, #a86328);
}

.star-rank-number {
  color: #667085;
  font-weight: 800;
}

.star-rank-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-rank-person img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid #e1e7ef;
  background: #f2f6fb;
}

.star-rank-person em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1f2937;
  font-weight: 700;
}

.star-rank-metric {
  color: #e20000;
  font-weight: 800;
  text-align: center;
}

.star-rank-support {
  color: #d97706;
  font-weight: 800;
  text-align: center;
}

.star-rank-empty {
  padding: 22px 0;
  color: #98a2b3;
  text-align: center;
  border-top: 1px dashed #d4dce8;
}

.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #dbe3ec;
  padding-bottom: 14px;
}

.section-title-row h2 {
  color: #004fae;
  font-size: 24px;
  font-weight: 800;
}

.section-title-row span {
  color: #7a8798;
}

.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.section-tabs button {
  min-width: 96px;
  height: 36px;
  border: 1px solid #9bb0cc;
  background: #f8fbff;
  color: #1d2d44;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.section-tabs button.active,
.section-tabs button:hover {
  background: #0152bf;
  color: #fff;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.archive-main,
.archive-side {
  min-width: 0;
}

.archive-block-title {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #f5f5f5;
  border: 1px solid #e0e4eb;
  color: #1f2937;
  font-size: 16px;
  font-weight: 800;
}

.archive-block-title span {
  color: #2d8cff;
  font-size: 18px;
}

.archive-block-title.hot span {
  color: #ff3d2e;
}

.archive-list {
  background: #fff;
}

.archive-item {
  position: relative;
  display: block;
  min-height: 136px;
  padding: 24px 18px 22px 38px;
  border-bottom: 1px solid #dfe4ec;
  color: #1f2937;
}

.archive-item:hover strong {
  color: #0759bd;
}

.archive-dot {
  position: absolute;
  left: 0;
  top: 34px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
}

.archive-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
  color: #1d2733;
}

.archive-item p {
  margin: 18px 0 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #667085;
  font-size: 16px;
  line-height: 1.5;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: #98a2b3;
  font-size: 14px;
}

.archive-side {
  border: 1px solid #e0e4eb;
  background: #fff;
}

.archive-side .archive-block-title {
  border: 0;
  border-bottom: 1px solid #e0e4eb;
}

.archive-hot-item {
  position: relative;
  display: block;
  padding: 16px 16px 16px 24px;
  border-bottom: 1px solid #e0e4eb;
  color: #1f2937;
}

.archive-hot-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
}

.archive-hot-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  color: #1d2733;
}

.archive-hot-item em {
  display: block;
  margin-top: 12px;
  color: #8d97a6;
  font-size: 13px;
}

.archive-hot-item p {
  margin-top: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #667085;
  font-size: 14px;
}

.archive-hot-item:hover strong {
  color: #0759bd;
}

.archive-side-empty {
  padding: 20px;
  color: #98a2b3;
  text-align: center;
}

.star-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.star-card {
  min-height: 138px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 14px;
  padding: 16px;
  border: 1px solid #e0e6ee;
  background: #fff;
  color: #223247;
}

.star-card:hover {
  border-color: #0152bf;
  box-shadow: 0 6px 18px rgba(7, 89, 189, .12);
}

.star-card-img {
  grid-row: 1 / span 3;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf4ff;
  border: 1px solid #d7e4f5;
}

.star-card-img img {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.star-card strong {
  font-size: 17px;
  font-weight: 800;
  color: #0d397c;
}

.star-card p {
  margin-top: 7px;
  color: #6b7788;
  line-height: 1.55;
  font-size: 13px;
}

.star-card em {
  margin-top: 8px;
  color: #bd1f1f;
  font-weight: 700;
}

.trade-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.trade-table th,
.trade-table td {
  border-top: 1px solid #edf1f6;
  padding: 14px 18px;
  text-align: center;
  color: #334155;
}

.trade-table th {
  color: #52606f;
  font-weight: 700;
  background: #fbfdff;
}

.trade-table td:first-child {
  text-align: left;
}

.trade-type {
  display: inline-block;
  min-width: 44px;
  height: 24px;
  line-height: 24px;
  margin-right: 12px;
  text-align: center;
  background: #0759bd;
  color: #fff;
  border-radius: 3px;
  font-size: 13px;
}

.trade-table strong {
  font-size: 16px;
  color: #28384c;
}

.trade-table p {
  margin: 6px 0 0 58px;
  color: #7a8798;
  font-size: 13px;
}

.trade-price {
  color: #0759bd !important;
  font-weight: 800;
}

.trade-view {
  display: inline-block;
  min-width: 70px;
  height: 30px;
  line-height: 30px;
  border-radius: 4px;
  background: #0759bd;
  color: #fff;
  text-align: center;
}

.trade-view:hover {
  background: #064899;
}

.section-empty {
  padding: 34px;
  text-align: center;
  border: 1px dashed #b7c5d8;
  color: #768398;
  background: #f8fbff;
}

@media (max-width: 1320px) {
  .section-page {
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
  }

  .section-page .top .nav {
    width: 100%;
  }

  .star-rank-boards {
    gap: 18px;
  }

  .star-rank-board {
    padding-left: 18px;
    padding-right: 18px;
  }

  .star-rank-board h2 {
    margin-left: 104px;
    font-size: 22px;
  }

  .archive-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

body.classic-inner .section-page {
  width: 1300px;
  margin-bottom: 44px;
}

body.classic-inner .section-page .top {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  margin-top: 32px;
}

body.classic-inner .section-shell {
  margin-top: 26px;
  padding: 0;
  border: 0;
  background: #fff;
}

body.classic-inner .section-title-row {
  display: none;
}

body.classic-inner[data-managed-section="star"] .section-shell {
  border-top: 2px solid #0759bd;
  padding-top: 0;
}

body.classic-inner[data-managed-section="star"] .star-rank-boards {
  margin: 50px 0 22px;
  gap: 60px;
}

body.classic-inner[data-managed-section="star"] .section-tabs {
  margin: 0;
  padding: 0 0 0 0;
  border-top: 2px solid #0759bd;
  background: #fff;
}

body.classic-inner[data-managed-section="star"] .section-tabs button {
  min-width: 120px;
  height: 46px;
  margin: 0;
  border: 1px solid #bdc7d6;
  border-top: 0;
  border-radius: 0;
  background: #fff;
}

body.classic-inner[data-managed-section="star"] .section-tabs button.active {
  background: #0759bd;
  color: #fff;
}

body.classic-inner[data-managed-section="star"] .star-grid {
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 10px 40px;
}

body.classic-inner[data-managed-section="star"] .star-card {
  display: block;
  min-height: 390px;
  padding: 10px;
  border-color: #d9d9d9;
}

body.classic-inner[data-managed-section="star"] .star-card-img {
  width: 210px;
  height: 210px;
  margin-bottom: 12px;
  background: #fff;
}

body.classic-inner[data-managed-section="star"] .star-card-img img {
  max-width: 210px;
  max-height: 210px;
}

body.classic-inner[data-managed-section="star"] .star-card strong,
body.classic-inner[data-managed-section="star"] .star-card p,
body.classic-inner[data-managed-section="star"] .star-card em {
  display: block;
  margin: 10px 0 0;
  color: #111;
  font-size: 15px;
}

.star-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  margin: 0 8px 0;
  padding: 6px 8px 0;
  border-top: 2px solid #0759bd;
}

.star-submit {
  min-width: 318px;
  height: 62px;
  line-height: 62px;
  padding: 0 28px;
  background: linear-gradient(90deg, #0d7740, #40ba57);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
}

.star-submit::before {
  content: "●";
  margin-right: 10px;
  color: #ffde00;
}

body.classic-inner[data-managed-section="trade"] .section-shell {
  margin-top: 40px;
  padding: 22px 36px 0;
  border-top: 2px solid #0759bd;
}

body.classic-inner[data-managed-section="trade"] .section-tabs {
  margin: 6px 0 22px;
  display: block;
}

.classic-trade-filters {
  position: relative;
  min-height: 170px;
  padding: 18px 0 26px;
  border-bottom: 1px solid #d8d8d8;
}

.classic-trade-filters::after {
  content: "发布\A任务";
  white-space: pre;
  position: absolute;
  right: 64px;
  top: 0;
  width: 142px;
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2da5bc;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(0, 90, 200, .2) inset;
}

.classic-trade-filters div {
  margin-bottom: 18px;
  font-size: 16px;
}

.classic-trade-filters span {
  display: inline-block;
  width: 78px;
  text-align: right;
  margin-right: 10px;
}

.classic-trade-filters input {
  width: 200px;
  height: 30px;
  border: 1px solid #d8d8d8;
  padding: 0 10px;
}

.classic-trade-filters button {
  height: 30px;
  border: 0;
  background: transparent;
  color: #111;
  margin-right: 18px;
  cursor: pointer;
}

.classic-trade-filters #tradeKeywordBtn,
.classic-trade-filters .mini.active {
  min-width: 58px;
  border-radius: 4px;
  background: #0759bd;
  color: #fff;
}

.classic-trade-filters .mini.hot::after {
  content: "热";
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  margin-left: 2px;
  border-radius: 4px;
  background: #ff2600;
  color: #fff;
  font-size: 14px;
  vertical-align: 12px;
}

body.classic-inner[data-managed-section="trade"] .section-tabs::before {
  content: "发布类型：";
  margin-right: 16px;
}

body.classic-inner[data-managed-section="trade"] .section-tabs button {
  min-width: 0;
  height: 30px;
  margin-right: 18px;
  border: 0;
  background: transparent;
  color: #111;
  font-weight: 400;
}

body.classic-inner[data-managed-section="trade"] .section-tabs button.active {
  min-width: 44px;
  background: #0759bd;
  color: #fff;
}

body.classic-inner[data-managed-section="trade"] .trade-table th,
body.classic-inner[data-managed-section="trade"] .trade-table td {
  padding: 18px 24px;
  border-top: 1px dashed #ddd;
  font-size: 17px;
}

body.classic-inner[data-managed-section="trade"] .trade-table th {
  border-top: 1px solid #d8d8d8;
  background: #fff;
}

body.classic-inner[data-managed-section="trade"] .trade-type,
body.classic-inner[data-managed-section="trade"] .trade-view {
  background: #0759bd;
  border-radius: 4px;
}

body.classic-inner .archive-layout {
  grid-template-columns: minmax(0, 940px) 300px;
  gap: 20px;
}

body.classic-inner #archiveTabs.section-tabs {
  margin: 28px 0 18px;
  padding-left: 16px;
  border-bottom: 2px solid #0759bd;
}

body.classic-inner #archiveTabs button {
  min-width: auto;
  height: 48px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 20px;
}

body.classic-inner #archiveTabs button.active {
  background: transparent;
  color: #111;
}

body.classic-inner #archiveTabs button.active::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  margin-right: 12px;
  background: #0759bd;
  vertical-align: -3px;
}
