.thumb-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.thumb-focus-frame {
  position: relative;
  overflow: hidden;
  height: 150px;
  border-radius: 6px;
  background: #eee;
}

.thumb-focus-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.thumb-focus-title {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

/* Editor (localhost only) */
.thumb-focus-edit .thumb-focus-frame {
  cursor: grab;
  touch-action: none;
  outline: 2px dashed rgba(13, 110, 253, 0.45);
}

.thumb-focus-edit .thumb-focus-frame.dragging {
  cursor: grabbing;
}

.thumb-focus-readout {
  position: absolute;
  z-index: 1;
  left: 4px;
  right: 4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font: 11px/1.4 ui-monospace, monospace;
}

.thumb-focus-readout button {
  border: 0;
  border-radius: 3px;
  padding: 0 6px;
  background: #fff;
  color: #000;
  font: inherit;
  cursor: pointer;
}
