{
    "id": "11b7f60d-1c4f-4083-a6a3-ceb36ae7a9ab",
    "scriptName": "[美化]完整变量完成-夜空诗意",
    "findRegex": "/<UpdateVariable(?:variable)?>\\s*(.*)\\s*<\\/UpdateVariable(?:variable)?>/gsi",
    "replaceString": "<div style=\"width: 80%; margin: 20px auto;\">\n  <details class=\"night-sky-complete\" style=\"\n    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);\n    border: 1px solid rgba(251, 191, 36, 0.3);\n    border-radius: 18px;\n    box-shadow: \n      0 4px 24px rgba(251, 191, 36, 0.2),\n      0 0 40px rgba(251, 191, 36, 0.1),\n      inset 0 1px 0 rgba(251, 191, 36, 0.1);\n    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n    overflow: hidden;\n    position: relative;\n  \">\n    <summary style=\"\n      padding: 16px 24px;\n      color: #fef3c7;\n      cursor: pointer;\n      list-style: none;\n      font-weight: 500;\n      position: relative;\n      display: flex;\n      align-items: center;\n      gap: 10px;\n      z-index: 2;\n    \">\n      <span style=\"\n        font-size: 1.3em;\n        filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.9));\n        position: relative;\n      \">🌕\n        <span style=\"\n          position: absolute;\n          top: 50%;\n          left: 50%;\n          transform: translate(-50%, -50%);\n          width: 140%;\n          height: 140%;\n          background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);\n          border-radius: 50%;\n          animation: moon-halo 3s ease-in-out infinite;\n        \"></span>\n      </span>\n      <span style=\"flex: 1;\">月圆思成，思路清晰</span>\n      <span style=\"font-size: 0.9em; opacity: 0.8;\">✨</span>\n      <small style=\"color: #fde68a; font-size: 0.85em; margin-left: 8px;\">\n        <span class=\"toggle-indicator\" data-close=\"展开思绪 ▶\" data-open=\"收起 ▼\"></span>\n      </small>\n      <span class=\"stars-sparkle\" style=\"\n        position: absolute;\n        top: 0;\n        left: 0;\n        width: 100%;\n        height: 100%;\n        background-image: \n          radial-gradient(circle at 15% 30%, rgba(251, 191, 36, 0.15) 1px, transparent 1px),\n          radial-gradient(circle at 75% 60%, rgba(251, 191, 36, 0.12) 1px, transparent 1px),\n          radial-gradient(circle at 45% 70%, rgba(251, 191, 36, 0.1) 1px, transparent 1px),\n          radial-gradient(circle at 85% 25%, rgba(251, 191, 36, 0.13) 1px, transparent 1px);\n        background-size: 100% 100%;\n        animation: stars-twinkle 2s ease-in-out infinite;\n        pointer-events: none;\n      \"></span>\n    </summary>\n    <div style=\"\n      max-height: 320px;\n      overflow-y: auto;\n      padding: 14px 24px;\n      color: #cbd5e1;\n      line-height: 1.7;\n      transition: all 0.3s ease;\n      white-space: pre-wrap;\n      background: rgba(15, 23, 42, 0.4);\n    \">\n    $1\n    </div>\n  </details>\n</div>\n\n<style>\n  .night-sky-complete::-webkit-scrollbar {\n    width: 6px;\n  }\n  .night-sky-complete::-webkit-scrollbar-track {\n    background: #0f172a;\n  }\n  .night-sky-complete::-webkit-scrollbar-thumb {\n    background: rgba(251, 191, 36, 0.3);\n    border-radius: 3px;\n  }\n  .night-sky-complete::-webkit-scrollbar-thumb:hover {\n    background: rgba(251, 191, 36, 0.5);\n  }\n\n  .night-sky-complete[open] {\n    box-shadow: \n      0 8px 40px rgba(251, 191, 36, 0.3),\n      0 0 60px rgba(251, 191, 36, 0.15),\n      inset 0 1px 0 rgba(251, 191, 36, 0.2) !important;\n    border-color: rgba(251, 191, 36, 0.5) !important;\n  }\n  .night-sky-complete[open] > div {\n    animation: contentSlideIn 0.4s ease forwards;\n  }\n\n  .night-sky-complete summary:hover {\n    background: rgba(251, 191, 36, 0.05);\n  }\n  .night-sky-complete[open] summary {\n    border-bottom: 1px solid rgba(251, 191, 36, 0.25);\n    background: rgba(30, 58, 95, 0.3);\n  }\n  .night-sky-complete summary::marker {\n    display: none;\n  }\n\n  .night-sky-complete[open] .toggle-indicator::after {\n    content: attr(data-open);\n  }\n  .night-sky-complete:not([open]) .toggle-indicator::after {\n    content: attr(data-close);\n  }\n\n  @keyframes moon-halo {\n    0%, 100% {\n      opacity: 0.4;\n      transform: translate(-50%, -50%) scale(1);\n    }\n    50% {\n      opacity: 0.7;\n      transform: translate(-50%, -50%) scale(1.2);\n    }\n  }\n\n  @keyframes stars-twinkle {\n    0%, 100% {\n      opacity: 0.6;\n    }\n    50% {\n      opacity: 1;\n    }\n  }\n\n  @keyframes contentSlideIn {\n    from {\n      opacity: 0;\n      transform: translateY(-10px);\n    }\n    to {\n      opacity: 1;\n      transform: translateY(0);\n    }\n  }\n</style>",
    "trimStrings": [],
    "placement": [
        2
    ],
    "disabled": false,
    "markdownOnly": true,
    "promptOnly": false,
    "runOnEdit": false,
    "substituteRegex": 0,
    "minDepth": null,
    "maxDepth": null
}