/* Word Pop's own styles, on top of the shared type-tool look (kit/tool.css) */
#c { cursor: crosshair; }
#c.overPoint { cursor: grab; }
#c.dragging { cursor: grabbing; }
#c.seeThrough {
  background-color: #fff;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}
button.primary { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 600; }
button.primary:hover { background: #ffe27a; }

.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.sw { position: relative; width: 38px; height: 38px; border-radius: 8px; cursor: grab; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.sw input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.sw .x { position: absolute; top: -6px; right: -6px; width: 17px; height: 17px; border-radius: 50%; background: #111; color: #fff;
  font-size: 11px; line-height: 17px; text-align: center; cursor: pointer; display: none; z-index: 1; }
.sw:hover .x { display: block; }
.sw.dragover { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw.add { display: flex; align-items: center; justify-content: center; background: #2e2e33; color: var(--dim); font-size: 20px; cursor: pointer; }
.palettes { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.pal { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.pal:hover { background: #2a2a2e; }
.pal .strip { display: flex; height: 16px; border-radius: 4px; overflow: hidden; flex: 0 0 120px; }
.pal .strip span { flex: 1; }
.pal .nm { flex: 1; color: var(--text); }
.pal .del { color: var(--dim); background: none; border: 0; padding: 0 4px; }
input[type=text].wide { width: 100%; }
.progress { height: 6px; background: #333; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.progress span { display: block; height: 100%; background: var(--accent); width: 0; }
