/* ========================================
   文本节点浮窗（创作工作台）
   结构参考画布文本节点：内容展示卡（只读显示窗，AI 返回内容/提示词反推
   结果）+ AI composer（素材附件行 / 指令输入 / 模型选择 / 运行-停止）。
   视觉语言对齐 .canvas-text-ai-card / .canvas-text-card：深色圆角卡片、
   细描边、毛玻璃底。由底部输入面板的「文本」按钮切换开关（再次点击收起）；
   标题栏可拖拽移动，右下角手柄可自由缩放，均钳制在视口内。
   ======================================== */

.text-node-window {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 260px;
  min-height: 314px;
  padding: 0;
  /* 窗口缩小时内容按层级压缩（内容卡 -> 指令框），overflow 兜底裁剪，
     保证任何尺寸下都不会凸出圆角边框。 */
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(15, 15, 17, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.9);
  /* 入场动画只在 .is-animating（用户手动打开）时触发；基础态无动画，
     这样 F5 刷新后的自动恢复不加该类、不会播动画，窗口看起来像没
     刷新过。动画结束后移除类不会重放（动画名从有到无不触发重播）。 */
  animation: none;
}

.text-node-window.is-animating {
  animation: createTextNodeWindowIn 0.18s cubic-bezier(0.18, 0.9, 0.24, 1.08) both;
}

/* display:flex 会压过 UA 的 [hidden]{display:none}，显式补一条。 */
.text-node-window[hidden] {
  display: none;
}

@keyframes createTextNodeWindowIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-node-window,
  .text-node-window.is-animating {
    animation: none;
  }
}

/* ---- 标题栏（拖拽手柄） ---- */
.text-node-window-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.text-node-window-header.is-dragging {
  cursor: grabbing;
}

.text-node-window-title-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.text-node-window-title-icon .ui-icon {
  width: 14px;
  height: 14px;
}

.text-node-window-spacer {
  flex: 1 1 auto;
}

.text-node-window-close {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.text-node-window-close:hover,
.text-node-window-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.text-node-window-close .ui-icon {
  width: 14px;
  height: 14px;
}

/* ---- 内容展示卡（只读显示窗：AI 返回内容 / 提示词反推结果） ----
   窗口缩小时优先被压缩（flex-basis 0 + 可收缩），压缩后内部滚动。 */
.text-node-window-content {
  flex: 1 1 0;
  min-height: 36px;
  margin: 12px 12px 0;
  padding: 10px 12px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(31, 31, 31, 0.78);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: default;
  user-select: text;
  -webkit-user-select: text;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.text-node-window-content.is-empty {
  color: rgba(255, 255, 255, 0.34);
}

/* ---- AI composer（与画布文本节点 composer 卡同结构） ----
   只缩不涨（flex-grow 0）：窗口高时自然高度不变、多余空间全给内容卡；
   空间不足时可收缩（min-height 0），由指令输入框先变矮（内部滚动），
   附件行/底行保持固定高度。 */
.text-node-window-composer {
  flex: 0 1 auto;
  min-height: 0;
  margin: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease;
}

.text-node-window-composer:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
}

/* 素材附件行（高度随叠放瓦片 36px；窗口 MIN_HEIGHT 314 与此同步） */
.text-node-window-attach-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.text-node-window-attach-add {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.text-node-window-attach-add:hover,
.text-node-window-attach-add:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.text-node-window-attach-add:disabled {
  opacity: 0.45;
  cursor: default;
}

.text-node-window-attach-add-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
}

.text-node-window-attach-add-icon .ui-icon {
  width: 14px;
  height: 14px;
}

/* 素材缩略图：叠放展示（对齐创作页生图参考图扇形叠放：负 margin 50% 重叠 +
   --stack-index 做 z-index 叠序；悬停抬起放大，同 .image-thumb-wrapper 约定）。 */
.text-node-window-attach-stack {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.text-node-window-attach-tile {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  margin-right: -18px; /* 半宽重叠：叠成扇形层（末位无后续元素，无副作用） */
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  z-index: var(--stack-index, 1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

/* 悬停/聚焦的瓦片抬升到重叠邻居之上（同创作页参考图悬停 z-index 80）。 */
.text-node-window-attach-tile:hover,
.text-node-window-attach-tile:focus-within {
  z-index: 80;
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(196, 181, 253, 0.76);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), 0 0 14px rgba(139, 92, 246, 0.22);
}

.text-node-window-attach-tile.is-error {
  border-color: rgba(255, 99, 99, 0.45);
}

.text-node-window-attach-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* 视频/音频占位图标（本窗口素材含音视频；占位图标铺满瓦片）。 */
.text-node-window-attach-ico {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.text-node-window-attach-ico .ui-icon {
  width: 15px;
  height: 15px;
}

/* 中心徽标：上传中（靛蓝）/ 失败（红），同创作页参考图「上传中」样式。 */
.text-node-window-attach-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.8);
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.text-node-window-attach-badge.is-error {
  background: rgba(239, 68, 68, 0.85);
}

/* × 移除：悬停 / 聚焦 / 失败时显现。 */
.text-node-window-attach-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.12s ease, transform 0.12s ease, background 0.12s ease;
}

.text-node-window-attach-tile:hover .text-node-window-attach-remove,
.text-node-window-attach-tile:focus-within .text-node-window-attach-remove,
.text-node-window-attach-tile.is-error .text-node-window-attach-remove,
.text-node-window-attach-remove:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.text-node-window-attach-remove:hover {
  background: rgba(0, 0, 0, 0.82);
}

.text-node-window-attach-remove .ui-icon {
  width: 8px;
  height: 8px;
}

/* 粘贴反馈：窗口播与创作页参考图同款一次性 520ms 脉冲。 */
.text-node-window.is-clipboard-pasting {
  animation: textNodeWindowPastePulse 520ms ease-out;
}

@keyframes textNodeWindowPastePulse {
  0% {
    border-color: rgba(196, 181, 253, 0.38);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  }
  42% {
    border-color: rgba(216, 180, 254, 0.94);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14), 0 18px 42px rgba(0, 0, 0, 0.38);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  }
}

/* 拖入高亮：同创作页参考图投放目标紫色描边。 */
.text-node-window.is-drop-target {
  border-color: rgba(196, 181, 253, 0.66);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.58) inset, 0 0 18px rgba(168, 85, 247, 0.18), 0 18px 42px rgba(0, 0, 0, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .text-node-window.is-clipboard-pasting {
    animation: none;
    border-color: rgba(216, 180, 254, 0.82);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12), 0 18px 42px rgba(0, 0, 0, 0.38);
  }
}

.text-node-window-attach-count {
  flex: 0 0 auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* 指令输入：默认 3 行高度（好输入文字），随内容长高、超高内部滚动；
   composer 空间不足时的第二压缩位：先内部滚动再变矮。 */
.text-node-window-prompt {
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  min-height: 76px;
  max-height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: #0f0f0f;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: none;
  outline: none;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.text-node-window-prompt::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

/* 聚焦用中性白色描边（与窗口整体材质一致，不用紫色）。 */
.text-node-window-prompt:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

/* studio.css 有全局 :focus-visible 紫色焦点环（!important），
   窗口内统一覆盖为中性白环：保留键盘可达焦点提示，
   视觉与窗口的白色细描边材质一致。 */
.text-node-window :focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14) !important;
}

/* 大师技能下拉（与模型菜单同款折叠交互）：标题是胶囊，点击向上弹出悬浮菜单。 */
.text-node-window-skills-wrap {
  flex: 0 0 auto;
  display: flex;
}

.text-node-window-skills {
  position: relative;
  display: inline-flex;
}

.text-node-window-skills .text-node-window-skills-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.text-node-window-skills .text-node-window-skills-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.text-node-window-skills.is-expanded .text-node-window-skills-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

/* 已选中技能：紫色描边高亮，一眼看出当前挂了提示词优化技能。 */
.text-node-window-skills.is-picked .text-node-window-skills-toggle {
  color: rgba(199, 185, 255, 0.95);
  border-color: rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.12);
}

.text-node-window-skills .text-node-window-skills-toggle-caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.text-node-window-skills.is-expanded .text-node-window-skills-toggle-caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}

/* 悬浮菜单：与模型菜单同款材质，向上弹出（技能胶囊固定在 composer 底行上方）。 */
.text-node-window-skills .text-node-window-skills-list {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 190px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(24, 24, 26, 0.97);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* display:flex 会压过 UA 的 [hidden]{display:none}，显式补一条。 */
.text-node-window-skills .text-node-window-skills-list[hidden] {
  display: none;
}

.text-node-window-skills .text-node-window-skills-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  transition: background 0.15s ease;
}

.text-node-window-skills .text-node-window-skills-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.text-node-window-skills .text-node-window-skills-item.is-checked {
  color: rgba(255, 255, 255, 0.92);
}

.text-node-window-skills .text-node-window-skills-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* 「未选择」伪选项：分隔线隔开技能行。 */
.text-node-window-skills .text-node-window-skills-item-none {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.55);
}

/* 底行：模型选择 + 运行 */
.text-node-window-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-node-window-model-wrap {
  position: relative;
  flex: 0 1 auto;
  max-width: 240px;
  min-width: 0;
}

.text-node-window-model {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.text-node-window-model:hover,
.text-node-window-model:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.text-node-window-model.is-empty {
  color: rgba(255, 255, 255, 0.45);
}

.text-node-window-model.is-empty .text-node-window-model-spark {
  opacity: 0.5;
}

.text-node-window-model-spark {
  font-size: 11px;
  opacity: 0.9;
  flex: 0 0 auto;
}

.text-node-window-model-logo {
  width: 14px;
  height: 14px;
  display: inline-flex;
  flex: 0 0 auto;
  opacity: 0.95;
}

.text-node-window-model-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.text-node-window-model-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-node-window-model-caret {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.7;
}

/* 模型菜单（窗口贴近屏幕顶部时向下展开：.is-below） */
.text-node-window-model-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 5;
  min-width: 180px;
  max-width: 260px;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(24, 24, 26, 0.97);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.text-node-window-model-menu.is-below {
  bottom: auto;
  top: calc(100% + 8px);
}

.text-node-window-model-menu[hidden] {
  display: none;
}

.text-node-window-model-menu-title {
  padding: 6px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.text-node-window-model-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.text-node-window-model-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.text-node-window-model-menu-item-logo {
  width: 16px;
  height: 16px;
  display: inline-flex;
  flex: 0 0 auto;
  opacity: 0.95;
}

.text-node-window-model-menu-item-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.text-node-window-model-menu-item-spark {
  width: 16px;
  font-size: 11px;
  opacity: 0.8;
  flex: 0 0 auto;
  text-align: center;
}

.text-node-window-model-menu-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-node-window-model-menu-item-check {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
}

.text-node-window-model-menu-empty {
  padding: 10px 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* 「本次消耗」chip：与画布文本 AI 同款视觉（bolt + 本次消耗 N 积分），
   34px 行内尺寸对齐 composer 底行其他控件。 */
.text-node-window-cost {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #181818;
  color: #a3a3a3;
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.16);
  font-size: 12px;
  white-space: nowrap;
}

.text-node-window-cost[hidden] {
  display: none;
}

.text-node-window-cost-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #f5f5f5;
  flex: 0 0 auto;
}

.text-node-window-cost-icon .ui-icon {
  width: 14px;
  height: 14px;
}

.text-node-window-cost strong {
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* 运行 / 停止按钮（与画布文本节点 composer 同款材质） */
.text-node-window-run {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.text-node-window-run:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.text-node-window-arrow {
  display: inline-flex;
}

.text-node-window-arrow .ui-icon {
  width: 16px;
  height: 16px;
}

.text-node-window-stop {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
}

.text-node-window-composer.is-busy .text-node-window-run {
  animation: createTextNodeBusy 1s ease-in-out infinite;
}

@keyframes createTextNodeBusy {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
  50% { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .text-node-window-composer.is-busy .text-node-window-run {
    animation: none;
  }
}

/* ---- 右下角缩放手柄（纯白加粗角标，始终高对比可见） ----
   呼吸动画提示可拖拽：只起伏透明度，不改变形状/位置。 */
.text-node-window-resize {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  touch-action: none;
}

/* 角标离窗口外沿 7px（实测校准：热区 2px + 角标 2px + 边框 1px +
   取整 ≈ 7px）。 */
.text-node-window-resize::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 15px;
  height: 15px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-radius: 0 0 6px 0;
  animation: createTextNodeResizeHint 2.6s ease-in-out infinite;
}

@keyframes createTextNodeResizeHint {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .text-node-window-resize::after {
    animation: none;
  }
}
