  #bpTplModalOverlay .bp-tplmodal{ background:var(--bg2); border:1px solid var(--border2); border-radius:20px; width:94%; max-width:1000px; max-height:88vh; display:flex; flex-direction:column; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.65), var(--glow-blue); }
  #bpTplModalOverlay .bp-tplmodal-body{ padding:22px 24px 26px; overflow-y:auto; }
  #bpTplModalOverlay .bp-tplmodal-hint{ font-size:11.5px; color:var(--text2); margin:0 0 16px; }
  #bpTplModalOverlay .bp-tpl-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:16px; }
  #bpTplModalOverlay .bp-tpl-card{ background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px; cursor:pointer; transition:transform .15s,box-shadow .15s,border-color .15s; }
  #bpTplModalOverlay .bp-tpl-card:hover{ transform:translateY(-3px); border-color:var(--border2); box-shadow:var(--shadow-card-hover); }
  #bpTplModalOverlay .bp-tpl-thumb{ height:130px; border-radius:8px; background:#fff; overflow:hidden; position:relative; margin-bottom:10px; border:1px solid rgba(0,0,0,0.06); }
  #bpTplModalOverlay .bp-tpl-thumb-bar{ height:34px; }
  #bpTplModalOverlay .bp-tpl-thumb-lines{ padding:12px; display:flex; flex-direction:column; gap:7px; }
  #bpTplModalOverlay .bp-tpl-thumb-lines span{ display:block; height:6px; border-radius:3px; background:#e5e7eb; }
  #bpTplModalOverlay .bp-tpl-thumb-lines span:nth-child(1){ width:70%; }
  #bpTplModalOverlay .bp-tpl-thumb-lines span:nth-child(2){ width:92%; }
  #bpTplModalOverlay .bp-tpl-thumb-lines span:nth-child(3){ width:55%; }
  #bpTplModalOverlay .bp-tpl-modern .bp-tpl-thumb-bar{ background:#2563eb; }
  #bpTplModalOverlay .bp-tpl-navy .bp-tpl-thumb-bar{ background:#0f2748; }
  #bpTplModalOverlay .bp-tpl-gradient .bp-tpl-thumb-bar{ background:linear-gradient(90deg,#7c3aed,#ec4899); }
  #bpTplModalOverlay .bp-tpl-elegant .bp-tpl-thumb-bar{ background:#111827; border-bottom:3px solid #c9a227; }
  #bpTplModalOverlay .bp-tpl-dark .bp-tpl-thumb{ background:#111827; }
  #bpTplModalOverlay .bp-tpl-dark .bp-tpl-thumb-bar{ background:#00e5c7; height:6px; }
  #bpTplModalOverlay .bp-tpl-dark .bp-tpl-thumb-lines span{ background:#374151; }
  #bpTplModalOverlay .bp-tpl-card h4{ font-size:13px; font-weight:700; margin:0 0 3px; color:var(--text); }
  #bpTplModalOverlay .bp-tpl-card p{ font-size:11px; color:var(--text2); margin:0; line-height:1.4; }
  @media (max-width: 560px){ #bpTplModalOverlay .bp-tplmodal-body{ padding:16px; } }
