/* ============================================================
   mlaiyf 个人资料库 · 刺猬星球视觉复刻版（源码级实证）
   依据 super-i.cn 线上版实证值：
   白底 #fff ｜ 深黑 #070707 ｜ 荧光绿 #AAFF00/#C9FF85
   HOT 红 #F12A2F ｜ 微信绿 #07C160 ｜ Poppins 700 标题 6.7708vw
   hero = 150vh 滚动容器 + sticky 视口（标题 ↔ 三角形交叉淡化）
   shequn 卡（count-up 1800ms easeOutCubic）｜ 三角形节点图
   课程卡 = 四列网格 + 1px 黑边 + 20px 圆角 + HOT 图上角标
   section 标题 = 4px×1.25vw #C9FF85 竖条 + 右侧 #696969「更多 >」
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #faf9fb;        /* 原站 openAll 底色 */
  --ink: #070707;
  --text: #1a1a1a;
  --text-dim: #696969;       /* 原站 t4/更多 链接色 */
  --text-faint: #888888;     /* 原站 scroll-hint/desc 色 */
  --lime: #aaff00;           /* 原站 is-top 按钮 / 主强调 */
  --lime-soft: #c9ff85;      /* 原站 section-bar 竖条 */
  --red: #f12a2f;            /* HOT 角标 */
  --wechat: #07c160;         /* 原站 shequn 数字色 */
  --head: 70px;              /* 头部高度（sticky 视口吸附线） */
  --display: "Poppins", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 原站 arrow-icon 黑色变体（SVG 内联，与线上一致） */
  --bg-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12H19M19 12L12 5M19 12L12 19' stroke='%23070707' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(170, 255, 0, 0.35); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #d9d9d9; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }

a { color: inherit; }

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--lime);
  z-index: 1001;
}

/* ---------- 头部（白底毛玻璃，高 70px = --head） ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--head);
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  border-radius: 10px;
}
.brand-text { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0.3px; }
/* ---------- 导航栏吉祥物：待机轻摇头 + 点击吐舌头做鬼脸 ---------- */
.brand-mascot {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  cursor: pointer;
  flex: none;
  border-radius: 14px;
}
.brand-mascot:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.brand-mascot img {
  display: block;
  height: 48px;
  width: auto;
  transform-origin: 50% 94%;
  animation: mascot-sway 3.4s ease-in-out infinite;
}
/* 爱心：点击时从吉祥物中心向四周飞散 */
.mascot-hearts { position: absolute; inset: 0; pointer-events: none; }
.mascot-heart {
  position: absolute;
  left: 50%;
  top: 45%;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}
.mascot-heart:nth-child(1) { --tx: -18px; --ty: -16px; animation-delay: 0s; }
.mascot-heart:nth-child(2) { --tx: 0px;   --ty: -20px; animation-delay: 0.04s; }
.mascot-heart:nth-child(3) { --tx: 18px;  --ty: -16px; animation-delay: 0.08s; }
.mascot-heart:nth-child(4) { --tx: -22px; --ty: -2px;  animation-delay: 0.05s; }
.mascot-heart:nth-child(5) { --tx: 22px;  --ty: -2px;  animation-delay: 0.09s; }
.mascot-heart:nth-child(6) { --tx: 14px;  --ty: 12px;  animation-delay: 0.12s; }
@keyframes mascot-heart-fly {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  15%  { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  35%  { opacity: 1; transform: translate(calc(-50% + var(--tx) * 0.6), calc(-50% + var(--ty) * 0.6)) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.7); }
}
/* 「小太阳」三字：逐个弹出后淡出 */
.mascot-word {
  position: absolute;
  left: 50%;
  top: calc(100% + 3px);
  transform: translateX(-50%);
  display: flex;
  gap: 1px;
  pointer-events: none;
  white-space: nowrap;
}
.mascot-word span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px) scale(0.4);
}
.mascot-word span:nth-child(1) { animation-delay: 0.08s; }
.mascot-word span:nth-child(2) { animation-delay: 0.18s; }
.mascot-word span:nth-child(3) { animation-delay: 0.28s; }
@keyframes mascot-word-pop {
  0%   { opacity: 0; transform: translateY(5px) scale(0.4); }
  30%  { opacity: 1; transform: translateY(-2px) scale(1.15); }
  55%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-4px) scale(0.95); }
}
/* 待机：左右轻摇头（摆 1.4s、停顿 2s） */
@keyframes mascot-sway {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  18%      { transform: rotate(-6deg) translateX(-1.5px); }
  40%      { transform: rotate(0deg) translateX(0); }
  62%      { transform: rotate(6deg) translateX(1.5px); }
  84%      { transform: rotate(0deg) translateX(0); }
}
/* 鬼脸：快速左右晃 + 轻微放大 */
@keyframes mascot-face {
  0%, 100% { transform: rotate(0deg) scale(1); }
  12% { transform: rotate(-9deg) scale(1.05); }
  26% { transform: rotate(9deg) scale(1.05); }
  40% { transform: rotate(-8deg) scale(1.05); }
  54% { transform: rotate(8deg) scale(1.04); }
  70% { transform: rotate(-5deg) scale(1.02); }
  85% { transform: rotate(3deg) scale(1.01); }
}
.brand-mascot.facing img { animation: mascot-face 1.8s ease-in-out both; }
.brand-mascot.facing .mascot-heart { animation: mascot-heart-fly 1.1s ease-out both; }
.brand-mascot.facing .mascot-word span { animation: mascot-word-pop 1.2s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .brand-mascot img,
  .brand-mascot.facing img,
  .brand-mascot.facing .mascot-heart,
  .brand-mascot.facing .mascot-word span { animation: none; }
}

.site-nav { display: flex; gap: 36px; }
.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: width 0.25s var(--ease-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================================================
   HERO：复刻 super-i.cn si-hero
   150vh 滚动容器 + sticky 视口 + 三层光斑 + 标题块/三角形交叉淡化
   ============================================================ */
.si-hero { position: relative; width: 100%; background: var(--bg); }

.si-scroll-container {
  width: 100%;
  height: calc(150vh - var(--head));
}

.si-sticky-viewport {
  position: -webkit-sticky;
  position: sticky;
  top: var(--head);
  width: 100%;
  height: calc(100vh - var(--head));
  height: calc(100svh - var(--head));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- 三层扩散光斑（复刻原站 si-blob 精确渐变） ---------- */
.si-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
  will-change: transform;
}
.si-blob-left {
  bottom: -60px;
  left: -5%;
  width: 55%;
  height: 340px;
  background: radial-gradient(ellipse at 40% 60%,
    rgba(122, 232, 0, 0.52) 0%,
    rgba(170, 255, 0, 0.28) 35%,
    rgba(0, 229, 204, 0.12) 65%,
    transparent 100%);
  filter: blur(48px);
}
.si-blob-right {
  bottom: -40px;
  right: -8%;
  width: 42%;
  height: 260px;
  background: radial-gradient(ellipse at 60% 55%,
    rgba(170, 255, 0, 0.38) 0%,
    rgba(122, 232, 0, 0.18) 45%,
    transparent 100%);
  filter: blur(52px);
}
.si-blob-center {
  bottom: -20px;
  left: 30%;
  width: 40%;
  height: 200px;
  background: radial-gradient(ellipse at 50% 70%,
    rgba(0, 200, 150, 0.3) 0%,
    rgba(0, 229, 204, 0.14) 50%,
    transparent 100%);
  filter: blur(44px);
}

/* ---------- 标题块（第一屏） ---------- */
.si-title-block {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  will-change: transform, opacity;
  /* 注意：fill-mode 用 backwards 而非 both——both 的 after 阶段会永久压制
     JS 写入的 inline opacity/transform，导致滚动交叉淡化失效 */
  animation: siTitleIn 0.9s var(--ease-out) backwards;
}
@keyframes siTitleIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.si-hero-title {
  font-family: var(--display);
  font-size: clamp(46px, 6.7708vw, 130px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}
.si-hero-title em {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 96px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.2083vw;
  padding-right: 0.15em;
  vertical-align: middle;
}
.si-hero-subtitle {
  font-size: clamp(14px, 1.0416vw, 20px);
  color: var(--ink);
  margin: clamp(12px, 1.0833vw, 21px) 0 0;
  line-height: 1.6;
  font-weight: 500;
}

/* ---------- shequn 卡片（复刻原站 si-shequn-card） ---------- */
.si-shequn-card {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.04vw, 20px);
  margin-top: clamp(16px, 2vw, 38px);
  padding: clamp(10px, 0.83vw, 16px) clamp(16px, 1.5vw, 29px) clamp(10px, 0.83vw, 16px) clamp(10px, 0.83vw, 16px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}
.si-shequn-qr {
  width: clamp(80px, 5.2vw, 110px);
  height: clamp(80px, 5.2vw, 110px);
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.si-shequn-qr-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 2.6vw, 44px);
  color: var(--lime);
}
.si-shequn-info { display: flex; flex-direction: column; gap: 2px; }
.si-shequn-title { font-size: clamp(13px, 0.94vw, 18px); font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.si-shequn-count { font-size: clamp(11px, 0.78vw, 15px); color: #4a4a4a; line-height: 1.5; }
.si-shequn-num { color: var(--wechat); font-weight: 700; font-size: clamp(13px, 0.94vw, 18px); font-variant-numeric: tabular-nums; }
.si-shequn-yest { font-size: clamp(10px, 0.72vw, 14px); color: #6a6a6a; line-height: 1.5; margin-top: 1px; }
.si-shequn-yest-num { color: var(--wechat); font-weight: 700; }
.si-shequn-desc { font-size: clamp(10px, 0.7vw, 13px); color: var(--text-faint); line-height: 1.5; margin-top: 3px; }

/* ---------- 三角形节点图（复刻原站 si-triangle） ---------- */
.si-triangle-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 98vw);
  z-index: 15;
  opacity: 0;
  pointer-events: none;
}
.si-triangle-root { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; }
.si-triangle-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.si-triangle-svg line {
  stroke: rgba(0,0,0,0.35);
  stroke-dasharray: 8 5;
  animation: siFlow 0.9s linear infinite;
}
@keyframes siFlow { to { stroke-dashoffset: -13; } }
.si-triangle-spacer { padding-top: 64%; }

.si-tri-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}
.si-tri-btn {
  display: block;
  padding: clamp(10px, 0.729vw, 14px) clamp(22px, 1.875vw, 36px);
  border-radius: 9999px;
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s var(--ease-back), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.si-tri-btn span {
  font-size: clamp(14px, 0.885vw, 17px);
  font-weight: 600;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.si-tri-btn.is-top {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 4px 16px rgba(170, 255, 0, 0.3);
}
.si-tri-btn:hover {
  background: var(--lime) !important;
  border-color: var(--lime) !important;
  box-shadow: 0 8px 28px rgba(170, 255, 0, 0.45) !important;
  transform: translateY(-4px) scale(1.06) !important;
}
/* 掠光扫过效果（复刻原站 siShimmer） */
.si-tri-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
.si-tri-btn:hover::after { animation: siShimmer 0.6s ease-out forwards; }
@keyframes siShimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

/* 节点 tooltip（桌面端 hover 显示，复刻原站） */
.si-tri-tooltip {
  position: absolute;
  bottom: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  white-space: nowrap;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.si-tri-node:hover .si-tri-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.si-tri-tooltip-inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: clamp(16px, 1.25vw, 24px) clamp(20px, 1.667vw, 32px);
  border: 1px solid rgba(170, 255, 0, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-size: clamp(15px, 0.938vw, 18px);
  color: #444;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 滚动提示（复刻原站 si-scroll-hint） ---------- */
.si-scroll-hint {
  position: absolute;
  bottom: max(32px, 4vh);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.si-scroll-hint-text {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.si-scroll-hint-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, #888, transparent);
  animation: siFloatLine 1.4s ease-in-out infinite alternate;
}
@keyframes siFloatLine {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* ============================================================
   下方区块：复刻原站 home-courses / C-wrap / pd_120 节奏
   ============================================================ */
.section-block { scroll-margin-top: calc(var(--head) + 10px); }
.pd_120 {
  padding: clamp(40px, 2.083vw, 56px) 0 clamp(64px, 4.166vw, 96px);
}
.C-wrap {
  width: min(89.583vw, 1720px);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(14px, 1.25vw, 24px);
}
.section-title {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: clamp(20px, 1.667vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}
/* 荧光绿竖条（复刻原站 home-courses-bar：4px×1.25vw #C9FF85） */
.section-bar {
  display: inline-block;
  width: 4px;
  height: clamp(16px, 1.25vw, 24px);
  background: var(--lime-soft);
  margin-right: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.section-more {
  color: var(--text-dim);
  text-decoration: none;
  font-size: clamp(13px, 0.833vw, 16px);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.section-more:hover { color: var(--ink); }

/* ---------- 关于我 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 2.917vw, 56px);
  align-items: start;
}
.about-text p { color: var(--text-dim); margin-bottom: 18px; font-size: 16px; }
.about-lead {
  font-size: clamp(16px, 1.042vw, 20px) !important;
  color: var(--ink) !important;
  line-height: 1.9;
  font-weight: 500;
}
.about-text strong {
  color: var(--ink);
  font-weight: 700;
  background: linear-gradient(transparent 68%, var(--lime-soft) 68%);
  padding: 0 2px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; justify-content: flex-end; }
.tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid rgba(0, 0, 0, 0.55);
  padding: 9px 20px;
  border-radius: 9999px;
  transition: 0.25s var(--ease-out);
  cursor: default;
}
.tag:hover { background: var(--lime); border-color: var(--lime); transform: translateY(-2px); }

/* ---------- AI 赋能卡（白卡 + 1px 黑边，与原站卡片语言一致） ---------- */
.ai-card {
  background: var(--bg);
  border: 1px solid #000;
  border-radius: 20px;
  padding: clamp(24px, 2.083vw, 44px);
  position: relative;
  overflow: hidden;
}
.ai-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.badge-test {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--wechat);
  padding: 6px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}
.ai-card-title { font-size: clamp(17px, 1.042vw, 20px); font-weight: 700; color: var(--ink); }
.ai-card-desc { color: var(--text-dim); margin-bottom: 28px; font-size: 16px; max-width: 760px; }
.ai-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 9999px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  margin-bottom: 24px;
}
.ai-card-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(170, 255, 0, 0.4); }
.ai-card-btn .arrow-icon { margin-left: 0; }
.ai-card-btn:hover .arrow-icon { transform: translateX(3px); }
.ai-warn {
  font-size: 13px;
  color: var(--text-faint);
  border-left: 3px solid #fffc35;
  padding-left: 14px;
  line-height: 1.8;
}


/* ============================================================
   学习笔记：四列卡片网格（复刻原站 aigc3-list grid-x4）
   ============================================================ */
.aigc3-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.083vw, 40px);
  margin: clamp(24px, 2.383vw, 46px) 0 0;
  align-items: stretch;
}
.aigc3-list .item {
  padding: clamp(12px, 0.833vw, 16px);
  gap: clamp(10px, 0.625vw, 12px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid #000;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.aigc3-list .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}
.aigc3-list .item .bg {
  width: 100%;
  height: clamp(150px, 11.979vw, 230px);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}
/* 封面渐变（无图版，沿用原站荧光绿/黄/青家族色） */
.note-cover-a { background: linear-gradient(135deg, #c9ff85, #aaff00); }
.note-cover-b { background: linear-gradient(135deg, #fffc35, #d9ff6b); }
.note-cover-c { background: linear-gradient(135deg, #d9f7ff, #7bdde5); }
.note-cover-d { background: linear-gradient(135deg, #ffd3d5, #ff8a8e); }
.note-cover-e { background: linear-gradient(135deg, #d2f7e0, #5bd996); }
.note-cover-f { background: linear-gradient(135deg, #f2f2f2, #d9d9d9); }
.note-cover-g { background: linear-gradient(135deg, #e9ffd0, #c9ff85); }
.note-cover-h { background: linear-gradient(135deg, #fffbc9, #fffc35); }
.cover-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 1.458vw, 28px);
  color: rgba(7, 7, 7, 0.82);
  letter-spacing: 0.06em;
  transition: transform 0.6s ease;
}
.aigc3-list .item:hover .cover-word { transform: scale(1.08); }

/* HOT 图上角标（原站 item-new，HOT 红） */
.item-new {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--display);
  font-size: clamp(12px, 0.833vw, 16px);
  font-weight: 800;
  color: #fff;
  background: var(--red);
  padding: 3px 12px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(241, 42, 47, 0.35);
}
/* 绿色「新课」角标（与 HOT 红区分） */
.item-new.new { background: var(--wechat); box-shadow: 0 2px 8px rgba(7, 193, 96, 0.35); }

.aigc3-list .item .intr {
  gap: clamp(10px, 0.625vw, 12px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.aigc3-list .item .t1 {
  font-size: clamp(16px, 1.042vw, 20px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
/* openAll 摘要条（复刻原站：#FAF9FB 底 + 10px 圆角 + 右侧箭头） */
.aigc3-list .item .openAll {
  padding: clamp(7px, 0.416vw, 9px) clamp(14px, 1.354vw, 26px) clamp(7px, 0.416vw, 9px) clamp(7px, 0.416vw, 9px);
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin-top: auto;
}
.aigc3-list .item .openAll .icon {
  width: clamp(20px, 1.458vw, 28px);
  height: clamp(23px, 1.667vw, 32px);
  margin-right: clamp(8px, 0.833vw, 16px);
  background: var(--lime);
  border-radius: 5px;
  flex-shrink: 0;
}
.aigc3-list .item .openAll .te {
  max-width: clamp(150px, 10.416vw, 200px);
  min-width: 0;
  flex: 1;
}
.aigc3-list .item .openAll .t3 {
  font-size: clamp(13px, 0.833vw, 16px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.aigc3-list .item .openAll .t4 {
  font-size: clamp(12px, 0.729vw, 14px);
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 2px;
}
.txt-hide-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* arrow-icon（原站同款 SVG 资产，1.041vw 方块） */
.arrow-icon {
  display: block;
  width: clamp(15px, 1.041vw, 20px);
  height: clamp(15px, 1.041vw, 20px);
  background-image: var(--bg-b);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.aigc3-list .item:hover .arrow-icon { transform: translateX(3px); }

/* 占位卡（整理中） */
.item-empty { cursor: default; }
.item-empty:hover { transform: none; box-shadow: none; }
.item-empty .bg { filter: saturate(0.3); opacity: 0.72; }
.item-empty:hover .cover-word { transform: none; }

/* 知识库开放入口卡（如 AIGC 教程） */
a.item-open { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.item-open .bg { filter: none; opacity: 1; }
.item-open .cover-word { letter-spacing: 0.06em; }
.dim { color: var(--text-faint) !important; }

/* ---------- 合作联系 ---------- */
.section-contact { padding-bottom: clamp(72px, 5.208vw, 100px); }
.contact-card {
  background: var(--bg);
  border: 1px solid #000;
  border-radius: 20px;
  padding: clamp(40px, 4.167vw, 80px) clamp(24px, 2.292vw, 44px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 55% at 15% 0%, rgba(170, 255, 0, 0.12), transparent 65%),
    radial-gradient(ellipse 40% 55% at 85% 100%, rgba(0, 229, 204, 0.1), transparent 65%);
  pointer-events: none;
}
.contact-lead {
  position: relative;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
  line-height: 1.8;
}
.copy-mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-soft);
  border: 1.5px dashed rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  padding: 16px 32px;
  cursor: pointer;
  transition: 0.25s var(--ease-out);
  font-family: var(--sans);
}
.copy-mail:hover { border-color: var(--ink); border-style: solid; background: #fff; }
.mail-text { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); }
.mail-hint { font-size: 13px; color: var(--text-faint); }
.copy-mail:hover .mail-hint { color: var(--ink); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid #000; padding: 32px 0; }
.footer-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-left .beian { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.2); transition: color .2s, border-color .2s; }
.footer-left .beian:hover { color: #070707; border-bottom-color: #070707; }
.footer-left .footer-ai { color: var(--text-faint); }
.footer-left .footer-ai::before { content: "·"; margin-right: 10px; }
.footer-right { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.footer-thanks { color: var(--text-dim); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--display);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 36px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 9999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s var(--ease-out);
  z-index: 1002;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 滚动渐入（复刻原站 wow fadeInUp 节奏） ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   响应式（复刻原站 768px 移动端兜底值）
   ============================================================ */
@media (max-width: 960px) {
  .aigc3-list { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .tag-cloud { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .site-nav {
    position: fixed;
    top: calc(var(--head) - 4px); right: 16px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #000;
    border-radius: 14px;
    padding: 20px 28px;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.25s var(--ease-out);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-toggle { display: flex; }

  /* hero 标题（原站移动端：46px / em 36px） */
  .si-hero-title { font-size: 46px; line-height: 1.05; }
  .si-hero-title em { font-size: 36px; letter-spacing: -1.5px; }
  .si-hero-subtitle { font-size: 14px; margin-top: 12px; }
  .si-title-block { padding: 0 20px; }

  /* shequn 卡移动端值 */
  .si-shequn-card { gap: 12px; padding: 10px 16px 10px 10px; margin-top: 24px; border-radius: 12px; }
  .si-shequn-qr { width: 76px; height: 76px; min-width: 76px; }
  .si-shequn-qr-mark { font-size: 30px; }
  .si-shequn-title { font-size: 13px; }
  .si-shequn-count { font-size: 11px; }
  .si-shequn-num { font-size: 13px; }
  .si-shequn-yest { font-size: 10px; }
  .si-shequn-desc { font-size: 10px; }

  /* 三角形按钮 / tooltip */
  .si-tri-btn { padding: 10px 22px; }
  .si-tri-btn span { font-size: 14px; }
  .si-tri-tooltip { display: none !important; }
  .si-triangle-wrapper { width: 98vw; }
  /* 窄屏收紧底部两节点，避免按钮溢出视口（需 !important 压制内联 left） */
  #si-node-bl { left: 21% !important; }
  #si-node-br { left: 79% !important; }

  /* 卡片移动端值（原站 mobile.css） */
  .C-wrap { width: 90%; }
  .aigc3-list { gap: 20px; margin: 20px 0 0; }
  .aigc3-list .item { padding: 8px; gap: 6px; border-radius: 10px; }
  .aigc3-list .item .bg { height: 220px; border-radius: 11px; }
  .aigc3-list .item .openAll { padding: 4px 13px 4px 4px; }
  .aigc3-list .item .openAll .icon { width: 28px; height: 32px; margin-right: 8px; }
  .aigc3-list .item .openAll .te { max-width: 100px; }
  .section-bar { height: 16px; margin-right: 8px; }
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
  .footer-right { align-items: center; }
  .contact-card { padding: 40px 20px; }
  .copy-mail { padding: 14px 22px; gap: 12px; }
}

@media (max-width: 560px) {
  .aigc3-list { grid-template-columns: 1fr; }
  .aigc3-list .item .bg { height: 190px; }
}

/* AI Agent 标签 → 跳转 Skill 库 */
.tag-link {
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.tag-link:hover {
  background: #c9ff85;
  border-color: #070707;
  color: #070707;
}

/* ============================================================
   语言切换（刺猬星球风格）+ 登录/注册弹窗
   ============================================================ */

/* ---------- 导航右侧动作区 ---------- */
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }

/* 地球按钮（截图：浅色圆角方块 + 地球图标） */
.lang-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  color: #070707;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lang-btn:hover { border-color: #070707; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.lang-btn svg { width: 20px; height: 20px; }

/* 登录/注册胶囊按钮（截图：白底黑字胶囊 + ↗） */
.auth-btn {
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px;
  background: #fff;
  border: 1px solid #070707;
  border-radius: 999px;
  color: #070707;
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.auth-btn:hover { background: #070707; color: #fff; }
.auth-btn .auth-btn-arrow { width: 14px; height: 14px; flex: none; }
.auth-btn.is-logged { background: #c9ff85; }
.auth-btn.is-logged:hover { background: #070707; color: #c9ff85; }

/* ---------- 语言面板 ---------- */
.lang-panel {
  position: fixed;
  top: calc(var(--head) + 8px); right: 96px;
  width: 276px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  z-index: 1500;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  overflow: hidden;
}
.lang-panel.open { opacity: 1; transform: none; pointer-events: auto; }

/* 搜索框（截图：绿色边框聚焦） */
.lang-search {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 14px 6px;
  padding: 0 14px;
  height: 44px;
  border: 1.5px solid #a8e063;
  border-radius: 12px;
  color: #696969;
}
.lang-search:focus-within { border-color: #070707; }
.lang-search-input {
  flex: 1; border: none; outline: none;
  font-size: 14px; color: #070707; background: transparent;
}
.lang-search-input::placeholder { color: #999; }

/* 语言列表 */
.lang-list { max-height: 316px; overflow-y: auto; padding: 6px; }
.lang-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none; border-radius: 10px;
  background: transparent;
  font-size: 15px; color: #070707;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.lang-item:hover { background: #f5f5f5; }
.lang-item .lang-cc {
  flex: none; width: 26px;
  font-size: 13px; font-weight: 600; color: #999;
  letter-spacing: 0.02em;
}
.lang-item .lang-name { flex: 1; }
.lang-item .lang-check { flex: none; color: #22c55e; }
.lang-item.is-active { background: #eafbec; }
.lang-item.is-active .lang-cc { color: #22c55e; }
.lang-empty { padding: 24px 0; text-align: center; font-size: 14px; color: #999; }

/* ---------- 登录/注册弹窗 ---------- */
.auth-mask {
  position: fixed; inset: 0;
  background: rgba(7, 7, 7, 0.45);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.auth-mask.open { opacity: 1; visibility: visible; }

.auth-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  width: 860px; max-width: 100%;
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform .22s ease;
}
.auth-mask.open .auth-card { transform: none; }

.auth-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #070707; cursor: pointer;
  z-index: 2;
  transition: background .2s;
}
.auth-close:hover { background: #f0f0f0; }

/* 左栏：品牌区（绿色渐变光斑） */
.auth-brand {
  position: relative;
  background:
    radial-gradient(120px 120px at 30% 22%, rgba(201, 255, 133, 0.95), rgba(201, 255, 133, 0) 70%),
    radial-gradient(200px 200px at 78% 74%, rgba(201, 255, 133, 0.75), rgba(201, 255, 133, 0) 70%),
    radial-gradient(150px 150px at 20% 88%, rgba(201, 255, 133, 0.55), rgba(201, 255, 133, 0) 70%),
    #fafdf6;
  display: flex; align-items: flex-end;
  padding: 48px 40px;
  min-height: 420px;
}
.auth-brand-logo { font-size: 14px; font-weight: 600; color: #070707; letter-spacing: 0.04em; margin-bottom: 18px; }
.auth-brand-title { font-size: 34px; font-weight: 800; line-height: 1.24; color: #070707; margin: 0 0 14px; }
.auth-brand-sub { font-size: 14px; color: #4c6b2f; margin: 0; }

/* 右栏：登录区 */
.auth-pane { padding: 48px 44px; overflow-y: auto; }
.auth-title { font-size: 22px; font-weight: 700; color: #070707; margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: #696969; margin: 0 0 26px; }

/* 登录方式按钮（截图：白底浅边 + 彩色图标） */
.auth-oauth { display: flex; flex-direction: column; gap: 14px; }
.auth-oauth-btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; height: 54px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  font-size: 15px; font-weight: 500; color: #070707;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.auth-oauth-btn:hover { border-color: #070707; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.auth-oauth-btn.is-phone svg { color: #22c55e; }
.auth-oauth-btn.is-mail svg { color: #3b82f6; }
.auth-oauth-btn.is-phone:hover { background: #f4fde9; }
.auth-oauth-btn.is-mail:hover { background: #f0f6ff; }
.auth-oauth-btn em {
  font-style: normal;
  font-size: 12px; color: #999; margin-left: 6px;
}

/* 表单 */
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field {
  display: flex; align-items: center;
  height: 50px;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.auth-field:focus-within { border-color: #a8e063; box-shadow: 0 0 0 3px rgba(201, 255, 133, 0.3); }
.auth-field input {
  flex: 1; border: none; outline: none;
  font-size: 15px; color: #070707;
  padding: 0 16px; background: transparent;
  min-width: 0;
}
.auth-field input::placeholder { color: #999; }
.auth-field-phone .auth-prefix {
  padding: 0 4px 0 16px;
  font-size: 15px; font-weight: 600; color: #070707;
  border-right: 1px solid #e4e4e4;
  margin-right: 12px;
  height: 24px; line-height: 24px;
}
.auth-error { min-height: 18px; margin: -4px 0 0; font-size: 13px; color: #e5484d; }

/* 验证码输入行：输入框 + 获取验证码按钮 */
.auth-field-code { padding-right: 6px; }
.auth-field-code input { padding-left: 16px; letter-spacing: .12em; }
.auth-send {
  flex: none;
  height: 38px; padding: 0 14px;
  border: none; border-radius: 9px;
  background: #070707; color: #fff;
  font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, opacity .2s;
}
.auth-send:hover { background: #c9ff85; color: #070707; }
.auth-send:disabled { opacity: .45; cursor: not-allowed; }
.auth-submit:disabled { opacity: .6; cursor: wait; }

.auth-submit {
  height: 50px;
  border: none; border-radius: 12px;
  background: #070707; color: #fff;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.auth-submit:hover { background: #c9ff85; color: #070707; }
.auth-submit.is-blue { background: #3b82f6; }
.auth-submit.is-blue:hover { background: #c9ff85; color: #070707; }

.auth-back {
  display: inline-flex; align-items: center; gap: 4px;
  border: none; background: none;
  font-size: 14px; color: #696969;
  cursor: pointer; padding: 0; margin-bottom: 18px;
  transition: color .2s;
}
.auth-back:hover { color: #070707; }

.auth-demo-tip { margin: 22px 0 0; font-size: 12px; color: #999; line-height: 1.6; }
.auth-demo-tip strong { display: block; margin-bottom: 3px; font-size: 13.5px; font-weight: 700; color: #070707; }
.auth-policy { margin: 18px 0 0; font-size: 12px; color: #999; }
.auth-policy a { color: #696969; text-decoration: underline; }

/* ---------- 移动端 ---------- */
@media (max-width: 720px) {
  .lang-panel { right: 16px; width: calc(100vw - 32px); max-width: 320px; }
  .auth-btn { padding: 0 14px; font-size: 14px; }
  .auth-card { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow-y: auto; }
  .auth-brand { min-height: 0; padding: 36px 28px 28px; }
  .auth-brand-title { font-size: 26px; }
  .auth-pane { padding: 28px 24px 32px; }
}

/* ---------- 个人中心入口按钮 ---------- */
.profile-btn{display:none;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#070707;text-decoration:none;border:1.5px solid #000;border-radius:100px;padding:9px 20px;background:#c9ff85;transition:background .2s,color .2s,box-shadow .2s;white-space:nowrap}
.profile-btn.is-on{display:inline-flex}.profile-btn:hover{background:#070707;color:#c9ff85;box-shadow:2px 2px 0 #c9ff85}
@media(max-width:720px){.profile-btn{padding:8px 15px;font-size:13px}}

/* ===== AIGC 教程入口卡（GPT 设计稿接入版）===== */
:root {
  --lime: #b6ff43;
  --lime-bright: #aaff09;
  --card-stroke: #dce3d8;
}
.course-card {
  width: 100%;
  display: block;
  padding: 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--card-stroke);
  border-radius: 24px;
  box-shadow: 0 11px 37px rgba(29, 55, 15, .06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.course-card:hover { transform: translateY(-6px); border-color: #9dce65; box-shadow: 0 22px 54px rgba(31, 62, 15, .15); }
.course-card:active { transform: translateY(-2px); }
.course-card:focus-visible { outline: 3px solid #326b04; outline-offset: 4px; }
.course-cover {
  position: relative;
  aspect-ratio: 1.52;
  min-height: 212px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 19px;
  background: radial-gradient(circle at 76% 55%, #e8ffa0 0%, transparent 34%), linear-gradient(133deg, #c6ff77 0%, var(--lime) 43%, var(--lime-bright) 100%);
  color: #15200d;
}
.course-cover::after { content: ""; position: absolute; width: 240px; aspect-ratio: 1; right: -86px; bottom: -125px; border-radius: 50%; border: 1px solid rgba(255,255,255,.50); box-shadow: 0 0 0 25px rgba(255,255,255,.08), 0 0 0 51px rgba(255,255,255,.07); z-index: -1; }
.course-cover__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: absolute; top: 16px; left: 18px; right: 17px; z-index: 3; }
.course-cover__eyebrow { font-size: 10px; font-weight: 850; letter-spacing: .12em; white-space: nowrap; }
.course-cover__eyebrow-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; margin: 0 5px 2px; background: #18300e; }
.brand-m { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: #111; color: var(--lime); border-radius: 14px; font-size: 26px; font-weight: 850; line-height: 1; }
.course-cover__copy { position: absolute; top: 60px; left: 19px; z-index: 2; }
.course-cover__micro { display: inline-block; font-size: 11px; font-weight: 750; letter-spacing: .06em; }
.course-cover__copy h2 { margin: 8px 0 5px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.06em; font-weight: 900; line-height: 1.10; }
.course-cover__copy h2 span { color: #182809; }
.course-cover__copy p { margin: 10px 0 0; font-size: 12px; font-weight: 750; }
.course-cover__bottom { position: absolute; bottom: 17px; left: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 7px; z-index: 3; }
.course-tag { background: rgba(255,255,255,.88); color: #273912; padding: 7px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 10px; font-weight: 750; line-height: 1; }
.course-cover__art { position: absolute; width: 48%; height: 65%; right: 1%; top: 20%; z-index: 1; pointer-events: none; }
.art-orb { position: absolute; width: 124px; height: 124px; right: 19%; top: 22%; display: grid; place-items: center; border-radius: 35%; background: linear-gradient(140deg, #faffeb 5%, #d6ff90 62%, #95e541 100%); transform: rotate(-12deg); box-shadow: 0 17px 25px rgba(45,95,14,.20), inset 0 3px 5px white; border: 2px solid rgba(255,255,255,.8); }
.art-orb__inner { transform: rotate(12deg); color: #254b08; font-size: 52px; font-weight: 900; letter-spacing: -.1em; text-shadow: 0 1px 0 white; }
.art-tile { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; padding: 13px; background: rgba(255,255,255,.90); color: #3e8d14; border: 1px solid #fff; box-shadow: 0 7px 14px rgba(37,77,5,.13); border-radius: 15px; }
.art-tile svg { width: 100%; height: 100%; }
.art-tile--image { top: 5%; left: 7%; transform: rotate(-13deg); }
.art-tile--play { right: 0; top: 3%; transform: rotate(12deg); }
.art-tile--message { right: 0; bottom: 0; transform: rotate(10deg); }
.art-spark { position: absolute; color: #fff; text-shadow: 0 2px 8px rgba(53,80,8,.14); font-size: 25px; }
.art-spark--top { top: 0; right: 32%; }
.art-spark--bottom { bottom: -4px; left: 4%; font-size: 29px; }
.course-card__content { padding: 17px 4px 4px; }
.course-card__title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course-card__title-row h3 { font-size: 20px; margin: 0; font-weight: 850; letter-spacing: -.03em; }
.course-status { display: inline-flex; flex: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; color: #398820; }
.course-status__dot { width: 7px; height: 7px; border-radius: 50%; background: #62c841; }
.course-card__description { margin: 9px 0 16px; color: #73776f; font-size: 13px; }
.course-card__cta { height: 47px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 13px; background: #151815; color: #fff; font-size: 14px; font-weight: 750; transition: background .2s ease; }
.course-card:hover .course-card__cta, .course-card:focus-visible .course-card__cta { background: #315807; }
.course-card__cta svg { transition: transform .2s ease; }
.course-card:hover .course-card__cta svg { transform: translateX(4px); }
@media (max-width: 600px) {
  .course-card { padding: 10px; border-radius: 21px; }
  .course-cover { aspect-ratio: auto; width: 100%; height: 250px; min-height: 0; border-radius: 16px; }
  .course-cover__copy { top: 57px; left: 15px; }
  .course-cover__copy h2 { font-size: clamp(28px, 8.8vw, 37px); }
  .course-cover__top { top: 13px; left: 15px; right: 14px; }
  .brand-m { width: 39px; height: 39px; border-radius: 13px; font-size: 24px; }
  .course-cover__bottom { bottom: 14px; left: 14px; right: 14px; gap: 5px; }
  .course-tag { padding: 7px 8px; font-size: 10px; }
  .course-cover__art { width: 45%; height: 56%; top: 24%; right: 2%; }
  .art-orb { width: clamp(86px, 29vw, 120px); height: clamp(86px, 29vw, 120px); }
  .art-orb__inner { font-size: 43px; }
  .art-tile { width: 43px; height: 43px; border-radius: 12px; padding: 11px; }
  .course-card__content { padding: 15px 5px 4px; }
  .course-card__title-row h3 { font-size: 18px; }
}
@media (max-width: 350px) {
  .course-cover__copy h2 { font-size: 28px; }
  .course-cover__art { right: -5%; }
  .course-tag { font-size: 9px; padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .course-card, .course-card__cta, .course-card__cta svg { transition: none; }
  .course-card:hover, .course-card:active { transform: none; }
}

/* ===============================================================
   统一课程入口卡（知识库品牌视觉体系 2026-10-23）
   AIGC / 前端开发 / 数据分析共用同一套卡片外框、封面比例（374/263）、
   标题行与 CTA 按钮；仅更换封面主题元素。
   规范来源：FE 增强版设计稿（fe-card--enhanced）
   =============================================================== */
.fe-card--enhanced { width: min(410px, 100%); margin: 0 auto; padding: 18px; border: 1px solid #a2d577; border-radius: 29px; display: block; overflow: visible; background: #fff; box-shadow: 0 14px 45px rgba(49, 82, 18, .075); transition: box-shadow .25s, transform .25s, border-color .25s; text-decoration: none; color: inherit; }
.fe-card--enhanced:hover { box-shadow: 7px 8px 0 #c9ff85, 0 14px 35px rgba(38, 82, 19, .08); transform: translate(-3px, -3px); border-color: #6caa2e; }
.fe-card--enhanced:active { transform: translate(0, 0); box-shadow: 0 3px 12px rgba(49, 82, 18, .12); }
.fe-card--enhanced:focus-visible { outline: 3px solid #41870b; outline-offset: 4px; }
.fe-card--enhanced .fe-card__cover { width: 100%; height: auto; aspect-ratio: 374 / 263; background: linear-gradient(128deg, #c8ff7d 0%, #b5ff32 42%, #a4f900 100%); border-radius: 23px; position: relative; isolation: isolate; display: block; overflow: hidden; color: #152909; }
.fe-cover__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(64, 139, 5, .085) 1px, transparent 1px), linear-gradient(90deg, rgba(64, 139, 5, .085) 1px, transparent 1px); background-size: 23px 23px; opacity: .22; -webkit-mask-image: linear-gradient(110deg, transparent 0%, #000 65%); mask-image: linear-gradient(110deg, transparent 0%, #000 65%); pointer-events: none; }
.fe-cover__orbit { position: absolute; z-index: -1; width: 310px; height: 310px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); pointer-events: none; }
.fe-cover__orbit--top { left: 48%; top: 13%; transform: rotate(-12deg); }
.fe-cover__orbit--bottom { width: 230px; height: 230px; left: 62%; top: 50%; border-width: 27px; border-color: rgba(255, 255, 255, .11); }
.fe-cover__meta { position: absolute; z-index: 7; top: 20px; left: 22px; right: 10px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; line-height: 1.1; letter-spacing: 1.5px; font-weight: 950; color: #173610; }
.fe-cover__brand { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 16px; background: #111; color: #b3ff3e; font-size: 35px; font-weight: 1000; letter-spacing: 0; box-shadow: 0 5px 10px rgba(0, 0, 0, .08); }
.fe-cover__copy { position: absolute; z-index: 5; left: 22px; top: 31.5%; width: 54%; color: #152909; pointer-events: none; }
.fe-cover__kicker { margin: 0 0 11px; font-size: 12px; font-weight: 900; letter-spacing: .1px; }
.fe-cover__copy h2 { margin: 0; font-size: clamp(29px, 7.5vw, 39px); line-height: 1.12; letter-spacing: -1.5px; font-weight: 1000; white-space: nowrap; }
.fe-cover__copy h2 span { font-size: 43px; letter-spacing: -2px; }
.fe-cover__caption { position: absolute; bottom: 32px; left: 22px; margin: 0; z-index: 6; font-size: 11px; font-weight: 850; white-space: nowrap; letter-spacing: -.15px; }
.fe-cover__footerline { position: absolute; bottom: 14px; left: 22px; display: flex; align-items: center; gap: 7px; font-weight: 950; font-family: ui-monospace, Consolas, monospace; font-size: 10px; color: #25520c; letter-spacing: .5px; opacity: .85; z-index: 6; }
.fe-cover__footerline-dot { width: 3px; height: 3px; border-radius: 50%; background: #346f18; }
.fe-cover__art { position: absolute; z-index: 3; top: 52px; right: 3px; width: 53%; height: 77%; pointer-events: none; }
.fe-art__browser { position: absolute; width: 154px; height: 129px; right: 15px; top: 32px; background: #fafff2; border: 2px solid rgba(255, 255, 255, .88); border-radius: 14px; box-shadow: 1px 14px 25px rgba(39, 93, 9, .2), inset 0 0 0 1px #bada91; transform: rotate(-10deg); overflow: hidden; }
.fe-art__bar { height: 25px; background: #eafad8; border-bottom: 1px solid #c3dbaf; display: flex; align-items: center; padding: 0 9px; gap: 4px; }
.fe-art__bar i { width: 5px; height: 5px; border-radius: 50%; background: #96be70; }
.fe-art__bar i:first-child { background: #f0ae8d; }
.fe-art__bar i:nth-child(2) { background: #efd36b; }
.fe-art__bar span { font-size: 8px; font-weight: 800; color: #537945; margin-left: 15px; letter-spacing: .1px; }
.fe-art__body { padding: 10px 9px; display: flex; flex-direction: column; gap: 9px; }
.fe-art__code { font-family: ui-monospace, Consolas, monospace; font-size: 9px; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; color: #47623d; font-weight: 750; }
.fe-art__code b { font-size: 8px; color: #9aaf8d; margin-right: 6px; font-weight: 600; }
.fe-art__token--green { color: #4b9c12; }
.fe-art__token--blue { color: #22809b; }
.fe-art__token--dark { color: #222; }
.fe-art__code-orb { width: 103px; height: 102px; position: absolute; left: 10px; top: 80px; border-radius: 24px; transform: rotate(9deg); background: linear-gradient(150deg, #ffffff 0%, #efffd6 39%, #cdff80 100%); display: grid; place-items: center; font-weight: 1000; font-family: Consolas, monospace; font-size: 30px; letter-spacing: -2px; color: #244b15; border: 2px solid #fff; box-shadow: 0 14px 28px #32740e43, inset 0 0 0 2px #fff9; }
.fe-art__badge { position: absolute; display: flex; align-items: center; justify-content: center; flex-direction: column; background: rgba(253, 255, 247, .92); backdrop-filter: blur(5px); border: 1.5px solid #fff; border-radius: 13px; box-shadow: 0 8px 13px #418a182f; color: #34640f; z-index: 3; }
.fe-art__badge-symbol { font-family: Consolas, monospace; font-size: 16px; font-weight: 1000; line-height: 1.1; }
.fe-art__badge small { font-family: Consolas, monospace; font-size: 8px; font-weight: 900; letter-spacing: -.2px; }
.fe-art__badge--html { width: 42px; height: 43px; left: 17px; top: 24px; transform: rotate(-14deg); }
.fe-art__badge--html .fe-art__badge-symbol { color: #e57736; font-size: 23px; }
.fe-art__badge--css { width: 48px; height: 44px; right: 0; top: 104px; transform: rotate(11deg); }
.fe-art__badge--css .fe-art__badge-symbol { font-size: 15px; color: #1d83ae; }
.fe-art__badge--js { width: 39px; height: 39px; right: 26px; bottom: 0; transform: rotate(13deg); background: #f9f892; color: #232c10; }
.fe-art__pointer { position: absolute; width: 43px; height: 53px; right: 32px; bottom: 14px; z-index: 5; filter: drop-shadow(0 4px 2px #588e384d); transform: rotate(-12deg); }
.fe-art__spark { position: absolute; color: #fff; font-size: 27px; text-shadow: 0 3px 10px rgba(41, 103, 7, .1); }
.fe-art__spark--one { top: 20px; right: 1px; }
.fe-art__spark--two { bottom: 2px; left: 0; font-size: 20px; }
.fe-card__info { padding: 24px 5px 5px; }
.fe-card__title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fe-card__title-row h3 { font-size: 24px; font-weight: 950; line-height: 1.35; margin: 0; letter-spacing: -.7px; }
.fe-card__status { display: flex; align-items: center; gap: 8px; color: #2f8a19; font-size: 13px; font-weight: 850; flex: none; }
.fe-card__status-dot { width: 8px; height: 8px; border-radius: 50%; background: #48bd43; }
.fe-card__description { margin: 15px 0 18px; color: #7e7f7d; font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fe-card__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 0 20px; background: #2e5903; border-radius: 15px; color: #fff; font-weight: 850; font-size: 17px; transition: background .2s, box-shadow .2s; }
.fe-card--enhanced:hover .fe-card__cta { background: #1b4200; box-shadow: inset 0 0 0 1px #153d00; }
.fe-card__cta svg { transition: transform .2s; flex: none; }
.fe-card--enhanced:hover .fe-card__cta svg { transform: translateX(4px); }

/* AIGC 主题封面元素（沿用 v1 art 瓷贴 + AI 球，位置适配新 cover 比例） */
.fe-card--enhanced .fe-cover__art .art-orb { width: 46%; aspect-ratio: 1; height: auto; right: 16%; top: 26%; }
.fe-card--enhanced .fe-cover__art .art-orb__inner { font-size: clamp(30px, 5.2vw, 52px); }
.fe-card--enhanced .fe-cover__art .art-tile { width: 24%; height: auto; aspect-ratio: 1; padding: 4%; border-radius: 18%; }
.fe-card--enhanced .fe-cover__art .art-tile--image { top: 0; left: 0; }
.fe-card--enhanced .fe-cover__art .art-tile--play { right: 0; top: 4%; }
.fe-card--enhanced .fe-cover__art .art-tile--message { right: 2%; bottom: 0; }
.fe-card--enhanced .fe-cover__art .art-spark { font-size: clamp(16px, 2vw, 27px); }
.fe-card--enhanced .fe-cover__art .art-spark--top { top: 2px; right: 30%; }
.fe-card--enhanced .fe-cover__art .art-spark--bottom { bottom: -6px; left: 2%; }

/* 数据分析主题封面元素（CSS 柱状图 + AI 徽章） */
.data-art__chart { position: absolute; width: 128px; height: 108px; right: 18px; top: 36px; background: #fafff2; border: 2px solid rgba(255, 255, 255, .88); border-radius: 14px; box-shadow: 1px 14px 25px rgba(39, 93, 9, .2), inset 0 0 0 1px #bada91; transform: rotate(-8deg); overflow: hidden; }
.data-art__plate { position: absolute; inset: 26px 14px 12px; display: flex; align-items: flex-end; gap: 12px; padding: 0 6px; border-bottom: 2px solid #c3dbaf; }
.data-art__bar { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #8ef03a, #4b9c12); height: var(--h, 40%); }
.data-art__bar:nth-child(2) { background: linear-gradient(180deg, #cdfd8d, #8ef03a); }
.data-art__bar:nth-child(3) { background: linear-gradient(180deg, #eaffc6, #cdfd8d); }
.data-art__line { position: absolute; left: 8px; right: 8px; top: 14px; width: calc(100% - 16px); height: 44%; }
.data-art__orb { position: absolute; width: 92px; height: 90px; left: 6px; top: 84px; border-radius: 22px; transform: rotate(9deg); background: linear-gradient(150deg, #ffffff 0%, #efffd6 39%, #cdff80 100%); display: grid; place-items: center; font-weight: 1000; font-size: 26px; letter-spacing: -1px; color: #244b15; border: 2px solid #fff; box-shadow: 0 14px 28px #32740e43, inset 0 0 0 2px #fff9; }
.data-art__badge--pct { width: 58px; height: 46px; right: 0; top: 108px; transform: rotate(11deg); }
.data-art__badge--pct .fe-art__badge-symbol { color: #2f8a19; font-size: 15px; }

/* 首页知识库 4 列窄卡适配（容器查询：卡片自身为容器） */
.fe-card--enhanced { container-type: inline-size; }
.aigc3-list .fe-card--enhanced { width: 100%; }
@container (max-width: 360px) {
  .fe-cover__art { transform: scale(.60); transform-origin: top right; top: -2px; right: -8px; }
  .fe-cover__brand { width: 44px; height: 44px; font-size: 27px; border-radius: 12px; }
  .fe-cover__meta { top: 14px; left: 16px; font-size: 9px; letter-spacing: 1px; }
  .fe-cover__copy { left: 16px; top: 30%; }
  .fe-cover__copy h2 { font-size: 27px; }
  .fe-cover__copy h2 span { font-size: 31px; }
  .fe-cover__kicker { font-size: 10px; margin-bottom: 7px; }
  .fe-cover__caption { font-size: 9.5px; bottom: 12px; left: auto; right: 16px; }
  .fe-card__info { padding: 17px 3px 3px; }
  .fe-card__title-row h3 { font-size: 20px; }
  .fe-card__description { margin: 11px 0 13px; font-size: 12px; }
  .fe-card__cta { min-height: 50px; font-size: 15px; padding: 0 16px; border-radius: 12px; }
}
@container (max-width: 300px) {
  .fe-cover__art { transform: scale(.50); top: -6px; right: -14px; }
  .fe-cover__copy h2 { font-size: 23px; letter-spacing: -1px; }
  .fe-cover__copy h2 span { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .fe-card--enhanced, .fe-card__cta, .fe-card__cta svg { transition: none !important; }
}
