/* ============================================================
 * 天成记 · 品牌地图交互 · 增强样式
 * ============================================================ */

/* 弹层中的品牌条目：可点击查看详情 */
.ppop-item { cursor: pointer; transition: background-color .2s var(--ease); }
.ppop-item:hover { background: rgba(194, 160, 106, .12); }

/* logo 墙：点击后的**本地**高亮（is-pinned）。
   ⛔ 只由用户点击自己触发、只作用在被点的那一个品牌上 —— 与地图区完全无关：
      不再有「点地图锚点 → 批量钉住墙内品牌」这种跨区域联动（见 brand-map.js 文件头说明）。
   cursor:pointer 是必要的：.pwall-item 是 div，没有它浏览器不给手型，用户根本不知道能点。 */
.pwall-item { cursor: pointer; }
.pwall-item.is-pinned {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(194, 160, 106, .22);
    border-radius: 10px;
}

/* 品牌详情浮层 */
.bdetail {
    position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
    background: rgba(14, 14, 19, .42); backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .25s var(--ease); padding: 20px;
}
.bdetail.on { opacity: 1; }
.bdetail[hidden] { display: none; }
.bdetail-card {
    position: relative; width: min(440px, 100%);
    background: linear-gradient(165deg, var(--ink), var(--ink-2)); color: #fff;
    border: 1px solid var(--line-l); border-radius: var(--r-l);
    padding: 28px 26px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
    transform: translateY(12px) scale(.98); transition: transform .28s var(--ease-out);
}
.bdetail.on .bdetail-card { transform: none; }
.bdetail-close {
    position: absolute; top: 14px; right: 16px; width: 30px; height: 30px; font-size: 22px; line-height: 1;
    color: rgba(255,255,255,.6); border-radius: 8px; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.bdetail-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.bdt-logo { width: 120px; height: 54px; margin-bottom: 14px; display: flex; align-items: center; }
.bdt-logo img { max-height: 54px; max-width: 120px; object-fit: contain; }
.bdetail-card h3 { font-size: 21px; font-weight: 700; margin: 0 0 6px; }
.bdt-cat {
    display: inline-block; font-size: 12.5px; color: var(--gold-l);
    border: 1px solid rgba(224,199,149,.4); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px;
}
.bdt-intro { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0 0 14px; }
.bdt-mini { font-size: 13.5px; color: rgba(255,255,255,.5); margin: 6px 0 0; }
.bdt-block { margin-top: 14px; }
.bdt-block > b { display: block; font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.5); margin-bottom: 8px; font-weight: 600; }
.bdt-prods { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.bdt-prods li {
    font-size: 13px; padding: 5px 12px; border-radius: 8px;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.9);
}
.bdt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bdt-tag {
    font-size: 12px; padding: 4px 11px; border-radius: 999px;
    background: rgba(194,160,106,.16); color: var(--gold-l);
}

/* 地图锚点点击脉冲反馈（放大 + 金色光环扩散） */
.panchor .panchor-dot { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.panchor.is-pulse .panchor-dot {
    animation: pPulse .65s var(--ease-out);
}
.panchor.is-pulse .panchor-label {
    color: var(--gold-d); font-weight: 700;
}
@keyframes pPulse {
    0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(194,160,106,.55); }
    60%  { transform: scale(1.55); box-shadow: 0 0 0 11px rgba(194,160,106,0); }
    100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(194,160,106,0); }
}
@media (prefers-reduced-motion: reduce) {
    .panchor.is-pulse .panchor-dot { animation: none; }
}
