/* ============================================
   个人网站样式 - 完全参考原型图
   黑边框、圆角、粉色/蓝色/黄色点缀
   ============================================ */

:root {
  --bg-primary: #f7f7f7;
  --bg-card: #ffffff;
  --text-primary: #000000;
  --text-secondary: #555555;
  --text-muted: #888888;
  --accent-pink: #ff69b4;
  --accent-blue: #add8e6;
  --accent-yellow: #ffd700;
  --accent-green: #33ff33;
  --border-black: 2px solid #000000;
  --shadow-offset: 3px 3px 0 0 #000000;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
}

/* 导航栏 - 胶囊形 黑边框 右下阴影 */
.nav-container {
  width: 100%;
  max-width: 700px;
  margin: 1rem auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: var(--border-black);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-offset);
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-right: 1rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-link:hover {
  background: rgba(0,0,0,0.05);
}

.nav-link.active {
  background: #000;
  color: white !important;
}

.nav-icon {
  width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  transition: all 0.2s;
}

.nav-icon:hover {
  opacity: 0.7;
}

/* 主容器 */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero 区域 */
.hero {
  padding: 3rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Hero 区域高亮 - 深色填充 + 黑色边框，无阴影，参考 Journal 设计 */
.hero-title .hero-highlight {
  padding: 0.08em 0.3em;
  border-radius: 0;
  display: inline-block;
  border: 2px solid #000;
  color: #000;
}

.hero-title .hero-highlight-pink {
  background: #e91e8c;
  color: white;
}

.hero-title .hero-highlight-blue {
  background: #2196f3;
  color: white;
}

/* 倾斜效果 - 用于 about 页欢迎区 */
.hero-title .hero-highlight-tilt {
  transform: rotate(-3deg);
  display: inline-block;
}

/* 右上倾斜 - 清柠一婷 */
.hero-title .hero-highlight-tilt-up {
  transform: rotate(2deg);
}

/* 右下倾斜 - 两年半 */
.hero-title .hero-highlight-tilt-down {
  transform: rotate(-2deg);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: #000;
  color: white !important;
  border: var(--border-black);
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 #000;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/5;
  background: #faebd7;
  border: var(--border-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内容区块 - 增加区块间垂直间距 */
.section {
  padding: 3rem 0;
}

.section + .section {
  padding-top: 4rem;
}

/* 区块标题 */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.section-title .highlight {
  padding: 0.1em 0.3em;
  border-radius: 0;
  display: inline-block;
  border: 2px solid #000;
  position: relative;
  min-width: 7.5em;
  text-align: center;
}

/* 阴影块：用伪元素实现带黑色边框的右下偏移色块 */
.section-title .highlight::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid #000;
  border-radius: 0;
  z-index: -1;
}

/* Articles 标题 - 浅粉填充 + 深粉阴影块 + 黑色边框 */
.section-title .highlight-docs {
  background: #ffd6e8;
  color: #333;
}

.section-title .highlight-docs::after {
  background: #e91e8c;
}

/* Skills 标题 - 浅绿填充 + 荧光绿阴影块 */
.section-title .highlight-skills {
  background: #d4f4dd;
  color: #333;
}

.section-title .highlight-skills::after {
  background: #39FF14;
}

/* Videos 标题 - 浅蓝填充 + 深蓝阴影块 + 黑色边框 */
.section-title .highlight-videos {
  background: #d4edff;
  color: #333;
}

.section-title .highlight-videos::after {
  background: #5c9ecd;
}

/* 经历 标题 */
.section-title .highlight-experience {
  background: #e8f4fd;
  color: #333;
}

.section-title .highlight-experience::after {
  background: #4182f9;
}

/* Products 标题 - 浅黄填充 + 深黄阴影块 + 黑色边框 */
.section-title .highlight-works {
  background: #fff9c4;
  color: #333;
}

.section-title .highlight-works::after {
  background: #f9a825;
}

.section-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.section-link:hover {
  color: #000;
}

/* 文档/视频/作品卡片网格 - 统一尺寸 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.cards-grid .card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.card {
  background: var(--bg-card);
  border: var(--border-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-offset);
  transition: all 0.2s;
}

.card:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 #000;
}

.card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-placeholder {
  width: 100%;
  min-height: 140px;
  background: var(--accent-blue);
}

.card-image-placeholder-pink {
  background: #FFE5F1;
}

.card-image-placeholder-blue {
  background: #E5FDFF;
}

.card-image-placeholder-yellow {
  background: #FFFFE5;
}

.card-body {
  padding: 1rem;
  flex: 1;
  min-height: 110px;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-tag {
  padding: 0.2em 0.5em;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: white;
}

.card-tag.pink {
  background: var(--accent-pink);
}

.card-tag.blue {
  background: var(--accent-blue);
  color: #333;
}

.card-tag.orange {
  background: #ff4500;
}

.card-tag.yellow {
  background: #FFE135;
  color: #333;
}

.card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.card-desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 首页技能卡片：仅标题+描述，无图，需与经历/作品卡片同高 */
.home-skill-card {
  flex-direction: column;
}

.home-skill-card::before {
  content: "";
  display: block;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  flex-shrink: 0;
}

.home-skill-card-with-image::before {
  display: none;
}

/* 首页经历区微调：收紧图片区与首行标签距离 */
.home-exp-card .card-image {
  aspect-ratio: 16/8.8;
}

.home-exp-card .card-body {
  padding-top: 0.75rem;
}

/* 视频卡片 */
.video-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.2em 0.5em;
  background: var(--accent-pink);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.video-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.2em 0.5em;
  background: rgba(0,0,0,0.7);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.video-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.video-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.video-stat .icon-eye {
  color: #2196f3;
  flex-shrink: 0;
  vertical-align: middle;
}

.video-stat .icon-heart {
  color: #ff69b4;
  flex-shrink: 0;
  vertical-align: middle;
}

.video-share {
  margin-left: auto;
  width: 36px;
  height: 36px;
  background: var(--accent-yellow);
  border: var(--border-black);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 0 #000;
}

.video-meta {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* 文档页 - 垂直卡片（媒体在上、内容在下） */
.docs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: var(--border-black);
  border-radius: 12px;
  box-shadow: var(--shadow-offset);
  overflow: hidden;
  transition: all 0.2s;
}

.doc-card:hover {
  transform: translate(1px, 1px);
}

.doc-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--accent-blue);
}

.doc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doc-card-body {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
}

.doc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.doc-card-meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-card-arrow {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: var(--border-black);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-offset);
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.2s;
}

.doc-card-arrow:hover {
  transform: translate(1px, 1px);
}

.doc-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.doc-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.doc-card-placeholder-blue {
  background: #96c8e8;
}

/* 搜索栏 */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: var(--border-black);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-offset);
  max-width: 400px;
  margin-bottom: 1.5rem;
}

.search-icon {
  display: inline-flex;
  color: #000;
  opacity: 0.9;
  line-height: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  outline: none;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

/* 作品卡片 */
.work-card {
  background: var(--bg-card);
  border: var(--border-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  padding: 2rem;
  margin-bottom: 1.5rem;
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.work-number {
  font-size: 0.8rem;
  background: #000;
  color: white;
  padding: 0.25em 0.5em;
  display: inline-block;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.work-card .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: white;
  border: var(--border-black);
  border-radius: var(--radius-pill);
  font-weight: 600;
  margin-top: 1rem;
  box-shadow: var(--shadow-offset);
  transition: all 0.2s;
}

.work-card .btn-secondary:hover {
  transform: translate(1px, 1px);
}

.work-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* 关于页 - ID Card 参考图2 */
.id-card {
  position: relative;
  transform: rotate(-6deg);
  background: #fafafa;
  background-image: 
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 2px solid #000;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-offset);
  overflow: visible;
  max-width: 348px;
  min-width: 300px;
  min-height: 380px;
}

.id-card-header {
  position: relative;
  background: #6bcb77;
  padding: 0.5rem 3.5rem 0.5rem 0.9rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 2px solid #000;
}

.id-card-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.id-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

.id-card-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: #000;
  opacity: 0.9;
}

.id-card-badge-wrap {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 70px;
  height: 70px;
  background: #ff69b4;
  border: 2px solid #000;
  border-radius: 50%;
  box-shadow: 3px 3px 0 0 #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  z-index: 2;
  transform: rotate(8deg);
}

.id-card-badge-icon {
  font-size: 1.1rem;
  line-height: 1;
  color: #000;
}

.id-card-badge-text {
  font-size: 0.5rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.02em;
}

.id-card-body {
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.55rem;
  min-height: 220px;
}

.id-card-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.id-card-avatar {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 2px solid #000;
  border-radius: var(--radius-sm);
  margin-left: -4px;
  margin-top: -4px;
  box-shadow: 3px 3px 0 0 #000;
}

.id-card-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-left: -6px;
}

.id-card-tag {
  padding: 0.2em 0.5em;
  border: 2px solid #000;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: white;
  box-shadow: 2px 2px 0 0 #000;
  white-space: nowrap;
  flex-shrink: 0;
}

.id-card-tag-green {
  background: #6bcb77;
}

.id-card-tag-pink {
  background: #ff69b4;
}

.id-card-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.id-card-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  max-width: 180px;
  padding: 0.35rem 0.5rem;
  border: 2px solid #000;
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 0 #000;
}

.id-card-field-yellow {
  background: #ffd93d;
}

.id-card-field-blue {
  background: #7ec8e3;
}

.id-card-field-purple {
  background: #b39ddb;
}

.id-card-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

.id-card-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: #000;
}

.id-card-id-block {
  position: absolute;
  bottom: 1rem;
  left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.id-card-id-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.id-card-id-value {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.id-card-barcode {
  width: 180px;
  height: 56px;
  margin-left: -6px;
  background-color: #fff;
  padding: 6px;
  border: 2px solid #000;
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 0 #000;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.id-card-barcode svg {
  display: block;
  width: 140px;
  height: 34px;
}
.id-card-barcode svg rect {
  fill: #000;
}

.id-card-stamp {
  position: absolute;
  bottom: 1rem;
  right: 1.1rem;
  width: 72px;
  height: 72px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #ff69b4;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.05;
  box-shadow: 3px 3px 0 0 #000;
  z-index: 2;
}

.id-card-stamp::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #6bcb77;
  z-index: 0;
}

.id-card-stamp span {
  position: relative;
  z-index: 1;
}

/* Statement 区 */
.statement-section {
  margin: 2.2rem 0 2.4rem;
  padding-top: 0.4rem;
}

.statement-tag {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-22%, -50%);
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
  padding: 0.18em 0.52em;
  z-index: 2;
}

.statement-box {
  position: relative;
  width: calc(100% - 64px);
  max-width: 640px;
  margin: 0 auto 0.85rem;
  background: var(--accent-yellow);
  border: 2px solid #000;
  border-radius: 0;
  padding: 1rem 1.3rem;
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 700;
  color: #000;
  text-align: center;
  box-shadow: 6px 6px 0 0 #000;
  margin-bottom: 0.85rem;
}

.statement-desc {
  font-size: 1.12rem;
  font-weight: 700;
  color: #000;
  line-height: 1.45;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* 近日生活 */
.recent-updates {
  margin: 4rem 0 2rem;
  position: relative;
  padding: 0.2rem 0 3.5rem;
}

.recent-decor-arrow {
  position: absolute;
  font-size: 1.35rem;
  font-weight: 800;
  color: #000;
}

.recent-decor-arrow-left {
  left: -3.75rem;
  top: 0.12rem;
}

.recent-decor-arrow-right {
  left: -3.75rem;
  top: 8.9rem;
}

.recent-dot-group {
  position: absolute;
  display: inline-flex;
  gap: 0.16rem;
}

.recent-dot-group-left {
  left: 2.05rem;
  top: 0.08rem;
}

.recent-dot-group-right {
  right: 2.05rem;
  top: 0.08rem;
}

.recent-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  border: 2px solid #000;
  background: #fff;
  display: inline-block;
}

.recent-dot-pink {
  background: #f26cb6;
}

.recent-dot-purple {
  background: #b39ddb;
}

.recent-star-icon {
  position: absolute;
  color: #000;
  font-size: 0.98rem;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-8deg);
  z-index: 3;
}

.recent-star-icon-1 {
  left: 0.35rem;
  top: 4.58rem;
  font-size: 1.25rem;
}

.recent-star-icon-2 {
  left: 3.15rem;
  top: 4.35rem;
  font-size: 0.88rem;
}

.recent-star-icon-3 {
  left: 9.65rem;
  top: 4.72rem;
  font-size: 1.08rem;
}

.recent-star-icon-4 {
  right: 6.1rem;
  top: 4.9rem;
  font-size: 1.12rem;
}

.recent-star-icon-5 {
  left: 0.38rem;
  top: 10.02rem;
  font-size: 0.9rem;
}

.recent-star-icon-6 {
  right: 0.5rem;
  top: 10.02rem;
  font-size: 1.2rem;
}

.recent-star-icon-7 {
  right: 4.35rem;
  top: 9.45rem;
  font-size: 0.96rem;
}

.recent-star-icon-8 {
  left: 8.4rem;
  top: 12.2rem;
  font-size: 0.9rem;
}

.recent-star-icon-9 {
  left: 14.3rem;
  top: 12.65rem;
  font-size: 1rem;
}

.recent-star-icon-10 {
  left: 20.5rem;
  top: 12.1rem;
  font-size: 0.88rem;
}

.recent-star-icon-11 {
  right: 10.2rem;
  top: 12.45rem;
  font-size: 0.94rem;
}

.recent-star-icon-12 {
  right: 3.3rem;
  top: 12.2rem;
  font-size: 1.04rem;
}

.recent-star-icon-13 {
  left: 10.8rem;
  top: 14.2rem;
  font-size: 0.9rem;
}

.recent-star-icon-14 {
  left: 18.9rem;
  top: 13.95rem;
  font-size: 1.02rem;
}

.recent-star-icon-15 {
  right: 12.1rem;
  top: 14.35rem;
  font-size: 0.86rem;
}

.recent-star-icon-16 {
  right: 4.4rem;
  top: 14.05rem;
  font-size: 1.06rem;
}

.recent-lightning-icon {
  position: absolute;
  color: #f4d322;
  font-size: 1.12rem;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols2", sans-serif;
  font-weight: 700;
  line-height: 1;
  filter: drop-shadow(1px 1px 0 #000) drop-shadow(0 0 0.2px #000);
  pointer-events: none;
  z-index: 2;
}

.recent-lightning-icon-1 {
  left: 11.9rem;
  top: 0.9rem;
  transform: rotate(-14deg);
}

.recent-lightning-icon-2 {
  right: 8.6rem;
  top: 0.88rem;
  transform: rotate(12deg);
}

.recent-lightning-icon-3 {
  left: 17.4rem;
  top: 8.75rem;
  font-size: 1.1rem;
  transform: rotate(-8deg);
}

.recent-lightning-icon-4 {
  right: 4.6rem;
  top: 4.9rem;
  transform: rotate(10deg);
}

.recent-lightning-icon-5 {
  left: 6.4rem;
  top: 10.95rem;
  font-size: 0.94rem;
  transform: rotate(-10deg);
}

.recent-lightning-icon-6 {
  left: 13.7rem;
  top: 13.85rem;
  font-size: 1.06rem;
  transform: rotate(9deg);
}

.recent-lightning-icon-7 {
  right: 8.35rem;
  top: 14.05rem;
  font-size: 0.98rem;
  transform: rotate(-11deg);
}

.recent-header-container {
  display: inline-block;
  margin: 0.75rem 0 1.45rem 0;
  position: relative;
}

.recent-title {
  display: inline-block;
  background: #f26cb6;
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
  padding: 0.42rem 0.9rem;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  box-shadow: 5px 5px 0 0 #000;
  transform: rotate(-1.2deg);
  margin: 0;
  width: fit-content;
  position: relative;
}

.recent-title::after {
  content: "✦";
  position: absolute;
  right: -0.75rem;
  top: -0.7rem;
  font-size: 1.06rem;
  color: #000;
  transform: rotate(8deg);
}

.recent-cards-wrapper {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 0.75rem;
  margin-left: 1.2rem;
}

.recent-card {
  --recent-card-shadow-color: #4285f4;
  flex: 0 0 auto;
  width: 210px;
  background: white;
  border: 2px solid #000;
  border-radius: 18px;
  padding: 0.95rem 0.9rem;
  min-height: 122px;
  position: relative;
  box-shadow:
    4px 4px 0 0 #000,
    8px 8px 0 0 var(--recent-card-shadow-color),
    8px 8px 0 2px #000;
}

.recent-card-blue {
  --recent-card-shadow-color: #4285f4;
  width: 214px;
  transform: rotate(-2.7deg);
}

.recent-card-pink {
  --recent-card-shadow-color: #f26cb6;
  width: 202px;
  transform: rotate(1.7deg);
}

.recent-card-green {
  --recent-card-shadow-color: #44c176;
  width: 188px;
  transform: rotate(-0.9deg);
}

.recent-card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.recent-card-icon-wrap {
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid #000;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 2px 2px 0 0 #000;
}

.recent-card-icon-wrap.blue {
  background: #4285f4;
}

.recent-card-icon-wrap.pink {
  background: #f26cb6;
}

.recent-card-icon-wrap.green {
  background: #44c176;
}

.recent-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #000;
}

.recent-card-content {
  font-size: 1.24rem;
  font-weight: 500;
  color: #111;
  line-height: 1.12;
  text-align: center;
}

.recent-underline {
  height: 3px;
  width: 60%;
  margin: 0.45rem auto 0;
  border-radius: 2px;
  opacity: 0.55;
}

.recent-underline-blue {
  background: #4285f4;
}

.recent-underline-pink {
  background: #f26cb6;
}

.recent-underline-green {
  background: #44c176;
}

.recent-arrow {
  width: 58px;
  height: 28px;
  opacity: 0.82;
  flex-shrink: 0;
}

.recent-arrow-double {
  width: 68px;
  height: 44px;
}

.recent-cards-wrapper .recent-arrow:nth-of-type(1) {
  margin-right: 0.12rem;
}

.recent-cards-wrapper .recent-arrow:nth-of-type(2) {
  margin-left: -0.08rem;
}

.recent-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 地球Online */
.timeline-section {
  margin: 3.5rem 0 2rem;
}

.timeline-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.45rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.timeline-title .highlight {
  display: inline-block;
  margin-left: 0;
  background: #f26cb6;
  color: #000;
  border: 2px solid #000;
  border-radius: 0;
  padding: 0.08em 0.36em;
  box-shadow: 4px 4px 0 0 #000;
  transform: rotate(-1deg);
}

.timeline-board {
  --timeline-header-row-height: 72px;
  --timeline-event-row-height: 124px;
  background: white;
  border: 2px solid #000;
  border-radius: 20px;
  box-shadow: 4px 4px 0 0 #000;
  padding: 2rem 2.1rem;
  background-image: 
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  grid-template-rows: var(--timeline-header-row-height) repeat(4, var(--timeline-event-row-height));
  row-gap: 0;
  column-gap: 1.35rem;
  position: relative;
  min-height: 0;
  width: 100%;
  margin: 0;
}

.timeline-column {
  display: contents;
}

.timeline-column-tag {
  padding: 0.42rem 1.2rem;
  border: var(--border-black);
  border-radius: 0;
  font-weight: 700;
  font-size: 1.7rem;
  display: inline-block;
  background: #fff;
  margin-bottom: 1.2rem;
  width: fit-content;
  box-shadow: 4px 4px 0 0 #000;
}

.timeline-column-tag.pink {
  box-shadow: 5px 5px 0 0 #f26cb6, 5px 5px 0 2px #000;
}

.timeline-column-tag.green {
  box-shadow: 5px 5px 0 0 #44c176, 5px 5px 0 2px #000;
}

.timeline-column-left .timeline-column-tag {
  grid-column: 1;
  grid-row: 1;
  margin-left: 0.55rem;
  align-self: center;
}

.timeline-column-right .timeline-column-tag {
  grid-column: 3;
  grid-row: 1;
  margin-left: auto;
  margin-right: 0.55rem;
  align-self: center;
}

.timeline-task {
  --timeline-task-shadow-color: #3d86eb;
  background: white;
  border: var(--border-black);
  border-radius: 16px;
  padding: 0.9rem 0.95rem;
  position: relative;
  align-self: center;
  box-shadow: 4px 4px 0 0 var(--timeline-task-shadow-color), 4px 4px 0 2px #000;
}

.timeline-column-right .timeline-task {
  grid-column: 3;
  margin-left: 0.35rem;
}

.timeline-column-left .timeline-task {
  grid-column: 1;
}

.timeline-task.timeline-level-1,
.timeline-node.timeline-level-1 { grid-row: 2; }

.timeline-task.timeline-level-2,
.timeline-node.timeline-level-2 { grid-row: 3; }

.timeline-task.timeline-level-3,
.timeline-node.timeline-level-3 { grid-row: 4; }

.timeline-task.timeline-level-4,
.timeline-node.timeline-level-4 { grid-row: 5; }

.task-blue { --timeline-task-shadow-color: #3d86eb; }
.task-pink { --timeline-task-shadow-color: #f26cb6; }
.task-yellow { --timeline-task-shadow-color: #f3cc2f; }
.task-orange { --timeline-task-shadow-color: #ff8c00; }
.task-green { --timeline-task-shadow-color: #33cc66; }
.task-purple { --timeline-task-shadow-color: #c9b1e8; }

.timeline-task-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.timeline-task-main .timeline-task-meta {
  justify-content: flex-start;
  padding-left: 2.7rem;
}

.timeline-task-side .timeline-task-meta {
  justify-content: flex-end;
  padding-right: 2.7rem;
}

.timeline-chip {
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.timeline-chip-date {
  background: #fff;
  padding: 0.26rem 0.4rem;
}

.timeline-chip-type {
  background: #000;
  color: #fff;
  padding: 0.2rem 0.35rem;
}

.timeline-task-main .timeline-chip-type { order: 1; }
.timeline-task-main .timeline-chip-date { order: 2; }
.timeline-task-side .timeline-chip-date { order: 1; }
.timeline-task-side .timeline-chip-type { order: 2; }

.timeline-task-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  max-width: 86%;
}

.timeline-task-main .timeline-task-text {
  padding-left: 2.7rem;
  max-width: 100%;
  text-align: left;
}

.timeline-task-side .timeline-task-text {
  max-width: 100%;
  padding-right: 2.7rem;
  text-align: right;
}

.timeline-task-icon {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 2px solid #000;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  box-shadow: 2px 2px 0 0 #000;
}

.timeline-task-main .timeline-task-icon {
  right: auto;
  left: 0.7rem;
}

.timeline-task-side .timeline-task-icon {
  right: 0.7rem;
  left: auto;
}

.timeline-task-icon.blue { background: #3d86eb; }
.timeline-task-icon.pink { background: #f26cb6; }
.timeline-task-icon.yellow { background: #f3cc2f; }
.timeline-task-icon.orange { background: #ff8c00; }
.timeline-task-icon.green { background: #33cc66; }
.timeline-task-icon.purple { background: #c9b1e8; }

.timeline-rail {
  grid-column: 2;
  grid-row: 1 / 6;
  position: relative;
  display: grid;
  grid-template-rows: var(--timeline-header-row-height) repeat(4, var(--timeline-event-row-height));
  align-items: center;
  justify-items: center;
  padding: 0;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: calc(var(--timeline-header-row-height) / 2);
  bottom: calc(var(--timeline-event-row-height) / 2);
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, #000, #000 6px, transparent 6px, transparent 11px);
}

.timeline-rail-top {
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 2px 2px 0 0 #000;
  z-index: 1;
  align-self: center;
}

.timeline-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #000;
  background: #fff;
  position: relative;
  z-index: 1;
  align-self: center;
}

.timeline-node::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 2rem;
}

.page-label {
  display: inline-block;
  background: #000;
  color: white;
  padding: 0.25em 0.6em;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
}

.page-title .highlight {
  background: var(--accent-green);
  padding: 0.1em 0.3em;
}

.page-title .highlight-blue {
  background: #4285f4;
  color: white;
  padding: 0.1em 0.3em;
  transform: rotate(-3deg);
  display: inline-block;
}

.page-title .highlight-yellow {
  background: var(--accent-yellow);
  padding: 0.1em 0.3em;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* 文档页微调（参考图3） */
.docs-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.docs-page-header > div:first-child {
  flex: 1;
  min-width: 0;
}

.docs-page .page-label {
  border: 2px solid #000;
  box-shadow: 3px 3px 0 0 #000;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
}

.docs-page .page-title {
  font-size: 4rem;
  line-height: 1.12;
  margin-bottom: 0.35rem;
}

.docs-page .page-title .highlight {
  display: inline-block;
  color: #000;
  background: var(--accent-green);
  border: 2px solid #000;
  padding: 0.12em 0.28em;
  transform: rotate(-2deg);
  transform-origin: center;
}

.docs-page .page-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 1.4rem;
}

.docs-page .search-bar {
  width: 300px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  box-shadow: 6px 6px 0 0 #000;
  margin-bottom: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.docs-page .search-icon {
  display: inline-flex;
  color: #000;
  opacity: 0.9;
}


/* 视频页微调（参考图4） */
.video-page .page-label {
  border: 2px solid #000;
  box-shadow: 3px 3px 0 0 #000;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
}

.video-page .page-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.video-page .page-title .highlight-blue {
  border: 2px solid #000;
  color: #fff;
  display: inline-block;
  transform: rotate(1deg);
}

.video-page .page-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
}

.video-page .search-bar {
  width: 300px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  box-shadow: 6px 6px 0 0 #000;
  margin-bottom: 0;
}

.video-page .search-icon {
  display: inline-flex;
  color: #000;
  opacity: 0.9;
}

.video-page .cards-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.4rem;
}

.video-page .card {
  border-radius: 24px;
}

.video-page .card-image {
  aspect-ratio: 16/10;
}

.video-page .video-tag {
  border: 2px solid #000;
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.2);
}

.video-page .card-title {
  min-height: 2.8em;
}

.video-page .video-share {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: none;
}

/* 技能页卡片区（参考 gemini-7） */
.skills-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.skill-archive-card {
  background: var(--bg-card);
  border: 3px solid #000;
  box-shadow: 10px 10px 0 0 #000;
  display: flex;
  min-height: 140px;
  overflow: hidden;
}

.skill-archive-visual {
  width: 100px;
  min-width: 100px;
  border-right: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.skill-archive-visual-pink {
  background: #ff99cc;
}

.skill-archive-visual-blue {
  background: #8be9fd;
}

.skill-archive-visual-yellow {
  background: #ffeb3b;
}

.skill-archive-content {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skill-archive-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.skill-archive-id {
  background: #000;
  color: #fff;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 900;
}

.skill-archive-title {
  font-size: 1.25rem;
  font-weight: 900;
}

.skill-archive-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-archive-tool-tag {
  padding: 0.35rem 0.75rem;
  border: 2px solid #000;
  background: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
}

.skill-archive-tag-arrow {
  margin-left: 0.35rem;
}

.skill-archive-ai-columns {
  display: flex;
  gap: 0;
  margin-top: 0.5rem;
}

.skill-archive-ai-col {
  flex: 1;
  padding: 0 1rem;
  border-right: 2px solid #ddd;
}

.skill-archive-ai-col:first-child {
  padding-left: 0;
}

.skill-archive-ai-col:last-child {
  border-right: none;
}

.skill-archive-ai-label {
  font-size: 0.7rem;
  font-weight: 900;
  color: #ff00ff;
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.skill-archive-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skill-archive-ai-tag {
  padding: 0.2rem 0.5rem;
  border: 2px solid #000;
  background: #eee;
  font-size: 0.78rem;
  font-weight: 800;
}

.skill-archive-ai-tag-highlight {
  background: #a3ff00;
}

/* 经历页卡片区（参考 gemini-4） */
.experience-section {
  margin-top: 0.8rem;
}

.experience-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.experience-filter-btn {
  border: 2px solid #000;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #000;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 0 #000;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.experience-filter-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 #000;
}

.experience-filter-btn.active {
  background: #000;
  color: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.exp-card {
  background: #fff;
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 3px 3px 0 0 #000;
  padding: 1.25rem 1.25rem 1.05rem;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: none;
}

.exp-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.exp-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.exp-meta-row-top {
  gap: 0.45rem 0.5rem;
}

.exp-meta-date {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9a9a9a;
  line-height: 1.1;
}

.exp-pill {
  display: inline-flex;
  align-items: center;
  border: 2px solid #000;
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0 0 #000;
  padding: 0.18rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.exp-pill-top {
  border: none;
  box-shadow: none;
  border-radius: var(--radius-sm);
  padding: 0.2em 0.5em;
}

.exp-pill-role {
  background: var(--accent-blue);
  color: #333;
}

.exp-pill-pink {
  background: #FF90E8;
}

.exp-pill-purple {
  background: #B592FF;
}

.exp-pill-yellow {
  background: #FFE500;
}

.exp-pill-white {
  background: #fff;
}

.exp-pill-black {
  background: #000;
  color: #fff;
}

.exp-card-title {
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.exp-card-desc {
  color: #4f4f4f;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.8rem;
}

.exp-impact {
  display: inline-flex;
  width: fit-content;
  border: none;
  box-shadow: none;
  background: #DBF7C8;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.exp-impacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.exp-impacts .exp-impact {
  margin-bottom: 0;
}

.exp-card-footer {
  margin-top: auto;
  border-top: 3px solid #000;
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.7rem;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exp-tag {
  display: inline-flex;
  align-items: center;
  position: relative;
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0.08rem 0.15rem 0.22rem;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.exp-tag::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background-repeat: repeat-x;
  background-size: 24px 4px;
  background-position: left bottom;
}

.exp-tag::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: repeating-linear-gradient(
    112deg,
    rgba(0, 0, 0, 0.18) 0 1px,
    rgba(0, 0, 0, 0) 1px 3px
  );
  opacity: 0.16;
  pointer-events: none;
}

.exp-tag-pink {
  --exp-tag-wave: #80E8FF;
}

.exp-tag-pink::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 4' preserveAspectRatio='none'%3E%3Cpath d='M0 2 C4 1.25 8 1.25 12 2 C16 2.75 20 2.75 24 2' fill='none' stroke='%2380E8FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.exp-tag-purple {
  --exp-tag-wave: #FFE500;
}

.exp-tag-purple::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 4' preserveAspectRatio='none'%3E%3Cpath d='M0 2 C4 1.25 8 1.25 12 2 C16 2.75 20 2.75 24 2' fill='none' stroke='%23FFE500' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.exp-tag-yellow {
  --exp-tag-wave: #FF90E8;
}

.exp-tag-yellow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 4' preserveAspectRatio='none'%3E%3Cpath d='M0 2 C4 1.25 8 1.25 12 2 C16 2.75 20 2.75 24 2' fill='none' stroke='%23FF90E8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.exp-readmore {
  flex-shrink: 0;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 0 #000;
  background: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.exp-readmore:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 0 #000;
}

/* 经历页大卡片展开层（参考 gemini-5） */
.exp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.exp-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exp-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(245, 246, 248, 0.62);
  backdrop-filter: blur(2px);
}

.exp-overlay-panel {
  position: fixed;
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 12px 12px 0 0 #000;
  background: #fff;
  overflow: hidden;
  transition:
    left 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.1),
    top 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.1),
    width 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.1),
    height 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.1),
    transform 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.1),
    opacity 0.28s ease;
}

.exp-overlay-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  border-radius: 999px;
  box-shadow: 3px 3px 0 0 #000;
  background: #ff5b5b;
  color: #000;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.exp-overlay-content {
  width: 100%;
  height: 100%;
}

.exp-overlay-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.exp-overlay-left {
  position: relative;
  border-right: 3px solid #000;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.exp-overlay-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#111 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.14;
}

.exp-overlay-left-pink {
  background: #4182f9;
}

.exp-overlay-left-yellow {
  background: #ffe28a;
}

.exp-overlay-left-purple {
  background: #B592FF;
}

.exp-overlay-left-pill {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  border: 2px solid #000;
  border-radius: 0;
  box-shadow: 3px 3px 0 0 #000;
  background: #ff90e8;
  padding: 0.18rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.exp-overlay-left-title {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.exp-overlay-read-links {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.exp-overlay-read-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 900;
  color: #fff;
}

.exp-overlay-read-link {
  display: inline-block;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  text-decoration-color: #FFE500;
  transition: transform 0.15s ease;
}

.exp-overlay-read-link:nth-of-type(even) {
  text-decoration-color: #FF90E8;
}

.exp-overlay-read-link:hover {
  transform: translate(2px, 1px);
}

.exp-overlay-read-link-prefix {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.exp-overlay-left-frame {
  position: relative;
  z-index: 1;
  height: 42%;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 0 #000;
  background: #fff;
  display: block;
  margin-top: auto;
  transform: rotate(1.5deg);
  overflow: hidden;
}

.exp-overlay-left-frame-media,
.exp-overlay-left-frame-empty {
  width: 100%;
  height: 100%;
  display: block;
}

.exp-overlay-left-frame-media {
  object-fit: cover;
  background: #fff;
}

.exp-overlay-left-frame-empty {
  background:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}

.exp-overlay-left-frame-label {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  border: 2px solid #000;
  background: #ffe500;
  padding: 0.22rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  z-index: 2;
}

.exp-overlay-right {
  padding: 1.25rem 1.3rem;
  overflow-y: auto;
}

.exp-overlay-main-title {
  font-size: clamp(1.15rem, 2vw, 1.95rem);
  line-height: 1.15;
  font-weight: 900;
  margin: 0 0 1rem;
  max-width: 95%;
}

.exp-overlay-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.exp-overlay-metric {
  border: 3px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  background: #fff;
  padding: 0.6rem 0.78rem;
  min-width: 132px;
}

.exp-overlay-metric-impact {
  background: #c4f1a4;
}

.exp-overlay-metric-time {
  background: #DBF7C8;
}

.exp-overlay-metric-label {
  font-size: 0.64rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}

.exp-overlay-metric-value {
  font-size: 0.95rem;
  line-height: 1.05;
  font-weight: 900;
}

.exp-overlay-metric-values {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.exp-overlay-divider {
  border-top: 3px solid #000;
  margin: 1.1rem 0;
}

.exp-overlay-module {
  margin-bottom: 1.15rem;
}

.exp-overlay-module-tag {
  display: inline-block;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 0 #000;
  padding: 0.2rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 900;
  transform: skewX(-8deg);
  letter-spacing: 0.05em;
}

.exp-overlay-module-tag-pink {
  background: #ff90e8;
}

.exp-overlay-module-tag-yellow {
  background: #ffe500;
}

.exp-overlay-module-tag-black {
  background: #000;
  color: #fff;
}

.exp-overlay-paragraph {
  margin-top: 0.58rem;
  border-left: 4px solid #000;
  padding-left: 0.7rem;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 700;
}

.exp-overlay-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.exp-overlay-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.exp-overlay-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
}

/* 作品页微调（参考图5） */
.works-page .page-label {
  border: 2px solid #000;
  box-shadow: 3px 3px 0 0 #000;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
}

.works-page .page-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.works-page .page-title .highlight-yellow {
  border: 2px solid #000;
  display: inline-block;
  transform: rotate(-1deg);
}

.works-page .page-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 640px;
}

.works-page .search-icon {
  display: inline-flex;
  color: #000;
  opacity: 0.9;
}

.works-page .work-card {
  width: 100%;
  max-width: none;
  min-height: 300px;
  padding: 0;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: #faf7f3;
  background-image:
    linear-gradient(135deg, rgba(255, 248, 230, 0.5) 0%, transparent 45%),
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
}

.works-page .work-media {
  min-height: 240px;
  overflow: hidden;
}

.works-page .work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-page .work-content {
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.3rem 1.3rem 1.1rem;
}

.works-page .work-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.works-page .work-number {
  margin-bottom: 0;
}

.works-page .work-date {
  margin-top: 0;
  margin-left: auto;
}

.works-page .work-title {
  font-size: 2.05rem;
  margin-top: 0.25rem;
}

.works-page .work-subtitle {
  margin-top: 0.45rem;
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
  color: #333;
}

.works-page .work-desc {
  border-left: 3px solid #000;
  padding-left: 0.85rem;
  margin-top: 0.6rem;
  max-width: none;
}

.works-page .btn-secondary {
  margin-top: 1rem;
  box-shadow: none;
  width: fit-content;
  align-self: flex-end;
}

.works-page .work-date {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* 视频页布局 */
.video-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* 技能页头部中间：浮动小方块贴纸 */
.skills-header-stickers {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 130px;
}

.skills-sticker {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  flex-shrink: 0;
  padding: 0 0.4rem;
}

.skills-sticker--1 {
  width: 68px;
  height: 26px;
  background: #ff99cc;
  transform: rotate(1deg);
  left: 18%;
  top: 60%;
  margin-top: -13px;
  margin-left: -34px;
}

.skills-sticker--2 {
  width: 90px;
  height: 26px;
  background: #a3ff00;
  transform: rotate(-10deg);
  left: 55%;
  top: 25%;
  margin-top: -13px;
  margin-left: -45px;
}

.skills-sticker--3 {
  width: 56px;
  height: 26px;
  background: #8be9fd;
  transform: rotate(13deg);
  left: 82%;
  top: 85%;
  margin-top: -13px;
  margin-left: -28px;
}

/* 技能页头部右侧：Verified Skill 徽章贴纸 */
.skills-verified-badge {
  width: 120px;
  height: 120px;
  background: #ffeb3b;
  border: 4px solid #000;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 0 0 #000;
  transform: rotate(15deg);
  flex-shrink: 0;
  position: relative;
  cursor: default;
}

.skills-verified-badge::after {
  content: "";
  position: absolute;
  width: 85%;
  height: 85%;
  border: 2px dashed #000;
  border-radius: 50%;
  pointer-events: none;
}

.skills-badge-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  z-index: 1;
}

.skills-badge-text {
  font-size: 0.65rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  z-index: 1;
  text-transform: uppercase;
}

.skills-verified-badge:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 10px 10px 0 0 #000;
  background: #fff176;
}

/* 作品页布局 */
.works-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.works-page .works-page-header {
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 2rem;
}

.works-page .works-page-header > div:first-child {
  flex: 1;
  min-width: 0;
}

.works-page .search-bar {
  width: 240px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  box-shadow: 6px 6px 0 0 #000;
  margin-bottom: 0;
  margin-left: auto;
  flex-shrink: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-card {
    margin: 0 auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .skill-archive-card {
    flex-direction: column;
    min-height: auto;
  }

  .skill-archive-visual {
    width: 100%;
    min-width: 100%;
    border-right: none;
    border-bottom: 3px solid #000;
    padding: 0.75rem;
    font-size: 1.8rem;
  }

  .skill-archive-ai-columns {
    flex-direction: column;
  }

  .skill-archive-ai-col {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
  }

  .skill-archive-ai-col:last-child {
    border-bottom: none;
  }

  .exp-card {
    min-height: 280px;
  }

  .exp-card-title {
    font-size: 1.85rem;
  }

  .exp-meta-date {
    width: 100%;
    margin-left: 0;
  }

  .exp-overlay-panel {
    border-radius: 14px;
  }

  .exp-overlay-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .exp-overlay-layout {
    grid-template-columns: 1fr;
  }

  .exp-overlay-left {
    border-right: none;
    border-bottom: 3px solid #000;
    min-height: 220px;
  }

  .exp-overlay-left-frame {
    height: 120px;
    margin-top: 0.75rem;
  }

  .exp-overlay-right {
    padding: 1rem;
  }

  .exp-overlay-main-title {
    max-width: 100%;
  }

  .docs-cards-grid {
    grid-template-columns: 1fr;
  }

  .recent-cards-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    margin-left: 0;
  }

  .recent-arrow {
    display: none;
  }

  .recent-card,
  .recent-card-blue,
  .recent-card-pink,
  .recent-card-green {
    width: 100%;
  }

  .recent-header-container {
    margin-left: 0;
  }

  .recent-title {
    font-size: 1.15rem;
  }

  .recent-card-content {
    font-size: 1.3rem;
  }

  .recent-decor-arrow,
  .recent-dot-group,
  .recent-star-icon,
  .recent-lightning-icon {
    display: none;
  }

  .timeline-board {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .timeline-rail {
    display: none;
  }

  .timeline-column-tag {
    font-size: 1.15rem;
  }

  .timeline-column-left .timeline-task {
    margin-top: 0.6rem;
  }

  .timeline-task {
    margin-left: 0 !important;
  }

  .timeline-task-text {
    max-width: 100%;
    padding-right: 2.4rem;
  }

  .nav-links {
    display: none;
  }

  .video-page .search-bar,
  .works-page .search-bar,
  .docs-page .search-bar {
    width: 100%;
  }

  .skills-header-stickers {
    min-height: 70px;
    width: 100%;
  }

  .skills-sticker {
    font-size: 0.6rem;
    box-shadow: 3px 3px 0 0 #000;
  }

  .skills-sticker--1 {
    width: 58px;
    height: 22px;
    left: 15%;
    margin-top: -11px;
    margin-left: -29px;
  }

  .skills-sticker--2 {
    width: 76px;
    height: 22px;
    left: 50%;
    margin-top: -11px;
    margin-left: -38px;
  }

  .skills-sticker--3 {
    width: 48px;
    height: 22px;
    left: 85%;
    margin-top: -11px;
    margin-left: -24px;
  }

  .skills-verified-badge {
    width: 96px;
    height: 96px;
  }

  .skills-badge-icon {
    font-size: 1.2rem;
  }

  .skills-verified-badge .skills-badge-text {
    font-size: 0.55rem;
  }

  .works-page .work-card {
    grid-template-columns: 1fr;
  }

  .works-page .work-media {
    min-height: 180px;
  }

  .video-page .page-title,
  .works-page .page-title,
  .docs-page .page-title,
  .skills-page-title {
    font-size: 2.8rem;
  }

  .skills-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .skills-subtitle-block {
    max-width: 100%;
    margin-left: 0;
  }

  .skills-header-deco {
    left: 0;
    right: 0;
    top: -12px;
  }

  .skills-header-sticker--sparkle {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.3rem;
  }

  .skills-header-sticker--rocket {
    left: -1.52rem;
    bottom: -0.48rem;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.95rem;
  }

  .skills-header-sticker--star {
    left: 100%;
    top: -0.28rem;
    margin-left: 0.58rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8rem;
  }


  .skill-card-body-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill-card-blue .skill-card-body-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill-card-body-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== 技能页 - 参考 gemini-1 ========== */
/* 隐藏纵向滚动条（需同时作用于 html 和 body） */
html.skills-page-html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
html.skills-page-html::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
body.skills-page-body {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #f5f6f6;
  background-image: radial-gradient(#d1d1d1 2px, transparent 2px);
  background-size: 30px 30px;
}
body.skills-page-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.skills-page {
  max-width: 900px;
  position: relative;
  padding-top: 2rem;
  overflow-x: visible;
}

/* 跑马灯：与主内容同宽；外层可露出底部贴纸 */
.skills-marquee-outer {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 16px 0 28px;
  margin-bottom: 1.75rem;
  box-sizing: border-box;
}

.skills-marquee {
  position: relative;
  width: 99%;
  margin: 0 auto;
  height: 44px;
  background: #39FF14;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(-2deg);
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 0;
  box-shadow: 4px 4px 0 0 #000;
  opacity: 0.9;
  box-sizing: border-box;
}

/* 只裁水平滚动的字，不裁条带外的贴纸 */
.skills-marquee-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

.skills-marquee-inner {
  display: inline-flex;
  white-space: nowrap;
  flex-shrink: 0;
  animation: skills-marquee 18s linear infinite;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: #000;
}

.skills-marquee-inner span {
  margin: 0 1rem;
}

@keyframes skills-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.skills-page-header {
  margin: 3rem 0 3rem;
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-top: 0.5rem;
  min-height: 8rem;
}

/* 装饰层：散布点 + 贴纸（新粗野主义） */
.skills-header-deco {
  position: absolute;
  left: -8px;
  right: -8px;
  top: -28px;
  bottom: -20px;
  pointer-events: none;
  z-index: 0;
}

.skills-header-main {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* 浅灰小方点随机散布 */
.skills-header-scatter {
  position: absolute;
  inset: 0;
}

.skills-header-scatter span {
  position: absolute;
  background: #b8bcc4;
  border-radius: 1px;
  opacity: 0.5;
}

.skills-header-scatter span:nth-child(1) { left: 3%; top: 18%; width: 4px; height: 4px; transform: rotate(8deg); }
.skills-header-scatter span:nth-child(2) { left: 11%; top: 6%; width: 3px; height: 5px; opacity: 0.4; }
.skills-header-scatter span:nth-child(3) { left: 22%; top: 42%; width: 5px; height: 3px; transform: rotate(-15deg); }
.skills-header-scatter span:nth-child(4) { left: 35%; top: 12%; width: 3px; height: 3px; border-radius: 50%; background: #9ca3af; }
.skills-header-scatter span:nth-child(5) { left: 48%; top: 8%; width: 4px; height: 4px; transform: rotate(22deg); }
.skills-header-scatter span:nth-child(6) { left: 58%; top: 55%; width: 3px; height: 4px; opacity: 0.45; }
.skills-header-scatter span:nth-child(7) { left: 72%; top: 22%; width: 5px; height: 3px; transform: rotate(6deg); }
.skills-header-scatter span:nth-child(8) { left: 84%; top: 38%; width: 3px; height: 3px; border-radius: 50%; }
.skills-header-scatter span:nth-child(9) { left: 92%; top: 12%; width: 4px; height: 4px; transform: rotate(-10deg); }
.skills-header-scatter span:nth-child(10) { left: 18%; top: 72%; width: 3px; height: 3px; opacity: 0.38; }
.skills-header-scatter span:nth-child(11) { left: 44%; top: 68%; width: 4px; height: 3px; transform: rotate(18deg); }
.skills-header-scatter span:nth-child(12) { left: 63%; top: 78%; width: 3px; height: 5px; }
.skills-header-scatter span:nth-child(13) { left: 78%; top: 65%; width: 4px; height: 4px; border-radius: 50%; }
.skills-header-scatter span:nth-child(14) { left: 8%; top: 48%; width: 3px; height: 3px; }
.skills-header-scatter span:nth-child(15) { left: 52%; top: 88%; width: 4px; height: 3px; transform: rotate(-6deg); opacity: 0.42; }
.skills-header-scatter span:nth-child(16) { left: 88%; top: 72%; width: 3px; height: 4px; }
.skills-header-scatter span:nth-child(17) { left: 30%; top: 28%; width: 2px; height: 2px; opacity: 0.55; }
.skills-header-scatter span:nth-child(18) { left: 96%; top: 52%; width: 3px; height: 3px; }

/* 粉色圆贴 ✨：跑马灯水平中心、下沿与点阵背景交界处 */
.skills-header-sticker--sparkle {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: 3.75rem;
  height: 3.75rem;
  background: #FF6EC7;
  border: 3px solid #000;
  border-radius: 50%;
  box-shadow: 4px 4px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  line-height: 1;
  pointer-events: none;
  animation: skills-header-float-sparkle 4s ease-in-out infinite;
}

/* badge 左下：青色 blob + 🚀（左侧留白，避免压字） */
.skills-badge-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.skills-header-sticker--rocket {
  position: absolute;
  /* 略偏右下，与黑 pill 垂直更对齐 */
  left: -1.78rem;
  bottom: -0.58rem;
  z-index: 3;
  width: 2.65rem;
  height: 2.65rem;
  background: #7DF9FF;
  border: 3px solid #000;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 3px 3px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
  animation: skills-header-float-rocket 3.5s ease-in-out infinite;
}

/* 标题行：主标题 + ⭐（标题整体右上、与 Skills 块留缝） */
.skills-title-cluster {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

/* 黄色圆角方贴 ⭐：整行 title 的右上外侧，不贴绿块 */
.skills-header-sticker--star {
  position: absolute;
  left: 100%;
  top: -0.38rem;
  margin-left: 0.82rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  background: #FFE135;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 2px 2px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-14deg);
  animation: skills-header-float-star 3.2s ease-in-out infinite 0.3s;
}

/* 白底小方贴 🎯：句末右侧，与副标题同一行 */
.skills-subtitle-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  box-sizing: border-box;
}

.skills-subtitle-row .skills-page-subtitle {
  flex: 1 1 auto;
  min-width: 0;
}

.skills-header-sticker--target {
  position: relative;
  flex-shrink: 0;
  width: 1.95rem;
  height: 1.95rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 2px 2px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  line-height: 1;
  pointer-events: none;
  transform: rotate(10deg);
  animation: skills-header-float-target 3.6s ease-in-out infinite 0.2s;
}

.skills-header-squiggle {
  position: absolute;
  left: 28%;
  bottom: -6px;
  width: 3rem;
  height: 1.1rem;
  opacity: 0.65;
  transform: rotate(-4deg);
}

.skills-header-ring {
  position: absolute;
  right: 22%;
  top: -4px;
  width: 1.75rem;
  height: 1.75rem;
  border: 3px solid #000;
  border-radius: 50%;
  opacity: 0.35;
  transform: rotate(12deg);
}

@keyframes skills-header-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(4deg); }
}

@keyframes skills-header-float-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-5deg); }
}

@keyframes skills-header-float-sparkle {
  0%, 100% { transform: translate(-50%, 50%) translateY(0); }
  50% { transform: translate(-50%, 50%) translateY(-7px); }
}

@keyframes skills-header-float-rocket {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

@keyframes skills-header-float-star {
  0%, 100% { transform: rotate(-14deg) translate(0, 0); }
  50% { transform: rotate(-11deg) translate(2px, -7px); }
}

@keyframes skills-header-float-target {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(14deg) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .skills-header-sticker--sparkle,
  .skills-header-sticker--rocket,
  .skills-header-sticker--star,
  .skills-header-sticker--target {
    animation: none !important;
  }

  .skills-header-sticker--sparkle {
    transform: translate(-50%, 50%);
  }

  .skills-header-sticker--rocket {
    transform: rotate(-2deg);
  }

  .skills-header-sticker--star {
    transform: rotate(-14deg);
  }

  .skills-header-sticker--target {
    transform: rotate(10deg);
  }
}

/* 标题行：主标题与副标题同一水平中线对齐；加大列间距并整体右移副标题 */
.skills-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem clamp(2.75rem, 6vw, 4.75rem);
}

.skills-subtitle-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  flex: 0 1 auto;
  width: fit-content;
  max-width: min(22rem, 100%);
  margin-left: clamp(0.75rem, 2.5vw, 2rem);
  box-sizing: border-box;
}

.skills-badge {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 2px 2px 0 0 #000;
  transform: rotate(3deg);
  margin-bottom: 0;
}

.skills-page-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.skills-highlight {
  display: inline-block;
  background: #39FF14;
  padding: 0.25rem 1rem;
  border: 4px solid #000;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 0 #000;
  transition: transform 0.2s;
}

.skills-highlight:hover {
  transform: rotate(0);
}

/* 与 video 页 .page-subtitle 一致：次级文字色 + 字重 */
.skills-page-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  transform: none;
  line-height: 1.45;
}

.skills-subtitle-marker {
  width: 100%;
  height: 16px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.skill-card {
  position: relative;
  padding: 1.25rem;
  border: 4px solid #000;
  border-radius: 2rem;
  box-shadow: 4px 4px 0 0 #000;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0 0 #000;
  z-index: 10;
}

/* 技能卡片装饰元素 */
.skill-card-deco {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

/* 产品基本功：顶部 pill 连接器（灰条+黑点） */
.skill-card-deco-pill {
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 24px;
  background: #e5e7eb;
  border: 2px solid #000;
  border-radius: 6px;
  box-shadow: 2px 2px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card-deco-dot {
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
}

/* 数据分析：右上角绿色圆形徽章 💡 */
.skill-card-deco-badge {
  top: -14px;
  right: -14px;
  width: 48px;
  height: 48px;
  background: #39FF14;
  border: 4px solid #000;
  border-radius: 50%;
  box-shadow: 2px 2px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: skill-deco-pulse 2s ease-in-out infinite;
}

@keyframes skill-deco-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* 爱用的AI工具：左侧粉色标签 */
.skill-card-deco-tab {
  top: 48px;
  left: -14px;
  width: 24px;
  height: 64px;
  background: #FF6EC7;
  border: 2px solid #000;
  border-radius: 6px 0 0 6px;
  box-shadow: 2px 2px 0 0 #000;
  z-index: 0;
}

.skill-card-pink {
  background: #FFE5F1;
  transform: rotate(-2deg);
}

.skill-card-pink:hover {
  transform: translateY(-8px) rotate(-2deg);
}

.skill-card-blue {
  background: #E5FDFF;
  transform: rotate(1.5deg);
}

.skill-card-blue:hover {
  transform: translateY(-8px) rotate(1.5deg);
}

.skill-card-yellow {
  background: #FFFFE5;
  transform: rotate(0.5deg);
}

.skill-card-yellow:hover {
  transform: translateY(-8px) rotate(0.5deg);
}


.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-card-header-row {
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 4px solid #000;
  padding-bottom: 1rem;
}

.skill-card-header-left {
  justify-content: flex-start;
}

.skill-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 0 #000;
}

.skill-icon-pink {
  background: #FF6EC7;
}

.skill-icon-blue {
  background: #7DF9FF;
}

.skill-icon-yellow {
  background: #FFE135;
}

.skill-card-title {
  font-size: 1.5rem;
  font-weight: 900;
}

.skill-card-badge {
  background: #fff;
  padding: 0.5rem 1rem;
  border: 2px solid #000;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 2px 2px 0 0 #000;
  transform: rotate(2deg);
}

.skill-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

/* 产品基本功、数据分析：技能项横向排列，每项较窄 */
.skill-card-body-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.skill-card-blue .skill-card-body-horizontal {
  grid-template-columns: repeat(4, 1fr);
}

.skill-card-body-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-tag-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-card-badge-right {
  margin-left: auto;
}

.skill-tag-group-compact {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.skill-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  box-shadow: 2px 2px 0 0 #000;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-pill:hover {
  transform: scale(1.02) rotate(-1deg);
  z-index: 20;
}

.skill-pill:hover .skill-pill-action {
  transform: translateX(4px);
}

.skill-pill-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.skill-pill-action {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.2rem;
  transition: transform 0.2s;
}

.skill-tag-group {
  background: rgba(255,255,255,0.6);
  padding: 1rem;
  border: 3px solid #000;
  border-radius: 1rem;
  box-shadow: 2px 2px 0 0 #000;
}

.skill-tag-group-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-tag-group-title::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #FF6EC7;
}

.skill-tag-group-blue .skill-tag-group-title::before {
  background: #7DF9FF;
}

.skill-tag-group-yellow .skill-tag-group-title::before {
  background: #FFE135;
}

.skill-tag-group-white .skill-tag-group-title::before {
  background: #fff;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  padding: 0.35rem 0.75rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 2px 2px 0 0 #000;
  transition: transform 0.2s;
}

.skill-tag:hover {
  transform: translateY(-4px) rotate(2deg);
}

.skill-tag-highlight {
  background: #39FF14;
}

.skill-tag-highlight.skill-tag-highlight-dark {
  background: #000;
  color: #fff;
}

.skill-tag-muted {
  background: #f5f6f6;
  color: #999;
}
