/* 保障项目页 — 海报式排版 */
.page-projects .app-main {
  padding-bottom: 8px;
  background: #f3f6fb;
}

/* —— 顶部导航模块 —— */
.pj-nav-hub {
  margin: 10px 14px 0;
  padding: 14px 12px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0, 82, 217, 0.1);
  border: 1px solid rgba(0, 82, 217, 0.06);
}

.pj-nav-hub__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.pj-nav-hub__badge {
  display: inline-flex;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  color: #9a6b00;
  background: linear-gradient(135deg, #ffe082, #ffb020);
  border-radius: 999px;
}

.pj-nav-hub__title {
  font-size: 16px;
  font-weight: 800;
  color: #081537;
}

.pj-nav-hub__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pj-nav-hub__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  text-decoration: none;
  color: #1a2d4d;
  background: #f6f9ff;
  border-radius: 12px;
  border: 1px solid rgba(0, 82, 217, 0.06);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.pj-nav-hub__item:active {
  transform: scale(0.98);
}

.pj-nav-hub__item.is-active {
  background: linear-gradient(180deg, #eef4ff 0%, #e3edff 100%);
  border-color: rgba(0, 82, 217, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 82, 217, 0.08);
}

.pj-nav-hub__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
}

.pj-nav-hub__icon svg {
  width: 20px;
  height: 20px;
}

.pj-nav-hub__icon--blue {
  background: linear-gradient(135deg, #2f7bff, #0052d9);
}

.pj-nav-hub__icon--gold {
  background: linear-gradient(135deg, #ffb020, #e67a2e);
}

.pj-nav-hub__icon--green {
  background: linear-gradient(135deg, #3ecf8e, #2d9d6b);
}

.pj-nav-hub__icon--violet {
  background: linear-gradient(135deg, #9b6dff, #6b4fd4);
}

.pj-nav-hub__label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* —— 顶栏海报 —— */
.pj-hero {
  position: relative;
  margin: 12px 0 0;
  height: 176px;
  overflow: hidden;
  background: #003d8f;
}

.pj-hero__poster-wrap,
.pj-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pj-hero__poster-wrap img,
.pj-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pj-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 35, 95, 0.82) 0%, rgba(0, 35, 95, 0.35) 52%, rgba(0, 35, 95, 0.08) 100%);
  pointer-events: none;
}

.pj-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 20px 18px;
  color: #fff;
}

.pj-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9a6b00;
  background: linear-gradient(135deg, #ffe082, #ffb020);
  border-radius: 999px;
}

.pj-hero__copy h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.pj-hero__copy p {
  margin: 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.92;
}

/* —— 商业保险冲刺氛围条（清爽紧迫） —— */
.pj-sprint {
  position: relative;
  margin: 12px 14px 0;
  padding: 14px 14px 13px;
  overflow: hidden;
  border-radius: 16px;
  color: #10233f;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(0, 82, 217, 0.14);
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.1);
}

.pj-sprint[hidden] {
  display: none !important;
}

.pj-sprint__beam {
  position: absolute;
  top: 0;
  left: -40%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg);
  animation: pj-sprint-beam 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pj-sprint-beam {
  0% { left: -45%; opacity: 0; }
  20% { opacity: 0.9; }
  55% { opacity: 0.55; }
  100% { left: 120%; opacity: 0; }
}

.pj-sprint.is-ended {
  color: #5a6578;
  background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
  border-color: rgba(90, 101, 120, 0.14);
  box-shadow: 0 6px 16px rgba(30, 40, 60, 0.06);
}

.pj-sprint.is-ended .pj-sprint__beam {
  display: none;
}

.pj-sprint__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.pj-sprint__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4f, #e11d2e);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 29, 46, 0.28);
}

.pj-sprint__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pj-sprint-pulse 0.9s ease-in-out infinite;
}

.pj-sprint.is-ended .pj-sprint__live {
  background: #8a96a8;
  box-shadow: none;
}

.pj-sprint.is-ended .pj-sprint__live i {
  animation: none;
  background: #d9dee7;
}

@keyframes pj-sprint-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.pj-sprint__deadline {
  font-size: 11px;
  font-weight: 700;
  color: #5a7ab0;
}

.pj-sprint__title-row {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.pj-sprint__title {
  margin: 0 0 3px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #0b1f3f;
}

.pj-sprint__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #e11d2e;
}

.pj-sprint.is-ended .pj-sprint__sub {
  color: #8a96a8;
}

.pj-sprint__timer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 3px;
  margin-bottom: 10px;
}

.pj-sprint__unit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 10px 2px 8px;
  background: #fff;
  border: 1px solid #d7e4ff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 82, 217, 0.06);
}

.pj-sprint__unit.is-sec {
  border-color: #ffc4c8;
  background: linear-gradient(180deg, #fff7f7, #fff);
  box-shadow: 0 4px 12px rgba(225, 29, 46, 0.1);
}

.pj-sprint__unit b {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #0052d9;
  letter-spacing: 0.02em;
}

.pj-sprint__unit.is-sec b {
  color: #e11d2e;
}

.pj-sprint__unit b.is-tick {
  animation: pj-sprint-tick 0.35s ease;
}

@keyframes pj-sprint-tick {
  0% { transform: translateY(4px); opacity: 0.35; }
  100% { transform: translateY(0); opacity: 1; }
}

.pj-sprint__unit span {
  font-size: 10px;
  font-weight: 700;
  color: #7a90b8;
  letter-spacing: 0.06em;
}

.pj-sprint__unit.is-sec span {
  color: #d2555f;
}

.pj-sprint__sep {
  flex: 0 0 auto;
  align-self: center;
  padding-bottom: 12px;
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
  color: #9db4de;
}

.pj-sprint__ended {
  width: 100%;
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #6b778c;
  background: #f3f5f8;
  border: 1px dashed #d5dbe6;
  border-radius: 12px;
}

.pj-sprint__meter {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.pj-sprint__meter[hidden] {
  display: none !important;
}

.pj-sprint__meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
}

.pj-sprint__meter-head em {
  font-style: normal;
  font-weight: 800;
  color: #e11d2e;
}

.pj-sprint__meter-head span {
  font-weight: 600;
  color: #7a90b8;
}

.pj-sprint__track {
  height: 8px;
  overflow: hidden;
  background: #e8effc;
  border-radius: 999px;
}

.pj-sprint__track i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d8bff, #0052d9 55%, #e11d2e);
  box-shadow: 0 0 10px rgba(225, 29, 46, 0.25);
  transition: width 0.6s linear;
}

.pj-sprint__meter.is-critical .pj-sprint__track {
  background: #ffe4e6;
}

.pj-sprint__meter.is-critical .pj-sprint__track i {
  background: linear-gradient(90deg, #ff7a7c, #e11d2e);
  animation: pj-sprint-bar-blink 1s ease-in-out infinite;
}

@keyframes pj-sprint-bar-blink {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

.pj-sprint__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pj-sprint__tags span {
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #2450a0;
  background: #eef4ff;
  border: 1px solid #d4e2ff;
  border-radius: 999px;
}

.pj-sprint__guide {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #ffd0d4;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7f7, #fff);
  color: #c41e22;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pj-sprint__guide span {
  font-size: 13px;
  font-weight: 800;
}

.pj-sprint__guide em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #e11d2e;
  opacity: 0.9;
}

.pj-sprint__guide:active {
  transform: scale(0.99);
  opacity: 0.92;
}

.pj-sprint.is-ended .pj-sprint__unit {
  border-color: #e2e6ee;
  box-shadow: none;
}

.pj-sprint.is-ended .pj-sprint__unit b {
  color: #6b778c;
}

.pj-sprint.is-ended .pj-sprint__tags span {
  color: #6b778c;
  background: #f3f5f8;
  border-color: #e2e6ee;
}

.pj-sprint.is-ended .pj-sprint__guide {
  border-color: #e2e6ee;
  background: #f7f8fa;
  color: #6b778c;
}

.pj-sprint.is-ended .pj-sprint__guide em {
  color: #8a96a8;
}

/* —— 认购攻略弹层 —— */
.pj-guide-modal[hidden] {
  display: none !important;
}

.pj-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 10090;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pj-guide-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, 0.48);
}

.pj-guide-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: min(86vh, 640px);
  overflow: auto;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 36px rgba(11, 84, 255, 0.14);
  animation: pj-guide-up 0.22s ease;
}

@keyframes pj-guide-up {
  from { transform: translateY(18px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.pj-guide-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #8a96a8;
  background: #f3f5f8;
  border-radius: 50%;
}

.pj-guide-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #e11d2e;
}

.pj-guide-modal__title {
  margin: 0 0 8px;
  padding-right: 28px;
  font-size: 22px;
  font-weight: 800;
  color: #081537;
}

.pj-guide-modal__lead {
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: #2450a0;
  background: #eef4ff;
  border-radius: 12px;
}

.pj-guide-modal__steps {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.pj-guide-modal__steps li {
  position: relative;
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
  padding: 12px 12px 12px 44px;
  background: #f7f9fc;
  border-radius: 12px;
  counter-increment: guide-step;
}

.pj-guide-modal__steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3d8bff, #0052d9);
  border-radius: 50%;
}

.pj-guide-modal__steps strong {
  font-size: 14px;
  font-weight: 800;
  color: #0b1f3f;
}

.pj-guide-modal__steps span {
  font-size: 13px;
  line-height: 1.5;
  color: #5a6f94;
}

.pj-guide-modal__tip {
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7f7, #fff);
  border: 1px solid #ffd0d4;
}

.pj-guide-modal__tip em {
  display: inline-block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #e11d2e;
  padding: 2px 7px;
  border-radius: 999px;
}

.pj-guide-modal__tip p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  color: #c41e22;
}

.pj-guide-modal__btn {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3d8bff, #0052d9);
}

.pj-wallet {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 12px 14px 0;
  min-height: 76px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.1);
}

.pj-wallet__art {
  flex: 0 0 108px;
  position: relative;
  overflow: hidden;
  background: #0052d9;
}

.pj-wallet__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pj-wallet__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 12px 14px 12px 12px;
  min-width: 0;
}

.pj-wallet__body strong {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.pj-wallet__body small {
  font-size: 11px;
  color: var(--muted);
}

.pj-wallet__nums {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  font-size: 12px;
}

.pj-wallet__nums span {
  color: var(--muted);
}

.pj-wallet__nums b {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gov-blue);
}

.pj-wallet__arrow {
  align-self: center;
  padding-right: 12px;
  font-size: 22px;
  color: #c5cedd;
}

/* —— 列表区 —— */
.pj-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 14px 0;
}

.pj-group + .pj-group {
  margin-top: 6px;
}

.pj-group__title {
  margin: 0 0 10px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: #081537;
}

.pj-group__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* —— 已售罄折叠区 —— */
.pj-soldout-fold {
  margin: 8px 0 4px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 35, 80, 0.08);
  box-shadow: 0 4px 16px rgba(15, 35, 80, 0.05);
  overflow: hidden;
}

.pj-soldout-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pj-soldout-fold__summary::-webkit-details-marker {
  display: none;
}

.pj-soldout-fold__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pj-soldout-fold__main strong {
  font-size: 14px;
  font-weight: 800;
  color: #3a4a66;
}

.pj-soldout-fold__main em {
  font-size: 12px;
  font-style: normal;
  color: #8a9bb8;
}

.pj-soldout-fold__chev {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f4fa;
  position: relative;
}

.pj-soldout-fold__chev::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #5a6f94;
  border-bottom: 2px solid #5a6f94;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.pj-soldout-fold[open] .pj-soldout-fold__chev::before {
  top: 12px;
  transform: rotate(225deg);
}

.pj-soldout-fold__body {
  padding: 0 14px 14px;
  border-top: 1px solid #eef2f8;
}

.pj-soldout-fold__body .pj-group {
  margin-top: 12px;
}

.pj-soldout-fold__body .pj-group:first-child {
  margin-top: 12px;
}

.pj-soldout-fold__body .pj-card {
  opacity: 0.92;
}

.pj-list.is-loading .pj-card {
  min-height: 320px;
  background: linear-gradient(110deg, #eef2f8 8%, #f8fafc 18%, #eef2f8 33%);
  background-size: 200% 100%;
  animation: pj-shimmer 1.2s ease-in-out infinite;
  border-radius: 16px;
}

@keyframes pj-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* —— 项目海报卡 —— */
.pj-card {
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 39, 80, 0.08);
}

.pj-card__poster {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #0052d9;
}

.pj-card__poster img,
.pj-card__poster picture,
.pj-card__poster picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.pj-card__poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.pj-card__status {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #067a70;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pj-card__body {
  padding: 14px 14px 0;
}

.pj-card__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  background: var(--gov-blue);
}

.pj-card--orange .pj-card__tag {
  background: var(--gov-orange);
}

.pj-card--green .pj-card__tag {
  background: #2d9d6b;
}

.pj-card--violet .pj-card__tag {
  background: #7c4dff;
}

.pj-card--amber .pj-card__tag {
  background: #e67a2e;
}

.pj-card--purple .pj-card__tag {
  background: #5b4fc7;
}

.pj-card--red .pj-card__tag {
  background: #c41e22;
}

.pj-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.pj-card__stats li {
  padding: 10px 6px;
  text-align: center;
  background: #f5f8ff;
  border-radius: 10px;
}

.pj-card--orange .pj-card__stats li {
  background: #fff7f0;
}

.pj-card__stats em {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-style: normal;
  color: var(--gov-blue);
  line-height: 1.1;
}

.pj-card--orange .pj-card__stats em {
  color: var(--gov-orange);
}

.pj-card--green .pj-card__stats li { background: #eefaf3; }
.pj-card--green .pj-card__stats em { color: #2d9d6b; }
.pj-card--violet .pj-card__stats li { background: #f3efff; }
.pj-card--violet .pj-card__stats em { color: #7c4dff; }
.pj-card--amber .pj-card__stats li { background: #fff6ee; }
.pj-card--amber .pj-card__stats em { color: #e67a2e; }
.pj-card--purple .pj-card__stats li { background: #f1efff; }
.pj-card--purple .pj-card__stats em { color: #5b4fc7; }
.pj-card--red .pj-card__stats li { background: #fff1f1; }
.pj-card--red .pj-card__stats em { color: #c41e22; }

.pj-card__stats span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}

.pj-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pj-card__chip {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #5a6b85;
  background: #f0f4fa;
  border-radius: 999px;
}

.pj-card__chip--gold {
  color: #9a6b00;
  background: linear-gradient(135deg, #fff8e8, #ffe9b8);
}

.pj-card__chip--slogan {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #0b54ff;
  background: #eef4ff;
  border: 1px solid #c9dbff;
  border-radius: 10px;
}

.pj-card__chip--slogan-strong {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  color: #5b4fc7;
  background: linear-gradient(135deg, #f3efff, #efeaff);
  border: 1px solid #d4c6ff;
  border-radius: 10px;
}

.pj-card__chip--slogan-hot {
  width: 100%;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  color: #c41e22;
  background: linear-gradient(135deg, #fff1f1, #ffe8e8);
  border: 1px solid #f5b8b8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(196, 30, 34, 0.12);
}

.pj-card--orange .pj-card__chip--slogan {
  color: #c45a12;
  background: #fff6ee;
  border-color: #ffd0a8;
}

.pj-card--green .pj-card__chip--slogan {
  color: #1f8a58;
  background: #eefaf3;
  border-color: #b8e6cb;
}

.pj-card__chip--team {
  color: #5a6b85;
  background: #eef3fa;
}

.pj-card__chip--sprint {
  width: 100%;
  justify-content: center;
  text-align: center;
  color: #9a1f24;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe8e8, #fff1f1);
  border: 1px solid rgba(196, 30, 34, 0.18);
}

.pj-card__progress {
  margin-bottom: 12px;
}

.pj-card__progress-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
}

.pj-card__progress-head span {
  color: var(--muted);
}

.pj-card__progress-head strong {
  font-size: 12px;
  color: var(--gov-blue);
}

.pj-card--orange .pj-card__progress-head strong {
  color: var(--gov-orange);
}

.pj-card__bar {
  height: 6px;
  overflow: hidden;
  background: #e8eef8;
  border-radius: 999px;
}

.pj-card__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0052d9, #3d8bff);
  border-radius: inherit;
}

.pj-card--orange .pj-card__bar i {
  background: linear-gradient(90deg, #e67a2e, #ff9f5a);
}

.pj-card__cta {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: var(--gov-blue);
  box-sizing: border-box;
}

.pj-card--orange .pj-card__cta {
  background: var(--gov-orange);
}

.pj-card--green .pj-card__cta { background: #2d9d6b; }
.pj-card--violet .pj-card__cta { background: #7c4dff; }
.pj-card--amber .pj-card__cta { background: #e67a2e; }
.pj-card--purple .pj-card__cta { background: #5b4fc7; }
.pj-card--red .pj-card__cta { background: linear-gradient(135deg, #e8353a, #c41e22); }

.pj-card__cta--done {
  background: #8a96a8 !important;
}

.pj-card__cta:active {
  opacity: 0.92;
}

.pj-card__records {
  display: block;
  padding: 10px 14px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gov-blue);
  text-align: center;
  text-decoration: none;
}

.pj-card--orange .pj-card__records {
  color: var(--gov-orange);
}

.pj-card--green .pj-card__records { color: #2d9d6b; }
.pj-card--violet .pj-card__records { color: #7c4dff; }
.pj-card--amber .pj-card__records { color: #e67a2e; }
.pj-card--purple .pj-card__records { color: #5b4fc7; }
.pj-card--red .pj-card__records { color: #c41e22; }

.pj-card__cover-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 10px 0 4px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0b54ff;
  background: #f0f5ff;
  border: 1px dashed #b8cffc;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pj-card--orange .pj-card__cover-btn {
  color: #c45a12;
  background: #fff6ee;
  border-color: #ffd0a8;
}

.pj-card--green .pj-card__cover-btn {
  color: #1f8a58;
  background: #eefaf3;
  border-color: #b8e6cb;
}

.pj-card--violet .pj-card__cover-btn {
  color: #6a3de8;
  background: #f3efff;
  border-color: #d4c6ff;
}

.pj-card--purple .pj-card__cover-btn {
  color: #4a3fb0;
  background: #f1efff;
  border-color: #c9c3f0;
}

.pj-card--red .pj-card__cover-btn {
  color: #c41e22;
  background: #fff1f1;
  border-color: #f5b8b8;
}

.pj-card__cover-btn:active {
  opacity: 0.88;
}

.pj-cover-modal[hidden] {
  display: none !important;
}

.pj-cover-modal {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pj-cover-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, 0.5);
}

.pj-cover-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell-max, 430px);
  max-height: min(86vh, 640px);
  overflow: auto;
  padding: 18px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 32px rgba(11, 84, 255, 0.14);
}

.pj-cover-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 1;
  color: #8a9bb5;
  background: #f2f5fa;
  border: 0;
  border-radius: 50%;
}

.pj-cover-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  color: #5a6f94;
}

.pj-cover-modal__title {
  margin: 0 0 8px;
  padding-right: 28px;
  font-size: 20px;
  font-weight: 800;
  color: #081537;
}

.pj-cover-modal__slogan {
  margin: 0 0 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  color: #0b54ff;
  text-align: center;
  background: linear-gradient(135deg, #f0f6ff, #fafcff);
  border: 1px solid #d8e6ff;
  border-radius: 10px;
}

.pj-cover-modal__slogan.is-orange {
  color: #c45a12;
  background: linear-gradient(135deg, #fff6ee, #fffaf5);
  border-color: #ffd0a8;
}

.pj-cover-modal__slogan.is-green {
  color: #1f8a58;
  background: linear-gradient(135deg, #eefaf3, #f6fcf8);
  border-color: #b8e6cb;
}

.pj-cover-modal__slogan.is-violet {
  color: #5b4fc7;
  background: linear-gradient(135deg, #f3efff, #faf8ff);
  border-color: #d4c6ff;
}

.pj-cover-modal__slogan.is-red {
  color: #c41e22;
  background: linear-gradient(135deg, #fff1f1, #fff8f8);
  border-color: #f5b8b8;
  box-shadow: 0 4px 14px rgba(196, 30, 34, 0.12);
}

.pj-cover-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pj-cover-modal__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f8;
}

.pj-cover-modal__list li:last-child {
  border-bottom: 0;
}

.pj-cover-modal__list span {
  flex-shrink: 0;
  font-size: 13px;
  color: #5a6f94;
}

.pj-cover-modal__list strong {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #081537;
  line-height: 1.4;
}

.pj-cover-modal__list strong.is-earn {
  color: #c45a12;
  font-size: 15px;
  font-weight: 800;
}

.pj-cover-modal__note {
  margin: 8px 0 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #8a9bb8;
}

.pj-cover-modal__btn {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3d8bff, #0b54ff);
  border: 0;
  border-radius: 12px;
}

/* —— 温馨提示 —— */
.pj-tips {
  margin: 14px 14px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 39, 80, 0.06);
  overflow: hidden;
}

.pj-tips summary {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.pj-tips summary::-webkit-details-marker {
  display: none;
}

.pj-tips summary::after {
  float: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  content: "展开";
}

.pj-tips[open] summary::after {
  content: "收起";
}

.pj-tips__body {
  padding: 0 16px 14px;
  font-size: 12px;
  line-height: 1.65;
  color: #5a6b85;
}

.pj-tips__body p {
  margin: 0 0 8px;
}

.pj-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* —— 四档凑齐催购弹窗 —— */
.pj-collect {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.pj-collect.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pj-collect[hidden] {
  display: none !important;
}

.pj-collect__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, 0.52);
}

.pj-collect__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell-max, 430px);
  max-height: min(88vh, 680px);
  overflow: auto;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 36px rgba(0, 82, 217, 0.16);
  transform: translateY(24px);
  transition: transform 0.24s ease;
}

.pj-collect.is-visible .pj-collect__panel {
  transform: translateY(0);
}

.pj-collect__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #8a96a8;
  background: #eef2f8;
  border-radius: 50%;
}

.pj-collect__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4f, #e11d2e);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 29, 46, 0.25);
}

.pj-collect__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pj-sprint-pulse 0.9s ease-in-out infinite;
}

.pj-collect__title {
  margin: 0 0 6px;
  padding-right: 28px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #0b1f3f;
}

.pj-collect__lead {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: #e11d2e;
}

.pj-collect__progress {
  margin-bottom: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #d7e4ff;
  border-radius: 14px;
}

.pj-collect__progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pj-collect__progress-head strong {
  font-size: 13px;
  color: #2450a0;
}

.pj-collect__progress-head span {
  font-size: 16px;
  font-weight: 800;
  color: #e11d2e;
  font-variant-numeric: tabular-nums;
}

.pj-collect__progress-bar {
  height: 10px;
  overflow: hidden;
  background: #e8effc;
  border-radius: 999px;
}

.pj-collect__progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d8bff, #0052d9 50%, #e11d2e);
  transition: width 0.35s ease;
}

.pj-collect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.pj-collect__tier {
  padding: 12px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d7e4ff;
}

.pj-collect__tier.is-owned {
  border-color: #9ad9b5;
  background: linear-gradient(180deg, #f3fff8, #fff);
}

.pj-collect__tier.is-miss {
  border-color: #ffc4c8;
  background: linear-gradient(180deg, #fff7f7, #fff);
}

.pj-collect__tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.pj-collect__tier-head strong {
  font-size: 18px;
  font-weight: 800;
  color: #0052d9;
}

.pj-collect__tier.is-miss .pj-collect__tier-head strong {
  color: #e11d2e;
}

.pj-collect__tier-head em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #1f8a58;
}

.pj-collect__tier.is-miss .pj-collect__tier-head em {
  color: #e11d2e;
}

.pj-collect__tier p {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: #7a90b8;
}

.pj-collect__tier-btn {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4f, #e11d2e);
}

.pj-collect__tip {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: #eef4ff;
  border: 1px solid #d4e2ff;
}

.pj-collect__tip em {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 7px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #0052d9;
  border-radius: 999px;
}

.pj-collect__tip p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  color: #0b1f3f;
}

.pj-collect__cta {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4f, #e11d2e);
  box-shadow: 0 8px 18px rgba(225, 29, 46, 0.24);
}

.pj-collect__cta--muted {
  background: #8a96a8;
  box-shadow: none;
}

.pj-collect__skip {
  display: block;
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #8a96a8;
}
