/* 픽셀 이미지(2026-11-03) — 도구 탭 본문. 왼쪽 큰 보기(칸이 또렷하게) · 오른쪽 고르기(크기 · 색 · 점묘 · 받기) · 폰은 위아래 */
.hm .px-tool { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; margin-top: 20px; }
.hm .px-view { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 20px; background: #f1f1ee; overflow: hidden; }
.hm .px-tool.over .px-view { outline: 3px dashed #1f6feb; outline-offset: -10px; }
.hm .px-out { width: 86%; height: 86%; object-fit: contain; image-rendering: pixelated; image-rendering: crisp-edges; }
.hm .px-tool:not(.ready) .px-out { visibility: hidden; }
.hm .px-drop { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(20, 18, 16, .78); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.hm .px-drop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm .px-drop:focus-visible { outline: 2px solid #1f6feb; outline-offset: 3px; }
.hm .px-ctl { display: grid; gap: 18px; }
.hm .px-ctl > div > b { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #6b6e75; }
.hm .px-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.hm .px-seg button { min-height: 36px; padding: 0 14px; border: 1px solid #d9d9d3; border-radius: 999px; background: #fff; color: var(--fg, #17191c); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.hm .px-seg button[aria-pressed="true"] { background: var(--fg, #17191c); border-color: var(--fg, #17191c); color: #fff; }
.hm .px-seg button:focus-visible, .hm .px-dl:focus-visible { outline: 2px solid #1f6feb; outline-offset: 2px; }


.hm .px-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.hm .px-chk input { width: 18px; height: 18px; accent-color: var(--fg, #17191c); }
.hm .px-dl { width: 100%; justify-content: center; }
.hm .px-dl:disabled { opacity: .4; cursor: default; }
@media (max-width: 760px) { .hm .px-tool { grid-template-columns: 1fr; } .hm .px-view { aspect-ratio: 1; } }
