/* shared look for the image batch tools (copied per tool on purpose) */
.imgt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.imgt-bar b { margin-right: auto; }
.imgt-bar .btn { min-height: 40px; padding: 8px 14px; }
.imgt-list { max-height: 320px; overflow-y: auto; }
.imgt-list li { min-width: 0; }
.imgt-list .imgt-th { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; background: repeating-conic-gradient(#ccc 0 25%, #fff 0 50%) 50% / 12px 12px; }
.imgt-list .fn { display: flex; flex-direction: column; }
.imgt-list .fn b, .imgt-list .fn small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imgt-list .fn b { font-size: 14.5px; }
.imgt-list .fn small { font-size: 13px; color: var(--muted); }
.file-list.imgt-list li .btn.ok { background: var(--ok); color: #fff; font-size: 15px; padding: 8px 12px; min-height: 40px; border-radius: 10px; }
.imgt-check { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-weight: 600; cursor: pointer; }
.gf-stage { display: flex; justify-content: center; background: repeating-conic-gradient(color-mix(in srgb, var(--line) 80%, transparent) 0 25%, transparent 0 50%) 50% / 18px 18px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.gf-stage canvas { display: block; max-width: 100%; max-height: 50vh; width: auto; height: auto; image-rendering: auto; }
.gf-play { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; flex-wrap: wrap; }
.gf-play .btn { min-height: 40px; padding: 8px 14px; }
.gf-play span { font-size: 14px; }
.gf-list { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.gf-list li { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; min-width: 0; }
.gf-list li.now { border-color: var(--c); }
.gf-list img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.gf-list .gf-no { font-weight: 800; width: 22px; text-align: center; flex: none; color: var(--muted); }
.gf-list .gf-d { width: 86px; flex: none; min-height: 38px; padding: 6px 8px; }
.gf-list .gf-sp { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-list button { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 8px; width: 34px; height: 38px; cursor: pointer; flex: none; padding: 0; }
.imgt-check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; margin: 8px 0; }
input[type=color] { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 3px; cursor: pointer; }
.gf-allrow { display: flex; gap: 8px; flex-wrap: wrap; } .gf-allrow input { flex: 1 1 110px; } .gf-allrow .btn { flex: 1 1 170px; }
.gf-list .gf-sp { flex: none; overflow: visible; margin-right: auto; }
.gf-list .gf-d { width: 74px; }
