  /* ============================================================================
     v580 头注（新模块 = 新文件）
     ----------------------------------------------------------------------------
     用户令（2026-10-12，附截图，两条）：
       ①「红色一栏删除」—— 上区「序列帧编辑画布」工具条退役（DOM 由 107 搬迁，本表只管外观）；
       ②「功能为一排，图片在下面」—— 下区改「上功能一行 + 下帧图墙占满剩余高」。
     本表全是**尾部覆盖**：同权重选择器、后加载者赢 ⇒ 必须排在 27 号（27-seqedit573.css）之后。
     配色一律走主题变量（--line / --text-2 / --sans 等），不发明裸色。
     ============================================================================ */

  /* ---------- 下区转纵排：功能一行在上，帧图墙在下占满 ---------- */
  .seqedit-foot573{flex-direction:column}
  .seqedit-func573{width:auto;flex:0 0 auto;flex-direction:row;align-items:center;gap:8px;
    padding:8px 12px;border-right:none;border-bottom:1px solid var(--line);overflow:visible}
  .seqedit-ftitle573{flex:0 0 auto}
  .seqedit-row573{flex:0 0 auto}
  /* 27 号表原文是 .sel{flex:1}（竖列里撑满）—— 行布局里改成固定宽，别把读数挤没 */
  .seqedit-row573 .sel{flex:0 0 auto;width:110px}
  .seqedit-btns573{flex:0 0 auto;flex-wrap:nowrap}
  .seqedit-note573{display:none}          /* 空占位（v573 起没人往里写文本），行里不占位 */
  /* 读数：flex:1 靠右，超长省略；没内容时整条退场 */
  .seqedit-est573{flex:1;min-width:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .seqedit-est573:empty{display:none}
  /* 帧图墙：纵排里 flex:1 的主轴是纵向 ⇒ 占满剩余高；min-height:0 允许收缩滚动 */
  .seqedit-grid573{min-height:0}

  /* ---------- 「调色 / 像素」弹层（与 v576 帧率弹层同壳：spec-pop249/255） ---------- */
  /* z-index 130：压过「进入编辑」窗（.seqedit-mask571 = 120），与 106 的帧率弹层同档 */
  .seqlay-pop580{z-index:130;width:560px;max-width:calc(100vw - 24px);
    display:flex;flex-direction:column;gap:10px;padding:12px}
  /* 106 踩过的同一条坑：真 DOM 里 [hidden] 会被作者样式的 display 压掉 ⇒ 自带一条 */
  .seqlay-pop580[hidden]{display:none}
  .seqlay-pop580 .seqedit-grp573{gap:6px}
  .seqlay-pop580 .seqedit-rngs573{grid-template-columns:1fr 1fr}
  @media (max-width:640px){ .seqlay-pop580 .seqedit-rngs573{grid-template-columns:1fr} }
