/* 穴位组件样式：只通过 CSS 变量接收主题，不改宿主样式 */
.ap-root { --ap-primary:#1E3A34; --ap-bg:#F6F2EA; --ap-accent:#B4795A;
  font-family:"Microsoft YaHei","PingFang SC",sans-serif; color:#1A1A1A; }
.ap-tabs { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.ap-tab { border:1px solid #D8CDBD; background:#fff; color:#4A4A4A; border-radius:14px;
  padding:6px 14px; font-size:14px; cursor:pointer; }
.ap-tab.ap-on { background:var(--ap-primary); border-color:var(--ap-primary); color:#fff; }
.ap-scope { margin-left:auto; font-size:12px; color:#8C8578; }
.ap-body { display:flex; gap:14px; align-items:flex-start; flex-wrap:wrap; }
.ap-stage { position:relative; flex:1 1 360px; min-width:280px; background:var(--ap-bg);
  border-radius:8px; overflow:hidden; line-height:0; }
.ap-img { width:100%; height:auto; display:block; user-select:none; }
.ap-hot { position:absolute; transform:translate(-50%,-50%); min-width:44px; min-height:44px;
  aspect-ratio:1/1; border-radius:50%; border:1.5px solid var(--ap-primary);
  background:rgba(30,58,52,.10); padding:0; pointer-events:none; }
/* 热区命中由 .ap-stage 统一计算「距离最近的一个」，避免重叠时点到非最近穴 */
.ap-hot span { position:absolute; left:50%; top:100%; transform:translate(-50%,2px);
  font-size:11px; color:#4A4A4A; background:rgba(255,255,255,.86); padding:0 4px;
  border-radius:6px; white-space:nowrap; line-height:1.6; }
.ap-hot:hover, .ap-hot:focus { background:var(--ap-accent); border-color:var(--ap-accent); outline:none; }
.ap-dim { opacity:.28; border-color:#B9B1A2; background:transparent; }
.ap-dim span { color:#B9B1A2; }
.ap-card { flex:0 0 240px; min-height:150px; background:#fff; border:1px solid #EDE6D8;
  border-radius:8px; padding:12px 14px; box-sizing:border-box; }
.ap-empty { color:#B9B1A2; font-size:13px; }
.ap-c-name { font-size:17px; font-weight:600; color:var(--ap-primary); }
.ap-c-name em { font-style:normal; font-size:11px; color:#8C8578; margin-left:6px; font-weight:400; }
.ap-steps { margin:8px 0 6px 18px; padding:0; font-size:13px; line-height:1.8; }
.ap-steps b { color:var(--ap-accent); font-weight:600; margin-right:4px; }
.ap-meta { display:flex; gap:10px; font-size:12px; color:#4A4A4A; flex-wrap:wrap; }
.ap-caution { margin-top:6px; font-size:12px; color:#8A5B3B; background:#FBF3EC;
  border-radius:6px; padding:6px 8px; }
.ap-tip { margin-top:6px; font-size:12px; color:#8C8578; }
.ap-fallback { margin-top:10px; }
.ap-list-g { font-size:12px; color:#8C8578; margin:8px 0 4px; }
.ap-list-b { margin:0 6px 6px 0; border:1px solid #D8CDBD; background:#fff; border-radius:12px;
  padding:5px 10px; font-size:13px; cursor:pointer; }
@media (max-width:640px) { .ap-card { flex:1 1 100%; } }
