/* 就业薪酬榜单 - 移动端 */
.employment-rank-page {
  background: #f8faf9;
  color: #1e293b;
  min-height: 100vh;
  padding-bottom: 24px;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.erank-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 16px 20px;
  background: linear-gradient(160deg, #fdfcf9 0%, #f3faf8 35%, #f0fcfa 65%, #fef8f4 100%);
  border-bottom: 1px solid #d6f7f1;
}

.erank-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 191, 167, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.erank-hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.erank-hero-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(to bottom right, #14b8a6, #0d9488);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 12px -3px rgba(20, 184, 166, 0.25);
}

.erank-hero-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.75);
}

.erank-hero-title {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 10px;
}

.erank-hero-desc {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 14px;
}

.erank-hero-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.erank-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  color: #4b5563;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.erank-hero-tag--teal {
  border: 1px solid #a6efe3;
}

.erank-hero-tag--warm {
  border: 1px solid #fad4c2;
}

.erank-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.erank-tag-dot--teal {
  background: #2dd4bf;
}

.erank-tag-dot--warm {
  background: #f08a65;
}

/* 标签切换 - 对齐校企合作移动端交互 */
.erank-tab-wrap {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  position: sticky;
  top: 45px;
  z-index: 1;
}

/* APP 内嵌：抵消 header 占位 .common-pdt（约 46px） */
.employment-rank-page.is-app {
  margin-top: -46px;
}

.employment-rank-page.is-app .erank-tab-wrap {
  top: 0;
}

.employment-rank-page.is-app .erank-panel-list .erank-panel {
  scroll-margin-top: 55px;
}

.erank-tab-wrap::-webkit-scrollbar {
  display: none;
}

.erank-tab {
  flex: 0 0 auto;
  padding: 12px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.erank-tab:link,
.erank-tab:visited,
.erank-tab:hover,
.erank-tab:active,
.erank-tab:focus {
  color: #64748b;
  text-decoration: none;
}

.erank-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #22bfa7;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.2s;
}

.erank-tab.active,
.erank-tab.active:link,
.erank-tab.active:visited,
.erank-tab.active:hover,
.erank-tab.active:active {
  color: #22bfa7;
  font-weight: 600;
}

.erank-tab.active::after {
  width: 60%;
}

.erank-main {
  padding: 12px 5px 24px;
}

.erank-panel-list .erank-panel {
  display: block;
  margin-bottom: 12px;
  scroll-margin-top: 100px;
}

.erank-panel-list .erank-panel:last-child {
  margin-bottom: 0;
}

.erank-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8ecf0;
  position: relative;
}

.erank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22bfa7, #3dd1b8);
  z-index: 0;
}

.erank-card-header {
  padding: 14px 14px 8px;
}

.erank-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.4;
}

.erank-source {
  font-size: 11px;
  color: #22bfa7;
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
  word-break: break-all;
}

.erank-card-body {
  padding: 4px 8px 12px;
}

.erank-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.erank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
}

.erank-table th,
.erank-table td {
  padding: 10px 6px;
  font-size: 12px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.erank-table th {
  color: #64748b;
  font-weight: 600;
  background: #f8fafc;
  white-space: nowrap;
}

.erank-table td.text-left,
.erank-table th.text-left {
  text-align: left;
}

.erank-table .font-semibold {
  font-weight: 600;
  color: #1e293b;
}

.erank-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
}

.erank-rank.rank-1 {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.erank-rank.rank-2 {
  color: #fff;
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.erank-rank.rank-3 {
  color: #fff;
  background: linear-gradient(135deg, #d97706, #b45309);
}

.erank-salary {
  font-weight: 800;
  font-size: 13px;
  color: #188674;
  white-space: nowrap;
}

.erank-bar-wrap {
  width: 56px;
  margin: 0 auto;
}

.erank-bar {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
}

.erank-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.erank-bar-fill--primary {
  background: linear-gradient(90deg, #22bfa7, #3dd1b8);
}

.erank-bar-fill--secondary {
  background: linear-gradient(90deg, #7dd3c7, #a6efe3);
}

.erank-growth {
  color: #16a34a;
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
}

.erank-satisfaction {
  color: #0f766e;
  font-weight: 600;
}

.erank-range-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 70px;
}

.erank-range-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
}

.erank-range-text {
  font-size: 10px;
  color: #64748b;
}

.erank-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 6px 8px;
}

.erank-feature {
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.erank-feature--teal {
  background: #f0fcfa;
  border: 1px solid #d6f7f1;
}

.erank-feature--warm {
  background: #fff8f4;
  border: 1px solid #fad4c2;
}

.erank-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  line-height: 0;
}

.erank-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.erank-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.erank-feature-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}
