{
  "scriptName": "WH - Diegetic Windows",
  "findRegex": "/%%windows(?:\\|([^%\\n]*))?%%\\n([\\s\\S]*?)%%end%%/g",
  "replaceString": "<div style=\"max-width: 480px; margin: 12px auto; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); background: rgba(32,32,32,0.95); box-shadow: 0 8px 28px rgba(0,0,0,0.35); font-style: normal; font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;\">\n<div style=\"display: flex; align-items: center; height: 32px; padding-left: 12px; background: rgba(255,255,255,0.05); font-size: 0.75em; color: rgba(255,255,255,0.78);\"><span style=\"flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;\">$1</span><span style=\"width: 44px; text-align: center; opacity: 0.8;\">─</span><span style=\"width: 44px; text-align: center; opacity: 0.8;\">☐</span><span style=\"width: 44px; text-align: center; opacity: 0.8;\">✕</span></div>\n<div style=\"padding: 12px 16px; font-size: 0.88em; line-height: 1.55; color: rgba(255,255,255,0.9); white-space: pre-wrap;\">$2</div>\n</div>",
  "trimStrings": [],
  "placement": [
    2
  ],
  "disabled": false,
  "markdownOnly": true,
  "promptOnly": false,
  "runOnEdit": true,
  "substituteRegex": 0,
  "minDepth": null,
  "maxDepth": null
}