/* watermark.css — 워터마크 전용 */
.wm-main .dropzone.compact { margin-bottom: 12px; }
.wm-stage { padding: 14px; min-height: 240px; }
.wm-stage canvas { max-height: 64vh; width: auto; height: auto; }
.wm-filebar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 8px; }
.wm-filebar > .hint { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.wm-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.wm-thumb { position: relative; flex: none; width: 64px; height: 64px; }
.wm-tsel { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-weight: 700; font-size: .85rem; }
.wm-tsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wm-thumb.on .wm-tsel { border: 2px solid var(--accent); }
.wm-thumb.err .wm-tsel { border-color: var(--danger); }
.wm-x { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.wm-x svg { width: 12px; height: 12px; }
.wm-x:hover { color: var(--danger); }
.wm-full { display: flex; width: 100%; }
.wm-full button { flex: 1; }
.wm-color { flex: 0 0 auto !important; }
.wm-pos { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 34px); gap: 4px; padding: 4px; width: max-content; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface-2); }
.wm-pos button { border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); cursor: pointer; position: relative; }
.wm-pos button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--line-2); }
.wm-pos button:hover::after { background: var(--ink-3); }
.wm-pos button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.wm-pos button[aria-pressed="true"]::after { background: var(--accent); }
.wm-logo-prev { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-s); }
.wm-logo-prev img { max-width: 80px; max-height: 60px; display: block; }
.wm-logo-prev .hint { background: var(--surface); padding: 2px 6px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wm-results:not(:empty) { margin-top: 16px; }
