/* 首页 · 对齐 ChatGPT「编程学堂」设计稿 */

.pt-shell__main--flush {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: visible;
  background: var(--c-bg-page, #fbfefe);
}

/* 首页主壳：静态轻氛围，不再做流动位移 */
.pt-shell__main--flush::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 36% at 12% 8%, rgba(56, 189, 248, .06), transparent 70%),
    radial-gradient(ellipse 38% 34% at 92% 12%, rgba(45, 177, 195, .05), transparent 68%);
  background-repeat: no-repeat;
}
.pt-shell__main--flush > * {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .pt-shell__main--flush,
  .pt-shell__main--flush::before {
    animation: none !important;
  }
}

.pt-portal-hint {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-text-weak);
}

/* ========== 首屏舞台：学习路径 + Banner + 热榜 ========== */
.pt-stage {
  padding: 20px 0 4px;
}
.pt-stage__shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 224, 242, .9);
  border-radius: 22px;
  background:
    radial-gradient(720px 280px at 8% 0%, rgba(0, 83, 201, .08), transparent 55%),
    radial-gradient(560px 240px at 100% 100%, rgba(14, 165, 153, .06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: var(--sh-2);
}
.pt-stage__layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 300px;
}

/* 左侧：学习路径（叙事引导，不是分类盒子） */
.pt-stage__guide {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 16px 18px 20px;
  border-right: 1px solid rgba(226, 233, 245, .9);
}
.pt-stage__guide-head {
  margin-bottom: 14px;
}
.pt-stage__guide-kicker {
  display: block;
  margin-bottom: 6px;
  color: #8b95a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pt-stage__guide-head strong {
  display: block;
  color: #17233b;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.pt-stage__guide-head p {
  margin: 6px 0 0;
  color: #8b95a8;
  font-size: 12px;
  line-height: 1.5;
}
.pt-stage__guide-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.pt-stage__guide-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,83,201,.35), rgba(0,83,201,.06));
}
.pt-stage__guide-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 6px 8px 6px 0;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-micro) var(--ease);
}
.pt-stage__guide-step:hover {
  background: rgba(255,255,255,.85);
  color: inherit;
  text-decoration: none;
  transform: translateX(2px);
}
.pt-stage__guide-step i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(196, 210, 240, .95);
  color: #0053c9;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  box-shadow: var(--sh-1);
  transition: transform var(--t-micro) var(--ease-spring), border-color var(--t-fast), background var(--t-fast);
}
.pt-stage__guide-step:hover i {
  transform: scale(1.06);
  border-color: #0053c9;
  background: #0053c9;
  color: #fff;
}
.pt-stage__guide-step span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pt-stage__guide-step strong {
  color: #1f2a44;
  font-size: 13px;
  font-weight: 800;
}
.pt-stage__guide-step em {
  color: #8b95a8;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}
.pt-stage__guide-step:hover strong { color: #0053c9; }

/* 主区：Banner + 热门 */
.pt-stage__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 14px;
  min-width: 0;
  padding: 14px;
}
.pt-stage__main--solo {
  grid-template-columns: 1fr;
}

/* 分类方向：舞台外的轻量标签条（无盒子） */
.pt-stage__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 2px;
}
.pt-stage__chips-label {
  margin-right: 4px;
  color: #8b95a8;
  font-size: 12px;
  font-weight: 700;
}
.pt-stage__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: #3a455c;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-micro);
}
.pt-stage__chip .pt-icon {
  width: 14px;
  height: 14px;
  color: #64748b;
}
.pt-stage__chip:hover {
  background: #fff;
  border-color: #d7e2f6;
  color: #0053c9;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--sh-1);
}
.pt-stage__chip:hover .pt-icon { color: #0053c9; }
.pt-stage__chip--more {
  color: #0053c9;
  font-weight: 750;
}
.pt-stage__chip--more:hover {
  background: rgba(0, 83, 201, .08);
  border-color: transparent;
  box-shadow: none;
}

/* Banner 轮播 —— 舞台视觉主角 */
.pt-banner {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 272px;
  border-radius: 18px;
  overflow: hidden;
  /* 切换交叉淡化时绝不能透出舞台白底 */
  background: #1e3a8a;
  box-shadow: var(--sh-3);
}
.pt-banner__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 272px;
  background: inherit;
}
.pt-banner__slide {
  position: absolute;
  inset: 0;
  display: block;
  padding: 34px 36px 52px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  /* 禁止位移动画：translate/scale 会在左侧露出一帧白边 */
  transform: none;
  transition: opacity .5s var(--ease-out-soft), visibility .5s;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pt-banner__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pt-banner__slide:hover { color: #fff; text-decoration: none; }
/* 上传图轮播：整幅封面，可选文案叠层 */
.pt-banner__slide--photo {
  background: #0f172a;
  padding: 34px 36px 52px;
}
.pt-banner__photo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: scale(1.02);
  transition: transform .8s var(--ease-out-soft);
}
.pt-banner__slide--photo.is-active .pt-banner__photo {
  transform: scale(1);
}
.pt-banner__slide--photo:not(.pt-banner__slide--image-only)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(15, 23, 42, .58) 0%, rgba(15, 23, 42, .28) 42%, rgba(15, 23, 42, .08) 70%, transparent 100%);
}
.pt-banner__slide--image-only {
  padding: 0;
}
.pt-banner--empty .pt-banner__viewport {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef2f7, #f8fafc);
}
.pt-banner__empty-hint {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}
.pt-banner__copy {
  position: relative;
  z-index: 2;
  max-width: 22em;
}
.pt-banner__copy em {
  display: inline-flex;
  align-items: center;
  height: 24px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.pt-banner__copy h1,
.pt-banner__copy strong {
  display: block;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}
.pt-banner__copy p {
  margin: 0 0 22px;
  max-width: 28em;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
}
.pt-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), gap var(--t-fast);
}
.pt-banner__cta i {
  font-style: normal;
  transition: transform var(--t-fast);
}
.pt-banner__slide--photo .pt-banner__cta { color: #1e3a8a; }
.pt-banner__slide:hover .pt-banner__cta {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .2);
  gap: 11px;
}
.pt-banner__slide:hover .pt-banner__cta i { transform: translateX(2px); }
.pt-banner__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  pointer-events: none;
}
.pt-banner__dots,
.pt-banner__arrows {
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}
.pt-banner__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  cursor: pointer;
  transition: width .22s var(--ease), background .22s ease;
}
.pt-banner__dots button.is-active {
  width: 22px;
  background: #fff;
}
.pt-banner__arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(15, 23, 42, .18);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--t-fast), transform var(--t-micro);
}
.pt-banner__arrows button:hover {
  background: rgba(15, 23, 42, .34);
  transform: scale(1.05);
}

/* 热门推荐：与 Banner 同壳的排行面板 */
.pt-stage__hot {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 272px;
  padding: 16px 14px 12px;
  border: 1px solid rgba(226, 233, 245, .95);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: none;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.pt-stage__hot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  margin-bottom: 8px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(232, 238, 248, .95);
  background: transparent;
}
.pt-stage__hot-head strong {
  position: relative;
  padding-left: 12px;
  color: #17233b;
  font-size: 14px;
  font-weight: 800;
}
.pt-stage__hot-head strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0053c9, #60a5fa);
}
.pt-stage__hot-head a {
  color: #8b95a8;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}
.pt-stage__hot-head a:hover { color: #0053c9; }
.pt-stage__hot-list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 2px 0 0;
  list-style: none;
  overflow: auto;
  counter-reset: none;
}
.pt-stage__hot-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  color: #334155;
  font-size: 13px;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-micro);
}
.pt-stage__hot-item a:hover {
  background: rgba(0, 83, 201, .06);
  color: #0053c9;
  text-decoration: none;
  transform: translateX(2px);
}
.pt-stage__hot-rank {
  flex: 0 0 auto;
  width: 22px;
  color: #a0aab8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pt-stage__hot-item.is-top .pt-stage__hot-rank {
  color: #f59e0b;
}
.pt-stage__hot-item:nth-child(1) .pt-stage__hot-rank { color: #ef4444; }
.pt-stage__hot-item:nth-child(2) .pt-stage__hot-rank { color: #f59e0b; }
.pt-stage__hot-item:nth-child(3) .pt-stage__hot-rank { color: #fbbf24; }
.pt-stage__hot-item a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .pt-banner__slide.is-active .pt-banner__copy {
    animation: pt-rise .45s var(--ease-out-soft) both;
  }
}
@keyframes pt-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ========== 快捷入口 ========== */
.pt-quick {
  margin-top: 8px;
  position: relative;
  z-index: 2;
  padding-bottom: var(--sp-6);
}
.pt-quick__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.pt-quick__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.pt-quick__item:hover {
  background: #fff;
  border-color: #dbe5fb;
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.pt-quick__item:hover .pt-quick__icon {
  transform: scale(1.06);
}
.pt-quick__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform var(--t-micro) var(--ease-spring);
}
.pt-quick__icon .pt-icon { width: 18px; height: 18px; }
.pt-quick__icon--blue   { background: #eaf0ff; color: #0053c9; }
.pt-quick__icon--cyan   { background: #e0f7fa; color: #0891b2; }
.pt-quick__icon--orange { background: #fff3e6; color: #ea580c; }
.pt-quick__icon--violet { background: #e1f7f5; color: #0f8f8a; }
.pt-quick__icon--green  { background: #e8f8ef; color: #16a34a; }
.pt-quick__icon--rose   { background: #ffe4e6; color: #e11d48; }
.pt-quick__text {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pt-quick__text strong {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
}
.pt-quick__text em {
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--c-text-weak);
}

/* ========== 通用区块 ========== */
.pt-home-sec {
  padding: 48px 0;
}
.pt-home-sec--lg { padding: 72px 0; }
.pt-home-sec--muted {
  background: var(--c-bg-page);
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
}
/* section：相邻白模块同一平面——同色白底、同套氛围，避免冷暖跳变 */
.pt-home-sec--tint-blue,
.pt-home-sec--tint-mesh {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #ffffff;
  border: 0;
  box-shadow: none;
}
.pt-home-sec--tint-blue::before,
.pt-home-sec--tint-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 52% 42% at 12% 8%, rgba(45, 177, 195, .05), transparent 64%),
    radial-gradient(ellipse 46% 38% at 94% 22%, rgba(0, 83, 201, .04), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
/* 作品区仅角部极轻暖色点缀，不改整面白平面 */
.pt-home-sec--tint-mesh::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 42%;
  height: 55%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 70%, rgba(255, 122, 26, .04), transparent 68%);
}
.pt-home-sec--tint-blue::after {
  content: none;
}
.pt-home-sec--tint-blue > *,
.pt-home-sec--tint-mesh > * {
  position: relative;
  z-index: 1;
}
.pt-home-sec--dark,
.pt-partners.pt-home-sec--dark {
  background: radial-gradient(1200px 500px at 50% -10%, #1c2b52, #0f1b36 65%);
  color: #dbe4ff;
  border-top: 0;
  border-bottom: 0;
}
.pt-home-sec--dark .pt-sec-title,
.pt-partners.pt-home-sec--dark .pt-partners__heading strong { color: #f4f7ff; }
.pt-home-sec--dark .pt-sec-sub,
.pt-partners.pt-home-sec--dark .pt-partners__desc { color: #9aabc8; }
.pt-home-sec--dark .pt-sec-more { color: #9cbcff; }
.pt-partners.pt-home-sec--dark .pt-partners__eyebrow { color: #8eb0ff; }
.pt-partners.pt-home-sec--dark .pt-eco-lanes::before {
  background: linear-gradient(90deg, #0f1b36 15%, transparent);
}
.pt-partners.pt-home-sec--dark .pt-eco-lanes::after {
  background: linear-gradient(270deg, #0f1b36 15%, transparent);
}
.pt-partners.pt-home-sec--dark .pt-eco-item {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: #e8eeff;
  box-shadow: none;
  animation: none;
}
.pt-partners.pt-home-sec--dark .pt-eco-item strong { color: #f2f5ff; }
.pt-partners.pt-home-sec--dark .pt-eco-item em { color: #7f91b0; }
.pt-partners.pt-home-sec--dark .pt-eco-item:hover {
  border-color: rgba(158, 188, 255, .45);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.pt-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: 28px;
}
.pt-sec-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pt-sec-sub {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-text-weak);
  max-width: 36em;
  line-height: 1.65;
}
.pt-sec-more {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-primary);
  transition: transform var(--t-micro) var(--ease);
}
.pt-sec-more:hover {
  text-decoration: none;
  transform: translateX(2px);
}

/* ========== 精品课程卡 ========== */
.pt-course-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.pt-course {
  --course-bg: #0053c9;
  --course-fg: #fff;
  --course-accent: #4d84ff;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease-out-soft), box-shadow var(--t-base) var(--ease-out-soft), border-color var(--t-fast);
}
a.pt-course:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
  border-color: #d5e0ff;
  color: inherit;
  text-decoration: none;
}
.pt-course__cover {
  position: relative;
  aspect-ratio: 5 / 3;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.28), transparent 45%),
    linear-gradient(145deg, var(--course-bg), color-mix(in srgb, var(--course-bg) 70%, #0b1220));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: filter var(--t-base) var(--ease);
}
.pt-course__cover-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pt-course__cover.has-cover .pt-course__glow,
.pt-course__cover.has-cover .pt-course__badge {
  display: none;
}
a.pt-course:hover .pt-course__cover {
  filter: saturate(1.08) brightness(1.03);
}
a.pt-course:hover .pt-course__badge {
  transform: translateY(-2px) scale(1.04);
}
a.pt-course:hover .pt-course__glow {
  opacity: .95;
  transform: scale(1.1);
}
.pt-course__glow {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(8px);
  transition: transform var(--t-enter) var(--ease-out-soft), opacity var(--t-base);
}
.pt-course__badge {
  position: relative;
  z-index: 2;
  min-width: 62px;
  height: 62px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  color: var(--course-fg);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform var(--t-base) var(--ease-out-soft);
}
.pt-course__ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.92);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.pt-course__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px 13px;
  flex: 1;
}
.pt-course__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.pt-course__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pt-course__stat {
  font-size: var(--fs-xs);
  color: var(--c-text-weak);
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .pt-course__cover {
    background: linear-gradient(145deg, var(--course-bg), #1a2744);
  }
}

/* ========== 学习路线 ========== */
.pt-path-grid2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.pt-path2 {
  display: flex;
  gap: var(--sp-4);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--c-border-light);
  border-radius: 12px;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease-out-soft), box-shadow var(--t-base) var(--ease-out-soft);
}
.pt-path2:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}
.pt-path2__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--path-accent, var(--c-primary)) 16%, #fff);
  color: var(--path-accent, var(--c-primary));
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pt-path2__title {
  font-weight: 700;
  font-size: var(--fs-md);
  margin-bottom: 6px;
}
.pt-path2__desc {
  margin: 0 0 10px;
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.55;
}
.pt-path2__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .pt-path2__icon { background: var(--c-primary-soft); }
}

/* ========== 学习路线图 ========== */
.pt-route-sec {
  /* 背景由 tint-blue / tint-mesh 统一，避免与作品区形成色差断层 */
  background: transparent;
  border: 0;
}
.pt-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.pt-route {
  position: relative;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sh-1);
  color: inherit;
  text-decoration: none;
  transition: transform var(--t-base) var(--ease-out-soft), border-color var(--t-fast), box-shadow var(--t-base) var(--ease-out-soft);
}
.pt-route:hover {
  transform: translateY(-4px);
  border-color: #c9d7f8;
  box-shadow: var(--sh-3);
  color: inherit;
  text-decoration: none;
}
.pt-route:hover .pt-route__track::before {
  background: linear-gradient(90deg, color-mix(in srgb, var(--route-accent, var(--c-primary)) 35%, #e6eaf1), var(--route-accent, var(--c-primary)), color-mix(in srgb, var(--route-accent, var(--c-primary)) 35%, #e6eaf1));
}
.pt-route:hover .pt-route__mark {
  transform: scale(1.06);
}
.pt-route__head,
.pt-route__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pt-route__mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--route-accent, var(--c-primary)) 13%, #fff);
  color: var(--route-accent, var(--c-primary));
  font-size: 11px;
  font-weight: 800;
  transition: transform var(--t-micro) var(--ease-spring);
}
.pt-route__no {
  color: #a0a8b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.pt-route__title {
  margin: 16px 0 7px;
  color: #192033;
  font-size: 17px;
  font-weight: 800;
}
.pt-route__desc {
  min-height: 44px;
  margin: 0;
  color: var(--c-text-sub);
  font-size: 12px;
  line-height: 1.75;
}
.pt-route__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 16px;
}
.pt-route__track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #e6eaf1;
  transition: background var(--t-base) var(--ease);
}
.pt-route__track span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.pt-route__track i {
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--route-accent, var(--c-primary));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--route-accent, var(--c-primary)) 35%, #dce3ee);
}
.pt-route__track em {
  color: #758096;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}
.pt-route__foot {
  padding-top: 13px;
  border-top: 1px solid var(--c-border-light);
  color: var(--c-text-weak);
  font-size: 11px;
}
.pt-route__foot strong {
  color: var(--route-accent, var(--c-primary));
  font-weight: 700;
}

/* ========== 作品展示合集 ========== */
.pt-showcase-sec { padding-top: 38px; padding-bottom: 42px; }
.pt-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pt-work {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 196px;
  overflow: hidden;
  border: 1px solid #e5e9f1;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease-out-soft), box-shadow var(--t-base) var(--ease-out-soft), border-color var(--t-fast);
}
.pt-work:hover {
  transform: translateY(-4px);
  border-color: #cad8fb;
  box-shadow: var(--sh-3);
  color: inherit;
  text-decoration: none;
}
.pt-work:hover .pt-work__browser {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(37, 60, 101, .18);
}
.pt-work:hover .pt-work__canvas b:nth-child(2) {
  transform: translateY(2px);
}
.pt-work:hover .pt-work__canvas b:nth-child(3) {
  transform: translateX(3px);
}
.pt-work:hover .pt-work__canvas em:nth-child(4) {
  transform: translateY(-2px);
}
.pt-work__preview {
  --work-bg: #eaf1ff;
  --work-accent: #0053c9;
  position: relative;
  display: block;
  min-height: 194px;
  overflow: hidden;
  background: var(--work-bg);
}
.pt-work--2 .pt-work__preview { --work-bg: #fff4d9; --work-accent: #d99112; }
.pt-work--3 .pt-work__preview { --work-bg: #e4f7f1; --work-accent: #15936d; }
.pt-work--4 .pt-work__preview { --work-bg: #eaf5ff; --work-accent: #1685c5; }
.pt-work--5 .pt-work__preview { --work-bg: #fff0e8; --work-accent: #e66b2d; }
.pt-work--6 .pt-work__preview { --work-bg: #eef0f5; --work-accent: #4d5b75; }
.pt-work__browser {
  position: absolute;
  top: 28px;
  left: 17px;
  right: 17px;
  bottom: 27px;
  display: flex;
  gap: 4px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(37, 60, 101, .13);
  transition: transform var(--t-base) var(--ease-out-soft), box-shadow var(--t-base) var(--ease-out-soft);
}
.pt-work__browser i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff7e71;
}
.pt-work__browser i:nth-child(2) { background: #ffc44d; }
.pt-work__browser i:nth-child(3) { background: #53c88b; }
.pt-work__canvas {
  position: absolute;
  top: 51px;
  left: 31px;
  right: 31px;
  bottom: 42px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 24px 1fr 1fr;
  gap: 6px;
}
.pt-work__canvas b,
.pt-work__canvas em {
  display: block;
  border-radius: 4px;
  background: color-mix(in srgb, var(--work-accent) 18%, #fff);
  transition: transform var(--t-base) var(--ease-out-soft);
}
.pt-work__canvas b:first-child { grid-column: 1 / 3; background: var(--work-accent); opacity: .9; }
.pt-work__canvas b:nth-child(2) { grid-row: 2 / 4; }
.pt-work__canvas b:nth-child(3) { background: color-mix(in srgb, var(--work-accent) 35%, #fff); }
.pt-work__index {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: color-mix(in srgb, var(--work-accent) 35%, #fff);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.pt-work__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 17px;
}
.pt-work__type {
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 10px;
  font-weight: 700;
}
.pt-work__body > strong {
  color: #192033;
  font-size: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pt-work__desc {
  margin-top: 7px;
  color: var(--c-text-weak);
  font-size: 11px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pt-work__more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
}
.pt-work__more i { margin-left: 4px; font-style: normal; transition: margin var(--t-fast); }
.pt-work:hover .pt-work__more i { margin-left: 8px; }
.pt-showcase-empty {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 30px;
  border: 1px dashed #ced6e3;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--c-text-weak);
  font-size: 13px;
}
.pt-showcase-empty strong { color: var(--c-text); font-size: 15px; }

/* ========== 开发生态滚动带 ========== */
.pt-partners {
  padding: 72px 0 76px;
  overflow: hidden;
  border-top: 1px solid #e6eaf1;
  background: #f7f9fc;
}
.pt-partners > .pt-container {
  max-width: 1360px;
}
.pt-partners__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 0 30px;
  text-align: center;
}
.pt-partners__heading strong {
  color: #192033;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.pt-partners__eyebrow {
  color: var(--c-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.pt-partners__desc {
  color: #8992a3;
  font-size: 12px;
  line-height: 1.6;
}
.pt-eco-lanes {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pt-eco-lanes::before,
.pt-eco-lanes::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}
.pt-eco-lanes::before { left: 0; background: linear-gradient(90deg, #f7f9fc 15%, transparent); }
.pt-eco-lanes::after { right: 0; background: linear-gradient(270deg, #f7f9fc 15%, transparent); }
.pt-eco-lane {
  overflow: hidden;
  width: 100%;
}
.pt-eco-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.pt-eco-group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}
.pt-eco-lane--1 .pt-eco-track { animation: pt-eco-left 26s linear infinite; }
.pt-eco-lane--2 .pt-eco-track { animation: pt-eco-right 34s linear infinite; transform: translateX(-50%); }
.pt-eco-lane--3 .pt-eco-track { animation: pt-eco-left 42s -11s linear infinite; }
.pt-eco-lanes:hover .pt-eco-track { animation-play-state: paused; }
.pt-eco-item {
  min-width: 198px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border: 1px solid #e2e7ef;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--sh-1);
  color: #354054;
  white-space: nowrap;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.pt-eco-item:hover {
  z-index: 2;
  transform: translateY(-3px);
  border-color: #cbd8f8;
  box-shadow: var(--sh-3);
  animation-play-state: paused;
}
.pt-eco-item i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf2ff;
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
}
.pt-eco-lane--2 .pt-eco-item i { background: #e9f7f2; color: #138663; }
.pt-eco-lane--3 .pt-eco-item i { background: #fff3df; color: #c27a0b; }
.pt-eco-item strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #283246;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
}
.pt-eco-item em {
  color: #abb2bf;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .05em;
}
@keyframes pt-eco-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pt-eco-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pt-eco-track { animation-play-state: paused !important; }
}

/* ========== 文章 + 热门分类 ========== */
.pt-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: var(--sp-6);
  align-items: start;
}
.pt-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.pt-feed-list li + li {
  border-top: 1px solid var(--c-border-light);
}
.pt-feed-item {
  display: flex;
  gap: var(--sp-4);
  padding: 16px 4px;
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  transition: background var(--t-fast), transform var(--t-micro);
}
.pt-feed-item:hover {
  background: rgba(0, 83, 201, .04);
  color: inherit;
  text-decoration: none;
  transform: translateX(2px);
}
.pt-feed-item__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pt-feed-item__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pt-feed-item__title {
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pt-feed-item:hover .pt-feed-item__title { color: var(--c-primary); }
.pt-feed-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  color: var(--c-text-weak);
}

.pt-topics {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0 0;
  box-shadow: none;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--c-primary), transparent 70%) 1;
}
.pt-topics__title {
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-lg);
  font-weight: 800;
}
.pt-topics__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-5);
}
.pt-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: var(--c-bg-page);
  border: 1px solid var(--c-border-light);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.pt-topic em {
  font-style: normal;
  color: var(--c-text-weak);
  font-weight: 500;
  font-size: var(--fs-xs);
}
.pt-topic:hover {
  border-color: var(--topic-accent, var(--c-primary));
  color: var(--topic-accent, var(--c-primary));
  background: #fff;
  text-decoration: none;
}
.pt-topics__cta {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border-light);
}
.pt-topics__cta p {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
}
.pt-topics__cta .pt-btn + .pt-btn {
  margin-top: 8px;
}

/* ========== 数据条 ========== */
.pt-stats {
  margin: 0;
  width: 100%;
  border-radius: 0;
  background: radial-gradient(1200px 420px at 50% -20%, #1f63e8, #123fad 70%);
  color: #fff;
  padding: 56px 0;
}
.pt-stats__item strong[data-count] {
  font-variant-numeric: tabular-nums;
}
.pt-stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  text-align: center;
}
.pt-stats__item strong {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.pt-stats__item span {
  font-size: var(--fs-sm);
  opacity: .85;
}

/* ========== 文章/搜索页样式（仍挂 home.css） ========== */
.pt-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-border);
}
.pt-article-list li { border-bottom: 1px solid var(--c-border-light); }
.pt-article-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  color: inherit;
  text-decoration: none;
}
.pt-article-row:hover { color: var(--c-primary); text-decoration: none; }
.pt-article-row__title { font-weight: 500; }
.pt-article-row__meta {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--c-text-weak);
}
.pt-article-list--page { border: none; }
.pt-article-card {
  display: block;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--c-border-light);
  color: inherit;
  text-decoration: none;
}
.pt-article-card:hover { color: inherit; text-decoration: none; }
.pt-article-card:hover .pt-article-card__title { color: var(--c-primary); }
.pt-article-card__title {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: 600;
  transition: color var(--t-fast);
}
.pt-article-card__summary {
  margin: 0 0 var(--sp-3);
  color: var(--c-text-sub);
  font-size: var(--fs-base);
  line-height: 1.65;
}
.pt-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text-weak);
  align-items: center;
}
.pt-article__head { margin-bottom: var(--sp-6); }
.pt-article__title {
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-tight);
}
.pt-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--c-text-weak);
  margin-bottom: var(--sp-4);
}
.pt-article__summary {
  margin: 0;
  padding: var(--sp-4);
  background: var(--c-bg-page);
  border-left: 3px solid var(--c-primary);
  color: var(--c-text-sub);
  line-height: 1.7;
}
.pt-article__body { margin-top: var(--sp-6); }

.pt-search-page { max-width: 800px; }
.pt-search--lg {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
  margin-bottom: var(--sp-4);
}
.pt-search--lg .pt-search__input {
  flex: 1;
  height: 52px;
  padding: 0 16px 0 44px;
  border: 1px solid #c7d7f5;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  font-size: var(--fs-md);
  font-weight: 500;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, .04),
    0 4px 16px rgba(37, 99, 235, .08);
}
.pt-search--lg .pt-search__input:focus {
  border-color: var(--c-primary);
  background: #fff;
  box-shadow:
    0 0 0 4px var(--c-primary-soft),
    0 10px 28px rgba(37, 99, 235, .14);
}
.pt-search--lg .pt-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
  pointer-events: none;
}
.pt-search--lg:focus-within .pt-search__icon {
  color: var(--c-primary);
}
.pt-search-hint { color: var(--c-text-sub); font-size: var(--fs-sm); margin: 0 0 var(--sp-6); }
.pt-search-group { margin-bottom: var(--sp-8); }
.pt-search-group__title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin: 0 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}
.pt-search-group__title span {
  font-weight: 500;
  color: var(--c-text-weak);
  font-size: var(--fs-sm);
  margin-left: 6px;
}
.pt-search-hits { list-style: none; margin: 0; padding: 0; }
.pt-search-hits li { border-bottom: 1px solid var(--c-border-light); }
.pt-search-hits a {
  display: block;
  padding: var(--sp-4) 0;
  color: inherit;
  text-decoration: none;
}
.pt-search-hits a:hover { text-decoration: none; }
.pt-search-hits a:hover .pt-search-hits__title { color: var(--c-primary); }
.pt-search-hits__title { font-weight: 600; margin-bottom: 4px; transition: color var(--t-fast); }
.pt-search-hits__snippet { font-size: var(--fs-sm); color: var(--c-text-sub); line-height: 1.6; }
.pt-search-hits mark {
  background: #fff3bf;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
  .pt-stage__layout { grid-template-columns: 188px minmax(0, 1fr); min-height: 280px; }
  .pt-stage__main { grid-template-columns: minmax(0, 1fr) 210px; }
  .pt-banner,
  .pt-banner__viewport,
  .pt-stage__hot { min-height: 252px; }
  .pt-course-grid { grid-template-columns: repeat(4, 1fr); }
  .pt-quick__grid { grid-template-columns: repeat(3, 1fr); }
  .pt-path-grid2 { grid-template-columns: repeat(2, 1fr); }
  .pt-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .pt-stage__shell { border-radius: 18px; }
  .pt-stage__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pt-stage__guide {
    padding: 16px 16px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 233, 245, .95);
  }
  .pt-stage__guide-head { margin-bottom: 8px; }
  .pt-stage__guide-head p { display: none; }
  .pt-stage__guide-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .pt-stage__guide-list::before { display: none; }
  .pt-stage__guide-step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: 0;
    gap: 6px;
    padding: 8px 4px;
  }
  .pt-stage__guide-step em { display: none; }
  .pt-stage__guide-step strong { font-size: 12px; }
  .pt-stage__main {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .pt-banner,
  .pt-banner__viewport { min-height: 220px; }
  .pt-banner__art { width: 120px; height: 120px; right: 16px; opacity: .7; }
  .pt-stage__hot { display: none; }
  .pt-stage__chips { margin-top: 12px; }
  .pt-feed-grid { grid-template-columns: 1fr; }
  .pt-stats__row { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
}
@media (max-width: 720px) {
  .pt-home-sec { padding: 36px 0; }
  .pt-home-sec--lg { padding: 48px 0; }
  .pt-stage { padding: 12px 0 4px; }
  .pt-stage__guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-stage__shell { border-radius: 16px; }
  .pt-banner,
  .pt-banner__viewport { min-height: 196px; border-radius: 14px; }
  .pt-banner__slide { padding: 24px 20px 46px; }
  .pt-banner__copy h1,
  .pt-banner__copy strong { font-size: 22px; margin-bottom: 8px; }
  .pt-banner__copy p { font-size: 12px; margin-bottom: 16px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .pt-banner__cta { height: 34px; font-size: 12px; padding: 0 14px; }
  .pt-banner__art { opacity: .4; }
  .pt-banner__controls { bottom: 12px; padding: 0 14px; }
  .pt-banner__arrows button { width: 26px; height: 26px; }
  .pt-quick { margin-top: 6px; }
  .pt-quick__grid { grid-template-columns: repeat(2, 1fr); padding: 6px 0; }
  .pt-quick__item { justify-content: flex-start; }
  .pt-course-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .pt-path-grid2 { grid-template-columns: 1fr; }
  .pt-route-grid { grid-template-columns: 1fr; }
  .pt-showcase-grid { grid-template-columns: 1fr; }
  .pt-partners { padding: 30px 0; }
  .pt-partners__heading { gap: 4px; margin-bottom: 22px; }
  .pt-partners__heading strong { font-size: 18px; }
  .pt-eco-lanes { margin: 0 -16px; gap: 9px; }
  .pt-eco-lanes::before,
  .pt-eco-lanes::after { width: 28px; }
  .pt-eco-item { min-width: 172px; height: 54px; padding: 0 12px; }
  .pt-eco-item i { width: 30px; height: 30px; flex-basis: 30px; }
  .pt-eco-item strong { font-size: 12px; }
  .pt-eco-item em { display: none; }
  .pt-course__title { min-height: 0; }
  .pt-stats { width: calc(100% - 24px); }
}

@media (max-width: 430px) {
  .pt-banner__arrows { display: none; }
  .pt-banner__controls { justify-content: center; }
  .pt-course-grid { grid-template-columns: 1fr; }
  .pt-course { display: grid; grid-template-columns: 42% 58%; }
  .pt-course__cover { aspect-ratio: auto; min-height: 132px; }
  .pt-course__title { min-height: auto; }
  .pt-work { grid-template-columns: 40% 60%; min-height: 178px; }
  .pt-work__preview { min-height: 176px; }
  .pt-work__body { padding: 16px 14px; }
}
