/* Template modal form (schema driven, see templates-data.js + the TEMPLATES block in app.js) and the "Remixed from" chip. */
.tplb .tpd{margin:8px 0 0;font-size:13px;line-height:19px;color:#b0b4ba}
.tplb .tpf{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.tplb .tpf label,.tplb .tpo label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;line-height:16px;color:#b0b4ba;min-width:0}
.tplb input,.tplb select,.tplb textarea{width:100%;min-width:0;padding:9px 12px;border-radius:10px;border:.667px solid rgba(217,237,254,.15);background:rgba(221,234,248,.08);
  color:#ffffff;font:inherit;font-size:13px;font-weight:500;line-height:18px}
.tplb textarea{min-height:58px;resize:vertical}
.tplb select option{background:#1c2027;color:#ffffff}
.tplb input:focus-visible,.tplb select:focus-visible,.tplb textarea:focus-visible{outline:2px solid #ffb582;outline-offset:1px}
.tplb .tpo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.tplb .tpfix{padding:9px 12px;border-radius:10px;background:rgba(221,234,248,.05);color:#b0b4ba;font-size:12px;font-weight:500}
.tplb .tpdrop{min-height:64px;flex:none;width:100%;flex-direction:row;align-items:center;justify-content:center;gap:10px;text-align:left}
.tplb .tpdrop svg{width:34px;height:34px;padding:8px}
.tplb .tpth{width:28px;height:28px;border-radius:6px;object-fit:cover;flex:none}
.tplb .tpn{margin:10px 0 0;font-size:12px;line-height:17px;color:#8d929a}
.tplb .tperr{min-height:0;margin:12px 0 0;font-size:12px;line-height:17px;font-weight:600;color:#ffb582}
.tplb .tperr:empty{display:none}
.tplb .tprmx{align-self:flex-start;margin-top:16px;display:inline-flex;align-items:center;gap:6px}
.tplb .tprmx svg{width:16px;height:16px}
.mdl.tpl .gen #tprice{padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.25);font-variant-numeric:tabular-nums}
.rmx{display:flex;align-items:center;gap:8px;margin:8px 0 0;padding:6px 6px 6px 10px;border-radius:10px;border:.667px solid rgba(255,181,130,.35);background:rgba(255,181,130,.1);
  font-size:12px;line-height:16px;color:#ffffff}
.rmx svg{width:14px;height:14px;flex:none;color:#ffb582}
.rmx span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rmx b{font-weight:600}
.rmx .gi{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;flex:none;color:#b0b4ba}
.rmx .gi:hover{background:rgba(255,255,255,.12);color:#ffffff}
.rmx .gi svg{width:12px;height:12px;color:inherit}
@media(max-width:700px){.tplb .tpo{grid-template-columns:1fr}}
.tplb>.pill{display:inline-flex;align-items:center;gap:6px}
