/* ============ 窗口系统 + 窗口内容 + lightbox ============ */

.windows { position: absolute; inset: 0; pointer-events: none; }

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-width: 92vw;
  max-height: calc(100vh - 60px);
  background: var(--win-bg);
  border: 1px solid var(--win-border);
  border-radius: 8px 8px 0 0;
  box-shadow: 4px 4px 18px rgba(0,0,0,.35);
  pointer-events: auto;
  overflow: hidden;
}
.window.dragging { opacity: .96; }

/* 标题栏：复古系统字（这里刻意不用 Poppins，保留 OS 灵魂） */
.title-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 4px 0 8px;
  background: linear-gradient(to bottom, var(--title-1) 0%, var(--title-2) 100%);
  color: #fff;
  cursor: url("../assets/cursors/arrow.png") 0 0, default;
}
.title-bar .ico { width: 18px; height: 18px; flex: none; }
.title-bar .label {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
  text-shadow: 1px 1px 1px rgba(0,0,0,.4);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.title-bar .ctrl {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(to bottom, #d96b5a, #c0392b);
  border: 1px solid #fff;
  border-radius: 3px;
}
.title-bar .ctrl:hover { filter: brightness(1.1); }

.window-body {
  flex: 1;
  padding: 18px 20px 22px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-user-select: text;
  user-select: text;
}

/* ---- About ---- */
.about-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.about-meta { flex: 1; min-width: 0; }
.about-photo {
  flex: none;
  width: 168px; height: 210px;
  object-fit: cover;
  background: var(--face);
  border: 1px solid #b8b4a8;
  box-shadow: inset 0 0 0 3px #fff, 1px 1px 4px rgba(0,0,0,.18);
  border-radius: 2px;
}
.about-photo.placeholder {
  display: grid; place-items: center;
  font-size: 12px; line-height: 1.5; color: #9a958a; text-align: center;
  border-style: dashed;
}
.about-name { font-size: 22px; font-weight: 600; }
.about-name small { font-size: 16px; color: #666; font-weight: 400; margin-left: 8px; }
.about-roles { font-family: var(--font-mono); font-size: 16px; color: var(--xp-blue); }
.about-loc { color: #666; font-size: 13px; margin-top: 2px; }

.social-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.social-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  background: var(--face);
  border: 1px solid var(--face-d);
  border-radius: 14px;
}
.social-chip:hover { background: #fff; border-color: var(--xp-blue); }
.social-chip b { font-weight: 600; }

/* 紧凑数字条：4 个小项一行，分隔线分开，不再是大方块 */
.stats {
  display: flex; flex-wrap: wrap;
  margin: 14px 0;
  background: var(--face);
  border: 1px solid var(--face-d);
  border-radius: 4px;
}
.stat { flex: 1 1 0; min-width: 110px; padding: 8px 12px; border-left: 1px solid var(--face-d); }
.stat:first-child { border-left: none; }
.stat .v { font-size: 15px; font-weight: 600; color: var(--xp-blue); line-height: 1.2; }
.stat .l { font-size: 11px; color: #666; margin-top: 1px; }

.bio p { margin-bottom: 12px; }

/* 弹出的社交卡片（ID + 二维码） */
.social-pop {
  position: fixed;
  z-index: 9800;
  display: flex; gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--win-border);
  border-radius: 6px;
  box-shadow: 3px 3px 14px rgba(0,0,0,.3);
}
.social-pop .id { font-size: 13px; }
.social-pop .id b { display: block; margin-bottom: 6px; }
.social-pop .copy-btn {
  margin-top: 8px; padding: 4px 10px;
  font-size: 12px; color: #fff;
  background: var(--xp-blue); border-radius: 3px;
}
.social-pop .qr {
  width: 110px; height: 110px;
  display: grid; place-items: center;
  font-size: 11px; color: #999; text-align: center;
  background: var(--face);
  border: 1px dashed var(--face-d);
}

/* ---- 文件夹网格（图标视图） ---- */
.grid { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.grid-item {
  width: 92px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid transparent; border-radius: 3px;
}
.grid-item:hover { background: var(--face); border-color: var(--face-d); }
.grid-item.selected { background: rgba(36, 94, 219, .16); border-color: rgba(36, 94, 219, .5); }
.grid-item .glyph { width: 42px; height: 42px; }
.grid-item .cap { font-size: 12px; line-height: 1.25; word-break: break-word; }
.grid-item .cap small { display: block; color: #888; font-size: 11px; }

/* 图片 / video 缩略图 */
.grid-item.img .thumb {
  width: 84px; height: 60px;
  border-radius: 3px; overflow: hidden; background: #fff; border: 1px solid var(--face-d);
}
.grid-item.img .thumb img { width: 100%; height: 100%; object-fit: cover; }
.grid-item.video .thumb {
  position: relative; width: 84px; height: 48px;
  border-radius: 3px; overflow: hidden; background: #000;
}
.grid-item.video .thumb img { width: 100%; height: 100%; object-fit: cover; }
.grid-item.video .thumb::after {
  content: "▶"; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

/* 图堆 pile：一坨叠放的图 + 标签 */
.piles {
  display: flex; flex-wrap: wrap;
  gap: 22px 18px;
  padding: 10px 6px;
  align-content: flex-start;
}
.pile {
  width: 158px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 6px;
  background: none;
}
.pile-stack { position: relative; width: 140px; height: 116px; }
.pile-stack > * {
  position: absolute; left: 50%; top: 50%;
  width: 104px; height: 78px;
  margin: -39px 0 0 -52px;
  background: #fff;
  border: 1px solid #d8d4c8;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
  object-fit: cover;
}
.pile-stack > :nth-child(1) { transform: rotate(-9deg) translate(-7px, 5px); }
.pile-stack > :nth-child(2) { transform: rotate(7deg) translate(9px, -1px); }
.pile-stack > :nth-child(3) { transform: rotate(-2deg); z-index: 2; }
.pile-stack .ph { background: repeating-linear-gradient(45deg, #f3f1ea 0 6px, #ebe8df 6px 12px); border-style: dashed; }
.pile:hover .pile-stack > :nth-child(3) { transform: rotate(-2deg) translateY(-4px); }
.pile.selected .pile-stack > :nth-child(3) { box-shadow: 0 0 0 2px var(--xp-blue), 0 2px 6px rgba(0,0,0,.2); }
.pile-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
.pile-count {
  min-width: 16px; padding: 0 5px; height: 16px; line-height: 16px;
  font-size: 11px; text-align: center; color: #fff;
  background: var(--xp-blue); border-radius: 8px;
}
.pile-count.empty { background: #b3aea2; }

/* gallery view：左大图、右描述、下缩略图条 */
.gallery { display: flex; gap: 18px; align-items: flex-start; }
.gallery-main {
  position: relative;
  flex: 1.7; min-width: 0;
  height: min(70vh, 720px);   /* 固定高度，切换作品时弹窗不跳 */
  display: flex; align-items: center; justify-content: center;
}
.g-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
/* 图右下角的访问网站按钮 */
.g-open {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  font-size: 13px; font-weight: 500;
  color: #fff; text-decoration: none;
  background: rgba(18, 40, 92, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.g-open:hover { background: var(--xp-blue); }
/* 按图片原比例显示：以最长边为准，铺到上限即可；不裁切、不拉伸、容器自适应 */
.gallery-main .g-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  background: #fff;
  border: 1px solid var(--face-d);
  border-radius: 4px;
}
.gallery-main .g-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100%;
  border: 0; display: block;
  border-radius: 4px;
}
/* 自动播放片段：和图片一样按最长边自适应、不裁切 */
.gallery-main .g-video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  background: #000;
  border: 1px solid var(--face-d);
  border-radius: 4px;
}
.gallery-main .g-empty {
  height: min(40vh, 360px); display: grid; place-items: center;
  color: #9a958a; font-size: 13px; text-align: center; line-height: 1.6;
}
/* 先隐藏说明文字栏，图片占满整宽展示。想恢复文字：删掉这条 display:none */
.gallery-desc { display: none; }
.gallery-desc .g-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.gallery-desc .g-desc { font-size: 13px; line-height: 1.7; }
.gallery-desc .g-caption { font-size: 12px; color: #777; margin-top: 10px; }
.gallery-desc .g-actions { margin-top: 10px; }
.gallery-strip { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.g-thumb {
  position: relative; flex: none;
  width: 92px; height: 58px;
  background: #fff; border: 1px solid var(--face-d); border-radius: 3px;
  overflow: hidden; padding: 0;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.active { border-color: var(--xp-blue); box-shadow: inset 0 0 0 2px var(--xp-blue); }
.g-thumb .g-num {
  position: absolute; left: 3px; top: 3px;
  min-width: 15px; height: 15px; line-height: 15px; padding: 0 3px;
  font-size: 10px; text-align: center; color: #fff;
  background: rgba(0,0,0,.55); border-radius: 3px;
}
@media (max-width: 640px) {
  .gallery { flex-direction: column; }
}

/* 详情页（case study）：hero 图与标题分离，正文编辑部式排版 */
.case-hero { display: block; border-radius: 4px; overflow: hidden; border: 1px solid var(--face-d); }
.case-hero img { display: block; width: 100%; max-height: 46vh; object-fit: cover; transition: transform .2s ease; }
.case-hero:hover img { transform: scale(1.012); }
.case-head { max-width: 640px; margin: 28px auto 0; }
.case-title { font-size: 26px; font-weight: 600; line-height: 1.35; }
.case-sub { font-size: 13.5px; color: #8a8578; line-height: 1.8; margin-top: 8px; }
.case-visit {
  display: inline-block; margin-top: 14px; padding: 7px 16px;
  font-size: 13px; font-weight: 500; color: var(--text);
  border: 1px solid #d8d2c4; border-radius: 16px; background: #fbfaf6;
  text-decoration: none; transition: background .15s ease;
}
.case-visit:hover { background: #f3f0e8; }
.case-body { max-width: 640px; margin: 36px auto 8px; }
.case-sec { margin-bottom: 46px; }
.case-sec h3 {
  font-size: 17px; font-weight: 600; margin-bottom: 14px;
  padding-top: 22px; border-top: 1px solid #e7e3d8;
}
.case-sec p { font-size: 14px; line-height: 1.9; }
.case-sec p + p, .case-sec .case-ul + p, .case-sec p + .case-ul { margin-top: 13px; }
.case-ul { padding-left: 20px; font-size: 14px; line-height: 1.9; list-style: disc; }
.case-ul li { margin-bottom: 8px; }
.case-ul li::marker { color: #b7b0a0; }
.case-img { width: 100%; border: 1px solid var(--face-d); border-radius: 4px; margin-top: 14px; }
/* 「反思：」段落 → 引用样式，扫读能直接看到 takeaway */
.case-note {
  border-left: 3px solid #d8d2c4; background: #f7f5ef;
  padding: 10px 14px; margin-top: 10px;
  color: #6b6659; font-size: 13.5px;
}
/* hero 下的数据条 */
.case-stats { display: flex; gap: 14px; max-width: 640px; margin: 24px auto 0; }
.case-stats .stat {
  flex: 1; padding: 12px 14px;
  border: 1px solid var(--face-d); border-radius: 4px; background: #fbfaf6;
}
.case-stats .stat b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.case-stats .stat span { font-size: 12px; color: #8a8578; line-height: 1.4; }
/* 案例内清单（如「贯穿始终的主线」） */
.case-list { padding-left: 20px; font-size: 14px; line-height: 1.85; list-style: disc; }
.case-list li { margin-bottom: 8px; }
.case-list li::marker { color: #b7b0a0; }
/* 篇末「继续阅读」跳转下一篇案例 */
.case-next {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; margin-top: 28px; padding: 16px 18px;
  border: 1px solid var(--face-d); border-radius: 4px; background: #fbfaf6;
  font-size: 14px; cursor: pointer;
  transition: background .15s ease;
}
.case-next:hover { background: #f3f0e8; }
.case-next .cn-arrow { color: #8a8578; }
/* 案例演示媒体：两列网格，gif / 演示动图并排，full 项独占一行 */
.case-media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.case-media .cm { margin: 0; }
.case-media .cm.full { grid-column: 1 / -1; }
.case-media img, .case-media video { display: block; width: 100%; border: 1px solid var(--face-d); border-radius: 4px; background: #f3f1ea; }
.case-media figcaption { font-size: 12px; color: #8a8578; margin-top: 6px; }
/* 三列一横排（如移动端 1/2/3 代对比） */
.case-media.cols-3 { grid-template-columns: repeat(3, 1fr); }
/* 多图点击切换 */
.cm.cycle { cursor: pointer; }
.cm-frame { position: relative; display: block; }
.cm-count {
  position: absolute; right: 6px; bottom: 6px;
  font-size: 11px; color: #fff; padding: 2px 7px;
  background: rgba(30,30,30,.72); border-radius: 3px;
}
/* 长图：裁切预览，点击开 lightbox 看全图 */
.cm.tall img { max-height: 380px; object-fit: cover; object-position: top; cursor: zoom-in; }
.pile-count.detail { background: #6b4bd6; }

/* 作品卡片：预览图 + 描述 + 链接 */
.work-card {
  display: flex;
  gap: 14px;
  width: 100%;
  margin: 6px 0;
  padding: 12px;
  background: var(--face);
  border: 1px solid var(--face-d);
  border-radius: 4px;
}
.work-card:hover { border-color: var(--xp-blue); background: #fbfaf6; }
.work-card.selected { background: rgba(36, 94, 219, .12); border-color: rgba(36, 94, 219, .5); }
.card-shot {
  flex: none;
  width: 168px; height: 104px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--face-d);
  border-radius: 3px;
}
.card-shot.placeholder {
  display: grid; place-items: center;
  border-style: dashed; color: #9a958a;
  font-size: 12px; line-height: 1.5; text-align: center;
}
.card-body { flex: 1; min-width: 0; }
.card-title { font-weight: 600; font-size: 14px; }
.card-sub { font-weight: 400; color: #888; font-size: 12px; }
.card-desc { font-size: 13px; margin: 6px 0 0; }
.work-card .badge { display: inline-block; font-size: 12px; color: var(--xp-green); margin-top: 4px; }
.work-card .status { display: inline-block; font-size: 11px; font-family: var(--font-mono); color: #b03030; margin-top: 4px; }
.work-card .credits { font-size: 12px; color: #777; margin-top: 6px; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.card-open-hint { font-size: 12px; font-weight: 500; color: var(--xp-blue); }
.chip-link {
  font-size: 12px; padding: 3px 8px;
  background: #fff; border: 1px solid var(--xp-blue); color: var(--xp-blue);
  border-radius: 3px; text-decoration: none;
}
.chip-link:hover { background: var(--xp-blue); color: #fff; }
@media (max-width: 560px) {
  .work-card { flex-direction: column; }
  .card-shot { width: 100%; height: 130px; }
}

/* note 文字块 */
.note-block {
  width: 100%;
  margin: 6px 0 4px;
  padding: 12px 14px;
  background: var(--face);
  border: 1px solid var(--face-d);
  border-left: 3px solid var(--xp-blue);
  border-radius: 4px;
}
.note-block .nt { font-weight: 600; margin-bottom: 4px; }
.note-block .badge { display: inline-block; font-size: 12px; color: var(--xp-green); margin-bottom: 6px; }
.note-block .status {
  display: inline-block; font-size: 11px; font-family: var(--font-mono);
  color: #b03030; margin-bottom: 6px;
}
.note-block .body { font-size: 13px; }
.note-block .credits { font-size: 12px; color: #777; margin-top: 6px; }
.note-block .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.note-block .links a {
  font-size: 12px; padding: 3px 8px;
  background: #fff; border: 1px solid var(--xp-blue); color: var(--xp-blue);
  border-radius: 3px;
}
.note-block .links a:hover { background: var(--xp-blue); color: #fff; }

/* ---- notepad / contact 纯文本窗 ---- */
.textpane {
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: #1a1a1a;
}
.textpane a { color: var(--xp-blue); text-decoration: underline; }

/* ---- resume / cv ---- */
.cv-head { margin-bottom: 14px; }
.cv-name { font-size: 22px; font-weight: 600; }
.cv-name small { font-size: 15px; color: #666; font-weight: 400; margin-left: 8px; }
.cv-title { font-family: var(--font-mono); color: var(--xp-blue); font-size: 15px; margin-top: 2px; }
.cv-contact { font-size: 12px; color: #555; margin-top: 6px; }
.cv-sec { margin-top: 18px; }
.cv-sec h3 { font-size: 14px; font-weight: 600; color: var(--xp-blue); border-bottom: 1px solid var(--face-d); padding-bottom: 4px; margin-bottom: 8px; }
.cv-sec p { margin-bottom: 8px; }
.cv-sub { font-weight: 600; font-size: 13.5px; margin-top: 12px; }
.cv-meta { font-family: var(--font-mono); font-size: 12px; color: #777; margin-top: 1px; margin-bottom: 4px; }
.cv-label { font-weight: 600; font-size: 12.5px; color: #444; margin-top: 8px; margin-bottom: 3px; }
.cv-ul { margin: 0 0 8px 18px; }
.cv-ul li { margin-bottom: 4px; }
.cv-note { margin-top: 18px; font-size: 12px; color: #888; }

.resume-actions { display: flex; gap: 10px; margin-bottom: 14px; }
.btn-xp {
  padding: 6px 16px; font-size: 13px;
  background: linear-gradient(to bottom, #fff, var(--face));
  border: 1px solid #888; border-radius: 4px;
  box-shadow: inset 0 0 0 1px #fff;
}
.btn-xp:hover { border-color: var(--xp-blue); }
.btn-xp[disabled] { color: #aaa; cursor: not-allowed; }

/* ---- 视频弹窗 ---- */
.vmodal {
  position: fixed; inset: 0; z-index: 9900;
  display: grid; place-items: center;
  background: rgba(0,0,0,.78);
}
.vmodal-box {
  width: min(880px, 92vw);
  background: var(--win-bg);
  border: 1px solid var(--win-border);
  border-radius: 8px 8px 0 0;
  box-shadow: 4px 4px 24px rgba(0,0,0,.5);
  overflow: hidden;
}
.vmodal-bar { border-radius: 0; }
.vmodal-frame { aspect-ratio: 16 / 9; background: #000; }
.vmodal-frame iframe,
.vmodal-frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.vmodal-foot { display: flex; justify-content: flex-end; padding: 10px 14px; background: #fff; }
.vmodal-foot .btn-xp { text-decoration: none; }

/* ---- lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 9900;
  display: grid; place-items: center;
  background: rgba(0,0,0,.78);
}
.lightbox img { max-width: 88vw; max-height: 84vh; box-shadow: 0 8px 40px rgba(0,0,0,.6); background:#fff; padding: 8px; }
/* 长图（如白皮书 case study）：按宽度铺开、纵向滚动看全文 */
.lightbox.doc { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 40px 0; }
.lightbox.doc img { display: block; margin: 0 auto; width: min(760px, 92vw); max-width: 92vw; max-height: none; padding: 0; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  width: 40px; height: 40px;
  font-size: 26px; color: #fff;
  background: rgba(255,255,255,.12); border-radius: 50%;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 34px; line-height: 1; color: #fff;
  background: rgba(255,255,255,.10); border-radius: 50%;
  display: grid; place-items: center;
  transition: background .15s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.24); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }

/* ---- 项目文件夹：缩略图墙 ---- */
.proj-wall { display: flex; flex-direction: column; gap: 26px; padding: 4px 2px; }
.proj-sec-head {
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: #8a8578; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.proj-sec-head::after { content: ""; flex: 1; height: 1px; background: #e2ded3; }
.proj-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
/* 大卡分区（官网网页 / 案例详情）：每张卡占两个海报的宽度（4 列网格，每卡跨 2 列 → 一行两张），预览按 16:9 */
.proj-sec.big .proj-grid { grid-template-columns: repeat(4, 1fr); }
.proj-sec.big .proj-item { grid-column: span 2; }
.proj-sec.big .pi-thumb { aspect-ratio: 16 / 9; }
.proj-item {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left; text-decoration: none; color: var(--text);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.pi-thumb {
  position: relative; display: block;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: #f3f1ea; border: 1px solid #ddd8cc;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.proj-item:hover .pi-thumb { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.14); }
.pi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-item.detail .pi-thumb { aspect-ratio: 16 / 9; }
.pi-cap { font-size: 12px; color: #6b6659; line-height: 1.3; }
.pi-badge {
  position: absolute; top: 6px; right: 6px;
  font-size: 11px; color: #fff; padding: 2px 7px;
  background: rgba(30,30,30,.72); border-radius: 3px;
}
.proj-item.detail .pi-badge { background: var(--xp-blue); }
.pi-play {
  position: absolute; inset: 0; margin: auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-size: 16px; color: #fff;
  background: rgba(0,0,0,.5); border-radius: 50%;
}
.proj-empty { font-size: 12px; color: #a09a8c; padding: 8px 2px; }
