/* ==========================================================================
   pet-folder.css / 档案页「文件夹外观」区块（2026-11-14 写入真实前端）
   作用域：仅在 /pets 新增的 .pf- 前缀节点，沿用队友主题 token，
   不引入首页那套黑白灰（用户确认「只首页换配色」）。
   ========================================================================== */
.pf-sec { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, rgba(50, 38, 28, .10)); }
.pf-sec-h { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.pf-sec-note { margin: 0 0 14px; font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.pf-label { display: block; font-size: 12px; color: var(--ink-2); margin: 14px 0 8px; font-weight: 600; }
.pf-swatches { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pf-sw {
  position: relative; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(28, 28, 34, .12); padding: 0; cursor: pointer;
  transition: transform .18s ease;
}
.pf-sw:active { transform: scale(.88); }
.pf-sw.on::after {
  content: ""; position: absolute; left: -5px; top: -5px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--brand, #265F68);
}
.pf-current { font-size: 12px; color: var(--ink-3); margin: 10px 0 0; }

.pf-cover { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.pf-preview {
  width: 104px; height: 76px; flex: none; border-radius: 12px;
  border: 1px solid var(--line, rgba(50, 38, 28, .12));
  background: linear-gradient(150deg, #F1F1F6, #FAFAFD) center / cover no-repeat;
  display: grid; place-items: center; overflow: hidden;
  color: #A6A6B0; font-size: 11px; text-align: center;
}
.pf-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.pf-btn {
  height: 32px; padding: 0 14px; border-radius: 999px; border: 0;
  background: var(--brand, #265F68); color: #FFFFFF;
  font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pf-btn:active { transform: scale(.97); }
.pf-btn[disabled] { opacity: .45; cursor: not-allowed; }
.pf-btn-ghost {
  background: transparent; color: var(--ink-2); border: 1px solid var(--line, rgba(50, 38, 28, .16));
}
.pf-state { margin: 10px 0 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.pf-state.err { color: #B4472E; }
.pf-file { display: none; }
